Options | |||
---|---|---|---|
Option | Param | Description | |
--port-db | file | Load the specified update file and replace the internal porting database. If not set, then file |
|
--order | pujk | The parameter is scanned for the first appearance of letters P (for PAL), U (USA), J (JAPAN) and K (KOREA) to define the order of the output. Case is ignored. Missing letters are added automatically. The default is |
|
-0 | --no-0x | Suppress 0x prefix of hex numbers. This is the default for cheat codes. | |
-U | --upper | Print digits A-F of hex numbers in upper case. This is the default for cheat codes. | |
-H | --no-header | Suppress the table header and footer and output exactly 1 line for each specified address. This makes the output more machine-readable. | |
-B | --brief | Same as --no-header. | |
-l | --long | Print file offsets too. |
Keywords are
The hex numbers are interpreted as addresses of the active region.
If the number begins with
In addition, a single minus sign is accepted to display a separating line.
The result is output as a human and machine readable table.
Option --no-header (short: -H) improves machine-readability.
Option --no-0x (short: -0) suppresses the output of the
The porting is based on an internal table with about 1720 records and the lookup is done by a binary search. Therefore the calculations are very quick.
The table was generated using the following sources:
Example:
$ wstrt port -l0 0x8000961c usa 0x800095dc pal - 8027cea0 c05bf3c4 s3c0d20 - 801a0140 1a0140 j m19b300 #--------------------------------------------------------------------------------------------------- # PAL USA JAP KOR where off(P) off(U) off(J) off(K) status #--------------------------------------------------------------------------------------------------- 8000961c 800095dc 80009578 80009724 T1 48bc 487c 4818 49c4 0: verified 8000961c 800095dc 80009578 80009724 T1 48bc 487c 4818 49c4 0: verified #--------------------------------------------------------------------------------------------------- 8027cea0 80278b60 8027c840 8026ad50 D5 278fa0 274c40 278920 266e50 1: extension from verified c05bf3c4 c05b69c8 c05bed44 c05ad41c rel1 af0e4 aaa68 af0e4 af11c 2: not sure 808d1000 808ccd10 808d0150 808bf498 REL5 3c0d20 3c0db0 3c04f0 3c1198 3: suspect to be wrong #--------------------------------------------------------------------------------------------------- 801a0140 801a00a0 801a0060 801a049c T1 19b3e0 19b340 19b300 19b73c 0: verified 801a0140 801a00a0 801a0060 801a049c T1 19b3e0 19b340 19b300 19b73c 0: verified 801a0140 801a00a0 801a0060 801a049c T1 19b3e0 19b340 19b300 19b73c 0: verified #---------------------------------------------------------------------------------------------------Screenshot of above with colors:
See wstrt WHERE for details about the where column.
If option --port-db is not set, then file