Changes
- Use
--clps2cswitch 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.2for Sly 2 or3for Sly 3 (required).-r <region>- Which region the mod supports. Can bentscorpal(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, orsv. - Only one pnach can be used at a time, so if your mod supports multiple languages, you must post them as separate patches.
- Can be
-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.