Hi there!
I've just created a small utility called Any2DB. It accepts 3 parameters from the command line: input file name, output file name and variable. Note: file names with spaces must be put in quotes. The third parameter, variable, appears at the very beginning of the output file and is delimited from the first db directive by a space. All the bytes declared as hexadecimals, 16 bytes per line.
Any2DB can be downloaded from here.
Posted on 2006-09-22 15:41:20 by Alexander77
Nice util.

One thing that would be even nicer though, if there was a way to choose how hexadecimal values are specified (e.g. "56h" or "0x56").
Posted on 2006-09-23 09:31:30 by arafel
Okay, here's another version that outputs hex as 0xxh regardless of the value.
Posted on 2006-09-23 10:13:02 by Alexander77
I meant different way of hex values declaration ("0x" prefix, or "h" suffix). For example:

db 0x12, 0x3A, 0x5B

or

db 12h, 3Ah, 5Bh
Posted on 2006-09-23 11:20:53 by arafel
It may seem insignificant, but it is a big deal... entire hexadecimal wars have been started over this subtle difference :P

On a more serious note, there are still people like me who use the "0x" prefix and not the "h" suffix, as it is easier for me to immediately discern hexadecimal from decimal numbers... especially in the absence of code highlighting.

However, it is not the end of the world... just a nice option to have :)
Posted on 2006-09-23 13:09:16 by SpooK
Well, you want it ? you got it! This version supports these two styles, simply add a fourth parameter: h or H to output hex as 0##h, or x or X to produce C-style hex 0x##.
Posted on 2006-09-23 16:16:46 by Alexander77
Nice. Thanks for the effort.
Posted on 2006-09-23 16:40:22 by SpooK
Here's yet another (final?) build because the previous one had a bug with memory allocation for the output file.
All the earlier versions are removed to prevent confusion.
Posted on 2006-09-23 18:49:50 by Alexander77
Now that you've mentioned it, here's something I've done some time ago. It's basically the same as yours.
Posted on 2006-09-23 20:48:17 by ti_mo_n
I have also created such a prog some time ago. It's written in JS, just copy the following Code into any .js file and execute it. You'll be prompted with a dialog box to select your source file when opening it. The Output filename is ORIGINALFILENAMEWITHEXT.asm, so take care you don't already have such a file, or it'll be overwritten. My Prog generates 0**h Format and 32 numbers a line.
Here goes the code:
var ANSIToUnicode = new Array();
var UnicodeToANSI = new Array();

ANSIToUnicode[0] = 0;
ANSIToUnicode[1] = 1;
ANSIToUnicode[2] = 2;
ANSIToUnicode[3] = 3;
ANSIToUnicode[4] = 4;
ANSIToUnicode[5] = 5;
ANSIToUnicode[6] = 6;
ANSIToUnicode[7] = 7;
ANSIToUnicode[8] = 8;
ANSIToUnicode[9] = 9;
ANSIToUnicode[10] = 10;
ANSIToUnicode[11] = 11;
ANSIToUnicode[12] = 12;
ANSIToUnicode[13] = 13;
ANSIToUnicode[14] = 14;
ANSIToUnicode[15] = 15;
ANSIToUnicode[16] = 16;
ANSIToUnicode[17] = 17;
ANSIToUnicode[18] = 18;
ANSIToUnicode[19] = 19;
ANSIToUnicode[20] = 20;
ANSIToUnicode[21] = 21;
ANSIToUnicode[22] = 22;
ANSIToUnicode[23] = 23;
ANSIToUnicode[24] = 24;
ANSIToUnicode[25] = 25;
ANSIToUnicode[26] = 26;
ANSIToUnicode[27] = 27;
ANSIToUnicode[28] = 28;
ANSIToUnicode[29] = 29;
ANSIToUnicode[30] = 30;
ANSIToUnicode[31] = 31;
ANSIToUnicode[32] = 32;
ANSIToUnicode[33] = 33;
ANSIToUnicode[34] = 34;
ANSIToUnicode[35] = 35;
ANSIToUnicode[36] = 36;
ANSIToUnicode[37] = 37;
ANSIToUnicode[38] = 38;
ANSIToUnicode[39] = 39;
ANSIToUnicode[40] = 40;
ANSIToUnicode[41] = 41;
ANSIToUnicode[42] = 42;
ANSIToUnicode[43] = 43;
ANSIToUnicode[44] = 44;
ANSIToUnicode[45] = 45;
ANSIToUnicode[46] = 46;
ANSIToUnicode[47] = 47;
ANSIToUnicode[48] = 48;
ANSIToUnicode[49] = 49;
ANSIToUnicode[50] = 50;
ANSIToUnicode[51] = 51;
ANSIToUnicode[52] = 52;
ANSIToUnicode[53] = 53;
ANSIToUnicode[54] = 54;
ANSIToUnicode[55] = 55;
ANSIToUnicode[56] = 56;
ANSIToUnicode[57] = 57;
ANSIToUnicode[58] = 58;
ANSIToUnicode[59] = 59;
ANSIToUnicode[60] = 60;
ANSIToUnicode[61] = 61;
ANSIToUnicode[62] = 62;
ANSIToUnicode[63] = 63;
ANSIToUnicode[64] = 64;
ANSIToUnicode[65] = 65;
ANSIToUnicode[66] = 66;
ANSIToUnicode[67] = 67;
ANSIToUnicode[68] = 68;
ANSIToUnicode[69] = 69;
ANSIToUnicode[70] = 70;
ANSIToUnicode[71] = 71;
ANSIToUnicode[72] = 72;
ANSIToUnicode[73] = 73;
ANSIToUnicode[74] = 74;
ANSIToUnicode[75] = 75;
ANSIToUnicode[76] = 76;
ANSIToUnicode[77] = 77;
ANSIToUnicode[78] = 78;
ANSIToUnicode[79] = 79;
ANSIToUnicode[80] = 80;
ANSIToUnicode[81] = 81;
ANSIToUnicode[82] = 82;
ANSIToUnicode[83] = 83;
ANSIToUnicode[84] = 84;
ANSIToUnicode[85] = 85;
ANSIToUnicode[86] = 86;
ANSIToUnicode[87] = 87;
ANSIToUnicode[88] = 88;
ANSIToUnicode[89] = 89;
ANSIToUnicode[90] = 90;
ANSIToUnicode[91] = 91;
ANSIToUnicode[92] = 92;
ANSIToUnicode[93] = 93;
ANSIToUnicode[94] = 94;
ANSIToUnicode[95] = 95;
ANSIToUnicode[96] = 96;
ANSIToUnicode[97] = 97;
ANSIToUnicode[98] = 98;
ANSIToUnicode[99] = 99;
ANSIToUnicode[100] = 100;
ANSIToUnicode[101] = 101;
ANSIToUnicode[102] = 102;
ANSIToUnicode[103] = 103;
ANSIToUnicode[104] = 104;
ANSIToUnicode[105] = 105;
ANSIToUnicode[106] = 106;
ANSIToUnicode[107] = 107;
ANSIToUnicode[108] = 108;
ANSIToUnicode[109] = 109;
ANSIToUnicode[110] = 110;
ANSIToUnicode[111] = 111;
ANSIToUnicode[112] = 112;
ANSIToUnicode[113] = 113;
ANSIToUnicode[114] = 114;
ANSIToUnicode[115] = 115;
ANSIToUnicode[116] = 116;
ANSIToUnicode[117] = 117;
ANSIToUnicode[118] = 118;
ANSIToUnicode[119] = 119;
ANSIToUnicode[120] = 120;
ANSIToUnicode[121] = 121;
ANSIToUnicode[122] = 122;
ANSIToUnicode[123] = 123;
ANSIToUnicode[124] = 124;
ANSIToUnicode[125] = 125;
ANSIToUnicode[126] = 126;
ANSIToUnicode[127] = 127;
ANSIToUnicode[128] = 8364;
ANSIToUnicode[129] = 129;
ANSIToUnicode[130] = 8218;
ANSIToUnicode[131] = 402;
ANSIToUnicode[132] = 8222;
ANSIToUnicode[133] = 8230;
ANSIToUnicode[134] = 8224;
ANSIToUnicode[135] = 8225;
ANSIToUnicode[136] = 710;
ANSIToUnicode[137] = 8240;
ANSIToUnicode[138] = 352;
ANSIToUnicode[139] = 8249;
ANSIToUnicode[140] = 338;
ANSIToUnicode[141] = 141;
ANSIToUnicode[142] = 381;
ANSIToUnicode[143] = 143;
ANSIToUnicode[144] = 144;
ANSIToUnicode[145] = 8216;
ANSIToUnicode[146] = 8217;
ANSIToUnicode[147] = 8220;
ANSIToUnicode[148] = 8221;
ANSIToUnicode[149] = 8226;
ANSIToUnicode[150] = 8211;
ANSIToUnicode[151] = 8212;
ANSIToUnicode[152] = 732;
ANSIToUnicode[153] = 8482;
ANSIToUnicode[154] = 353;
ANSIToUnicode[155] = 8250;
ANSIToUnicode[156] = 339;
ANSIToUnicode[157] = 157;
ANSIToUnicode[158] = 382;
ANSIToUnicode[159] = 376;
ANSIToUnicode[160] = 160;
ANSIToUnicode[161] = 161;
ANSIToUnicode[162] = 162;
ANSIToUnicode[163] = 163;
ANSIToUnicode[164] = 164;
ANSIToUnicode[165] = 165;
ANSIToUnicode[166] = 166;
ANSIToUnicode[167] = 167;
ANSIToUnicode[168] = 168;
ANSIToUnicode[169] = 169;
ANSIToUnicode[170] = 170;
ANSIToUnicode[171] = 171;
ANSIToUnicode[172] = 172;
ANSIToUnicode[173] = 173;
ANSIToUnicode[174] = 174;
ANSIToUnicode[175] = 175;
ANSIToUnicode[176] = 176;
ANSIToUnicode[177] = 177;
ANSIToUnicode[178] = 178;
ANSIToUnicode[179] = 179;
ANSIToUnicode[180] = 180;
ANSIToUnicode[181] = 181;
ANSIToUnicode[182] = 182;
ANSIToUnicode[183] = 183;
ANSIToUnicode[184] = 184;
ANSIToUnicode[185] = 185;
ANSIToUnicode[186] = 186;
ANSIToUnicode[187] = 187;
ANSIToUnicode[188] = 188;
ANSIToUnicode[189] = 189;
ANSIToUnicode[190] = 190;
ANSIToUnicode[191] = 191;
ANSIToUnicode[192] = 192;
ANSIToUnicode[193] = 193;
ANSIToUnicode[194] = 194;
ANSIToUnicode[195] = 195;
ANSIToUnicode[196] = 196;
ANSIToUnicode[197] = 197;
ANSIToUnicode[198] = 198;
ANSIToUnicode[199] = 199;
ANSIToUnicode[200] = 200;
ANSIToUnicode[201] = 201;
ANSIToUnicode[202] = 202;
ANSIToUnicode[203] = 203;
ANSIToUnicode[204] = 204;
ANSIToUnicode[205] = 205;
ANSIToUnicode[206] = 206;
ANSIToUnicode[207] = 207;
ANSIToUnicode[208] = 208;
ANSIToUnicode[209] = 209;
ANSIToUnicode[210] = 210;
ANSIToUnicode[211] = 211;
ANSIToUnicode[212] = 212;
ANSIToUnicode[213] = 213;
ANSIToUnicode[214] = 214;
ANSIToUnicode[215] = 215;
ANSIToUnicode[216] = 216;
ANSIToUnicode[217] = 217;
ANSIToUnicode[218] = 218;
ANSIToUnicode[219] = 219;
ANSIToUnicode[220] = 220;
ANSIToUnicode[221] = 221;
ANSIToUnicode[222] = 222;
ANSIToUnicode[223] = 223;
ANSIToUnicode[224] = 224;
ANSIToUnicode[225] = 225;
ANSIToUnicode[226] = 226;
ANSIToUnicode[227] = 227;
ANSIToUnicode[228] = 228;
ANSIToUnicode[229] = 229;
ANSIToUnicode[230] = 230;
ANSIToUnicode[231] = 231;
ANSIToUnicode[232] = 232;
ANSIToUnicode[233] = 233;
ANSIToUnicode[234] = 234;
ANSIToUnicode[235] = 235;
ANSIToUnicode[236] = 236;
ANSIToUnicode[237] = 237;
ANSIToUnicode[238] = 238;
ANSIToUnicode[239] = 239;
ANSIToUnicode[240] = 240;
ANSIToUnicode[241] = 241;
ANSIToUnicode[242] = 242;
ANSIToUnicode[243] = 243;
ANSIToUnicode[244] = 244;
ANSIToUnicode[245] = 245;
ANSIToUnicode[246] = 246;
ANSIToUnicode[247] = 247;
ANSIToUnicode[248] = 248;
ANSIToUnicode[249] = 249;
ANSIToUnicode[250] = 250;
ANSIToUnicode[251] = 251;
ANSIToUnicode[252] = 252;
ANSIToUnicode[253] = 253;
ANSIToUnicode[254] = 254;
ANSIToUnicode[255] = 255;

UnicodeToANSI[0] = 0;
UnicodeToANSI[1] = 1;
UnicodeToANSI[2] = 2;
UnicodeToANSI[3] = 3;
UnicodeToANSI[4] = 4;
UnicodeToANSI[5] = 5;
UnicodeToANSI[6] = 6;
UnicodeToANSI[7] = 7;
UnicodeToANSI[8] = 8;
UnicodeToANSI[9] = 9;
UnicodeToANSI[10] = 10;
UnicodeToANSI[11] = 11;
UnicodeToANSI[12] = 12;
UnicodeToANSI[13] = 13;
UnicodeToANSI[14] = 14;
UnicodeToANSI[15] = 15;
UnicodeToANSI[16] = 16;
UnicodeToANSI[17] = 17;
UnicodeToANSI[18] = 18;
UnicodeToANSI[19] = 19;
UnicodeToANSI[20] = 20;
UnicodeToANSI[21] = 21;
UnicodeToANSI[22] = 22;
UnicodeToANSI[23] = 23;
UnicodeToANSI[24] = 24;
UnicodeToANSI[25] = 25;
UnicodeToANSI[26] = 26;
UnicodeToANSI[27] = 27;
UnicodeToANSI[28] = 28;
UnicodeToANSI[29] = 29;
UnicodeToANSI[30] = 30;
UnicodeToANSI[31] = 31;
UnicodeToANSI[32] = 32;
UnicodeToANSI[33] = 33;
UnicodeToANSI[34] = 34;
UnicodeToANSI[35] = 35;
UnicodeToANSI[36] = 36;
UnicodeToANSI[37] = 37;
UnicodeToANSI[38] = 38;
UnicodeToANSI[39] = 39;
UnicodeToANSI[40] = 40;
UnicodeToANSI[41] = 41;
UnicodeToANSI[42] = 42;
UnicodeToANSI[43] = 43;
UnicodeToANSI[44] = 44;
UnicodeToANSI[45] = 45;
UnicodeToANSI[46] = 46;
UnicodeToANSI[47] = 47;
UnicodeToANSI[48] = 48;
UnicodeToANSI[49] = 49;
UnicodeToANSI[50] = 50;
UnicodeToANSI[51] = 51;
UnicodeToANSI[52] = 52;
UnicodeToANSI[53] = 53;
UnicodeToANSI[54] = 54;
UnicodeToANSI[55] = 55;
UnicodeToANSI[56] = 56;
UnicodeToANSI[57] = 57;
UnicodeToANSI[58] = 58;
UnicodeToANSI[59] = 59;
UnicodeToANSI[60] = 60;
UnicodeToANSI[61] = 61;
UnicodeToANSI[62] = 62;
UnicodeToANSI[63] = 63;
UnicodeToANSI[64] = 64;
UnicodeToANSI[65] = 65;
UnicodeToANSI[66] = 66;
UnicodeToANSI[67] = 67;
UnicodeToANSI[68] = 68;
UnicodeToANSI[69] = 69;
UnicodeToANSI[70] = 70;
UnicodeToANSI[71] = 71;
UnicodeToANSI[72] = 72;
UnicodeToANSI[73] = 73;
UnicodeToANSI[74] = 74;
UnicodeToANSI[75] = 75;
UnicodeToANSI[76] = 76;
UnicodeToANSI[77] = 77;
UnicodeToANSI[78] = 78;
UnicodeToANSI[79] = 79;
UnicodeToANSI[80] = 80;
UnicodeToANSI[81] = 81;
UnicodeToANSI[82] = 82;
UnicodeToANSI[83] = 83;
UnicodeToANSI[84] = 84;
UnicodeToANSI[85] = 85;
UnicodeToANSI[86] = 86;
UnicodeToANSI[87] = 87;
UnicodeToANSI[88] = 88;
UnicodeToANSI[89] = 89;
UnicodeToANSI[90] = 90;
UnicodeToANSI[91] = 91;
UnicodeToANSI[92] = 92;
UnicodeToANSI[93] = 93;
UnicodeToANSI[94] = 94;
UnicodeToANSI[95] = 95;
UnicodeToANSI[96] = 96;
UnicodeToANSI[97] = 97;
UnicodeToANSI[98] = 98;
UnicodeToANSI[99] = 99;
UnicodeToANSI[100] = 100;
UnicodeToANSI[101] = 101;
UnicodeToANSI[102] = 102;
UnicodeToANSI[103] = 103;
UnicodeToANSI[104] = 104;
UnicodeToANSI[105] = 105;
UnicodeToANSI[106] = 106;
UnicodeToANSI[107] = 107;
UnicodeToANSI[108] = 108;
UnicodeToANSI[109] = 109;
UnicodeToANSI[110] = 110;
UnicodeToANSI[111] = 111;
UnicodeToANSI[112] = 112;
UnicodeToANSI[113] = 113;
UnicodeToANSI[114] = 114;
UnicodeToANSI[115] = 115;
UnicodeToANSI[116] = 116;
UnicodeToANSI[117] = 117;
UnicodeToANSI[118] = 118;
UnicodeToANSI[119] = 119;
UnicodeToANSI[120] = 120;
UnicodeToANSI[121] = 121;
UnicodeToANSI[122] = 122;
UnicodeToANSI[123] = 123;
UnicodeToANSI[124] = 124;
UnicodeToANSI[125] = 125;
UnicodeToANSI[126] = 126;
UnicodeToANSI[127] = 127;
UnicodeToANSI[8364] = 128;
UnicodeToANSI[129] = 129;
UnicodeToANSI[8218] = 130;
UnicodeToANSI[402] = 131;
UnicodeToANSI[8222] = 132;
UnicodeToANSI[8230] = 133;
UnicodeToANSI[8224] = 134;
UnicodeToANSI[8225] = 135;
UnicodeToANSI[710] = 136;
UnicodeToANSI[8240] = 137;
UnicodeToANSI[352] = 138;
UnicodeToANSI[8249] = 139;
UnicodeToANSI[338] = 140;
UnicodeToANSI[141] = 141;
UnicodeToANSI[381] = 142;
UnicodeToANSI[143] = 143;
UnicodeToANSI[144] = 144;
UnicodeToANSI[8216] = 145;
UnicodeToANSI[8217] = 146;
UnicodeToANSI[8220] = 147;
UnicodeToANSI[8221] = 148;
UnicodeToANSI[8226] = 149;
UnicodeToANSI[8211] = 150;
UnicodeToANSI[8212] = 151;
UnicodeToANSI[732] = 152;
UnicodeToANSI[8482] = 153;
UnicodeToANSI[353] = 154;
UnicodeToANSI[8250] = 155;
UnicodeToANSI[339] = 156;
UnicodeToANSI[157] = 157;
UnicodeToANSI[382] = 158;
UnicodeToANSI[376] = 159;
UnicodeToANSI[160] = 160;
UnicodeToANSI[161] = 161;
UnicodeToANSI[162] = 162;
UnicodeToANSI[163] = 163;
UnicodeToANSI[164] = 164;
UnicodeToANSI[165] = 165;
UnicodeToANSI[166] = 166;
UnicodeToANSI[167] = 167;
UnicodeToANSI[168] = 168;
UnicodeToANSI[169] = 169;
UnicodeToANSI[170] = 170;
UnicodeToANSI[171] = 171;
UnicodeToANSI[172] = 172;
UnicodeToANSI[173] = 173;
UnicodeToANSI[174] = 174;
UnicodeToANSI[175] = 175;
UnicodeToANSI[176] = 176;
UnicodeToANSI[177] = 177;
UnicodeToANSI[178] = 178;
UnicodeToANSI[179] = 179;
UnicodeToANSI[180] = 180;
UnicodeToANSI[181] = 181;
UnicodeToANSI[182] = 182;
UnicodeToANSI[183] = 183;
UnicodeToANSI[184] = 184;
UnicodeToANSI[185] = 185;
UnicodeToANSI[186] = 186;
UnicodeToANSI[187] = 187;
UnicodeToANSI[188] = 188;
UnicodeToANSI[189] = 189;
UnicodeToANSI[190] = 190;
UnicodeToANSI[191] = 191;
UnicodeToANSI[192] = 192;
UnicodeToANSI[193] = 193;
UnicodeToANSI[194] = 194;
UnicodeToANSI[195] = 195;
UnicodeToANSI[196] = 196;
UnicodeToANSI[197] = 197;
UnicodeToANSI[198] = 198;
UnicodeToANSI[199] = 199;
UnicodeToANSI[200] = 200;
UnicodeToANSI[201] = 201;
UnicodeToANSI[202] = 202;
UnicodeToANSI[203] = 203;
UnicodeToANSI[204] = 204;
UnicodeToANSI[205] = 205;
UnicodeToANSI[206] = 206;
UnicodeToANSI[207] = 207;
UnicodeToANSI[208] = 208;
UnicodeToANSI[209] = 209;
UnicodeToANSI[210] = 210;
UnicodeToANSI[211] = 211;
UnicodeToANSI[212] = 212;
UnicodeToANSI[213] = 213;
UnicodeToANSI[214] = 214;
UnicodeToANSI[215] = 215;
UnicodeToANSI[216] = 216;
UnicodeToANSI[217] = 217;
UnicodeToANSI[218] = 218;
UnicodeToANSI[219] = 219;
UnicodeToANSI[220] = 220;
UnicodeToANSI[221] = 221;
UnicodeToANSI[222] = 222;
UnicodeToANSI[223] = 223;
UnicodeToANSI[224] = 224;
UnicodeToANSI[225] = 225;
UnicodeToANSI[226] = 226;
UnicodeToANSI[227] = 227;
UnicodeToANSI[228] = 228;
UnicodeToANSI[229] = 229;
UnicodeToANSI[230] = 230;
UnicodeToANSI[231] = 231;
UnicodeToANSI[232] = 232;
UnicodeToANSI[233] = 233;
UnicodeToANSI[234] = 234;
UnicodeToANSI[235] = 235;
UnicodeToANSI[236] = 236;
UnicodeToANSI[237] = 237;
UnicodeToANSI[238] = 238;
UnicodeToANSI[239] = 239;
UnicodeToANSI[240] = 240;
UnicodeToANSI[241] = 241;
UnicodeToANSI[242] = 242;
UnicodeToANSI[243] = 243;
UnicodeToANSI[244] = 244;
UnicodeToANSI[245] = 245;
UnicodeToANSI[246] = 246;
UnicodeToANSI[247] = 247;
UnicodeToANSI[248] = 248;
UnicodeToANSI[249] = 249;
UnicodeToANSI[250] = 250;
UnicodeToANSI[251] = 251;
UnicodeToANSI[252] = 252;
UnicodeToANSI[253] = 253;
UnicodeToANSI[254] = 254;
UnicodeToANSI[255] = 255;

function Asc(Char)
{
return(UnicodeToANSI);
}

function Chr(ANSICode)
{
return(String.fromCharCode(ANSIToUnicode));
}

var WshShell = new ActiveXObject("WScript.Shell");
var objFSO = new ActiveXObject("Scripting.FileSystemObject");

var objDialog = new ActiveXObject("UserAccounts.CommonDialog");
objDialog.Filter = "All files|*.*";
objDialog.Flags = 6148;
objDialog.InitialDir = ".";
if(!objDialog.ShowOpen())
{
        WScript.Quit();
}

var FilePath = objDialog.FileName;
objDialog = null;

var InputFile = objFSO.OpenTextFile(FilePath);
var OutputFile = objFSO.CreateTextFile(FilePath + ".asm");
var HexadecimalsInCurrentLine = 0;


while(!InputFile.atEndOfStream)
{
        if(HexadecimalsInCurrentLine == 0)
        {
                OutputFile.Write("db ");
        }

        HexadecimalDigit = Asc(InputFile.Read(1)).toString(16);
        if(HexadecimalDigit.length == 1)
        {
                HexadecimalDigit = "0" + HexadecimalDigit
        }

        OutputFile.Write("0" + HexadecimalDigit + "h");

        HexadecimalsInCurrentLine++;
        if(HexadecimalsInCurrentLine == 32)
        {
                OutputFile.Write(Chr(13) + Chr(10));
                HexadecimalsInCurrentLine = 0;
        }
        else
        {
                OutputFile.Write(", ");
        }
}

WshShell.Popup("Done!", 0, "Success", 64);
Posted on 2006-09-24 04:45:54 by Firefall
hehe, MASM still misses "incbin" (or "file" in FASM) ?

:P ;)
Posted on 2006-09-24 05:13:13 by vid

hehe, MASM still misses "incbin" (or "file" in FASM) ?

:P ;)


Yup, appearantly it's not something Microsoft deems necessary.

Personally I use my own "bin2o" instead, so I don't have the silly & slow assembly time that a large "bin2inced" file takes (well, it used to matter on old & slow hardware).
Posted on 2006-09-24 05:57:40 by f0dder
Version 1.5 is here. Some minor improvements.
Posted on 2006-09-24 06:09:44 by Alexander77
Personally I use my own "bin2o" instead, so I don't have the silly & slow assembly time that a large "bin2inced" file takes (well, it used to matter on old & slow hardware).

Yeah, I'm using your bin2o . I hope you don't mind :mrgreen: With very large files you still CAN feel the difference in speed (even on modern machines) ^^
Posted on 2006-09-24 07:49:42 by ti_mo_n