Skip to content

Commit

Permalink
add 50.14 itch.io offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
shevernitskiy committed Sep 26, 2024
1 parent d0e93aa commit ffb23fc
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
14 changes: 14 additions & 0 deletions metadata/hook.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
16 changes: 16 additions & 0 deletions metadata/hook_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
21 changes: 21 additions & 0 deletions store/offsets/50.14_itchio_linux64.toml
Original file line number Diff line number Diff line change
@@ -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"]
18 changes: 18 additions & 0 deletions store/offsets/50.14_itchio_win64.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ffb23fc

Please sign in to comment.