Editing Wii Savedata

Discussion in 'Wii - Hacking' started by pomu47, Oct 29, 2015.

  1. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    Hello, I am interested in seeing how to edit a Wii savedata
    From my understanding, the best method is through Xyzzy, but I can't find a working download link to Xyzzy, is FE100 (http://wiibrew.org/wiki/FE100) the best method to do this? If so, can anybody help me?
     
    Last edited by pomu47, Oct 29, 2015
  2. FaTaL_ErRoR

    FaTaL_ErRoR AKA ŦƕƎ ƠṀƐƝ

    Member
    491
    346
    Mar 9, 2014
    United States
    Well have you extracted your save data with this? http://wiibrew.org/wiki/SaveGame_Manager_GX
    A ton of the wiibrew has been missing for a while. Luckily there are still places to get the needed stuff.
    I have over 100TB of storage loaded with most of the wii tools and other stuff. I can look to see if I still have fe100.
    But there are other things that work too. http://sksapps.com/index.php?page=wii/wiidocs/Wii_Savegame_Parser.html
    http://git.infradead.org/users/segher/wii.git
    negentig -- decode and unpack a disc image
    * tachtig -- decode and unpack a saved data wad (data.bin)
    * zeventig -- decode and unpack an installer wad
    * twintig -- pack and encode a saved data wad
    * zestig -- decode and unpack Wii flash images
    Some stuff still remains on wii brew though.
    http://git.infradead.org/?p=users/segher/wii.git;a=blob;f=tachtig.c
    There was a post here on gba a little while ago about savegames.
    https://gbatemp.net/threads/wii-save-games-editor-–-little-help-needed.77391/page-2
    If you need any help I would be glad to assist. If you don't mind me asking what are you editing?
    Edit: found it this is fe100 I knew I had it stored somewhere. Enjoy.
    https://mega.nz/#!LdswkCyD
     
    Last edited by FaTaL_ErRoR, Oct 31, 2015
  3. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    Yeah, I have extracted my save data using SGM GX, but I don't know the next step, I've downloaded FE100 already but I can't seem to use it completely without having the homebrew app "Xyzzy"


    Here how you will use the FE100KeyGrabber,

    1. Click the ‘Get stuff from Interwebz’ button to obtain sd-key, sd-iv
    and md5-blanker
    2. Get a savefile from your wii (no matter what) and click the ‘Get
    stuff from a savefile’ button and point it to the savefile…

    It will give you
    Ng-id (your console’s id)
    NG-key-id
    NG-mac (your console’s wifi adapter’s mac address)
    Ng-sig (your console’s elliptical curve crypt. public key)

    and finally,

    3. Click the ‘Get stuff from xyzzy key dump’ button, there you should
    provide your keys.txt you obtained from xyzzy tool by bushing… This
    step will extract the ecc key (NG-priv) out of keys.txt and you will be complete...


    I have the save data extracted from my Wii, but when I follow the first step, it doesn't connect for me, I left it for about 10 minutes but it didn't finish connecting to obtain sd-key, sd-iv and md5-blanker.

    Do you by any chance have Xyzzy? That was the main thing I've been looking for since I can't seem to find a working download link anywhere.

    I also don't know how to use segher's program, as I have no previous knowledge on this subject whatsoever.

    Edit: I'll read his guide, thanks for all the help!
     
    Last edited by pomu47, Oct 31, 2015
  4. FaTaL_ErRoR

    FaTaL_ErRoR AKA ŦƕƎ ƠṀƐƝ

    Member
    491
    346
    Mar 9, 2014
    United States
    Indeed I do.
    https://mega.nz/#!eMNkjZyD
    But if I remember there is a more up to date way of doing this. Just can't seem to remember though.
     
  5. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    Can you pm me the decryption key? Thanks for all your help!
     
  6. FaTaL_ErRoR

    FaTaL_ErRoR AKA ŦƕƎ ƠṀƐƝ

    Member
    491
    346
    Mar 9, 2014
    United States
    Last edited by FaTaL_ErRoR, Nov 3, 2015
  7. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    Do you have skype or a method I can contact you for help by any chance? If not I'll just ask questions through this thread.
     
  8. FaTaL_ErRoR

    FaTaL_ErRoR AKA ŦƕƎ ƠṀƐƝ

    Member
    491
    346
    Mar 9, 2014
    United States
    Sorry, no skype, no facebook, no twitter, no direct line of communication. I log in here using an IP that does not belong to me. (I am a very paranoid person) There is not one place that my IRL and VL (virtual life) intersect. All information about the area I live in that I have posted in other forums is complete lie. Even my gamer tag I have given out on many different sites for different consoles isn't my gamer tag. (That is how paranoid I actually am)
    You will have to post in this thread or via pm and I will answer to the best of my ability. That also allows other very smart tempers to post as well.
     
  9. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    I understand, don't worry.

    First question: How do I run xyzzy? I don't think it's a homebrew app, so I'm confused how to start it.
     
  10. FaTaL_ErRoR

    FaTaL_ErRoR AKA ŦƕƎ ƠṀƐƝ

    Member
    491
    346
    Mar 9, 2014
    United States
  11. Larsenv

    Larsenv RiiConnect24 Developer

    Member
    556
    473
    Sep 28, 2013
    United States
    Texas
    You can unpack the data.bin using SaveGame Manager GX once it's on your USB/SD Card.

    That makes it easier because you won't need to use FE100.

    Also, some games use a CRC check, so to calculate the CRC when you modified your data you need to cut off bytes with a hex editor, then you use a tool to do so. Before modifying the data, I'd check for it and try seeing if it matches the CRC stored.

    The CRC is four bytes and either at the start or the end of the data.

    This is important because if you modify your save data and don't change the CRC, it might say your data is corrupted.
     
    Last edited by Larsenv, Nov 19, 2015
  12. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    When I run Xyzzy (after changing it to boot.dol) in HBC I get the following error:
    [​IMG]

    Where can I unpack the save data in SaveGame Manager GX? I haven't found the option to do so (once it's on my SD card), do you mean extracting it first via SaveGame? Or moving it from the wii data menu -> my SD card?
    Edit: If you mean by extracting the save data to my SD card I've already done that, but I don't know what the next step would be (for reference, I'm looking to edit a Mario Kart Wii save data)
     
    Last edited by pomu47, Nov 23, 2015
  13. Larsenv

    Larsenv RiiConnect24 Developer

    Member
    556
    473
    Sep 28, 2013
    United States
    Texas
    If you've extracted the save file with SaveGame Manager GX, you will have it already extracted in the subfolder of the savegames folder. Now you don't need WiiSCU or FE100, and this is easier.

    By the way, since you want to edit the Mario Kart Wii save file, you can unlock everything with a cheat code. (if you use a usb loader, you can download the cheatcode with that name.)
     
  14. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    I'm looking to edit a specific value that is already existing in the save data (but yes I know I can unlock it via a code) into a different set of numbers.
    Edit: Once it's on my SD card, what should I do next?
     
  15. pomu47
    OP

    pomu47 Newbie

    Newcomer
    9
    0
    Oct 29, 2015
    United States
    I've looked back on this thread since I've gained interest in this again. I've used savegame manager GX to extract my save data, how would I go about unpacking it? When I looked that up I got a thread from 2008, could you point me in the right direction? Please and thank you.
    Edit: If it's easier for you, I can contact you in PM sometime and I can discuss what I'm trying to do with you so it would be easier to help me.
    Edit2: I figured some of it out more or less, but someone with more expertise would be extremely useful, is there any way for me to contact you off site Larsenv?
     
    Last edited by pomu47, Aug 22, 2016
  16. Larsenv

    Larsenv RiiConnect24 Developer

    Member
    556
    473
    Sep 28, 2013
    United States
    Texas
    Yes, I have some other ways that you can contact me...

    Sent you a PM with the information.
     
    Last edited by Larsenv, Aug 22, 2016