Sly String Toolkit: Difference between revisions
Expanded tool article
TheOnlyZac (talk | contribs) (Created page for modding tool) |
TheOnlyZac (talk | contribs) (Expanded tool article) |
||
Line 7:
}}
'''Sly String Toolkit''' is
== Usage ==
<code>python main.py <options></code>
The script supports the following optional arguments:
* <code>-i <inputfile></code> - The name of the input csv file (default is `./strings.csv`)
* <code>-o <outputfile></code> - The name of the output pnach file (default is `out/07652DD9.mod.pnach`)
* <code>-a <address></code> - The address to write the strings to (default is `203C7980`)
* <code>-d</code> - Output `out.asm` and `out.bin` files for debugging
* <code>-v</code> - Enable verbose output
* <code>-h</code> - Show help
== How to use ==
{{Main|Guide:Replacing strings}}
The script takes as input a <tt>.csv</tt> file with a list of string IDs and replacement strings. It outputs a <tt>.pnach</tt> file which you should place in your <code>pcsx2/cheats</code> folder. Make sure to enable cheats before booting the game.
== Strings file format ==
The input is a <tt>.csv</tt> file where each row has the following format:
<code><string id>,<string>,<optional target address></code>
* <code><string id></code> is the ID of the string you want to replace
* <code><string></code> is the string to replace it with
* <code><optional target address></code> is the address to write the string to. If not specified, it will be written with the rest of the strings in a block at the address specified by the <code>-a</code> option.
{{Navbox tools}}
|