Beiträge von Zyankali im Thema „Star General exe - translation of game menu text (English-Polish)“
-
-
-
You're in Module Ntdll.dll.
Press the Arrow () and you will get into STARGEN_EN.EXE.
The Breakpoint in Ntdll.dll is normal. You can disable the System Breakpoint in the preference menu (Options => Preference => uncheck "System Breakpoint")
Also - I wanted to ask how did you generate so great looking text file, is it based on PL.dll? If yes, how can I prepare such file?
BinTextwww.majorgeeks.com -
Now, the easy part is done. The last step is linking the Polish translation to the right position. But first, the Relocation must be stripped from the EXE. Lucky, there are some tools on the web like StripReloc. Now, modify the EXE is much easier.
For the right position, in this case x32dbg (part of x64dbg) is better than IDA.
1. Open STARGEN_EN.EXE with x32dbg, press the Arrow "Run" until Module "stargen_en.exe" is loaded.
2. Press "A" symbol (Search for Strings)
3. Search for "Battleship" and double click
4. Right click => Follow in Dump => stargen_en.00556c08
5. In Dump 1 => Right click => Address
6. Now, you can see the text in Dump 1
7. You need your polish mem position from bintext.
8. In x32dbg in Dump 1 double click on Value and change the first entry from 559740 to 68B000
9. You can see "Battleship" changed to "Pancernik"
10. Congratulation! Your first entry is now linked. Save your work under File => Patch file.