[RELEASE] Xenoblade Chronicles 3D Save Utility

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by WulfyStylez, Mar 23, 2016.

  1. WulfyStylez
    OP

    WulfyStylez SALT/Bemani Princess

    Member
    1,149
    2,609
    Nov 3, 2013
    United States
    This tool will allow you to compress and decompress Xenoblade Chronicles 3D saves (monado01, monado02, monado03, specialmode), allowing you to view and modify your saves. More functionality may come in the future, though I don't intend on making this a full-fledged save editor.


    TODO: add conversion for Wii<->3DS saves (offsets are identical, needs to be mapped out for extensive endian-swapping), clean up compressor code (i guessss)

    Changelog:
    1.1:
    -Add support for 'specialmode' files (and any other compressed data, though I think that's it...)
    -Major cleanup, compression is now its own separate portable lib (feel free to use in your own projects, but you must give credit)
    1.2:
    -Fix save checksums at compress-time (whoops)
    -Add operation for verification of decompressed savedata

    DOWNLOADS (win64 binary with source):
    MEGA
    MediaFire
    (also attached to this post)
     

    Attached Files:

    Last edited by WulfyStylez, Mar 24, 2016 - Reason: 1.2, checksum fixing
    Chuardo, Thelostrune, _Flash_ and 9 others like this.
  2. bunny_gg

    bunny_gg Advanced Member

    Newcomer
    61
    10
    Jan 20, 2016
    Switzerland
    That is great. Xenoblade is a great game to explore in.
    I just modify max money in almost every RPG game and I find it saves lots of boring time.
    Great job! Thank you WulfyStylez.
    If anyone could offer full offset info, maybe I can make a full-fledged save editor.
     
  3. C02

    C02 GBAtemp Regular

    Member
    234
    13
    Sep 15, 2015
    United States
    thanks a lot!
     
  4. 730

    730 Professional Shitposter

    Member
    465
    377
    Apr 2, 2015
    Argentina
    Oh, I was looking for a 3DS-Wii save converter a while ago, hope you sort it out soon, looks promising!
     
  5. WulfyStylez
    OP

    WulfyStylez SALT/Bemani Princess

    Member
    1,149
    2,609
    Nov 3, 2013
    United States
    v1.1 out, supports specialmode files explicitly (and if there are any other qzb-format files, those as well). Also compression has been moved to its own lib for if anyone wants to use this code as part of a tool, just credit me if you do.

    As for 3DS-Wii conversion: The issue is that, as with any savegame, Xenoblade's save is a series of structs. Since endians differ 3DS-to-Wii, every single u32 and u16 in that struct needs to be flipped in order to work. Byte arrays (both data and strings) do not, though. Basically, we need to know the format of the save well enough that we can judge what needs to be flipped, and what kind of flip (16- or 32-bit) to do.
    The best thing to do would be to do a 1:1 compare of, say, a 100% game on 3DS vs Wii. Check and see where bytes are the same (and mark as good) and where they seem to be flipped backwards by 2 or 4 bytes. It's a lot of work, might take me a while to get to it and actually finish it.

    EDIT: v1.2 is out, now fixes checksums so you can actually edit your saves, lmao
     
    Last edited by WulfyStylez, Mar 24, 2016
  6. krion64

    krion64 Member

    Newcomer
    36
    11
    Oct 6, 2007
    United States
    Freaking sweet, I have been waiting so long for something like this even though you don't plan on turning it into a full blown save editor. Thank you so much!
     
  7. chaosrunner

    chaosrunner Substitute Soul Reaper

    Banned
    711
    267
    Sep 27, 2015
    Canada
    Hueco Mundo
    im really feeling it
     
  8. NOXIGENE

    NOXIGENE Member

    Newcomer
    34
    8
    Dec 12, 2014
    France
    Montpellier, France
    Hi, guyz !

    Sorry about it but i cannot launch the script with my PC :/ the save as always corrupted in Dolphin or on my Wii.

    Can u decompress files for me ? :/

    Thanks for advance if it's possible !
     

    Attached Files:

  9. cearp

    cearp the ticket master

    Member
    7,550
    4,813
    May 26, 2008
    Tuvalu
    thanks for the save editor :) i remember this being talked about when the 3ds game came out!

    a few months ago i played with an ntr cheat plugin for xenoblades that gives moon jump, it was so cool to see so much of the landscape from different view points!
     
    stefanoteco and Ryccardo like this.
  10. Xen0

    Xen0 GBAtemp Fan

    Member
    363
    69
    Oct 8, 2015
    Gambia, The
    when it´s possible to transfer 3ds - Wii, how do we get the Wii savefile in the first place?
     
  11. cearp

    cearp the ticket master

    Member
    7,550
    4,813
    May 26, 2008
    Tuvalu
    stored on the sd card :)
     
  12. NOXIGENE

    NOXIGENE Member

    Newcomer
    34
    8
    Dec 12, 2014
    France
    Montpellier, France
    Little up ^^
     
  13. Kourin

    Kourin Touhou Maniac

    Member
    897
    594
    Jan 24, 2016
    Australia
    Ripple Star
    Was gonna make a thread for this but I may as well ask here.
    Are Dickson, Mumkhar and Alvis still playable via hacking? Also, would it be at all possible to make it so they can level up? I'd love to have a usable Dickson/Mumkhar/Dunban team for end-game fun.
     
  14. bunny_gg

    bunny_gg Advanced Member

    Newcomer
    61
    10
    Jan 20, 2016
    Switzerland
    I found the offset of MONEY and ITEMS, but I don't know the code list of items, so still not able to edit a lot. I just have 16700000 money and I found it nearly useless in game and I still have to level up as much as I can, for I'll be crashed by boss if my level is 3+ lower.
     
  15. Omegadrien

    Omegadrien GBAtemp Advanced Maniac

    Member
    1,713
    530
    Nov 4, 2015
    France
    Pokéland
    Waaaah, that's just great!
     
  16. royr719

    royr719 Member

    Newcomer
    36
    2
    Nov 1, 2015
    Can you share the money offset? Thanks.
     
  17. bunny_gg

    bunny_gg Advanced Member

    Newcomer
    61
    10
    Jan 20, 2016
    Switzerland
    I wrote it on a small piece of paper at home but I am outside now. So I download the save file attached in this thread by NOXIGENE and decompress it.
    The offset should be 00024048. FF FF FF is 16000000+. You can verify it if that number is HEX of your current money.
    Backup your save before editing. Good luck.
     
    royr719 likes this.
  18. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,366
    1,619
    Feb 13, 2015
    Italy
    Imola
    Haven't tried changing them yet, but:

    in a decompressed save,
    D1FC active character
    D200 2nd team member
    D204 3rd team member
    Values and documentation at https://tcrf.net/Notes:Xenoblade_Chronicles (spoilers)

    [​IMG]
     
    Last edited by Ryccardo, Apr 2, 2016
    Feeling it! and Kourin like this.
  19. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,366
    1,619
    Feb 13, 2015
    Italy
    Imola
    I found about it 3 days ago, now my Miiverse is flooded with pictures with "impossible" camera angles!

    Anyway, since I contributed my part :) request time: a re-unlocker for the missable maps!
     
    cearp and WulfyStylez like this.
  20. WulfyStylez
    OP

    WulfyStylez SALT/Bemani Princess

    Member
    1,149
    2,609
    Nov 3, 2013
    United States
    Try editing the data at 0xB264 and 0xB288, these are not endian-flipped unlike most values in the 3DS save. changing this from e.g. 0101 (0x30313031) -> 0801 (0x30383031) would put you in Bionis' Left Shoulder, buuuut I also really doubt they forgot to strip the unused maps while porting. Maybe try epilogue Colony 9 (0102) first.
     
    Ryccardo likes this.