ROM Hack WIP Super Mario 3D World + Bowsers Fury - Save Editor

JorgeAlfe

New Member
Newbie
Joined
Feb 18, 2021
Messages
3
Trophies
0
Age
49
XP
34
Country
Spain
Hi! I know I'm quite a bit late, but I investigated the save format on WiiU and I saw your drive explaining the format. I took a look in Switch's format to check everything and did this, hope it helps:

[Example 1-1 1-2 1-3]
00 ff ff ff ff ff ff ff
ff 00 00 00 00 00 00 00
00 00 00 00{4b 00 01 00 (Unlocked and Cleared with Mario & Toad = 01+02+08+40 = 4B)
03 00 00 00 00 00 80 3f (Top flagpole with Toad)
b2 9d 00 00 35 00 00 00
07 00 00 00}00 00 00 00 (1st, 2nd, 3rd green stars = 01+02+04 = 07)
00 00 00 00{5b 00 01 00 (Unlocked and Cleared with Mario, Luigi & Toad = 01+02+08+10+40 = 4B)
03 00 00 00 00 00 80 3f (Top flagpole with Toad)
54 5a 01 00 3d 00 00 00 (Score=88660, Time=61)
07 00 00 00}00 00 00 00
00 00 00 00{43 00 01 00 (Unlocked and Cleared with Toad = 01+02+40 = 43)
03 00 00 00 d5 e6 f0 3c (Bottom flagpole with Toad)
(the exact value depends on player's posision andhitbox)
42 77 00 00 71 00 00 00
00 00 00 00}00 00 00 00 (no green stars)
00 00 00 00 01 00 00 00
00 00 00 00 00 00 00 00


[Format]
00 00 00 00 QQ 00 0X 00
FF 00 00 00 PP PP PP PP
SS SS SS SS TT TT TT TT
RR RR RR RR
QQ = State 0X = Stamp (Unlck+=01; Clear+=02; Bowsr+=04; M+=08; L+=10; P+=20; T+=40; E+=80)
FF = FlagIcon PP = Position (M=00; L=01; P=02; T=03; E=04) (golden top flag = 00 00 80 3f)
SS = Score TT = Time (little-endian)
RR = Stars (1st+=01, 2nd+=02, 3rd+=04, 4th+=08, 5th+=10, 6th+=20, etc.)
Bowsr] = required stars to unlock
M]ario
L]uigi
P]each
T]oad
E]stela (Rosalina)


So basically the level state and number of stars is a list in which each active element adds a number (next power of two). In decimal numbers:
Decimal sumands = [1,2,4,8,16,32,64,128,256,512,1024,etc.]
Level state = [unlock,cleared,bowserstatue,mario,luigi,peach,toad,estela]
Green stars = [1st,2nd,3rd,4th,5th,6th,7th,etc.]

Hope it helps to improve your format explanison on your drive or your save editor, DNA-Trainer.
 
Last edited by JorgeAlfe,

RoadSign

New Member
Newbie
Joined
Feb 17, 2021
Messages
3
Trophies
0
Age
31
XP
67
Country
Brazil
That's great news!

Here's something that may help with the general save block, from what I could gather (wiiu):

FILE1's date at addr 0x1000 is time_t 32bits, big endian. Here is "18/02/2021 19:41:41":

0x1000 | 00 00 00 00 00 00 00 00 00 00 00 00 60 2E C2 F5

FILE1's P1's power ups are in 0x1010 as a bitfield. Here's me with a mushroom:

0x1010 | 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00

Edit: the following bytes are for P2, P3 and P4's powerup slots.

Powerups are coded with the following values:
  1. Mushroom;
  2. Cat Bell;
  3. Fire Flower;
  4. Leaf;
  5. Boomerang;
  6. Golden Leaf;
  7. Lucky Cat Bell.
FILE1's coins, lives, and lives lost at addr 0xFE0 are int, big endian. Here's 6 lives, 63 coins and 999 lives lost (shown after clearing the game):

0xFE0 | 00 00 00 06 00 00 00 3F 00 00 00 06 00 00 03 E7

It overflows the UI in case of very large numbers for coins (1000+), but should never be above 99 anyways.

That's it for me for now. I may edit this once I figure out the ofsets for FILE2 and FILE3. Hope it helps! Cheers!
 
Last edited by RoadSign,

DNA-Trainer

Well-Known Member
OP
Newcomer
Joined
Jan 25, 2019
Messages
56
Trophies
0
XP
485
Country
Germany
Thank you. Now I nearly have everything I need to make a converter.
The size of one save slot is 0x1477 for the WiiU.
For the switch the size of a slot is 0x1694
 

hassan ali

Well-Known Member
Member
Joined
Sep 21, 2015
Messages
182
Trophies
0
Age
34
XP
484
Country
mario take the mega bell to become= Lion mario so.... make sense?

After you 100% bowsers fury. mario's cat suit transforms into a miniture version of the form mario take when he is using the giga bell. My guess is this is what lion mario is.

--------------------- MERGED ---------------------------

Sorry im confused on how to use this. Im hoping you can clear up some stuff

1. Are the edison files important to this working. I happy to stick them on my sd cards but I don't understand what there for and would happen to my mario save file if atmosphere received an update and updated and forgot about those files?

2. Can I use checkpoint to obtain the save file from my switch and restore it back after editing it?
 

DNA-Trainer

Well-Known Member
OP
Newcomer
Joined
Jan 25, 2019
Messages
56
Trophies
0
XP
485
Country
Germany
1. EdiZon is a save editor directly on the switch.
You can simply load your save file into edizon and modify it, that's what the Edizon files are for.

2. That's what I do. I backup my files with Checkpoint, copy them to the PC, modify them and restore them back with Checkpoint.

So, when you use the Windows editor, there is no need for the edizon files. And when the Windows editor is on a final release it will have much more options than edizon.
 
  • Like
Reactions: falcorr

hassan ali

Well-Known Member
Member
Joined
Sep 21, 2015
Messages
182
Trophies
0
Age
34
XP
484
Country
1. EdiZon is a save editor directly on the switch.
You can simply load your save file into edizon and modify it, that's what the Edizon files are for.

2. That's what I do. I backup my files with Checkpoint, copy them to the PC, modify them and restore them back with Checkpoint.

So, when you use the Windows editor, there is no need for the edizon files. And when the Windows editor is on a final release it will have much more options than edizon.

Thanx thats makes a lot more sence, I had no idea edison could be used as save backup/restorer. Though it was just used to use cheat codes. Perfect thanx you for making the editor ^_^
 

DNA-Trainer

Well-Known Member
OP
Newcomer
Joined
Jan 25, 2019
Messages
56
Trophies
0
XP
485
Country
Germany

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: Have a nice day. Life. Week. Month. year.