Hi,

I am sorry if this question was asked somewhere, but:

How can I create a very big variable? Its about 700 bytes big. I mean I dont want to put it like that everytime: db 56h, 4Bh, ..... To do that 700 times, I think I will go crazy.


Hope you can help me, and that I gave enough informations...


DKT
Posted on 2003-10-25 07:19:49 by Kreatief
use f0dders bin2o (http://www.asmcommunity.net/board/attachment.php?s=&postid=19658) or bin2db in the masm32 package
Posted on 2003-10-25 07:25:11 by Delight
Ok, it works fine (I used the 0.4 version). But I have another little problem: I have this big file in hex values not ascii. And the tool seems to need ascii. Is there any option or a good little tool to convert it? I tried some, but theres just one that converts such big strings, and this one doesnt convert every byte, and I dont know why. I also tried to split it, but same thing...



DKT
Posted on 2003-10-25 08:47:23 by Kreatief
I once had to do something similar about 2 years ago. Attached is the zipped content of that project file, containing the source code, resource file, an icon file, and the fully functional EXE.

Glad to see that it may be useful to someone else. Just let me know if it did exactly what you were looking for.

Raymond
Posted on 2003-10-25 18:59:31 by Raymond
Hi Raymond,

thats very nice of you, but unfortunatly your program doesnt work:


An error with 0040143A which points to memory: 0x0015D000. Written couldnt be done.


What exactly do i need to insert? Is it enought to open a txt file with the whole hex number?


DKT
Posted on 2003-10-26 05:58:13 by Kreatief
Kreatief

I tried the posted EXE just before posting it and it seemed to function properly. That was on Win98.

I just tried it with WinXP and it did not work as expected.:(

I've made a few minor modifications and it now seems to be OK with WinXP. The modified files are attached with a modified .zip name.

If that does not work, let me know which is your OS.

Raymond
Posted on 2003-10-26 19:14:25 by Raymond
Shit, Raymond,

I know its long time gone, but I must say your little tool works wonders!!!

I had the same problem like the one the thread is for. So I searched for my thread, and there I saw that you answered what I have overseen.


Your tool is great.


Thank you! :alright:


DKT
Posted on 2004-04-03 10:13:54 by Kreatief
You're welcome. Glad to hear it was useful.

Raymond
Posted on 2004-04-03 10:42:25 by Raymond