Skip to content

Commit

Permalink
Added configs for 51.01-beta20
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Aug 16, 2024
1 parent dc7fd1b commit c0a74dd
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.pyc
*.pyc
automation/.venv/
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-beta19_steam_win64.toml",
"51.01-beta20_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-beta19_steam_linux64.toml",
"51.01-beta20_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 @@ -229,5 +229,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-beta19_steam_linux64.toml"
},
{
"df": 1723629316,
"checksum": 2946756806,
"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-beta20_steam_win64.toml"
},
{
"df": 677736937,
"checksum": 3861657598,
"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"
}
]
16 changes: 16 additions & 0 deletions metadata/hook_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,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-beta19_steam_linux64.toml",
"dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/libdfhooks.so"
},
{
"df": 1723629316,
"checksum": 3581776905,
"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-beta20_steam_win64.toml",
"dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/dfhooks.dll"
},
{
"df": 677736937,
"checksum": 1229052028,
"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",
"dfhooks": "https://github.com/DFHack/dfhooks/releases/download/v1/libdfhooks.so"
}
]
21 changes: 21 additions & 0 deletions store/offsets/51.01-beta20_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 = 0x286571e9

[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-beta20_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-beta20 steam win64"
checksum = 0x66BC7F04

[offsets]
string_copy_n = 0x1C580
string_append_n = 0x1C6C0
std_string_ctor = 0x29AA0
addst = 0x98D160
addst_top = 0x98D240
addst_flag = 0x98D070
standardstringentry = 0xA9C070
simplify_string = 0x457310
upper_case_string = 0x457650
lower_case_string = 0x4574B0
capitalize_string_words = 0x4577F0
capitalize_string_first_word = 0x457A70

0 comments on commit c0a74dd

Please sign in to comment.