diff --git a/automation/hook_manifest_add.toml b/automation/hook_manifest_add.toml index e3cd1c5..3e257b1 100644 --- a/automation/hook_manifest_add.toml +++ b/automation/hook_manifest_add.toml @@ -1,7 +1,7 @@ [dll] lib = "0.1.3/hook_0.1.3.dll" offset_files = [ - "51.01-beta20_steam_win64.toml", + "51.01-beta21_steam_win64.toml", # "50.13_itchio_win64.toml", # "50.13_classic_win64.toml", ] @@ -10,7 +10,7 @@ dfhooks = "v1/dfhooks.dll" [so] lib = "0.1.3/hook_0.1.3.so" offset_files = [ - "51.01-beta20_steam_linux64.toml", + "51.01-beta21_steam_linux64.toml", # "50.13_itchio_linux64.toml", # "50.13_classic_linux64.toml", ] diff --git a/metadata/hook.json b/metadata/hook.json index 33fab18..d4e57dd 100644 --- a/metadata/hook.json +++ b/metadata/hook.json @@ -243,5 +243,19 @@ "lib": "https://github.com/dfint/df-steam-hook-rs/releases/download/0.1.3/hook_0.1.3.so", "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/51.01-beta20_steam_linux64.toml" + }, + { + "df": 1724849553, + "checksum": 1484787108, + "lib": "https://github.com/dfint/df-steam-hook-rs/releases/download/0.1.3/hook_0.1.3.dll", + "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", + "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/51.01-beta21_steam_win64.toml" + }, + { + "df": 3687649598, + "checksum": 4158735823, + "lib": "https://github.com/dfint/df-steam-hook-rs/releases/download/0.1.3/hook_0.1.3.so", + "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", + "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/51.01-beta21_steam_linux64.toml" } ] \ No newline at end of file diff --git a/metadata/hook_v2.json b/metadata/hook_v2.json index c59ebd6..ce7eb0c 100644 --- a/metadata/hook_v2.json +++ b/metadata/hook_v2.json @@ -278,5 +278,21 @@ "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/51.01-beta20_steam_linux64.toml", "dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/libdfhooks.so" + }, + { + "df": 1724849553, + "checksum": 2615772238, + "lib": "https://github.com/dfint/df-steam-hook-rs/releases/download/0.1.3/hook_0.1.3.dll", + "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", + "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/51.01-beta21_steam_win64.toml", + "dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/dfhooks.dll" + }, + { + "df": 3687649598, + "checksum": 2809070032, + "lib": "https://github.com/dfint/df-steam-hook-rs/releases/download/0.1.3/hook_0.1.3.so", + "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", + "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/51.01-beta21_steam_linux64.toml", + "dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/libdfhooks.so" } ] \ No newline at end of file diff --git a/store/offsets/51.01-beta21_steam_linux64.toml b/store/offsets/51.01-beta21_steam_linux64.toml new file mode 100644 index 0000000..0d960cc --- /dev/null +++ b/store/offsets/51.01-beta21_steam_linux64.toml @@ -0,0 +1,21 @@ +[metadata] +name = "dfint localization hook offsets" +version = "51.01-beta19 steam linux" +checksum = 0xdbcd113e + +[offsets] +utf_input = 0x38d + +[symbols] +enabler = ["self", "enabler"] +std_string_append = ["self", "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc"] +std_string_assign = ["self", "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc"] +addst = ["libg_src_lib.so", "_ZN9graphicst5addstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE13justificationi"] +addst_top = ["libg_src_lib.so", "_ZN9graphicst9top_addstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE13justificationi"] +addst_flag = ["libg_src_lib.so", "_ZN9graphicst10addst_flagERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE13justificationij"] +standardstringentry = ["libg_src_lib.so", "_Z19standardstringentryRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEijRSt3setIlSt4lessIlESaIlEEPKc"] +simplify_string = ["libg_src_lib.so", "_Z15simplify_stringRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"] +upper_case_string = ["libg_src_lib.so", "_Z17upper_case_stringRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"] +lower_case_string = ["libg_src_lib.so", "_Z17lower_case_stringRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"] +capitalize_string_words = ["libg_src_lib.so", "_Z23capitalize_string_wordsRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"] +capitalize_string_first_word = ["libg_src_lib.so", "_Z28capitalize_string_first_wordRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"] diff --git a/store/offsets/51.01-beta21_steam_win64.toml b/store/offsets/51.01-beta21_steam_win64.toml new file mode 100644 index 0000000..9097d45 --- /dev/null +++ b/store/offsets/51.01-beta21_steam_win64.toml @@ -0,0 +1,18 @@ +[metadata] +name = "dfint localization hook offsets" +version = "51.01-beta21 steam win64" +checksum = 0x66CF1D91 + +[offsets] +string_copy_n = 0x1E0E0 +string_append_n = 0x1E220 +std_string_ctor = 0x2B600 +addst = 0x9A2260 +addst_top = 0x9A2340 +addst_flag = 0x9A2170 +standardstringentry = 0xAB1170 +simplify_string = 0x467430 +upper_case_string = 0x467770 +lower_case_string = 0x4675D0 +capitalize_string_words = 0x467910 +capitalize_string_first_word = 0x467B90 \ No newline at end of file