prevnext   » SZS: Wiimms SZS Toolset » wstrt: Wiimms StaticR Tool » wstrt find

wstrt find

Find a track or arena by keyword and print one line for each keyword in machine readable format 'type slot' or, if not found, a simple '-'. The name is searched in the entered context (tracks or arenas). If TRACK or ARENA is prefixed by a plus, then a failed search will be continued in the other context. If at least one name is not found, the tool terminates with exit code NOT_EXISTS.

Contents

1.   Syntax

wstrt FIND [+]TRACK keyword...
wstrt FIND [+]ARENA keyword...

2.   Options

Options
Option Param Description
-T --tracks tracks Define a new track order. A comma separated list in the format [a=]b or a:=b is expected. 'a' and 'b' are track names or slot numbers. 'a' is the destination slot and 'b' the assigned track. If 'a' is omitted, the next slot is used; this means [a=]b,c,d is possible.

Tracks will only be exchanged so that always all tracks are assigned. But if using ':=' the new slots are assigned without exchanging and the old values are lost.

-A --arenas arenas Define a new arena order. A comma separated list in the format [a=]b or a:=b is expected. 'a' and 'b' are arena names or slot numbers. 'a' is the destination slot and 'b' the assigned arena. If 'a' is omitted, the next slot is used; this means [a=]b,c,d is possible.

Arenas will only be exchanged so that always all arenas are assigned. But if using ':=' the new slots are assigned without exchanging and the old values are lost.

-R --region region If 'region' is an unsigned number, the region for online versus races and for battles is patched to the entered number. If the number is prefixed by the letter 't', a test mode is enabled and the places are patched with ascending numbers. You can patch StaticR.rel and main.dol.

Otherwise a keyword is expected. Official regions are: JAPAN(0), AMERICA(1), EUROPE(2), AUSTRALIA(OCEANIA,3), KOREA(4), TAIWAN(5) and CHINA(6). RESTORE restores the original Nintendo values and NONE disables region patching (default).

See https://wiimmfi.de/reg-list for other regions.

--vs-region region Same as --region, but only for online versus races.
--bt-region region Same as --region, but only for online battles.
--all-ranks [=mode] If set to ON (default without parameter), the server query to Nintendos servers is manipulated, so that the player will find all players in online races independent of their ranking points. Value RESTORE disables this feature and restores Nintendos original query. Value NONE disables this kind of patching (default).
--https mode Patch the https strings of REL and DOL files. 'mode' is one of the following keywords:

RESTORE restores the original URLs and domains.

HTTP replaces HTTPS requests by HTTP and sub-domain 'naswii.' by 'nas.'.

DOMAIN replace HTTPS requests by HTTP and the domain 'nintendowifi.net' by a domain specified by option --domain.

SAKE0 same as DOMAIN, but don't replace URLs with SAKE domain.

SAKE1 same as SAKE0, but replace HTTPS of SAKE domains.

--domain dom Define a domain for option --https. The default is 'wiimmfi.de'.
--wiimmfi Patch the files for the new custom server. It is a short cut for --https domain --domain wiimmfi.de.
--pb-mode mode Mode for the patched-by string: OFF disables modifications. RESET resets the string to stars. WIIMMFI defines it only, if patched for Wiimmfi. AUTO (default) defines it only, if patched. ALWAYS defines it always.
--wc24 Exclude 2 strings of file StaticR.rel from --wiimmfi and --domain patch to enable WC24 support.
--vs char Reset (str is empty) or replace the second character of 'vs' to create an own online world for versus races. The file StaticR.rel will be patched at 4 places.
--bt char Reset (str is empty) or replace the second character of 'bt' to create an own online world for battles. The file StaticR.rel will be patched at 4 places.
--cannon idx,p1,p2,p3,p4 Patch parameters for cannon with index IDX (0..2). Parameters P1..P4 are floating point numbers. Repeat this option for each cannon, that should be modified.
--meno Patch some 'MenuSingle' and 'MenuMulti' strings of file StaticR.rel for online usage to 'MenO*' (MenuOnline) to distinguish between offline and online races.
-l --long Add a user friendly track or arena name at the end of each line. If set twice, add also the file names of the track and sound files before the track name. If set three times, add the slot index and the internal index (both zero based) before the file names.
--de Use german track and arena names.