Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Hex Editing Demon Stuff - A Tutorial for Shin Megami Tensei V

Hope this helps a bit.

(Please excuse my poor work on this picture here I did this in kind of a hurry.)

So after unpacking the rom in the directory you would want to go through the folders Project>Content>Blueprints>Gamedata>BinTable>Devil and then select the file NKMBaseTable.exp and open it in whatever hex editing program you want to use. From there find whatever individual demon you want to edit, the one I edited was Yoshitsune. (How I found him was kind of dumb cause I just searched the reverse hex for Hassou Tobi and then made sure the other moves listed in there matched. I did the same thing to Lilim and Metatron and had no issue finding them this way. I'm sure there's a better way to do it but I got no clue and as far as I could tell I didn't ever see their reversed hex in these chunks.)

The first block I had circled is the race. I do not know the reversed Hex for each race but I changed Yoshitsune's to a fiend so that one is 0B 01.

The next one is the starting moves. Yoshitsune only has two starting moves which are Hassou Tobi (E9) and Pierce Armor (AD) I assume moving three bytes past Pierce Armor (AD) will bring you to the third move slot to edit and since I haven't tested enough I don't know if you can add more then three starting moves.

Now learned moves. I don't know how these are divided up it's actually kinda weird cause they're not in succession however as far as I know most demons learn two to three moves anyways so just replacing the values to whatever is fine.  In this case the learned moves are default Puncture punch (AC), Retaliate (B3 01), and last Restore (D0 01). So just swap the reversed hex for whatever move you wanna replace it with on that.

Okay the part people are waiting for how to make demons invincible. Elemental Res. So on a lot of this file you'll see a giant block of 64s the start of that is the resistances and each one is three apart so it goes Phys skip three bytes Fire skip another three bytes etc, etc. Unless you set the value to drain then it's skip two cause you used the following byte. The values for each level of resistance goes this (00) for null, (32) for Res, (64) for normal, (E8 03) for Drain, (E7 03) for repel, and last (7D) for weak. (Note there's a 64 between where ailments starts and where elements end. I believe that 64 is for almighty I just didn't mess with it as it was not what I wanted to do.)

Now we start Ailments. For ailments it's the same exact thing as elements except now you can only pick between normal (64), resist (32), and null (00). I set all the ailments on Yoshitsune to null except one. I skipped on that one ailment which is why there's a 64 on there after the first null just for testing. (Note in the picture that I uploaded Yoshi has nulls all six ailments I had already changed it to that at the time of making this post and deleted the file I had before and am too lazy to do it again.)

Skill potentials are the easiest part at least for a positive value I haven't bothered figuring out negative values yet but for positive 01-09 and 00 for nothing that's all for that. Again three bytes spacing each starting value off. (Note the three FF FF FF I think caused him to have a negative nine potential in dark so I guess that what it is for -9 but I can't really say anything else on it.)

Alright so that's everything I got so far hope it helps people in the future.
  • GSP620 avatar
    GSP620 Joined 1mo ago
    284 points Ranked 62,396th
    Awesome post! Thanks for it, just had one quick question, might sound like a noob question, but once you edit the Hex values of the .uexp file, how do you get those changes to apply to the actual game itself? 

    Don't really have any prior experience with modding game files and stuff but am learning since SMT V interests me and I wanted to do some cool stuff with it, starting with this =P 
    URL to post:
  • DeathChaosV2 avatar
    DeathChaosV2 Joined 3y ago
    P5 Manager
    5,482 points Ranked 1,643rd
    19 medals 4 rare
    • Achieved Game Manager clearance Medal icon
    • Received thanks 50 times Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Sounder of the Month, June 2019 Medal icon
    • One month a member Medal icon
    Hi, just leaving a comment to let you know that using HxD is unnecessary.  
    Using 010 Editor you can make .bt binary template files that allow you to map out and edit data very easily and efficiently.  
    We have a github repository with a collection of templates, it includes one for demon data, including NKMBaseTable.uexp which you are editing in this post.

    Hope this helps!

    • Helpful x 2
    P3P FeMC Fanatic
    URL to post:
  • HonorableSpartan avatar
    HonorableSpartan Joined 1y ago
    194 points Ranked 72,104th
    28d 28d
    I messed around with learned moves a bit more and it appears the preceding number is just when they'll learn it and the 00 after are all free bytes to add more moves to learn I've only added five so I don't know the exact limit of how many moves you can learn. So to add moves like with the rest of it three bytes forward then the next number from the last one so in Yoshi's case it's 31 as the order went 2D, 2F, 30
    URL to post: