Official [Release] Saviine - WiiU savedata tool

Discussion in 'Wii U - Homebrew' started by Maschell, Oct 16, 2015.

Oct 16, 2015
  1. Maschell
    OP

    Member Maschell GBAtemp Advanced Fan

    Joined:
    Jun 14, 2008
    Messages:
    720
    Country:
    Germany
    Hey,
    saviine is a tool to dump and inject your wiiu game saves

    Current Version: 1.1

    CAUTION:
    I recommend to backup your Savefiles before trying to dump it. Only try to dump Game, not Systemstuff (I didn't tested it). I don't know whats happening if you have no savefile.

    Make sure you use the newest server (from version >= 1.0 at the moment)

    Dumps and injects (experimental) WiiU Saves.
    Works with homebrew launcher (https://github.com/dimok789/homebrew_launcher), compatible with FW 5.0.0, 5.1,0, 5.3.2, 5.4.0, 5.5.x (But requires a kernel exploit)

    Compilation :
    - just compile it with "make" and put the saviine.elf on your sd card

    Pre-made version :
    - you can fine a release package under the "releases" tab

    Note :
    - make sure you already have a save of the game on you console before trying to dump/inject them
    - you can change the server ip directly in the application.
    - start the saviine in folder with a short path, some savedata files have some really long names (170+ chracters)
    - backup your savedata before dumping it!!! I'm not responsible for any lost data.
    - make sure that your game version and the game version from injecting save are the same
    - e.g. injecting PAL saves into NTSC one is untested!
    - this new version only runs with the homebrew_launcher.

    Using loadiine saves from the shared savemode:
    C = common
    U = unique aka 8000000X

    NOTE FOR SUPER SMASH BROS FOR WIIU the common data is too big to inject at one time. The data will may be flushed at some time. automaticly restoring the data after flushing is not possible. MAKE SURE TO MAKE A BACKUP! This may also applies to other gaames

    The WiiU has mutiple save folder. One folder for infos that are shared with all accounts (common) and a folder for each account (e.g 8000000a)
    At the moment it is only possible to dump your own folder. Not all games use the common folder.

    Folder structur:
    logs/ <-- logs
    saviine_root/dump <-- the save files will be dumped here. A sub folder for each game will be created (name is the game title id)
    saviine_root/inject <-- place the saves here if you want to inject them

    How to use :

    temporary installing saviine:
    - put the elf into the app path on your SD Card (e.g. /wiiu/apps/saviine/saviine.elf) and insert the sd card into your WiiU (You can also use the sendelf method)
    - launch the homebrew launcher
    - select saviine and start it.
    - set saviine server ip in the application with up/down/left/right, and press A to install saviine. if you see crap on the screen, press up/down to fix it
    -> browser should exit

    dumping:
    --- MAKE SURE THAT THE SAVIINE SERVER IN A FOLDER WITH A SHORT PATH! some gamefiles have some really really long names. e.g. D:/saviine/ ---
    - open the dump.bat or start the saviine_server.exe with the argument "dump"
    - launch a game
    - a dialog should appear, select if you want to dump the user and/or the common data
    - the data will be dumped to saviine_root/dump/[game_title_id]/80000000x (user data) and/or saviine_root/dump/[game_title_id]/common (common)
    - close the game and dump an other

    injecting:
    --- INJECTING FILES IS STILL IN TESTING! MAKE SURE TO SAVE YOUR SAVES BEFORE TRYING TO INJECT SOMETHING ---
    --- EXISTING SAVE DATA ON THAT WILL BE GONE AFTER THE INJECTION ---

    - open the inject.bat or start the saviine_server.exe with the argument "inject"
    - place the save data you want to inject into the "saviine_root/inject" folder. You need to have a folder for each game, named after the games title id (e.g saviine_root\inject\00050000-1010ED00).
    this folder will be scanned for 8000000x or common folders.
    - launch a game
    - a dialog should appear, select if the profile you want to inject and choose if you want to inject the common files too.
    For the commmon folder you have two options:
    1. inject.
    this adds the data into the existing common folder, existing files will be overwritten. (I think this way you can add replays to your Mario Kart 8)
    2. clean and inject
    deletes all existing files in the existing common and injects the new one.

    - on errors during the injection, the wii tries to restore the old data. but it can't guarantee that it works, make sure to make backups!

    Thanks to
    dimok - for the homebrew launcher, loadiine gx 2, and ddd with was the base environment for the current version. =)
    chadderz - for cafiine. Still using some of this old funcions =)

    source: https://github.com/Maschell/saviine
    download: https://github.com/Maschell/saviine/releases

    feel free to improve it

    If you want to thank me for my creating this tool, feel free to make a small donation.
    [​IMG]
     
    Last edited by Maschell, Feb 18, 2017


  2. DrCrygor07

    Member DrCrygor07 Italian Wario Ware bootleg©

    Joined:
    Sep 4, 2014
    Messages:
    1,641
    Country:
    Italy
    Now i'm more motivated to finish my games! Thanks for this!!
     
  3. Pounou

    Member Pounou GBAtemp Regular

    Joined:
    Sep 4, 2014
    Messages:
    188
    Country:
    France
    Well done ! I was happy to test for you :) the scene is on the way !!!
     
  4. Keylogger

    Member Keylogger GBAtemp Advanced Maniac

    Joined:
    May 3, 2006
    Messages:
    1,665
    Country:
    France
    Great! Can I dump my injected VC game save with this?
     
  5. AboodXD

    Member AboodXD I hack NSMB games, and other shiz.

    Joined:
    Oct 11, 2014
    Messages:
    2,470
    Location:
    Not under a rock.
    Country:
    United Arab Emirates
    Sure!
     
  6. fiveighteen

    Member fiveighteen High Hopes and Low Expectations

    Joined:
    Jun 30, 2008
    Messages:
    1,755
    Country:
    United States
    I feel like you're trying to sound knowledgeable without knowing for sure. If you haven't tried it but think it should work, you should state so. I also think it should work since VC titles have title IDs on the system as well, so Saviine would find and dump it, but I haven't tried.

    @Keylogger try it and let us know :P
     
    TotalInsanity4 likes this.
  7. AboodXD

    Member AboodXD I hack NSMB games, and other shiz.

    Joined:
    Oct 11, 2014
    Messages:
    2,470
    Location:
    Not under a rock.
    Country:
    United Arab Emirates
    Yes, I have the knowledge... :huh:
    I'm 1000000000% sure that it'll work, and if it didn't, then saviine is stupid(has a bug, nothing personal @Maschell).
     
    Last edited by AboodXD, Oct 16, 2015
  8. fiveighteen

    Member fiveighteen High Hopes and Low Expectations

    Joined:
    Jun 30, 2008
    Messages:
    1,755
    Country:
    United States
    You can't be even 100% sure that it will work if you haven't tried it! Just because it makes logical sense didn't mean it's how things will happen.
     
    TotalInsanity4 likes this.
  9. Maximilious

    Member Maximilious GBAtemp Addict

    Joined:
    Nov 21, 2014
    Messages:
    2,054
    Country:
    United States
    I'm 10000000% sure I should be a billionaire, but the check was lost in the mail. Anyway, great work on this Maschell!!
     
  10. AboodXD

    Member AboodXD I hack NSMB games, and other shiz.

    Joined:
    Oct 11, 2014
    Messages:
    2,470
    Location:
    Not under a rock.
    Country:
    United Arab Emirates
    I don't.... I don't..... I don't get it, am I supposed to laugh?

    I'll be happy to test SMW, in the future. :)
     
  11. Maximilious

    Member Maximilious GBAtemp Addict

    Joined:
    Nov 21, 2014
    Messages:
    2,054
    Country:
    United States
    If you assume, it makes an ass of you and me. Just going along with the you don't really know until you try, just how I assume my check was lost in the mail. :)
     
  12. S-MAGS

    Newcomer S-MAGS Newbie

    Joined:
    Sep 21, 2015
    Messages:
    6
    Country:
    Mexico
    Thanks Maschell. Great work, keep it up.
     
  13. gohan123

    Newcomer gohan123 Advanced Member

    Joined:
    Dec 26, 2012
    Messages:
    78
    Country:
    Germany
    tried it but don't seems to work right for me.

    donkey kong -> accepts connection, dumps nothing, game works but folders are empty
    mario u -> dumps some files -> game crashes on loading
    pikmin 3 -> dumps some files, game crashes, can't use the saves in loadiine, game starts as if there is no save

    I can dump smash + mario kart saves but won't be able to test them.

    edit: next time my nephew is here, I can try to dump 3d world + captain toad
     
    Last edited by gohan123, Oct 16, 2015
  14. fiveighteen

    Member fiveighteen High Hopes and Low Expectations

    Joined:
    Jun 30, 2008
    Messages:
    1,755
    Country:
    United States
    What did you determine to be a "successful test" exactly, since you couldn't try MK8 or SMM on Loadiine to make sure the save worked?
     
  15. Maschell
    OP

    Member Maschell GBAtemp Advanced Fan

    Joined:
    Jun 14, 2008
    Messages:
    720
    Country:
    Germany
    It dumped all files from the /vol/save folder without crashing.

    @gohan123
    I can check Donkey Kong and Pikmin 3 later. Can I send you a version with more debug information?
     
  16. gohan123

    Newcomer gohan123 Advanced Member

    Joined:
    Dec 26, 2012
    Messages:
    78
    Country:
    Germany
    I tried mario kart 8, it dumped 34 files and stopped here

    [0] LogString =>("/vol/save/80000004/rp002a0022030af711dd504000903060006001700002008000100002011001700002015000e0000201c000001002014000e00052002000e03002007000101052012000100002009001701052005000e00002000000.dat")
    [0] LogString =>("file")
    [0] LogString =>("/vol/save/80000004/rp002a0022030af711dd504000903060006001700002008000100002011001700002015000e0000201c000001002014000e00052002000e03002007000101052012000100002009001701052005000e00002000000.dat")
    [0] Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
    [0] Exit"

    after that the game crashes. there are many long "gs" files .. propably ghost race files??

    @Maschell yes you can

    edit: smash is the only game which dumps for a very long time without interruption and afterwards starts the game
     
    Last edited by gohan123, Oct 16, 2015
  17. Maschell
    OP

    Member Maschell GBAtemp Advanced Fan

    Joined:
    Jun 14, 2008
    Messages:
    720
    Country:
    Germany
    "[0] Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein."

    "- start the saviine in folder with a short path, some savedata files have some really long names (170+ chracters)"
     
    Ailuros27 likes this.
  18. srbeen

    Newcomer srbeen Advanced Member

    Joined:
    Oct 4, 2015
    Messages:
    79
    Country:
    Canada
    If anyone got captain toad USA save with story 1 complete or more, and it don't corrupt on extract for you it'd be much appreciated if you'd be willing to share. The backup disclaimer is an important bit.
     
  19. gohan123

    Newcomer gohan123 Advanced Member

    Joined:
    Dec 26, 2012
    Messages:
    78
    Country:
    Germany
    alright, I could dump it completly that way.
     
  20. srbeen

    Newcomer srbeen Advanced Member

    Joined:
    Oct 4, 2015
    Messages:
    79
    Country:
    Canada
    Do you have a choice of saves in Pikmin 3? I don't recall choosing save files. Captain toad was a save-eraser, too.
     

Share This Page