From ffb23fcc286c17c10fe033badb2a296707ce53a4 Mon Sep 17 00:00:00 2001 From: shevernitskiy Date: Thu, 26 Sep 2024 16:54:00 +0300 Subject: [PATCH] add 50.14 itch.io offsets --- metadata/hook.json | 14 ++++++++++++++ metadata/hook_v2.json | 16 ++++++++++++++++ store/offsets/50.14_itchio_linux64.toml | 21 +++++++++++++++++++++ store/offsets/50.14_itchio_win64.toml | 18 ++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 store/offsets/50.14_itchio_linux64.toml create mode 100644 store/offsets/50.14_itchio_win64.toml diff --git a/metadata/hook.json b/metadata/hook.json index 05f223e..376fd2d 100644 --- a/metadata/hook.json +++ b/metadata/hook.json @@ -285,5 +285,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/50.14_steam_linux64.toml" + }, + { + "df": 1725458134, + "checksum": 2717859034, + "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/50.14_itchio_win64.toml" + }, + { + "df": 1477479480, + "checksum": 4154839577, + "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/50.14_itchio_linux64.toml" } ] \ No newline at end of file diff --git a/metadata/hook_v2.json b/metadata/hook_v2.json index 18dda03..0982753 100644 --- a/metadata/hook_v2.json +++ b/metadata/hook_v2.json @@ -326,5 +326,21 @@ "config": "https://raw.githubusercontent.com/dfint/update-data/main/store/config.toml", "offsets": "https://raw.githubusercontent.com/dfint/update-data/main/store/offsets/50.14_steam_linux64.toml", "dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/libdfhooks.so" + }, + { + "df": 1725458134, + "checksum": 2946403013, + "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/50.14_itchio_win64.toml", + "dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/dfhooks.dll" + }, + { + "df": 1477479480, + "checksum": 1385341513, + "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/50.14_itchio_linux64.toml", + "dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/libdfhooks.so" } ] \ No newline at end of file diff --git a/store/offsets/50.14_itchio_linux64.toml b/store/offsets/50.14_itchio_linux64.toml new file mode 100644 index 0000000..4d2e98c --- /dev/null +++ b/store/offsets/50.14_itchio_linux64.toml @@ -0,0 +1,21 @@ +[metadata] +name = "dfint localization hook offsets" +version = "50.14 itch.io linux" +checksum = 0x58108c38 + +[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"] \ No newline at end of file diff --git a/store/offsets/50.14_itchio_win64.toml b/store/offsets/50.14_itchio_win64.toml new file mode 100644 index 0000000..54e9aeb --- /dev/null +++ b/store/offsets/50.14_itchio_win64.toml @@ -0,0 +1,18 @@ +[metadata] +name = "dfint localization hook offsets" +version = "50.14 itch.io win64" +checksum = 0x66D866D6 + +[offsets] +string_copy_n = 0xD4A0 +string_append_n = 0xD5E0 +std_string_ctor = 0x1A8C0 +addst = 0x85D050 +addst_top = 0x85D130 +addst_flag = 0x85CF60 +standardstringentry = 0x968550 +simplify_string = 0x40A9B0 +upper_case_string = 0x40ACF0 +lower_case_string = 0x40AB50 +capitalize_string_words = 0x40AE90 +capitalize_string_first_word = 0x40B120