Skip to content

Commit

Permalink
Add beta21 offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Aug 29, 2024
1 parent 1212cc8 commit 8025d9d
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation/hook_manifest_add.toml
Original file line number Diff line number Diff line change
@@ -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",
]
Expand All @@ -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",
]
Expand Down
14 changes: 14 additions & 0 deletions metadata/hook.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
16 changes: 16 additions & 0 deletions metadata/hook_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
21 changes: 21 additions & 0 deletions store/offsets/51.01-beta21_steam_linux64.toml
Original file line number Diff line number Diff line change
@@ -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"]
18 changes: 18 additions & 0 deletions store/offsets/51.01-beta21_steam_win64.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8025d9d

Please sign in to comment.