Region Flag Display in the Middle of Race/Battle
#1
Lightbulb 
As you may know, you've already heard of Mario Kart 8 (Deluxe). When you go online and do your online race, you'll see other people's flags during a race/battle, and that got me into thinking, "what if their region flags be displayed in the middle of the race/battle rather than seeing them briefly when I join a room?"

However, people's regions during a online VS Race already exist through region color lines, and can be easily identified below:

Blue = Americas [NTSC-U]
Green = Europe [PAL]
Yellow = Australia [PAL (AUS)]
Red = Japan [NTSC-J]
Purple = South Korea [NTSC-K]
White = Taiwan, China (Note: Taiwan uses the Japanese Disc, since the region itself never released an official Taiwanese MKW disc. China also applies, which Chinese MKW discs went unreleased by iQue, a company that manufactured 3DS's for Nintendo. For more info, see Vega's response below with a link attached.)

This does not apply to Team Race/Battle, as it could be difficult to identify where he/she is from. To resolve this issue, I created a new approach to make this idea into reality (not quite yet).

(1) To begin, I exported the TPL files (Nintendo's Flag Regions) from MenuSingle.szs into Race.szs (See Attachment) to make sure those files are included and work in the game.

   
Sample of Several TPL files imported into Race.szs. This was needed for the flags to be revealed in-game, otherwise it may not show up.

(2) In addition, the BRLYT file named "national_flag" was extracted from Globe.szs, and imported into Race.szs for the flag display hack to work as well (See Attachment), however coding may be recommended, which I have little to no experience.

   
Split Sample of national_flag.brlyt on Toolbox Editor, and Race.szs selecting the imported national_flag.brlyt on SZS Explorer

(3) Editing "chara_name.brlyt" was needed, so I used the Switch Toolbox Layout Editor to add the null pane and two picture panes into a complete null.

   
Split Sample of chara_name.brlyt on Toolbox Editor selecting the added "flag_null," and a brief guide (Game Window was used).

(4) Since editing was finished, I saved the BRLYT, and on Race.szs (using the SZS Explorer) replaced the old chara_name into the revised chara_name.

   
Sample of Race.szs selecting the chara_name.brlyt to be replaced by the edited version.

(5) After saving the SZS file and into the My Stuff folder, it was time to put the hack to the test, (I don't use Dolphin due to parental restrictions on the PC, so all I have is my old Wii to work, plus it is Homebrewed) so I used CTGP, and was able to function smoothly with no crashes. I did tested the "AnyGlobe" method but my game crashed, likely due to the fact that the SZS had too many TPL files for the game to read.

   
Sample of chara_name.brlyt shown prior to the beginning of an online race. (Note that the region's flag has a question mark. This means that if the selected region he/she lives is not supported, take for example Cuba, this sample attached will show up. If the player didn't select or set their region, then the flag will not display and may determine by their region color line.)

Taking everything into account, the only method for all of this to function is (once again) the ability to code, which I'll need assistance for. I'll be happy to respond and provide information about this project (if I really can) and I appreciate your support.
Reply
#2
First off, thank you for posting this. Very neat.

Regarding the coding aspect, are you able to use Discord? We have a Discord Server. It's a bit inactive but here's the link - https://discord.gg/vKwjqrCBCp

I'm pretty sure somebody would be interested in making this entirely as a gecko code. Or at least a hybrid (gecko code requiring file edits).

If you want to learn about coding, you will need to learn PowerPC Assembly (plenty of tuts on these forums ofc), C, and C++.

Finally, just some small inaccuracies I want to point out.

Taiwan is NOT NTSC-T as the Taiwan Wii uses the Japenese MKW Disc (Taiwan Wiis use a Japanese System Menu but its SYSCONF Country Code is locked to Taiwan). There is no official Taiwanese MKW Disc.

White Region Line is also used for China (Chinese MKW & Wii never publicly released), and "Region 7". More details - https://mariokartwii.com/showthread.php?tid=8
Reply
#3
Thanks for pointing this error out. I resolved the issue to make sure NTSC-T was removed since Taiwan/China didn't manufactured a MKW disc of their own.

(In addition, I read your Region ID post as attached before I made the edits.)

My Apologies. Smile
A MKWii Player who doesn't do good at online play, plus countdowns on CTGP.
Reply
#4
https://www.youtube.com/redirect?event=v...8Xxls_FhNI

My apologies for the weird looking link
mtctr r0 ~ bctrl / BLX R0
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)