ROM Hack [Release] Basic Monster Hunter Stories Save Editor

Scarlet

Onion Soup
OP
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,127
Trophies
2
Location
Middleish North-Right
Website
scarlet.works
XP
14,709
Country
United Kingdom
If you are looking for a MHStories save editor, please use this:
https://gbatemp.net/threads/release-monster-hunter-stories-save-editor-mhsec-g.445467/



My small save editor is attached at the bottom, all it edits is money and might give you 999 potions. Doesn't work for everybody but I'll leave it attached.

Misc save stuff I've looked at here: https://pastebin.com/Afnrd2i0
The quoted posts below from @secXsQuared contain a load of relevant info as well ♪

Save Structure Information

Monster Skill Slots

Figured out that those 9 skill slots have offset 0x424 w.r.t. every monster.
Each slot is an unsigned int 32. The order is from left to right then up to bottom in game.

Each monster has 0x478. The offset of each monster can be determined by searching for the name as mentioned earlier.

[SAV 01 00 00 00] -> uint32 00 00 00 01 = empty slot (can inherit skills)
[SAV 02 00 00 00] -> uint32 00 00 00 02 = no slot
from 03 onward are fixed skills of monsters.
[SAV 03 00 00 00] is apenoth.
04 is popo.
06 is yian kut ku.
07 blue yian kut ku.
08 gypceros.
09 purple gypceros ......
13 red khezu
AD (one of the three attacks) up small
50 Dark Resisitant
4A Paralysis resistant

and so on and so forth......... and a lot of work required...

EDIT:
Not all values end with 00. The 4th byte of the skill slot sometimes have mysterious 0x0F or 0x68... not sure what those mean. And by now, the only monster I've seen with those values is the DLC(egg fragment hack) dinovaldo.

Yeah at least 9 slot monsters are now open to edit. Now sure about all the id-skill mappings.

EDIT2:
Most of the monster skill's ids are here:
http://pastebin.com/14ggwzVV
Egg Fragments

The Chinese thread mentioned that:
1. the first fragment is at 0x9790
2. each fragment is 12 bytes
offset size
0x0 1 Species - 01是草食种(grass-eating wyvern???),02是鸟龙种(bird wyvern),03是飞龙种(flying wyvern),04是牙兽种(),05是兽龙种(brute wyvern),06是牙龙种,07是鱼龙种(fish wyvern),08是海龙种,0B是铗角种,0D是两生种,0E是古龙种 (Elder dragon),还有09的甲壳种0A的甲虫种和0C的兽人种不用理会
0x1 1 Position in game - 00 upper left corner; 01 upper middle, 02 upper right corner, 03 middle left .......
0x2 1 New flag - whether it shows "new" in game
0x3 1 Rarity - 0 normal; 1 rare - more skill slots after hatching.
0x4 1 color - 00 red 01 green 02 blue
0x5 1 DLC bit - 04 is someone's horse; 05 is a bear; 06 is Dinovaldo
0x6 1 Unknown
0x7 1 if 0x6 is not 00, then it must be 68
0x8 4 Must be 00

A few notes:
1. DLC monsters don't have fixed stats.
2. there is a sort of bingo system. If egg fragments on the same horizontal/vertical/diagonal line are of the same color ,then the stat is increased. Red bingo +1 attack. Blue bingo +1 def. Green bingo +3 health. The max # of bingoes, for obvious reasons, is 8 which takes place when all 9 fragments have the same color.

EDIT:
Also got my Rare7 MHX dinovaldo egg working.
Just overwrite from 0x9790 to 0x97FB (9*12=108=0x6C bytes) with:
Code:
08 00 00 00 00 06 00 00 00 00 00 00 08 01 00 00 00 06 00 00 00 00 00 00 08 02 00 00 00 06 00 00 00 00 00 00 08 03 00 00 00 06 00 00 00 00 00 00 08 04 00 00 00 06 00 00 00 00 00 00 08 05 00 00 00 06 00 00 00 00 00 00 08 06 00 00 00 06 00 00 00 00 00 00 08 07 00 00 00 06 00 00 00 00 00 00 08 08 00 00 00 06 00 00 00 00 00 00

In the game, find the egg cat and combine the hacked fragments. You should get an egg with MHX on it. It hatches a dinovaldo. To change that thing to 9 slots/ridiculous HP/Attack. See above..
Monster Attack/Defense/HP 'IV's

Every monster in MHST has different stats, they were determined by values somewhat similar to pokemon. I'll call them IVs. IVs are different from the stat boost medicine in game. No matter what the IVs are, each monster can consume at most 10 medicines.
I don't know the exact algorithm yet, however:
The HP IV is at offset 0xD8
Atk IV is 0xD9
Defense IV is 0xDA

I set all three of those to 0xFF and I was able to get my black diablos lv99 (hacked already) to 9 skill slots with a ridiculous 1706 attack + 999 HP... I tried saving and reloading, battling, putting back to box(Not sure about leveling up, didn't test since it's lv99)... and it does not change... So yeah... this game's severely broken already by this point.

However, the defense decreased by 3 even though the defense value was 0xFF. Not sure exactly how those values cooperate with each other.

EDIT:
Tried on my lv1 dinovaldo. After battle and lvl up, the HP and the Defense didn't seem to be affected. However its attack bumped up to 2600+. I'm pretty lost right now. Not sure about the limit of IVs and the algorithm..
Talismans

Offset is 0x7210 w.r.t the beginning of the file
Each talisman occupies 0x30

from 0x7210:
05 00 XX 00 01 00 is a fixed pattern(?Not sure) where XX is the ID of the talisman.
In the image: 05 00 38 00 01 00 is "Fire Resist Low Talisman"
Note: the ID != the skill. ID is what's displayed in the game as the "name".

from 0x7230:
00 00 00 00 AA 00 00 00 XX 04 YY 04
AA is the rarity where 00 = R1, 01 = R2, 02 = R3...
XX = 1st skill, YY = 2nd skill
In the image: AB 04 CC 04, skill1 = fire resistant large, skill2 = element attack up large
It's a huge project to test out all the talisman skills. Stay patient.

Important note:
It seems that the order of talismans in the save file is determined by the order in which you obtained them not the displayed order in the box.

View attachment 66114

Go to the egg managing cat and combine the hacked egg fragments. The combined egg should hatch dinovaldo.
Hey all o/

Seen a few people looking for a save editor for Stories and I'd been meaning to throw something hex editory together for a while now, so I made this. All it does is max your money and Potions. It could be edited to do more if people tell me the offsets. I might mess with it a little more later, but it seems usable now, albeit with little to no error checking, so back up your save. Just make sure the mhr_game0.sav is in the same folder as the executable and there shouldn't be any issues...

I ain't taking no responsibility if your game breaks because you want to cheat.

Anyway, it's written in C++. I used system("pause") so it'll only work on Windows lol. I think that's everything now! The exe is attached to the post, and the sauce can be found here.

Lemme know any issues and I'll try to help <3

Edit: Not sure where save editors are supposed to go if I'm honest. I was torn between here and 3DS Homebrew, but since the Hyrule Warriors Legends one resides here, I decided to stick this here too. Shout at me and/or report the post if I got it wrong!

Misc findings on the save data structure can be found here if you're interested: https://pastebin.com/Afnrd2i0
 

Attachments

  • MHStories Save Edit.zip
    13.1 KB · Views: 3,034
Last edited by Scarlet,

Genshin

Member
Newcomer
Joined
Aug 22, 2016
Messages
15
Trophies
0
Age
28
XP
91
Country
Malaysia
It say..the application was unable to start correctly (0xc000007b)..is there any others way to run that save editor
 

Scarlet

Onion Soup
OP
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,127
Trophies
2
Location
Middleish North-Right
Website
scarlet.works
XP
14,709
Country
United Kingdom
It say..the application was unable to start correctly (0xc000007b)..is there any others way to run that save editor
Compiling it yourself would be it, but that'd need you to download Visual Studio. I'll look into it once I'm back from uni. I know the thing works, I'm just bad at releasing it lol
 

Scarlet

Onion Soup
OP
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,127
Trophies
2
Location
Middleish North-Right
Website
scarlet.works
XP
14,709
Country
United Kingdom
I'll try..cause i'm also learn c++..but..still in learning
I feel ya! I started last year but apparently I still don't know how to release stuff lol

It should be simply copying and pasting the Pastebin stuff into a Win32 Console Project ^^
 
Last edited by Scarlet,

Scarlet

Onion Soup
OP
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,127
Trophies
2
Location
Middleish North-Right
Website
scarlet.works
XP
14,709
Country
United Kingdom
yes it is. just regular potion.. but it's ok..
Ah great <3 I can't read Japanese so I didn't know whether it was a normal or a Mega. Now I think about it, it was the combine recipe for a normal one, so I should've taken a hint lol
 

iDropOut

Member
Newcomer
Joined
Oct 11, 2016
Messages
23
Trophies
0
Age
30
XP
77
Country
Indonesia
Ah great <3 I can't read Japanese so I didn't know whether it was a normal or a Mega. Now I think about it, it was the combine recipe for a normal one, so I should've taken a hint lol
yeah, i can't read japanese too..
keep it up man, i appreciate what you have done so far..
 

stfb1055

Well-Known Member
Member
Joined
Oct 14, 2010
Messages
152
Trophies
1
XP
216
Country
United States
yeah cant read this either... but i hope to see all items in this game... or there a option that... u can have max items that u currently having right now. if u know what i mean. i hoping to see more in this save editor!
 

Scarlet

Onion Soup
OP
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,127
Trophies
2
Location
Middleish North-Right
Website
scarlet.works
XP
14,709
Country
United Kingdom
yeah cant read this either... but i hope to see all items in this game... or there a option that... u can have max items that u currently having right now. if u know what i mean. i hoping to see more in this save editor!
I've found where most of the items are stored (right at the beginning of the save file actually), it's just a matter of finding where the values end, then working out which is which. That part might take a while.
 
  • Like
Reactions: stfb1055

stfb1055

Well-Known Member
Member
Joined
Oct 14, 2010
Messages
152
Trophies
1
XP
216
Country
United States
I've found where most of the items are stored (right at the beginning of the save file actually), it's just a matter of finding where the values end, then working out which is which. That part might take a while.
cool.. i know nothing about save editing with hex editing or making a save editor program... lol.. but anyways, keep up the good works whenever u free or have someone to help out too to make this going! :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Yeah forgot to turn that off