SZS (wstrt, wszst, wbmgt) Command Cheat Sheet
#1
WSTRT commmands...

Analyze main.dol (this will let you know if your main.dol is clean/original)
wstrt analyze main.dol

Analyze StaticR.rel
wstrt analyze StaticR.rel

Remove Nintendo's VR Matchmaking Algorithm (NOT needed if ISO/WBFS is patched for Wiimmfi)
wstrt patch StaticR.rel --all-ranks

Patch GCT file to main.dol (also allows usage of exceeding 256 Ocarina line limit)
wstrt patch main.dol --add-section nameofgct.gct

Patch Multiple GCT files to main.dol (3 GCTs used in example)
wstrt patch main.dol --add-section a.gct --add-section b.gct --add-section c.gct

Change Vs/Battle Region slot (this does not change line color underneath name)
wstrt patch main.dol --region X
wstrt patch StaticR.rel --region X
X = region #

Patch Domain names of Game
wstrt patch main.dol --https domain --domain example.com
wstrt patch StaticR.rel --https domain --domain example.com

Patch game for Wiimmfi
wstrt patch main.dol --wiimmfi
wstrt patch StaticR.rel --wiimmfi

Port Address for Code Usage
wstrt port ZZZZZ XXXXXXXX OOOO
ZZZZZ = Region of Address that is being ported (pal, usa, japan, or korea); if no ZZZZZ value is used, then the address is assumed to be pal by default
XXXXXXXX = Address to port
OOOO = order of the output; if this isn't included the default output is pujk (pal usa japan korea). If you wanted the output to be japan korea usa pal, set this to jkup.

WSZST commmands...

List contents of a SZS file
wszst list example.szs

Extract contents of a SZS file
wszst extract example.szs

Build contents of SZS directory into SZS file
wszst create ./example.d


WBMGT commands...

Decode a BMG file to a TXT for editing
wbmgt decode example.bmg

To encode a TXT file into a BMG file
wbmgt encode example.txt
Reply
#2
(02-15-2018, 12:03 AM)Vega Wrote: Patch GCT file to main.dol
wstrt patch main.dol --add-section nameofgct.gct

Patch GCT file (that exceeds 256 Ocarina line limit) to main.dol
wstrt patch main.dol --gct-move=ON --add-section nameofgct.gct
The default is --gct-move=AUTO. With this setting, the patcher decides about GCT moving. So the first command does manage large GCT too.

And then it is possible to add more than one GCT in a single step:
wstrt patch main.dol --add-section a.gct --add-section b.gct --add-section c.gct

(02-15-2018, 12:03 AM)Vega Wrote: Change Vs/Battle Region slot (this does not change line color underneath name)
wstrt patch StaticR.rel --region X
X = region #
Best is to patch main.dol too:
wstrt patch main.dol StaticR.rel --region X
Reply
#3
All updated, much thanks!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)