Country Flag Changer #1 [Vega]
NOTE: Outdated by Anarions' single line version
This code will allow you to change your country code to whatever you want. It also sets your flag image automatically if the country code has an image. Region residence ID is also set ofc.
NTSC-U
C200AF4C 00000002
3CC0XX01 90C300F8
60000000 00000000
PAL
C200AFEC 00000002
3CC0XX01 90C300F8
60000000 00000000
NTSC-J
C200AF10 00000002
3CC0XX01 90C300F8
60000000 00000000
NTSC-K
C200B098 00000002
3CC0XX01 90C300F8
60000000 00000000
XX = Country code in Hex
Source:
lis r6, 0xXX01 #Load the XX01 value into upper 16 bits of Register 6. Lower 16 bits are cleared.
stw r6, 0x00F8 (r3) #Store the word (XX010000 value) of Register 6 into address of Register 3 plus offset 0x00F8
#Default instruction of lwz r6, 0x00F8 (r3) not needed
Code creator: Vega
NOTE: Outdated by Anarions' single line version
This code will allow you to change your country code to whatever you want. It also sets your flag image automatically if the country code has an image. Region residence ID is also set ofc.
NTSC-U
C200AF4C 00000002
3CC0XX01 90C300F8
60000000 00000000
PAL
C200AFEC 00000002
3CC0XX01 90C300F8
60000000 00000000
NTSC-J
C200AF10 00000002
3CC0XX01 90C300F8
60000000 00000000
NTSC-K
C200B098 00000002
3CC0XX01 90C300F8
60000000 00000000
XX = Country code in Hex
Source:
lis r6, 0xXX01 #Load the XX01 value into upper 16 bits of Register 6. Lower 16 bits are cleared.
stw r6, 0x00F8 (r3) #Store the word (XX010000 value) of Register 6 into address of Register 3 plus offset 0x00F8
#Default instruction of lwz r6, 0x00F8 (r3) not needed
Code creator: Vega