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: 203
  • 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: 301

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.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...