1
0
mirror of synced 2024-11-28 00:20:53 +01:00
TaikoLocalServer/README.md

62 lines
2.8 KiB
Markdown
Raw Normal View History

# Taiko Local Server
This is a server for Taiko no Tatsujin Nijiiro ver 08.18
## Setup
2022-09-12 18:51:01 +02:00
### Prerequisite
- A working game, with dongle and card reader emulation. You can use [TAL](https://github.com/BroGamer4256/TaikoArcadeLoader) for these if you haven't.
### Server setup
1. Download the server from release page, extract anywhere
2. From game's `Data\x64\datatable` folder, find `music_attribute.bin`, `musicinfo.bin`, `music_order.bin` and `wordlist.bin`, decompress them, add `.json` prefix to them.
The result is `music_attribute.json`, `musicinfo.json`, `music_order.json` and `wordlist.json`. Put `music_attribute.json` under `wwwroot`, the others under` wwwroot/data` folder in server.
2022-09-13 18:35:38 +02:00
3. Modify hosts, add the following entries:
2022-09-12 18:51:01 +02:00
```
server.ip tenporouter.loc
server.ip naominet.jp
server.ip v402-front.mucha-prd.nbgi-amnet.jp
server.ip vsapi.taiko-p.jp
```
where `server.ip` is your computers ip (or the server's ip)
2022-09-13 18:35:38 +02:00
4. Setup Apache as reverse proxy. Notice the following assumes a windows install, the server also works on Linux, but the guide only covers windows.
2022-09-12 18:51:01 +02:00
1. Download [Apache](https://www.apachelounge.com/download/), extract anywhere
2. Copy the content in Apache folder to Apache root folder (and replace)
2022-09-12 18:51:01 +02:00
3. Open `conf/httpd.conf`, find this line, modify it to your Apache install (extracted) full path
```htaccess
# For example, if your Apache is extracted to C:\users\username\Apache24, then this should be "c:/users/username/Apache24"
Define SRVROOT "d:/Projects/Apache24"
```
4. Open the certs folder Apache root folder, then click on the localhost.crt file and import it to trusted root store.
2022-09-12 18:51:01 +02:00
If everything is correct, run bin/httpd.exe, a command prompt will open (and stay open, if it shut down, probably something is not setup correctly)
2022-09-13 18:35:38 +02:00
5. Now run the server, if everything is setup correctly, visit http://localhost:5000, you should be able to see the web ui up and running without errors.
2022-09-12 18:51:01 +02:00
2022-09-13 18:35:38 +02:00
6. Go to game folder, copy the config files (AMConfig.ini and WritableConfig.ini) in the AMCUS folder from server release to AMCUS folder and replace the original ones.
2022-09-12 18:51:01 +02:00
2022-09-13 18:35:38 +02:00
7. Open command prompt as admin, navigate to game root folder (where init.ps1 is). Run `regsvr32 .\AMCUS\iauthdll.dll`. It should prompt about success.
2022-09-12 18:51:01 +02:00
2022-09-13 18:35:38 +02:00
8. Run AMCUS/AMAuthd.exe, then run AMCUS/AMUpdater.exe. If the updater run and exits without issue, you are ready to run the game and connect to server.
2022-09-12 18:51:01 +02:00
2022-09-13 18:35:38 +02:00
9. Run the game, it should now connect to the server.
2022-09-12 18:51:01 +02:00
### Run the server on another computer
If you want to run the server on another computer, the procedure is identical with an extra step. Before you open browser, in `wwwroot/appsettings.json`, change `BaseUrl` to `https://naominet.jp:10122` then instead of visit localhost, visit the server using domain name to test.