Jackfuste,
I was on my way to patch Polish version of Emperor, however, I have found some problems that make it slightly harder than I was expecting.
In original (1024x768) version there is following hex stream:
Quote:
0013b440 18 e8 2a ae 07 00 a1 20 8e 3f 01 85 c0 75 0c 6a
in your 1280x1024 hex this line is changed into:
Quote:
0013b440 18 e9 59 d8 26 00 a1 20 8e 3f 01 85 c0 75 0c 6a
I believe this is call to this hex stream:
Quote:
003a8c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cc
003a8c90 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 6a
003a8ca0 00 6a 00 6a 00 68 ca 02 00 00 68 0e 04 00 00 68
003a8cb0 74 02 00 00 b9 30 21 c4 01 e8 b2 f4 c5 ff 50 e8
003a8cc0 9c ac c6 ff 83 c4 18 6a 00 6a 00 6a 00 6a 00 68
003a8cd0 00 03 00 00 68 7e 02 00 00 b9 30 21 c4 01 e8 8d
003a8ce0 f4 c5 ff 50 e8 77 ac c6 ff 83 c4 18 6a 00 6a 00
003a8cf0 6a 00 68 c0 01 00 00 68 f0 04 00 00 68 81 02 00
003a8d00 00 b9 30 21 c4 01 e8 65 f4 c5 ff 50 e8 4f ac c6
003a8d10 ff 83 c4 18 6a 00 6a 00 6a 00 6a 00 68 f0 04 00
003a8d20 00 68 81 02 00 00 b9 30 21 c4 01 e8 40 f4 c5 ff
003a8d30 50 e8 2a ac c6 ff 83 c4 18 6a 00 6a 00 6a 00 68
003a8d40 10 04 00 00 68 80 02 00 00 68 d6 02 00 00 b9 30
003a8d50 21 c4 01 e8 18 f4 c5 ff 50 e8 02 ac c6 ff 83 c4
003a8d60 18 e8 0a d5 e0 ff e9 db 26 d9 ff cc cc cc cc cc
003a8d70 cc cc cc cc cc 00 00 00 00 00 00 00 00 00 00 00
003a8d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
and I would really place it on same place, but instead of NULLs, Polish version have some character table. If I overwrite this character table, polish chars are displayed wrong way. I tried to put this block 200h further in .text, but I couldn't calculate offset properly. What should I change in 0013b440h ? default version produce glitches, while any other value produces fault on map load (I found it is for sidebar drawing)