Guide:Replacing strings: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added navbox) |
TheOnlyZac (talk | contribs) (Changed wording, fixed typos) |
||
Line 7:
This tutorial will walk you through the steps of using [[Sly String Toolkit]] to make mods that replace strings in Sly 2.
'''Note:''' The toolkit currently only works with Sly 2 (NTSC and
{{To do|Add instructions for how to use Live Edit to update the strings in real time.}}
Line 29:
</pre>
This will generate a <
[[File:String Toolkit screenshot.png|480px]]
Line 36:
=== Making a CSV file ===
To make your own string replacement mods, you will need to make a
<code><string id>,<string>,<optional target address></code>
Line 43:
*<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.
Everything after the third column is ignored by the script, so you can use them for notes if you want. You can use
==== String IDs ====
Every string in the game has a unique ID. You will need to know the ID of any string you want to replace. Fortunately, the game stores all these strings in a large table, which we have
Find the string in the string table you want to replace, and in your spreadsheet put that ID in the first column. In the second column, put the string you want to replace it with.
For example, if you want to replace the string "WE'LL BE RIGHT BACK!" on the pause menu (which has ID 309) with "
<pre>
309,
</pre>
==Generating the mod PNACH==
<pre>python main.py <path_to_your_csv_file></pre>
The default region is NTSC.
<pre>python main.py <path_to_your_csv_file> -r pal</pre>
Line 78 ⟶ 76:
</pre>
Your PCSX2 folder
<pre>
|