hello someone that can help to that I learn how to create program to edit save

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by reshiram1, Feb 2, 2015.

  1. reshiram1
    OP

    reshiram1 Member

    Newcomer
    23
    2
    Aug 12, 2013
    hi all I have a question Know someone who can teach me to learn to create a program to edit save any game nintendo 3ds and teach from 0% to 100% of this as the whole process is done and how studying the game to put it within the program edit save and then goes to save the game? hope you can help thank you all again in advance I hope your answers a greeting
     
  2. NCDyson

    NCDyson Hello Boys...

    Member
    271
    113
    Nov 9, 2009
    United States

    It's not a simple task. You have to learn about many things, including programming, and the various types of data that are used by computers. On top of that, unless you study the game's code, you're going to end up doing a lot of trial and error, as well as making a small change in a game, saving, then checking the data again. It's not a topic someone can just teach you from 0% to 100%.
     
    Lucifer666 likes this.
  3. Lucifer666

    Lucifer666 all the world needs is me

    Member
    1,496
    733
    Apr 22, 2011
    The Fourth Dimension
    Yeah what NCDyson said, you need to know all that as well as what conditions your game counts as having cleared a game

    what game are we talking about anyway?
     
  4. SilverRegret

    SilverRegret Newbie

    Newcomer
    5
    3
    Jan 21, 2015
    Indonesia
    Hooboy.. glad you're asking Luci, just as reshiram, i want to somehow edit my savedata, to be specific,
    my Fire Emblem Awakening [us].sav,and monster hunter 3 ultimate [us].sav. GW .sav data,
    and i got the extracted version from savedata filer,
    anyone could help me analyze the save data structure?
    cheers..
     
  5. AHP_person

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Savedata structure isn't hard to figure out if you know what to look for. I'm not extremely gifted when it comes to things like programming, but dissecting files is easy.

    The first thing you'd need is just a hex editor. You can easily find one with some quick google searches.
    Then you can dump multiple savefiles after you do certain things. (e.g. buy an item, or beat a boss)
    You can record changed bytes and bytes that correspond to the current save.

    I have an example here: http://pastebin.com/5prmPDjH of when I tried to look through OOT savedata.

    As for the editor, I suggest C# or VB on Visual Studio, google is your friend.
     
    GHANMI likes this.
  6. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,956
    Jun 9, 2007
    Antarctica

    Slightly off-topic, but if you were curious about OoT3D's save format, http://cloudmodding.com/zelda/oot3dsave can't be beat.
     
    cearp likes this.
  7. AHP_person

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Haha, I didn't even know that existed, thanks!
     
    daxtsu likes this.
  8. reshiram1
    OP

    reshiram1 Member

    Newcomer
    23
    2
    Aug 12, 2013
    hi all the game that I want to edit with a program to edit save is youkai watch 2 honke,ganso and shinuchi hope you can help thank you all again in advance I await your response a greeting

    I edit sorry for the delayed response
     
  9. GHANMI

    GHANMI GBAtemp Advanced Fan

    Member
    971
    494
    Jun 10, 2012
    Ni no Kuni DS had encrypted saves so I fear Youkai Watch 1/2 (which are based on the same engine) are probably following suit.
     
  10. reshiram1
    OP

    reshiram1 Member

    Newcomer
    23
    2
    Aug 12, 2013
    Hello friend GHANMI in such a case if there was a way to enter the save or remove encryption that blocks the possibility of modifying the save to add items or characters so that it works thank you all again in advance and for the information and response a greeting
     
  11. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    If its a one time job, trial and error is the fastest way to get results using HxD.

    First you need to be clear what to search for. Money / EXP / Items and so on...

    Increasing/Decreasing values are easy to spot, but the game can use
    protection like crc to make sure the file is unchanged.

    Make 2 saves with different values, decrypt both saves and compare them.
    (A few games change offsets for each save slot > use the same slot, export step by step)

    If you are lucky, the value is simple DEC > HEX and a fast hit.

    Sometimes they count values different like 1 = 4 , 2 = 8,
    a full compare might show more than one possible
    results and testing is necessary.

    Change value and import the save back to 3ds.

    If the savegame is now corrupt, it might be protected > if not, gooood.

    For Items, it can be tricky! A few games have more than one Byte
    just counting it, there might be another Byte for picking it up yes/no.

    At least this should be faster than to analyse the games code ;)
     
  12. reshiram1
    OP

    reshiram1 Member

    Newcomer
    23
    2
    Aug 12, 2013
    hello of new friend liomajor I.e. on the save change only the numbers 1 = 4, 2 = 8 and with this we find money and exp and items? hope you can help liomajor thank you again in advance I hope your answer a greeting
     
  13. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    I never played Youkai Watch nor looked into it.

    That was only a short introduction how trial and error works with a few examples.

    The rest is up to you ^_^
     
  14. reshiram1
    OP

    reshiram1 Member

    Newcomer
    23
    2
    Aug 12, 2013
    hello of new friend liomajor I hope it does not li to the save I will try to test Have I draw from all this thanks to you for the brief as introducing short numeric codes with HxD thank you again in advance a greeting