[WIP]SMT IV Editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by JK_, Sep 19, 2015.

  1. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    This can currently edit:
    Your Hero
    9 All 24 Demon Slots
    Macca
    Charon's Tab
    App Points

    Update 0.2.0
    Can now edit your inventory. The button to add all does not add dummy items. Some of them do crash the game.
    All 24 demon slots can now be loaded and edited.

    0.2.5
    The compendium editor is still a WIP. You can access it now, but stat editing is locked. The activate button will try to activate all the entries, but I'm still not 100% sure if it will work for all saves. It might miss a few because of the incomplete demon list. I will finish it the next time I get a chance.

    You MUST have a demon in the slot you want to edit currently. I'm still working on where the slot info is stored. Some changes will not be present at the save loading screen. Be careful and keep an extra backup somewhere. Anything labeled "???" is DLC I don't have, or dummy data that actually works. If you load your save and it has "???", it'd be greatly appreciated if you could upload your save and give me the name of what demon/equipment it is.
     

    Attached Files:

    Last edited by JK_, Oct 20, 2015
  2. Something whatever

    Something whatever Gazer of the East

    Member
    261
    67
    Sep 1, 2015
    Already ran into my first error When I tried to load one of my saves it gives me this error *in the pic* but when I load sdds4game1 one file it works.

    and I got some of the armor DLC I can help you with that sorta
     

    Attached Files:

  3. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    I fixed it. I goof'd in the code for loading the MC Level. I accidentally made it load a 16bit int instead of 8. Should work for your second save now. It does for me.

    EDIT: Apparently, the moves go way further. Gonna get on it now. I hit a huge field of dummy data and thought I had gotten them all.
     
    Last edited by JK_, Sep 19, 2015
    Something whatever likes this.
  4. Something whatever

    Something whatever Gazer of the East

    Member
    261
    67
    Sep 1, 2015
    ok kool got it! as for the armor DLC I have

    Visage Pack (Strange Grease and Fighting spirit) head gear
    White Samurai Apparel
    Symbolic Equipment( Freedom armor)
    Amazon Prime
     
  5. ConfusedMujina

    ConfusedMujina Member

    Newcomer
    30
    13
    Aug 26, 2015
    United States
    I wonder what the skill Rabbit Riser was going to be...
     
  6. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    OP Updated with new version. It has every skill I missed after the giant 120 skill long block of dummy moves. The game crashes if I go any further, so that should be all of them... I hope.

    There's a ton of stuff that didn't make it into the game. I wish I could take the time to figure out what they are, but most of them just make the game crash or don't work. One or two of the dummy armors with Japanese names actually work and are completely different from the rest too. I'd have to track them down again though. I forgot to note which they are.
     
    Something whatever likes this.
  7. ness151

    ness151 GBAtemp Fan

    Member
    314
    65
    Jun 2, 2008
    United States
    D:\virus.exe
    I'm still having the issue that Something whatever was experiencing. I even started a brand new save to test it out, and it still does it. What can I do to fix this? I've attached my brand new save.
     

    Attached Files:

  8. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    OK. Quick fix done. Check OP. The Helm ID in a new save is not what I thought it should be. Also, ignore the inventory tab for now.
     
  9. ness151

    ness151 GBAtemp Fan

    Member
    314
    65
    Jun 2, 2008
    United States
    D:\virus.exe
    Cool, that fixed it. I noticed some skills are missing in the demons tab (Dark Energy, Kannuki Throw) and I was wondering if they were able to be edited on or just aren't possible?
     
  10. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    Updated. I fixed a few things and also changed how a lot of stuff is handled. I started working on finishing out the demons again, but right now I'm stuck in a bunch of dummy repeats. Also, since I changed a lot under the hood, you can now access *some* of the dummy data if you want. Rename the exe to "SMTIV Editor.Dummy.exe" and it should start up with the dummies thrown into the equipment and skills. Just be careful. I had problems with some of them crashing the game if I saved in a dungeon.
    It's possible I accidentally marked them as dummy moves. I'll look into when I have more time.
     
    Something whatever likes this.
  11. Something whatever

    Something whatever Gazer of the East

    Member
    261
    67
    Sep 1, 2015
    This new build has the same save issue as last time
     
    Last edited by Something whatever, Sep 22, 2015
  12. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    Save file? I tried loading every save in this thread before I bothered updating, and didn't have any issues. It'll make it easier to track down.
     
  13. Something whatever

    Something whatever Gazer of the East

    Member
    261
    67
    Sep 1, 2015
    this
     

    Attached Files:

  14. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    Ok. Thanks. I know what it is. I'll try to fix it as quick as I can. Sorry.

    Edit: Should be fixed now. I probably should've used C++ instead of C#, but making the GUI is so much easier and quicker.
     
    Last edited by JK_, Sep 22, 2015
  15. MassiveRican

    MassiveRican GBATemp's Unofficial Vigilante

    Member
    2,425
    820
    Aug 2, 2011
    Creeping in the Shadows
    THIS IS AWESOME!! Thanks a lot for this, looking forward to any and all further improvements. I lost an 80+ hour save file and just didn't have it in me to re-start and even attempt to finish the game. Now I've been re-invigorated.
     
    Something whatever likes this.
  16. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    I'm glad you like and it'll help you give the game another shot.

    As for updates, no actual updates to program for now. I've found a few things, but I'm still playing around with them. I figured purchased apps would just be a bit field, but they're not and I'm figuring that out. I've also found the map, x, y, and z is stored, but I keep falling through the floor for some reason. I've also begun looking at how the compendium works. It'll be a decent update when it gets done.

    Edit: A couple bugs have been found and fixed. Slightly newer build is in OP. This is probably it for a little bit, unless someone finds more.
     
    Last edited by JK_, Sep 24, 2015
    MassiveRican likes this.
  17. gamerboy1995

    gamerboy1995 GBAtemp Regular

    Member
    215
    33
    Aug 20, 2011
    United States
    Might help if I actually read the whole first post. Spent like 20 minutes editing the file and then tried to put it in my game and all the stats were the same cause I forgot to use File->Save. Might want to make that a little clearer inside of the app itself somehow.
     
  18. SignZ

    SignZ Timelord

    Member
    2,111
    786
    Jul 16, 2008
    Germany
    Isn't it pretty obvious that you have to actually save the changes to see them? It's the same as, for example, with text files. Unless you save the file (and by that also the changes), it'll stay the same..
     
    Something whatever likes this.
  19. gamerboy1995

    gamerboy1995 GBAtemp Regular

    Member
    215
    33
    Aug 20, 2011
    United States
    There's a big "Save Changes" button at the bottom of the program. I kind of figured that maybe that would, you know, save the changes.
    Instead, apparently you need to push that and then file->save.
     
    Last edited by gamerboy1995, Sep 26, 2015
  20. JK_
    OP

    JK_ GBAtemp Fan

    Member
    377
    692
    Sep 4, 2015
    United States
    The save buttons on the tabs update the objects. When you load a save, I have classes/objects for the hero and demons. Your save is loaded into memory. Those objects are programmed to then get the stats and IDs from the buffer containing your save. Once you hit File->Save, all of them have a function to modify the values at the offsets they have stored. Then the buffer, with the modified data, is written to the file you select. I did it this way to keep it a bit more organized for myself.