Skip to content

Sly String Toolkit v1.4.0

Latest
Compare
Choose a tag to compare
@TheOnlyZac TheOnlyZac released this 31 Jan 22:22
68e3338

Changes

  • Use --clps2c switch to output CLPS2C source code instead of raw pnach.

Full Changelog: v1.3.0...v1.4.0

Usage

python stringtoolkit.py [-g 2/3] [-r ntsc/pal] <options> input_file.csv

These arguments are required:

  • -g <game> - Which game the mod supports. 2 for Sly 2 or 3 for Sly 3 (required).
  • -r <region> - Which region the mod supports. Can be ntsc or pal (required).

These arguments are optional:

  • -l <lang> - The language the pnach should work for (PAL only). If not set, it will affect all languages.
  • -n <mod_name> - The name of the mod. Shows in the PCSX2 GUI. The output file will be <crc>.<mod_name>.pnach (default is the same as the input file).
  • -a <author> The author of the mod. Shows in the PCSX2 GUI (default is "Sly String Toolkit").
  • -o <output_dir> - The output directory for the pnach file (default is ./out/).
    • Can be en, fr, it, de, es, nd, pt, da, fi, no, or sv.
    • Only one pnach can be used at a time, so if your mod supports multiple languages, you must post them as separate patches.
  • -c <asm_codecave> - Change the address of the codecave where the mod's assembly code is injected.
  • -s <strings_codecave> - Change the address of the codecave where the custom strings are injected.
  • --live-edit - Enable live edit mode. This will allow you to edit the strings in the csv and the pnach will automatically update.
  • --verbose - Enable verbose output.
  • --clps2c - Output CLPS2C source code instead of raw pnach
  • -h - Show help.

For detailed setup and usage instructions, see README.md.