ROM Hack Harvest Moon - A new beginning => Scripts etc in Plain Text

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
Which extractor/repacker did you use?
Possibly the repacker isn't finished or have bugs. I don't think that the filesize has something to do with it. I guess there are some errors after repack this shit.
It's the same extractor and repacker I linked you to before, this one and this one. I don't know what's going on, really. These tools work 100% correctly on a clean, unmodified Msg.xbb. But when I use them on one that I have made changes to, it doesn't unpack/repack correctly, and I really have a feeling it has something to do with the pp-files or the entire .xbb being larger than the originals. Because of the way they use the _loadingOrder file, there has to be some record of the file sizes inside the .xbb itself, either of each pp-file or of the entire .xbb. It's just that no one knows where that is or how to change it yet. Or at least, the people who do know don't want to play nice and actually lend us a hand (I'm looking at you, andibad).

Here's the thing though - I never once used these tools to add things to the game. I only played around with them to see if I could find out what made my changes crash the game, and sure enough, my file was being trimmed to match the size of the original. So because my new file is too large, the game will not accept it; the tools did nothing to corrupt it. Whenever I tested changes to Msg.xbb, I wrote them directly to the file itself using the method I described to you. Coincidentally, I only changed one part of the entire file, just to test a sort of "Hello World" kind of thing. This ended up making the file 7 bytes smaller, which is why I didn't have an issue back then. Now that my new file is much larger, I'm running into issues. That being said, I don't think the tools are the problem here. The file structure of the pp and xbb files just hasn't been fully reverse engineered yet, and I don't think we'll get very far just between the two of us. We need help.
 

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
I thought you mean some other tools^^ But okay, these tools you linked should work to unpacl/repack files with the same filesize (I guess).

The file structure of the pp and xbb files just hasn't been fully reverse engineered yet, and I don't think we'll get very far just between the two of us. We need help.
Absolutly!
I'm not very good in this things x_x and I really hope someone is able to help us with this :/
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
I thought you mean some other tools^^ But okay, these tools you linked should work to unpacl/repack files with the same filesize (I guess).

Yes, same filesize or less, I suppose. Meaning the "maximum" filesize for us is however large the original file was. We can't do much by removing content from the game, can we? Very limiting.


Absolutly!
I'm not very good in this things x_x and I really hope someone is able to help us with this :/
You should go back to this thread and bump it again, maybe give GovanifY a friendly reminder that his "three weeks" has been up for a while. We need him back! :lol:
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
Thread bumped again. Message written to GovanifY.

[03.05.2015 09:10:45] GovanifY: ^atm busy as heck T_T
Poor guy. I'm tempted to bribe him with money or something. Seriously.

Oh yeah, and if you could go through that thread and get any source code from the attachments, that would be great. I want to see if I find anything useful in the source, and I don't have an account there so I can't download any attachments.

Edit: It may be worth linking to this thread. Maybe what we've tinkered with so far may be of use to them. Or give them a good laugh because we are n00bz. Can't hurt either way.
 
  • Like
Reactions: ChrisX930

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
Poor guy. I'm tempted to bribe him with money or something. Seriously.

Oh yeah, and if you could go through that thread and get any source code from the attachments, that would be great. I want to see if I find anything useful in the source, and I don't have an account there so I can't download any attachments.

Edit: It may be worth linking to this thread. Maybe what we've tinkered with so far may be of use to them. Or give them a good laugh because we are n00bz. Can't hurt either way.
already did :D
Now waiting for his answer :P
(will be offline for a few hours)
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
already did :D
Now waiting for his answer :P
(will be offline for a few hours)
No problem. I know it's probably early for you, but I stayed up late tonight. I might be leaving for a while myself.

I'll keep an eye on it for now. Unfortunately I can't do a whole lot more at this point besides start over, throw away all my work, and be super careful not to increase the file size. Aaaaand I don't want to do that.

Well one thing is clear. Someone will step up and help us figure this out Soon™
 
  • Like
Reactions: ChrisX930

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
Tried to find out some informations about the PAPA-File but yea...
After I checked the "TestMsg"-File (the last file in xbb-archive of Msg.xbb), I quit because I don't know how to reverse this shit >_>

This is what I got:
Information about TestMsg.pp
Filesize: 552bytes (0x00000228)
0x00 (4) MAGIC HEADER (PAPA | 50 41 50 41) <-- The same for all PAPA-Files in Msg.xbb
0x04 (4) -empty bytes (00 00 00 00) <-- The same for all PAPA-Files in Msg.xbb
0x08 (4) ---unknown-- (18? | 0C 00 00 00) <-- The same for all PAPA-Files in Msg.xbb
0x0c (4) ---unknown-- (24? | 18 00 00 00)
0x10 (4) ---unknown-- (04? | 04 00 00 00)
0x14 (4) ---unknown-- (36? | 24 00 00 00)
0x18 (4) ---unknown-- (236?| ec 00 00 00)
0x1c (4) ---unknown-- (412?| 9C 01 00 00)
0x20 (4) ---unknown-- (544?| 20 02 00 00) <-- I thought that could be Filelength without the first 8 bytes, but it does not match with another pp-files)
0x24 (4) ---unknown-- (200?| c8 00 00 00)
0x28 (4) ---unknown-- (03? | 03 00 00 00)
0x2c (4) ---unknown-- (20? | 14 00 00 00)
0x30 (4) ---unknown-- (24? | 18 00 00 00)
0x34 (4) ---unknown-- (188?| bc 00 00 00)
0x34 (4) -First Entry (Msg | 4d 73 67 00)

I just realized that other pp-files have much more unknown bytes before the entries begin (checked the TALK_YURI and TALK_GARDNER for example).
I've uploaded some of the pp-files here.
 

Attachments

  • pp-files.rar
    76.8 KB · Views: 200
  • Like
Reactions: ubergeek77

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
Tried to find out some informations about the PAPA-File but yea...
After I checked the "TestMsg"-File (the last file in xbb-archive of Msg.xbb), I quit because I don't know how to reverse this shit >_>

This is what I got:

I just realized that other pp-files have much more unknown bytes before the entries begin (checked the TALK_YURI and TALK_GARDNER for example).
I've uploaded some of the pp-files here.
Thanks. I'll try and take another look at these too.
 
  • Like
Reactions: ChrisX930

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
UPDATE:

Got some Informations about the PAPA-Format, thanks to GovanifY
MAGIC - 4 first bytes (UInt32: 0x41504150 )
Padding - UInt32 of null bytes
UInt32 - HeaderOffset
UInt32 - HeaderSize
UInt32 - Count

Then, for each files

UInt32 - FileOffset

Then for each beginning of each file(related to FileOffset):

UInt32 - CompleteSize
UInt32 - 3
UInt32 - 14
UInt32 - 18
UInt32 - SecondSize

Then raw bytes of the file
kind of

GovanifY sent me the SOURCE of his tool for the PAPA-Files, but it is NOT FINISHED!
This means: it does not work if you try to get it to work ingame.
Possibly some other guys could help me with this.
 

Attachments

  • PAPA_TOOL.rar
    946.4 KB · Views: 300

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
UPDATE:

Got some Informations about the PAPA-Format, thanks to GovanifY


GovanifY sent me the SOURCE of his tool for the PAPA-Files, but it is NOT FINISHED!
This means: it does not work if you try to get it to work ingame.
Possibly some other guys could help me with this.
Awesome! But I'm not understanding what all of this information is. Where are the addresses?
 

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
Awesome! But I'm not understanding what all of this information is. Where are the addresses?
I think all 8bytes (8 bytes for MAGIC, 8 bytes for Padding etc... )

BTW. He sent me his XBB-TOOL, too.
http://puu.sh/hBo6K/7f80966899.gz <-- RIGHT CLICK - SAVE AS...

he said it's almost finished but there's a bug he didn't fixed yet...
[20:56:27] GovanifY: he said it's almost finished I remember
[20:56:27] GovanifY: I fucked up
[20:56:32] GovanifY: the structure
[20:56:34] GovanifY: at a pointbut there's a bug he didn't fixed yet...

possibly someone could help us out
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
I think all 8bytes (8 bytes for MAGIC, 8 bytes for Padding etc... )

BTW. He sent me his XBB-TOOL, too.
http://puu.sh/hBo6K/7f80966899.gz <-- RIGHT CLICK - SAVE AS...

he said it's almost finished but there's a bug he didn't fixed yet...


possibly someone could help us out
Ah, I think I'm starting to see what's happening here. I can't believe I didn't take into account that each pp-file is an archive with files of their own.

Alright, I can probably be of some use now that I have the source. However I won't be able to sit down and seriously look at this until the weekend (and the week just started!), but if I get a chance to play with it in the meantime, I'll be posting updates.
 

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
Ah, I think I'm starting to see what's happening here. I can't believe I didn't take into account that each pp-file is an archive with files of their own.

Alright, I can probably be of some use now that I have the source. However I won't be able to sit down and seriously look at this until the weekend (and the week just started!), but if I get a chance to play with it in the meantime, I'll be posting updates.
Thank you! Would be awesome if you can get anything to work <3
 

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
Ah, I think I'm starting to see what's happening here. I can't believe I didn't take into account that each pp-file is an archive with files of their own.

Alright, I can probably be of some use now that I have the source. However I won't be able to sit down and seriously look at this until the weekend (and the week just started!), but if I get a chance to play with it in the meantime, I'll be posting updates.

I'm not sure if you know what UInt32 means, so GovanifY sent me this
d8760064cf.jpg
 

Verbigeration

New Member
Newbie
Joined
Jul 16, 2015
Messages
1
Trophies
0
Age
30
XP
41
Country
United States
Hey Guys,

right now, I wanted to get a 3d-Banner (cgfx?) to test it for a Homebrew and I decided to decrypt "Harvest Moon - A new beginning" for it to get a example.
But now, I found many MAAAANY ".nut"-files in the decrypted romfs.
the nut-files are all scripts of this game in Plain Text, which means, I'm able to edit ANYTHING code-related of the game (which is fantastic!) :D

Here's a example:

hmmodidjf5.jpg

hmmod2y0sgp.jpg





I Just wanted to share this with you :)
Excuse me, may I ask how you got all those information into your computer? Thank you.
 

Jam

New Member
Newbie
Joined
Mar 29, 2016
Messages
1
Trophies
0
XP
51
Country
I'm curious to whether Iys possible to change an NPC such as the child you have in game to give it the same colour eyes and skin as your character.
 

Angely

Well-Known Member
Member
Joined
Mar 30, 2015
Messages
226
Trophies
0
XP
364
Country
Netherlands
I just found this thread as I just decrypted SoS Trio of Towns JP & found out it's kinda same structure as the previous title's :3. The scripts are also in .nut plaintext. I sadly know nothing about coding/programming etc.

As a matter of fact I actually got curious, because I wanted to try & translate (not that I'm any good in japanese) the gametext a bit so I could play it without having to grab my phone to look up a kanji.... or see if it's possible to add furigana only to the HM/SoS Japanese 3ds games, to make it more playable for people who can't read kanji, but still want the Japanese text.

I also think that some people might be interested in some mods as apparently there's a bachelor(ette) you can't have kids with & it just happened to be the most interesting "popular" marriage candidate (@least for me) .

If anyone's still/interested in modding the Harvest Moon/SoS games I think it'd be nice if they kept this thread alive.:)
 
Last edited by Angely,
  • Like
Reactions: Sliter

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: horny jail is full la