Porting Addresses
I have just released a new version of the SZS tool. In particular, the two porting commands »wstrt PORT« and »wstrt WHERE« have been greatly improved.

When entering the address you now have more options:
  • Addresses can be specified with or without »0x« prefix.
  • If an address begins with »m« or »M«, then it is an offset of the file »main.dol«. If an address begins with »s« or »S«, then it is an offset of the file »staticr.rel«. This automatically converts file offsets into addresses.
  • If an address begins with a period (».«), then it is a cheat code in which only the least significant 25 bits are used for the calculation.
  • If an address without a prefix consists of exactly 6 characters, the value 0x80000000 is added. This simplifies the use of copy+paste from cheat codes.
The output has also been improved. Option --no-0x (short: -0) suppresses the output of a »0x« prefix. Option --long (short: -l) adds file offsets to the output. This makes the WHERE command ideal for converting file offsets into addresses and vice versa.

The internal porting DB has of course also been improved. It is now also possible to provide updates to this DB at a later date (option --port-db=file).

All details:
* https://szs.wiimm.de/cmd/wstrt/port
* https://szs.wiimm.de/cmd/wstrt/where

Messages In This Thread
Porting Addresses - by Wiimm - 04-24-2021, 08:09 AM
RE: Porting Addresses - by Wiimm - 05-08-2021, 10:13 AM
RE: Porting Addresses - by Wiimm - 05-28-2021, 09:05 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)