Editing a Win32 executable

Microsoft Windows longhorn 5219
July 19, 2010 at 13:02:11
Specs: Windows XP SP3 Pro, 2.53GHz/1.25GB
I have the game the Windows Vista FreeCell for XP, and I translated it to my native language (Spanish), but the window title, is stored in the "Header" and not in the "Strigns"; the problem is I have the following lines ....
02 01 46 00 72 00 65 00 65 00 43 00 65 00 6c 6c 00 00 00 00 00 00 63 61 72 64 6c 69 62 2e 63 61 62 00 89 88 08 00 00 00 00 3d
... Which is something like this ...
Well, I did some tests with a debugger and discovered three things, first it's necessary to start every word where the original start, second I cannot exceeding the space of the original word and third, I have to leave three spaces with 00 before of cardlib.cab because if I don't it, will get invalid characters in the title.

In Frhed (a binary editor), I realized that I cannot add characters 'cause it corrupt the executable.
...FreeCell=Carta Blanca... calculating, the original has 8 characters, I can put up until 9 characters (or 10 with invalid characters), and I need to put 12 characters.

The question is, how I do the title shows "Carta Blanca" without corrupting the executable?

See More: Editing a Win32 executable

Report •

July 19, 2010 at 13:49:23
I don't think this can be done, at least not with the tools you are using. As you said, the string must begin in the original location and it cannot be longer then the original. It may be possible to do this with a more advanced tool but I don;t know of any.

Report •
Related Solutions

Ask Question