ROM Hack [wip] Story of Seasons: Trio of Towns Save Editor

m0rt

Active Member
Newcomer
Joined
Jan 29, 2015
Messages
42
Trophies
0
XP
365
Country
Germany
You can't edit the item table in the savegame right now, not until the file compression is figured out.
Everything after the header of the file is compressed (LZ ?). I think the original Story of Seasons used some LZ compression,
at least that's what I remember from looking through the sourcecode of the savegame editor for that game. You could try to ask RainThunder for help, that's the user who wrote the savegame editor for the original Story Of Seasons

I edited the items via the gateway cheat feature, can't tell you how to do it with NTR right now because i got no knowledge with that and find it too tedious to work with...

Each item in the storagebox uses this structure:

public struct RAM_Item_Object
{
public UInt16 Id_0; //Item ID, see my table for reference...
public UInt16 Id_1; //Item ID, see my table for reference..., not sure why it is used 2 times in each object...
public Byte Unk_0; //Unknown
public Byte Quality_Color; //Quality - Color; ranging from 0-5
public Byte Unk_2; //Unknown
public Byte Quality_Sweet; //Quality - Sweet; ranging from 0-5
public Byte Unk_4; //Unknown
public Byte Quality_Juicy; //Quality - Juicy; ranging from 0-5
public Byte Unk_6; //Unknown
public Byte Quality_Size; //Quality - Size; ranging from 0-5
public UInt16 Dummy; //always 0x0000 ?
public UInt16 Count; //Current item count​
}
 
Last edited by m0rt,

RurounixKen

New Member
Newbie
Joined
Dec 27, 2015
Messages
1
Trophies
0
Age
29
XP
76
Country
i really want to play this game clean and fair. But so far, my hard work has gave me a S rank by-product level chicken, which make my chicken only lay golden eggs. And then that stupid egg couldnt be use in cooking... Damn, now i'm looking for a way to reduce that S rank...
 

DesuIsSparta

Well-Known Member
Member
Joined
Oct 13, 2015
Messages
580
Trophies
0
XP
1,037
Country
United States
You can't edit the item table in the savegame right now, not until the file compression is figured out.
Everything after the header of the file is compressed (LZ ?). I think the original Story of Seasons used some LZ compression,
at least that's what I remember from looking through the sourcecode of the savegame editor for that game. You could try to ask RainThunder for help, that's the user who wrote the savegame editor for the original Story Of Seasons


Yes the last save used LZ11 IIRC. I also looked at the save editor source for reference, and compared the compression headers myself to confirm.

The new game uses a new save format and I am unable to find the compression header so I can't figure out which compression algorithm it uses. I have even looked into the game's code, and am getting closer, but still haven't quite figured it out.. I'm also pretty new to REing from assembly.
 

m0rt

Active Member
Newcomer
Joined
Jan 29, 2015
Messages
42
Trophies
0
XP
365
Country
Germany
The new game uses a new save format and I am unable to find the compression header so I can't figure out which compression algorithm it uses. I have even looked into the game's code, and am getting closer, but still haven't quite figured it out.. I'm also pretty new to REing from assembly.

I don't know if it's worth to check, but maybe the .cec file extracted with the saveX.bin files (when extracted with jksv) contains that data? :S

i really want to play this game clean and fair. But so far, my hard work has gave me a S rank by-product level chicken, which make my chicken only lay golden eggs. And then that stupid egg couldnt be use in cooking... Damn, now i'm looking for a way to reduce that S rank...

I could look if I can find the animal data. Once it is found it would be a simple thing to edit the ranking values via NTR/gateshark :)
 
Last edited by m0rt,

DesuIsSparta

Well-Known Member
Member
Joined
Oct 13, 2015
Messages
580
Trophies
0
XP
1,037
Country
United States
I don't know if it's worth to check, but maybe the .cec file extracted with the saveX.bin files (when extracted with jksv) contains that data? :S

The cec.bin seems to be consistent across save files (i've tested with 5), but I don't know if it's the same across regions and consoles as well. It doesn't seem to be obvious what is is yet, but i'll keep looking.
 

CrescendoLite

Member
OP
Newcomer
Joined
Oct 23, 2016
Messages
5
Trophies
0
Age
28
XP
61
Country
Canada
Sorry for the lack of activity, as life has been a little too active lately.

I ran into a major problem with a coder when we attempted to write the code. It seems that hex values can sometimes change position
according to changes we tried to make.

I have been told this may be because of a higher security measure from Marvelous, but we weren't sure since neither of us had experience in
save editing before.

Unfortunately, I don't have the skills required to see this project through, so I'll have to leave it up to someone else.
There are powersaves cheats posted by Datel already, so maybe it's possible to find a workaround easily.
Again, very sorry for the lack of support.
 

SyarifZaki

New Member
Newbie
Joined
Sep 23, 2020
Messages
2
Trophies
0
Age
28
XP
37
Country
Indonesia
i want to ask, is this mod could add inari costumes? like for male then inari male, and for female then inari female? and also adding stephanie and woofio costumes because v1.1 patch didn't had it so i guess i can only hope for those modders to make 2 more empty slots on clothes for that and make it come true...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    cearp @ cearp: still, I agree physical media is nice to have. just pointing out the issue is drm