matanki-saito / EU4dll

Europa Universalis IV double byte language patch; master:1.34.2, dev:1.37.4.0
https://paratranz.com/projects/76
MIT License
1k stars 112 forks source link

Epic version support #216

Closed NoahDragon closed 3 years ago

NoahDragon commented 3 years ago

This tool is really awesome. This week Epic store released the EU4 and is free until Oct 07. I tried the develop version, seems it is not working with Epic one. Following is the log, and it couldn't find the right version for it.

.text 26875392 4096
--------------------------------------------------------------------------------------

.rdata 6991360 26882048
--------------------------------------------------------------------------------------

.data 3292160 33873920
--------------------------------------------------------------------------------------

.pdata 1079296 38404096
--------------------------------------------------------------------------------------

.gfids 4608 39485440
--------------------------------------------------------------------------------------

.tls 512 39493632
--------------------------------------------------------------------------------------

_RDATA 6144 39497728
--------------------------------------------------------------------------------------

.gehcont$ 512 39505920
--------------------------------------------------------------------------------------

.rsrc 372224 39510016
--------------------------------------------------------------------------------------

.reloc 210944 39882752
--------------------------------------------------------------------------------------

Result(s) of pattern: 45 55 34 20 76 31 2E ? ? 2E ?
0x7FF6B638C6F8
0x7FF6B64243F8
0x7FF6B6464378
0x7FF6B6468CB0
--------------------------------------------------------------------------------------
Result(s) of pattern: 72 65 6C 65 61 73 65 5F 31 2E ? ? 2E ? 00
0x7FF6B64DACE8
--------------------------------------------------------------------------------------
UNKNOWN
--------------------------------------------------------------------------------------

DLL [SKIP]
--------------------------------------------------------------------------------------

If the Epic version will be supported eventually, that would be great. If it is not on the roadmap, I would like to contribute but may need some guidance on where to start, especially for those injector addresses. Any hints or suggestions are really appreciated.

matanki-saito commented 3 years ago

Hi @NoahDragon

The development version released this morning should give you the following logs:

.text 26875392 4096
--------------------------------------------------------------------------------------

.rdata 6991360 26882048
--------------------------------------------------------------------------------------

.data 3292160 33873920
--------------------------------------------------------------------------------------

.pdata 1079296 38404096
--------------------------------------------------------------------------------------

.gfids 4608 39485440
--------------------------------------------------------------------------------------

.tls 512 39493632
--------------------------------------------------------------------------------------

_RDATA 6144 39497728
--------------------------------------------------------------------------------------

.gehcont$ 512 39505920
--------------------------------------------------------------------------------------

.rsrc 372224 39510016
--------------------------------------------------------------------------------------

.reloc 210944 39882752
--------------------------------------------------------------------------------------

Result(s) of pattern: 45 55 34 20 76 31 2E ? ? 2E ?
0x7FF726DBC6F8
0x7FF726E543F8
0x7FF726E94378
0x7FF726E98CB0
--------------------------------------------------------------------------------------
Result(s) of pattern: 72 65 6C 65 61 73 65 5F 31 2E ? ? 2E ? 00
0x7FF726F0ACE8
--------------------------------------------------------------------------------------
v1_31_6_0
--------------------------------------------------------------------------------------

DLL [MATCH VERSION]
--------------------------------------------------------------------------------------

font etc fix
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 0D ? ? ? ? 4C 8B C3 33 D2
0x7FF726B4D246
--------------------------------------------------------------------------------------
Font buffer heap zero clear:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: BA 88 3D 00 00 48 8B CF
0x7FF7261BF979
--------------------------------------------------------------------------------------
Font buffer clear:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: BA 88 3D 00 00 48 8B 4D 28
0x7FF726C4C9E6
--------------------------------------------------------------------------------------
Font buffer clear:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: B9 88 3D 00 00
0x7FF7261D5808
--------------------------------------------------------------------------------------
Font buffer expansion:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 41 81 FE 00 00 00 01
0x7FF72676164B
--------------------------------------------------------------------------------------
Font size limit:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 63 C7 0F B6 04 18 F3 41 0F 10 9F 48 08 00 00
0x7FF726635825
--------------------------------------------------------------------------------------
テキスト処理ループ2の文字取得修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 63 D7 49 63 CE 4C 8B 55 80
0x7FF726634630
--------------------------------------------------------------------------------------
テキスト処理ループ1のカウント処理修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 80 3D ? ? ? ? 00 0F 84 97 01 00 00
0x7FF72663496C
--------------------------------------------------------------------------------------
テキスト処理ループ1の改行処理の戻り先2取得:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 66 83 79 06 00 0F 85 16 01 00 00
0x7FF72663484B
--------------------------------------------------------------------------------------
テキスト処理ループ1の改行処理を修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 42 0F B6 04 12 49 8B 0C C7
0x7FF7266347C2
--------------------------------------------------------------------------------------
テキスト処理ループ1の文字取得修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 44 0F B6 04 08 BA 01 00 00 00
0x7FF7266322DE
--------------------------------------------------------------------------------------
処理ループ1の文字コピー:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 8B D3 0F B6 04 10 49 8B 0C C7
0x7FF7266327A1
--------------------------------------------------------------------------------------
処理ループ1の文字取得:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: FF C3 3B 5D 60 7D 1D E9 89 F7 FF FF E8
0x7FF726632B2B
--------------------------------------------------------------------------------------
カウントアップ:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 8B CB F3 45 0F 10 97 48 08 00 00
0x7FF72663382B
--------------------------------------------------------------------------------------
処理ループ2の文字取得:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 66 83 79 06 00 0F 85 05 03 00 00
0x7FF72663281B
--------------------------------------------------------------------------------------
処理ループ1の改行処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 44 0F 28 84 24 A0 00 00 00 0F 28 BC 24 B0 00 00 00 48
0x7FF72663682A
--------------------------------------------------------------------------------------
ツールチップの改行処理のリターン先2:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 42 0F B6 14 33 49 8D 8C 24 20 01 00 00
0x7FF72663678C
--------------------------------------------------------------------------------------
ツールチップの改行処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: A7 52 2D 20 00 00 00 00
0x7FF726DD78A8
--------------------------------------------------------------------------------------
空白をノーブレークスペースに変換:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 42 0F B6 04 00 4C 8B 1C C7 4C 89 5D 38
0x7FF726638C3F
--------------------------------------------------------------------------------------
処理ループ2の文字取得処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 4D 8D 8C 24 20 01 00 00 42 0F B6 04 38 4D 8B 24 C1
0x7FF726638922
--------------------------------------------------------------------------------------
処理ループ1の文字取得処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 46 0F B6 04 38 BA 01 00 00 00 48 8D 4C 24 40
0x7FF726638895
--------------------------------------------------------------------------------------
処理ループ1の文字コピー:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 0F B6 04 08 49 8B 94 C4 20 01 00 00
0x7FF726112AC8
--------------------------------------------------------------------------------------
nudge view:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 0F BE 0C 1F E8 ? ? ? ? 88 04 1F 41 FF
0x7FF725FCC1FC
0x7FF726111D75
--------------------------------------------------------------------------------------
マップ文字の大文字化キャンセル:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8D 45 00 49 83 C8 FF 90 49 FF C0
0x7FF726111F37
--------------------------------------------------------------------------------------
文字チェック修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 49 83 C9 FF 45 33 C0 48 8D 95 D0 00 00 00
0x7FF726111F57
--------------------------------------------------------------------------------------
文字チェックの後のコピー処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 49 8B 4C 24 30 48 8B 01 C6 44 24 30 01
0x7FF726111DA8
0x7FF726111FC8
--------------------------------------------------------------------------------------
文字チェックの後のコピー処理の戻り先2:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8D 85 A0 00 00 00 49 83 F8 10
0x7FF7261123C0
--------------------------------------------------------------------------------------
文字取得処理修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 4C 8D 05 ? ? ? ? 48 8D 55 78 48 8D 8D 40 01
0x7FF7261CFFB6
--------------------------------------------------------------------------------------
区切り記号の変更(ISSUE-164):[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: F2 0F 10 5D 68 FF C2 F2 0F 10 65 20
0x7FF726110A9A
--------------------------------------------------------------------------------------
文字取得処理リターン先2:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 42 0F B6 34 28 F3 44 0F 10 89 48 08 00 00
0x7FF7261102F0
--------------------------------------------------------------------------------------
文字取得処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 41 8D 42 FF 66 0F 6E F2 66 0F 6E C0
0x7FF726110420
--------------------------------------------------------------------------------------
一文字表示の調整:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: F2 0F 10 5D 68 FF C2 F2 0F 10 65 20
0x7FF726110A9A
--------------------------------------------------------------------------------------
カウント処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 0F B6 04 01 49 8B 34 C2 F3 41 0F 10 8A 48 08 00 00
0x7FF72663957E
--------------------------------------------------------------------------------------
文字取得処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 84 24 A0 03 00 00 8B 00 03 C0
0x7FF72663965B
--------------------------------------------------------------------------------------
分岐処理修正戻り先アドレス2:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 0F 5B C0 F3 0F 59 C1 41 0F 2E C0 7A 4D
0x7FF726639601
--------------------------------------------------------------------------------------
分岐処理修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: FF C7 3B 7B 10 8B 94 24 90 03 00 00 4C 8D
0x7FF726639700
--------------------------------------------------------------------------------------
カウントアップ:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 44 0F B6 04 07 BA 01 00 00 00 48 8D 4D D0
0x7FF726637686
--------------------------------------------------------------------------------------
ループ1の文字列コピー:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 0F B6 04 38 4D 8B B4 C7 20 01 00 00
0x7FF7266378F9
--------------------------------------------------------------------------------------
ループ1の文字取得:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 0F B6 04 03 4D 8B 9C C7 20 01 00 00
0x7FF726637EA5
--------------------------------------------------------------------------------------
ループ2の文字取得:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 4D A0 F3 0F 10 B1 48 08 00 00 42 0F B6 04 20
0x7FF72663A522
--------------------------------------------------------------------------------------
フォント読み出し:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: FF C3 4C 8B 4F 10 41 3B D9 0F 8D 20 02 00 00
0x7FF72663A8E8
--------------------------------------------------------------------------------------
カウントを進める:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 0C C8 44 8B 0C 91 45 33 C0 48 8D 54 24 28
0x7FF72663A9B0
0x7FF72663AAE0
--------------------------------------------------------------------------------------
文字列切り取り処理:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 8B 41 10 85 C0 0F 84 31 01 00 00
0x7FF72679C7A0
--------------------------------------------------------------------------------------
ファイル名を安全にしている場所を短絡する:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8D 05 ? ? A7 FF 48 3B D0 75 06 48 8D 41 30
None
--------------------------------------------------------------------------------------
ファイル名をUTF-8に変換して保存できるようにする:[NG]
--------------------------------------------------------------------------------------

Result(s) of pattern: 45 33 C0 48 8D 93 80 05 00 00 49 8B CE
0x7FF7262B896E
--------------------------------------------------------------------------------------
ダイアログでのセーブエントリのタイトルを表示できるようにする:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 4D 8D 86 C0 05 00 00 48 8D 15 ? ? ? ? 48 8D 4C 24 60
0x7FF7262B9156
--------------------------------------------------------------------------------------
ダイアログでのセーブエントリのツールチップを表示できるようにする2:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 4C 8D 85 90 03 00 00 48 8D 15 ? ? ? ? 48 8D 4C 24 30
0x7FF7261F7957
--------------------------------------------------------------------------------------
スタート画面でのコンティニューのツールチップ:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8D 8B C8 00 00 00 48 8B 01 48 8D 54 24 28
0x7FF725AAFCA7
0x7FF72627588E
--------------------------------------------------------------------------------------
セーブダイアログでのインプットテキストエリア:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 64 20 77 20 6D
0x7FF726EE9EE0
--------------------------------------------------------------------------------------
右上の表記を変更:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 41 8B D5 49 8B CC E8 ? ? ? ? 85 C0 0F 85
0x7FF7267D5826
--------------------------------------------------------------------------------------
SDL_windowsevents.cの修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B D1 48 8B ? ? ? ? 00 48 85 C9 74 0F
0x7FF7267EC0E0
--------------------------------------------------------------------------------------
SDL_windowskeyboard.cの修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 81 EA BC 00 00 00 0F 84 2B 02 00 00
0x7FF7267FD437
--------------------------------------------------------------------------------------
SDL_windowskeyboard.cの修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 4D 89 39 48 8B 74 24 40
0x7FF7267FD67C
--------------------------------------------------------------------------------------
SDL_windowskeyboard.cの修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 41 B8 00 08 00 00 48 8B D6 48 8B CF
0x7FF7267FD4A8
--------------------------------------------------------------------------------------
SDL_windowskeyboard.cの修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 8D E8 ? ? ? ? 8B D6 E8 ? ? ? ? 33
0x7FF7267D5FC8
0x7FF7267D6038
--------------------------------------------------------------------------------------
SDL_windowsevents.cの修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 8B 45 94 32 DB 3C 80 73 05 0F B6 D8 EB 10
0x7FF726607386
--------------------------------------------------------------------------------------
入力した文字をutf8からエスケープ列へ変換する1:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: FF 50 18 E9 ? ? 00 00 49 8B 45 00
0x7FF726607416
--------------------------------------------------------------------------------------
入力した文字をutf8からエスケープ列へ変換する2:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 07 48 8B CF 85 DB 74 08 FF 90 40 01 00 00
0x7FF7265BF5C2
--------------------------------------------------------------------------------------
バックスペース処理の修正:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 89 5C 24 18 55 41 56 41 57 48 83 EC 20 4D 8B F0
0x7FF7253E1B70
--------------------------------------------------------------------------------------
std::basic_string<char>#insertをフック:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 48 8B 47 30 4C 8B 40 28 49 83 C0 10
0x7FF725551E4F
--------------------------------------------------------------------------------------
Battle of areaを逆転させる:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 49 83 C9 FF 45 33 C0 48 8B D0 49 8B CF E8 D8 5D DC FF
0x7FF72561BC56
--------------------------------------------------------------------------------------
MDEATH_REGENCY_RULE heir nameを逆転させる:[OK]
--------------------------------------------------------------------------------------

Result(s) of pattern: 49 83 C9 FF 45 33 C0 48 8B D0 48 8B CB E8 23 72 76 FF
None
--------------------------------------------------------------------------------------
nameを逆転させる:[NG]
--------------------------------------------------------------------------------------

Result(s) of pattern: 90 49 83 C9 FF 45 33 C0 48 8B D0 48 8B CE E8 DF 71 A6 FF
None
--------------------------------------------------------------------------------------
M, Y → Y年M:[NG]
--------------------------------------------------------------------------------------

Result(s) of pattern: 90 4C 8D 45 A7 48 8D 55 0F 48 8D 4D EF
0x7FF72597AAED
--------------------------------------------------------------------------------------
M Y → Y年M:[OK]
--------------------------------------------------------------------------------------

e=e.unmatch.code2=c0002000000000 , e.version.code1=0 , e.mod.code0=0
--------------------------------------------------------------------------------------

DLL [NG]
--------------------------------------------------------------------------------------

There are three [NG] that need to be solved.

Thank you

matanki-saito commented 3 years ago

Support for Epic game version! https://github.com/matanki-saito/EU4dll/pull/217

NoahDragon commented 3 years ago

Thanks for the quick support. It works!