Custom Track Grand Prix Revolution Version 1.03.0012+ Data FAQ & Essentials

~Maidvelia❤︎~

Achieving goals from the sidelines
Supporter
Joined
Jun 25, 2018
Messages
458
Location
Warren, MI, USA
Team
UHDR7T7KECH - Maidvelia Serial Number
NNID
Maidvelia
Switch
4185-3145-7717
Wiimmfi
4297-4674-3102
#1
This thread assumes you have Riivolution installed already. If you don't, you won't get ANY of this. Also HBC means the Homebrew Channel.

FAQ

1. WHY DID CTGP DELETE MY SAVE DATA?

It didn't delete anything. Your Wii or vWii uses NAND Flash Memory: a form of memory for your console. Your Mario Kart Wii save data is still there, safe and secure.

2. WHERE DID IT GO THEN?

Within your Wii/vWii's NAND chip, you will find a specific location for Mario Kart Wii.

Find your region below:
NAND:\title\00010004\524d4345 for NTSC-U
NAND:\title\00010004\524d4350 for PAL
NAND:\title\00010004\524d434a for NTSC-J.


The following files will reside in the locations bolded above↑:
banner.bin
rksys.dat
wc24dl.vff
wc24scr.vff


These files make up all of Mario Kart Wii's Data, which is 23 blocks of memory depending on your region.

To go into more detail about Mario Kart Wii's location on the NAND:
00010000 is the default location for disc-based game saves.
If the disc-based game save has a channel with it--the Mario Kart Channel in this instance;
it will go in 00010004, which combines the channel data and the disc data into one. Now for the second part of the location:

524d is the title ID that the flash memory uses to identify the save data as being from the game Mario Kart Wii.
4345 is used to identify the NTSC-U variant of Mario Kart Wii,
4350 is used to identify the PAL variant,
and 434a is used to identify the NTSC-J variant.

A list of all the categories of title folders and a lot of title IDs for games and applications can be found here: Title database - WiiBrew.

There are also tickets. These uneditable, encrypted files are stored in the same title folders for categories and have the same IDs for games and applications. These are used by Nintendo to identify which console the game save was made on, and are also a way to record your purchase of software in the Wii Shop Channel.

The location for Mario Kart Wii's ticket is similar to the location of the save file on the NAND.

Find your region below:
NAND:\ticket\00010004\524d4345.tik for NTSC-U
NAND:\ticket\00010004\524d4350.tik for PAL
NAND:\ticket\00010004\524d434a.tik for NTSC-J.


Currently there is no way to extract these tickets to the SD card (you can only modify tickets from the Wii to the Wii U using the official data transfer tool, so any purchased games from the Wii Shop Channel will not be able to go onto a new Wii).

TL;DR Load up MKW through the Disc Channel and your data WILL be there. The Custom Tracks Grand Prix Revolution channel simply created a new fresh Mario Kart Wii save in the following location on your SD Card: SD:\riivolution\save. This location will have the 4 files from your NAND italicized and listed above.

3. HOW DOES THIS HAPPEN TO GO ON MY SD CARD?

Inside one of the .bin files within the ctgpr folder is an XML file that points to this location and creates the blank save file, if one isn't already there. The XML code is just encrypted so nothing gamebreaking can be messed around with. The code only activates if you turn Save game on the SD Card? ON. By default it is switched ON because saving the game on the SD card has MANY advantages if used correctly and it can be turned off by yourself whenever you wish.

4. HOW DO I PREVENT IT FROM HAPPENING OR STOP USING IT?

Simply change the setting mentioned above to OFF and the data from your Wii/vWii's NAND will load. However this is not a smart idea, the data on your NAND is picky and can never be recovered if you don't have a backup of it. When you have a game save on your SD card, you can do whatever you want with it. Your NAND is extremely limited with how much you can edit even with Homebrew Applications.

5. WHY SHOULD I LEAVE IT ON AND WHAT ARE THOSE ADVANTAGES YOU MENTIONED?

Saving your game on your SD card is the way you can have all of your save data even if you are miles away from your Wii at home. Just copy the correct files and then bam... yeah. You can also make as many backups of your MKW save data as you want and modify them to your heart's content.

The main reason it should be left on though is because game save data on the SD card ISN'T PICKY LIKE NAND IS. Playing on certain modes with custom tracks while running off the MKW save data on the NAND can easily result in corrupted data or errors that could make you accidently delete all of your MKW data. You take a big risk with losing EVERYTHING if you don't have a backup. It is highly recommended to play on the SD card save because it isn't as picky, so custom tracks don't affect it as much.

Also, even if it does corrupt, you can just replace it with a backup copy. You can also delete it, but the most recommended solution is to clone your NAND MKW data to your SD card again in an alternative folder. It's effectively the ultimate emergency backup when you need it. MKW save data on the NAND that isn't tampered from playing on CTs is usually clean, and sometimes MKW save data on the SD card can get kind of messed up (it's going to a lot of various locations like your Wii/Wii U and PC, and going through the effects of custom tracks on it).

6. WHY CAN'T WE USE RIIVOLUTION IF CTGP DOESN'T SUPPORT GAME SAVE CLONING YET?

An XML file was the only thing that allowed Riivolution to be supported for CTGP before 1.03. This was a flaw within Riivolution, meaning people were free to edit it and exploit its flaws. These things include doing whatever you want to the tracks, adding item boxes, loading codes, and much more. Although without XML files, CTWW would have never existed... this flaw in security was a gateway to what you see today. Game save cloning was perfectly safe and legit though. Having uneditable XML code within the .bin files of CTGP-R v1.03 prevents any of these exploits and keeps CTWW a safe place for legitimate racing.

7. IF GAME SAVE CLONING WAS PERFECTLY SAFE AND LEGIT, WHY DOESN'T 1.03'S EDITABLE XML FILES HAVE GAME SAVE CLONING ADDED?

You'll have to ask Mr. Bean or Chadderz about that. I assume they removed it because the CTGP channel already has the same setting. They probably thought it would behave the same way as it did in 1.02, however they couldn't get it to work, forgot to provide the code for cloning game saves that was in the editable XML files from CTGP-R v1.02, and released the pack.

*As of CTGP-R v1.03.0036, all downloads now come with XMLs that contain a "Copy MKW Save to SD Card?" option!

8. WHEN IS GAME SAVE CLONING SUPPORT GOING TO BE ADDED TO THE CHANNEL SO WE CAN DITCH RIIVOLUTION COMPLETELY?

You'll never be able to ditch Riivolution altogether. You're going to need an exploit or HBC so you can get to the CTGP revolution channel.

As for getting to the CTGP revolution channel and then ditching Riivolution... that is possible if you install the channel to your Wii Menu of course or use HBC to load it. If game save cloning support WAS added, then yeah, HBC or Riivolution wouldn't be needed unless you wanted to go beyond the limits of CTGP 1.03.

9. HOW DO YOU KNOW ALL THIS STUFF?

If you have any questions about where I got this information, this is from my own background knowledge and extensive research into the subjects above.
 
OP
~Maidvelia❤︎~

~Maidvelia❤︎~

Achieving goals from the sidelines
Supporter
Joined
Jun 25, 2018
Messages
458
Location
Warren, MI, USA
Team
UHDR7T7KECH - Maidvelia Serial Number
NNID
Maidvelia
Switch
4185-3145-7717
Wiimmfi
4297-4674-3102
Thread Starter #2
DATA ESSENTIALS: THE VARIOUS METHODS TO CLONE YOUR NAND GAME SAVE TO THE SD CARD

THE SAVE GAME CTGP MADE IS FRESH THOUGH, HOW DO I GET MY DATA?

Through save game cloning via Riivolution! Read on to figure out how to get your data!

Well, if you have CTGP-R v1.02 and used the "Save to SD Card" option on Riivolution (v1.04 or higher only), just leave the save folder as is. Then in the CTGP Revolution Channel, turn the option "Save game on the SD Card?" ON.

You don't need Riivolution anymore if you aren't planning on messing with any other mods, so you can uninstall it and just use the CTGP Revolution Channel.

If you're new to CTGP-R v1.03 and didn't use the "Save to SD Card" option when you had v1.02, or removed the save folder before getting v1.03 (NOT recommended), you'll need Riivolution (again, v1.04 or higher only) so you can use game save cloning. Keeping Riivolution after doing so is optional.

After installing Riivolution, you can do one of the following -

* If you have CTGP-R v1.03.0036 or newer, you can use METHOD 1: the "Copy MKW Save to SD Card?" option (Mr. Bean decided to FINALLY include it in the XML file for this version of 1.03 and onward).

* If you have CTGP-R v1.03.0034 or older, you can either use -

METHOD 2: Change the v1.02 XML name and leave it in the riivolution folder.

OR if you don't have a v1.02 XML, use..

METHOD 3: Use pre-made XMLs.

OR if you have knowledge with XML coding without getting a headache and would rather make your own XML file, use..

METHOD 4: You can add the XML code for game save cloning to the current v1.03 XML file yourself (mkwiiriivoslottest.xml, can vary if you're NTSC-U or NTSC-J).


Method 1
1. Load Riivolution, select "Copy MKW Save to SD Card?" and set it to "Enabled", disable CTGP-R, and launch MKW.

2. Your save data will now be on the SD card, quit MKW after it loads.

3. Turn "Save game on the SD card?" ON in the CTGP channel and you're done.

Method 2

1. Find the XML files for 1.02 of your region [mkwiiriivoslottestntscu.xml for NTSC-U users, mkwiiriivoslottest.xml for PAL users, and mkwiiriivoslottestntscj.xml for NTSC-J users] and rename them to something else.

2. Leave one in the riivolution folder on the root of your SD card and delete any saves that have blank save data if CTGP-R created them.

3. Load Riivolution, select "Save to SD Card" and set it to "Enabled" (you may have to go to another page to find it), disable CTGP-R, and launch MKW.

4. Your save data will now be on the SD card, quit MKW after it loads.

5. Turn "Save game on the SD card?" ON in the CTGP channel and you're done.

Method 3
1. Download one of the pre-made XMLs. Here's links to ones I made:

NTSC-U - http://www.mediafire.com/view/gqx4vdl8045rx48/Save_Template_NTSC-U.xml
PAL - http://www.mediafire.com/view/811vo123plv6bn2/Save_Template_PAL.xml
NTSC-J - http://www.mediafire.com/view/p2ho95jxfuds2md/Save_Template_NTSC-J.xml

2. Put one in the riivolution folder on the root of your SD card and delete any saves that have blank save data if CTGP-R created them.

3. Load Riivolution, select "Save to SD Card" and set it to "Enabled", disable CTGP-R, and launch MKW.

4. Your save data will now be on the SD card, quit MKW after it loads.

5. Turn "Save game on the SD card?" ON in the CTGP channel and you're done.

Method 4

1. Find where you still have v1.02 and open the 3 XML files for it mentioned above.

2. Follow these instructions (if you have the code already on hand, you're just going to paste it in. If you don't, you'll have to type it all in):
In the XML file called mkwiiriivoslottestntscu.xml for NTSC-U users (if you use a different region, mkwiiriivoslottest.xml is for PAL users, mkwiiriivoslottestntscj.xml is for NTSC-J users), included in the riivolution folder of v1.03, replace everything in the XML with....

Code:
<?xml version="1.0" encoding="utf-8"?>
<wiidisc version="1">
  <id game="RMC" disc="0" version="0">
    <region type="E"/>

  </id>
  <options>


    <section name="CTGP Settings">

      <option id="CTs" name="CTGP Revolution Channel" default="1">
        <choice name="Enabled!">
          <patch id="CTsFTW" />
        </choice>
      </option>

      <option name="Save to SD card?" default="1">
    <choice name="Enabled">
        <patch id="redirectsave" />
      </choice>
      </option>
     </section>
</options>

<patch id="CTsFTW">
   <file disc="main.dol" external="/apps/ctgpr/boot.dol" />
</patch>
<patch id="redirectsave">
     <savegame clone="true" external="/riivolution/save/{$__gameid}{$__region}"/>
  </patch>

</wiidisc>
Whitespace (the spacing between lines of code) does not affect anything. Just have everything in the correct order.

3. Once done, save it.

4. Put it in the riivolution folder and delete any saves that have blank save data if CTGP-R created them.

5. Load Riivolution, select "Save to SD Card" and set it to "Enabled", disable CTGP-R, and launch MKW.

6. Your save data will now be on the SD card, quit MKW after it loads.

7. Turn "Save game on the SD Card?" ON in the CTGP Channel and you're done.


*If you have any suggestions or constructive criticism on things I have in this that may be wrong, things I can add, or things I should know, notify me. I tried to make this as simple as possible to understand. The purpose of this is to prevent threads that ask about what happened to save data, and to educate people on this topic.

Credit to Brett, Zyn, Javin, and Kirigaya for providing me thread revision tips!
 
Top