beerpsi-x/README.md
2024-10-27 03:17:55 +07:00

32 lines
1.5 KiB
Markdown

# x
Miscellaneous scripts that don't need their own repo.
## `app`/`opt`/`pack`
- `segafs/makesegafs.py`: Create an `app`/`opt`/`pack` (same thing) from an unencrypted
disk image.
- Dependencies: `pip install construct PyCryptodome`
## Patchers
- `patchers/b2spatch.ts`: Convert from BemaniPatcher to Spice2x JSON
- Use Deno: `deno run -A b2spatch.ts ...`
- You will need to rename the resulting JSON manually so that they match the
`{gameCode}-{timestamp}_{entrypoint}` format expected by Spice2x.
- `patchers/b2mpatch.ts`: Convert from BemaniPatcher to [mempatch-hook](https://github.com/djhackersdev/bemanitools/blob/master/doc/tools/mempatch-hook.md)/[mempatcher](https://github.com/aixxe/mempatcher)
- Use Deno: `deno run -A b2mpatch.ts ...`
- You need to setup a folder of executables or DLLs you want to patch. They
can be named the patcher's description, or the patcher's filename.
## Arcaea
- `acaca/arcpack.py`: Script to extract Arcaea Nintendo Switch `arc.pack` files
## CHUNITHM
- `chuni/rekey_opt.ps1`: Rekeys a CHUNITHM International option so that audio doesn't shit
the bed when importing into the Japanese version. There must be a `bin` folder next
to this script with [DereTore](https://github.com/OpenCGSS/DereTore/releases/latest)
and [SonicAudioTools](https://github.com/blueskythlikesclouds/SonicAudioTools/releases/latest)
extracted into it.
## Card Maker
- `cm/cmpack.py`: Script to work with Card Maker `.pac` files