Skip to content

Commit

Permalink
Update info in line with namespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
esuo1198 committed Apr 24, 2024
1 parent 329397a commit e26fb32
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ country_code = "JPN"
[patches]
# patch version
# auto: hash detection (you need to use the original exe)
# jp_nov_2020: JPN 08.18
# jp_apr_2023: JPN 39.06
# cn_jun_2023: CHN 00.32 (JPN 32.09)
# JPN00: JPN 00.18
# JPN08: JPN 08.18
# JPN39: JPN 39.06
# CHN00: CHN 00.32 (based JPN 32.09)
version = "auto"
# window resolution
res = { x = 1920, y = 1080 }
Expand All @@ -41,7 +42,7 @@ auto_ime = false
# unlock all songs
unlock_songs = true

[patches.cn_jun_2023]
[patches.chn00]
# sync test mode language to attract etc.
fix_language = false
# show demo movie
Expand Down
2 changes: 1 addition & 1 deletion dist/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ vsync = false
auto_ime = false
unlock_songs = true

[patches.cn_jun_2023]
[patches.chn00]
fix_language = false
demo_movie = true
mode_collabo025 = false
Expand Down
16 changes: 8 additions & 8 deletions src/patches/versions/CHN00.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ Init () {
xRes = readConfigInt (res, "x", xRes);
yRes = readConfigInt (res, "y", yRes);
}
vsync = readConfigBool (patches, "vsync", vsync);
unlockSongs = readConfigBool (patches, "unlock_songs", unlockSongs);
auto cn_jun_2023 = openConfigSection (patches, "cn_jun_2023");
if (cn_jun_2023) {
fixLanguage = readConfigBool (cn_jun_2023, "fix_language", fixLanguage);
demoMovie = readConfigBool (cn_jun_2023, "demo_movie", demoMovie);
modeCollabo025 = readConfigBool (cn_jun_2023, "mode_collabo025", modeCollabo025);
modeCollabo026 = readConfigBool (cn_jun_2023, "mode_collabo026", modeCollabo026);
vsync = readConfigBool (patches, "vsync", vsync);
unlockSongs = readConfigBool (patches, "unlock_songs", unlockSongs);
auto chn00 = openConfigSection (patches, "chn00");
if (chn00) {
fixLanguage = readConfigBool (chn00, "fix_language", fixLanguage);
demoMovie = readConfigBool (chn00, "demo_movie", demoMovie);
modeCollabo025 = readConfigBool (chn00, "mode_collabo025", modeCollabo025);
modeCollabo026 = readConfigBool (chn00, "mode_collabo026", modeCollabo026);
}
}
}
Expand Down

0 comments on commit e26fb32

Please sign in to comment.