Region ID Algorithm Modifier
#1
I have figured out entirely how the Region ID Algorithm is done. First off, the Wiki Tockdom page is not correct at all. It claims that the region of the Wii, and DVD type determine the Region ID plus other unknown factors. This is completely false. Only thing that determines the Region ID is the country code within your SYSCONF file of NAND. But this doesn't apply to every MKW game.

Now, the USA and Korean game have their region ID's 'locked-in' meaning they don't include the POWERPC ASM instructions to check what country code you have to determine Region ID. Their Region ID Algo's are almost the same, just some slight differences.

Moving onto the PAL game. There are added ASM instructions involving multiple registers for country code check. If you have a AUS/NZ country code, then region ID 3 gets loaded. If not, then you have region ID 2.

The JAPAN game has the most complex algorithm. Using more registers and more ASM instructions. I don't know why that is, there's no need for it. But in the scheme of things it does the same thing as the PAL game. Checks to see if you have Taiwan country code. If yes, region 4, if not region 0.

The algorithms happen early in the main.dol. Meaning they are preformed before the Wii Remote bootstrap screen. I have made a single-line code that can modifies the algorithm. It is a TRUE region ID changer code unlike the other Region ID changer codes. Those codes aren't fake per say, they do change your Region ID, but the algorithm is not effected making those codes not 'true'.

NTSC-U
0XXXXXXX YYYYYYYY

PAL
0XXXXXXX YYYYYYYY

NTSC-J
0XXXXXXX YYYYYYYY

NTSC-K
0XXXXXXX YYYYYYYY

Code is created by me. Done on August 1, 2018. It is a single line code as mentioned earlier. A simple RAM fill type code. X values are obviously BA values. The Y values are a new ASM instruction replacing the older one.

Here is a video of using the code to find the spot in the main.dol to perma hex edit it into an ISO:

https://youtu.be/T1QrHiIDvQQ
Reply
#2
Code released! - https://mkwii.org/showthread.php?tid=1007
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)