Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…ng_patcher into main
  • Loading branch information
mosamadeeb committed May 13, 2021
2 parents 7334b1e + 59f2c6a commit 019ce3d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ The JSON file should have only 1 object called "strings", which contains an arra
each with 2 elements: "text" and "address". "text" is the new string that will replace the old string at "address".
"address" must be a valid file offset in the input eboot, and can be either written in hex (as a string) or in decimal.

If "address" is not given, the address of the string right after the previous string (aligned to 8 bytes) will be used.

IMPORTANT: if an entry is removed from the JSON after running the script once, a clean EBOOT should be used.
Otherwise, running the script multiple times on the same EBOOT should not have any side effects.

Expand All @@ -48,11 +50,14 @@ Here's an example:
{
"strings": [
{
"text": "Test",
"text": "This is a string",
"address": "0xC54E10"
},
{
"text": "Test 2",
"text": "This string starts right after the previous string"
},
{
"text": "Strings after this one will be looked for relative to this address (if their address is not given)",
"address": 12930592
}
]
Expand Down

0 comments on commit 019ce3d

Please sign in to comment.