Custom Track Regions

From Custom Mario Kart
Jump to: navigation, search

Regions are a concept by Nintendo, to allow regional or continental races in Mario Kart Wii. Nintendo defined the region from 0 to 6. Regions ≥7 can be used for Custom Track Distributions to isolate the users of a distribution from all other players.

How region numbers are used internally

Mario Kart Wii uses an unknown algorithm to assigns itself a region number. The DVD type (PAL/NTSC/...) and the region of the Wii have influence to determination. The region is then stored to an internal numeric variable.

If connecting to a region, this region number is used to create an alpha numeric region name. For versus races the C format string "vs_%d" is used, and for battles the string "bt_%d". The "%d" is replaced by the signed decimal presentation of the region number. This combined prefix and region number is used by the game to search player in the online matchmaking database.

Example: If region 12 is active, the versus race region name becomes "vs_12" and the battle race region name becomes "bt_12".

For worldwide races, the names "vs" and "bt" without a number extension are used. This means that worldwide races don't use regions (region 0 is Japan).

How the region patch works

The well known region patch replaces a 32-bit instruction of the code. The original instruction is: »load the content of variable region_number into the register«. This instruction is replaced by »load a constant value into the register«. Because the limit of 32 bit for the instruction, the value is a sign extended 16 bit value. So only values between 0x8000 – 0x7fff (-32768 – +32767) are possible.

If using a negative number, the region name becomes for example "vs_-12345". Tests confirmed, that this regions with 9 characters work at Nintendo's servers like all others. And Wiimmfi supports it too, but has limited the accepted range from 0 to 7999 plus some other regions.

With this practice, 65536 (0x10000) versus regions are possible. However, changing the prefix of the string from "vs_" to something else makes it possible to use billions of different regions. Prefix modifications except »vx« and »bx« are not allowed by Wiimmfi.

New patch version by Leseratte

Leseratte has created a new version of the patch, fixing the battle and friend list bug.

With a special cheat code, it is possible to use regions from -2,147,483,647 to +4,294,967,296 allowing 6,442,450,943 regions in total. But this patch currently can't be put into an ISO so it's unreleased for now. Wiimmfi does not support this extended range of regions.


The old region patch has forgotten to patch the region in some parts:

  • If player A plays in region 123 and the friend B meets A using the friends list, B is registered as player of its native region, e.g. 1 for USA. So as soon as player B gets host of the race (because the original host quits), other people from region 1 can join via the "Continental VS Race" button.
  • The region patch does not work for battle.

Wiimms SZS Tools fixed it and will patch 8 different places in StaticR.rel. The tools can also patch main.dol to define a login region. This login region can be used to identify the distribution of a private room.

Applying regions

Since August 2017, there is a new system for applying and managing custom regions for Wiimmfi. Other servers (for example based on AltWFC) may have an own system.

For Wiimmfi, visit the page »List of free custom regions«, search a free region and then use the form at »Apply regions« to apply one or more regions. For the second page you have to be logged-on. Read the explanations of both pages.

Old list of custom regions

The following list shows the region distribution before August 2017. The list became invalid at beginning of 2018. Here you can find the always up-to-date list of custom regions at Wiimmfi.

Custom Track Regions
Region Distribution which uses the Custom Region
Worldwide isn't any region, see »Custom Track Regions«.
0 Nintendo (Japan)
1 Nintendo (North America)
2 Nintendo (Europe)
3 Nintendo (Australia)
4 Nintendo (Taiwan)
5 Nintendo (Korea)
6 Nintendo (China)
7 Reserved by Leseratte
8 CTGP Revolution v1.00.0000
9 CTGP Revolution v1.01.0000
10 CTGP Revolution v1.03's region pool
11 CTGP Revolution v1.02.0003 Alpha
12-20 CTGP Revolution v1.03's region pool
21 CTGP Revolution v1.02.0003 official
22-59 CTGP Revolution v1.03's region pool
60-68 Reserved by Torran
69 Reserved by Tock
70 Stickboy Kart Wii
71-74 Reserved by Helix
75-98 Reserved by Torran
99 Reserved for short-term tests; free for all. Cheating forbidden.
100 Pro CT Pack v1.0
101 Pro CT Pack v2.0-v3.0
102-134 Used by Wiimms Mario Kart Fun
135-159 Reserved for future versions of Wiimms Mario Kart Fun
160 Reserved for a CT distribution by SpyKid
161 Legend's Awesome CT Pack
162 Reserved by wg93589
163-164 Reserved by Wexos
165 Reserved by Bladestorm227 for Blade's CT Pack
166 Reserved by 4IT★Lecce for Lecce Kart Wii
167 Reserved by KantoEpic for MKWii Bag of Tricks Pack
168-170 Reserved for Miles5x5's CT Pack
171 Reserved by nMM456 for testing purposes.
172 Reserved by Trainiax for CtocKartWii ISO Version.
173 Reserved by Trainiax for his personal pack.
174 Reserved by Inkling35000vr for Super Squid Pack
175 Reserved by Jax53000vr
176 Reserved by TheLonePolar
177 Project Mario Kart 7 (by Mateus Vianna / RoGamer)
178 Diddz Gang CTWW/AltWFC
179 Reserved by Sucht93a
180 Reserved by JσεεуTD for Joeey, Cyan, Cyther & Bradley's Countdown Pack
181 The 2.5x Speed Mod Pack
182-183 Wine's CT Pack Mod Pack
184 Reserved for Bradley & Maniac's Speed Mod Pack
185-186 SpyKid's CT Pack
187-190 Reserved for future versions of SpyKid's CT Pack
191 Atlas's WHackR region
192-195 Reserved for testing by Miles5x5
196-199 Wine's CT Pack
200-202 MKW Hack Pack v1
203 Apple's Hacker Region
204 Spade's Custom Track Pack
205-212 Reserved for Mike15,000vr CT Pack beta testing & releases
213-215 Reserved by Dhillon521 for his upcoming CT Distribution
216 Reserved by NicoPlaysThings
217-218 MKW Hack Pack v2
219 MKW Hack Pack texture distribution
221 Chrome's Worldginals
222 Pathos's texture distribution
223 Proto's Custom Track Pack
224 Reserved for OptPack Custom Track Pack
225-254 Reserved for future remakes by Remake Kart 12
255 Special region for standard CT-CODE; free for all.
256-499 Reserved for future remakes by Remake Kart 12
500-530 Reserved for future hacks by rca42623
531-540 Cotni's testing regions
541-550 Reserved by Cotni
551 Pro CT Pack v4.0
552-553 Pro CT Pack v5.0
554-565 Reserved for future versions of Pro CT Pack
566-575 Reserved for Retro Distributions by MrDark35000vr & Super-Mario68
576-579 Reserved for 4tbMyles8110vr's CT Pack and future hacks by 4tbMyles8110mkwii
580 CodyMkw's Hacker region CHackR
581 Jogatinas Online Brasil (RoGamer)
582 Reserved for D-Craft's and Elias's Speed Hack Region by D-Craft HD
583 Active Region for JHFR CT Pack Rajwii64
584 Reserved for Sanae CT Pack Test Region.
585 Reserved by Miles5x5 for future testing
586 Reserved by aplumafreak500 for testing purposes.
587 Reserved for v2.0 of Miles5x5's CT Pack.
588 Reserved for v1.0 of Ultra CT Pack.
589-590 Reserved for Future versions of Ultra CT Pack.
591 Sanae CT Pack v1
592-595 FJ's Mario Kart CT 2017
596 Reserved for The ZAC Trac Pac by TheZACAtac.
597 TheZACAtac Test Region.
598 Reserved for MKW Hack Pack v5 open BETA test region.
599 Reserved for Extreme Mario Kart by MeerkatMario.
600-603 MKW Hack Pack v4
604-605 Luma's CT Pack v1.0-v1.1
606-625 Reserved by iSYan
626-627 MKW Hack Pack v3
628-665 Reserved by Inkling35000vr
666 Reserved by KeiroStarr for Mario Kart QZW
667-672 Reserved by Gekogaeru00 (AC's friend)
673-678 Reserved by Mario Kart Wii x DS
678-800 Reserved by AC
801-810 Reserved by PC Freak
811 Reserved by YKW Alex
812 Zef's CT Pack
813 Mario Kart X v1.0
814 Mario Kart X v2.0
815 Reserved for Dank Kart Wii by SpartaYoshi
816 Mario Kart X v3.0
817 MKW Pro Lounge v1.3
818-819 Degeso's CT Pack
820-830 Reserved for Future versions of Sanae CT Pack.
831-840 Reserved by 9Paran
841 Xeno CT Pack v1.0
842-898 57 free regions
899-999 Reserved by riidefi
1000 Disabled for technical reasons.
1001-1010 Reserved by Dogma
1011-1446 435 free regions
1447-1464 Reserved by Matojeje for testing purposes
1465-7999 6535 free regions
8000-65535 Regions ≥8000 are reserved at Wiimmfi.

Special regions

The following list shows regions with special purpose at Wiimmfi.

Custom Track Regions
Class Region Distribution which uses the Custom Region


20000 General cheating region. In all regions of 20xxx cheating will be allowed, if ever enabled.
20001 Starlight's Cheat Region.
20002 Alex's WiiHackU Region.
20003 Pathos's Test Region.
20004 RoGamer's Coin KMP Battle Region.
20005 Inkling35000vr's CT Pack.
20006 SpyKid's Tracks.
20221 Test Wiimms Mario Kart Fun (with built-in item cheats).
20222 Wiimms Intermezzo (a weekly distribution for track testing).