From 29712e7d2eccfd855e795b4aa1559f7f2449f7b4 Mon Sep 17 00:00:00 2001 From: KIT! Date: Tue, 11 Jun 2024 11:24:25 +0200 Subject: [PATCH] Made libtomcrypt static Without this the game would crash at launch asking for libtomcrypt's dll. --- README.md | 12 ++++++++++-- subprojects/libtomcrypt.wrap | 1 + subprojects/packagefiles/libtomcrypt.patch | 13 +++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 subprojects/packagefiles/libtomcrypt.patch diff --git a/README.md b/README.md index 93e4c9f..d9c2a81 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ country_code = "JPN" # JPN00: JPN 00.18 # JPN08: JPN 08.18 # JPN39: JPN 39.06 -# CHN00: CHN 00.32 (based JPN 32.09) +# CHN00: CHN 00.32 (based on JPN 32.09) version = "auto" # window resolution res = { x = 1920, y = 1080 } @@ -41,7 +41,7 @@ vsync = false unlock_songs = true [patches.chn00] - # sync test mode language to attract etc. + # sync test mode language to attract etc fix_language = false # show demo movie demo_movie = true @@ -52,10 +52,13 @@ unlock_songs = true [audio] # wasapi shared mode +# allows you to have multiple audio sources at once at a cost of having higher latency wasapi_shared = true # use asio asio = false # asio driver name +# to find it, open up regedit then navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ASIO +# the name is case sensitive ! asio_driver = "" [card_reader] @@ -98,4 +101,9 @@ jp_layout = false # For example if you want to edit the wordlist, add your edited version like so : # DumpFolder\Data_mods\x64\datatable\wordlist.bin enabled = false +# AES encryption keys needed to dynamically encrypt datatable files and fumens +# keys need to be provided in an hexlified form. A missing or incorrect key will crash the game ! +# keys are not needed if you provide already encrypted files +datatable_key = "" +fumen_key = "" ``` diff --git a/subprojects/libtomcrypt.wrap b/subprojects/libtomcrypt.wrap index fe2ec5d..56b7605 100644 --- a/subprojects/libtomcrypt.wrap +++ b/subprojects/libtomcrypt.wrap @@ -6,6 +6,7 @@ source_hash = 96ad4c3b8336050993c5bc2cf6c057484f2b0f9f763448151567fbab5e767b84 patch_filename = libtomcrypt_1.18.2-1_patch.zip patch_url = https://wrapdb.mesonbuild.com/v2/libtomcrypt_1.18.2-1/get_patch patch_hash = 0ca889b864e5a23525774438439d9e385268ff7234d49029902375a6c5e18f14 +diff_files = libtomcrypt.patch [provide] libtomcrypt = tomcrypt_dep diff --git a/subprojects/packagefiles/libtomcrypt.patch b/subprojects/packagefiles/libtomcrypt.patch new file mode 100644 index 0000000..d4224ca --- /dev/null +++ b/subprojects/packagefiles/libtomcrypt.patch @@ -0,0 +1,13 @@ +diff --git a/meson.build b/meson - Copie.build +index 650ee60..c7b61fd 100644 +--- a/meson.build ++++ b/meson - Copie.build +@@ -14,7 +14,7 @@ extra_objects = [] + + subdir('src') + +-tomcryptlib = library('tomcrypt', all_sources, ++tomcryptlib = static_library('tomcrypt', all_sources, + objects : extra_objects, + include_directories : core_inc) +