From 164027eb13741548953cc00c4bd19a28c45f4686 Mon Sep 17 00:00:00 2001 From: KIT! Date: Wed, 6 Nov 2024 16:54:37 +0100 Subject: [PATCH 1/3] Added compilation details in README Added a clean target in the makefile --- Makefile | 10 +++++++++- README.md | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6be9a04..c6dd3e3 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,17 @@ +default: dist + all: @meson compile -C build @strip build/bnusio.dll setup: - @meson setup build --cross cross-mingw-64.txt + @meson setup --wipe build --cross cross-mingw-64.txt + +clean: + @rm -rf out + @rm -rf build + @rm -f dist.7z + @cd subprojects && find . -maxdepth 1 ! -name packagefiles -type d -not -path '.' -exec rm -rf {} + dist-no-7z: all @mkdir -p out/ diff --git a/README.md b/README.md index 83203c0..b88c272 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,44 @@ # TaikoArcadeLoader -This is a loader for Taiko no Tatsujin Nijiiro ver. +This is a loader for Taiko no Tatsujin Nijiiro ver. +It currently supports the following versions: + +* JPN 00.18 +* JPN 08.18 +* JPN 39.06 +* CHN 00.32 (based on JPN 32.09) + +## Compilation + +TaikoArcadeLoader can be a bit tricky to compile if you've never done it before. +Go to the TaikoArcadeLoader folder and run the following commands : + +```bash +apt install -y npm mingw-w64 ninja-build nasm pip 7zip cmake +pip3 install meson + +npm install n -g && n latest && npm install --global xpm@latest +npx xpm init && npx xpm install @xpack-dev-tools/mingw-w64-gcc@latest + +# make sure to edit "path_to_tal" with the actual TaikoArcadeLoader folder path +export PATH=/path_to_tal/xpacks/.bin:$PATH +make setup +``` + +Once that's done, run `make` to compile TAL. +The output will be written at the root of the folder in `dist.7z`. ## Setup -Copy the extracted contents of dist.zip to the same directory as Taiko.exe +Copy the extracted contents of `dist.zip` to the same directory as Taiko.exe ### config.toml ```toml [amauth] -# connection server +# server ip server = "127.0.0.1" -# connection port +# server port port = "54430" # dongle serial chassis_id = "284111080000" From cbb0128894465d6ba1f69a35cd52164d05c912e7 Mon Sep 17 00:00:00 2001 From: esuo1198 <54134.es@gmail.com> Date: Thu, 7 Nov 2024 21:18:33 +0900 Subject: [PATCH 2/3] Little change --- Makefile | 2 +- README.md | 56 +++++++++++++++++++++++++++---------------------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Makefile b/Makefile index c6dd3e3..deb08f3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -default: dist +default: dist-no-7z all: @meson compile -C build diff --git a/README.md b/README.md index b88c272..7e1cd7b 100644 --- a/README.md +++ b/README.md @@ -8,26 +8,6 @@ It currently supports the following versions: * JPN 39.06 * CHN 00.32 (based on JPN 32.09) -## Compilation - -TaikoArcadeLoader can be a bit tricky to compile if you've never done it before. -Go to the TaikoArcadeLoader folder and run the following commands : - -```bash -apt install -y npm mingw-w64 ninja-build nasm pip 7zip cmake -pip3 install meson - -npm install n -g && n latest && npm install --global xpm@latest -npx xpm init && npx xpm install @xpack-dev-tools/mingw-w64-gcc@latest - -# make sure to edit "path_to_tal" with the actual TaikoArcadeLoader folder path -export PATH=/path_to_tal/xpacks/.bin:$PATH -make setup -``` - -Once that's done, run `make` to compile TAL. -The output will be written at the root of the folder in `dist.7z`. - ## Setup Copy the extracted contents of `dist.zip` to the same directory as Taiko.exe @@ -81,11 +61,11 @@ unlock_songs = true mode_collabo025 = false # enable ai soshina mode mode_collabo026 = false - # enable aoharu no tatsujinn mode + # enable aoharu no tatsujin mode mode_aprilfool001 = false [emulation] -# If usio emulation is disabled, you need to place bnusio_original.dll (unmodified bnusio.dll) in the executable folder +# If usio emulation is disabled, you need to place bnusio_original.dll (unmodified bnusio.dll) in the executable folder. usio = true card_reader = true qr = true @@ -102,13 +82,13 @@ fpslimit = 120 [audio] # wasapi shared mode -# allows you to have multiple audio sources at once at a cost of having higher latency +# allows you to have multiple audio sources at once at a cost of having higher latency. wasapi_shared = true # use asio audio mode asio = false # asio driver name # to find it, open up regedit then navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ASIO -# the name is case sensitive ! +# the name is case sensitive. asio_driver = "" [qr] @@ -142,12 +122,32 @@ jp_layout = false [layeredfs] # replace assets from the game using a layered file system. -# For example if you want to edit the wordlist, add your edited version like so : +# For example if you want to edit the wordlist, add your edited version like so: # .\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 +# 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 = "" ``` + +## Building + +TaikoArcadeLoader can be a bit tricky to build if you've never done it before. +Go to the TaikoArcadeLoader folder and run the following commands: + +```bash +apt install -y npm mingw-w64 ninja-build nasm pip 7zip cmake +pip3 install meson + +npm install n -g && n latest && npm install --global xpm@latest +npx xpm init && npx xpm install @xpack-dev-tools/mingw-w64-gcc@latest + +# make sure to edit "path_to_tal" with the actual TaikoArcadeLoader folder path +export PATH=/path_to_tal/xpacks/.bin:$PATH +make setup +``` + +Once that's done, run `make` to build TAL. +The output will be written in the `out` folder. \ No newline at end of file From b14c0871dc7966c77b9c303e43236d61a5dd8a3e Mon Sep 17 00:00:00 2001 From: esuo1198 <54134.es@gmail.com> Date: Thu, 7 Nov 2024 21:21:00 +0900 Subject: [PATCH 3/3] Fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7e1cd7b..90569e8 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ fumen_key = "" ## Building -TaikoArcadeLoader can be a bit tricky to build if you've never done it before. +TaikoArcadeLoader can be a bit tricky to build if you've never done it before. Go to the TaikoArcadeLoader folder and run the following commands: ```bash @@ -149,5 +149,5 @@ export PATH=/path_to_tal/xpacks/.bin:$PATH make setup ``` -Once that's done, run `make` to build TAL. +Once that's done, run `make` to build TAL. The output will be written in the `out` folder. \ No newline at end of file