ROM Hack [WIP] Final Fantasy (eShop) Translation.

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
It crashed while entering the town.
AN EXCEPTION OCCURRED

Processor: ARM11 (core 0)
Exception type: data abort
Current Process: CROWN (000400000005DA00)

(More hexadecimal stuff that I don't know about and possibly abbreviated names.)

"You can find a dump in the following file:
dumps/arm11/crash_dump_00000000.dmp"

Then on the bottom screen it says:
Stack dump:
then more hexadecimal stuffs.

https://www.dropbox.com/s/0353hyhcl27wln5/IMG_20170807_145331763.jpg?dl=0
https://www.dropbox.com/s/vq3g8axbldemxg9/IMG_20170807_145340761.jpg?dl=0
IMG_20170807_145331763.jpg
IMG_20170807_145340761.jpg
 

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
Well at least it is consistent ;) Looks to be the exact same issue I get, Same PC address if memory serves.
The thing is, it only happens in the town of Cornelia(?), not the castles in the current continent.
What if its because the town is flagged to an event - that event being that the only way to get out is to talk to an NPC to get to the castle. The only way to find out is to play a normal play through until the second town. Then add the repacked romfs to it and enter the second town and see if that gives the same error.


That's what i'm thinking though. BTW, the savegame that I had didn't even load because I was in the town.
 

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
Update:
Entering matoyas cave causes a crash.
Entering the second town does NOT crash the game.

Edit 1: Obviously its something in the Crown.dpk that's been changed, we know what has been changed which means that those files must have something different about them.
No, it isn't crashing while loading a graphical animation (OP), my guess while it was repacking itself, data was lost or just replaced and not completed due to how the repacking process works on its files.

Edit 2: The town of Cornelia will always crash no matter what point of game you're in.

Edit 3: I shall keep playing until Melmond, there wouldn't be a purpose into playing a game where there may be a crash at any given in-game location in the game.
 
Last edited by Defaultio,

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
Actually from stepping through code I know it's crashing loading what I believe to be animation files. However that is irrelevant. I think the compressor is just handling some edge cases weirdly, will play with it as the week goes on. Some ideas thankfully, going to have it dump the entire contents to SD card and see how they match decompressed via the games decompressor versus ours. Regardless thanks for testing!

(typed on my phone bear with me!)
 
Last edited by geekboy1011,

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
Actually from stepping through code I know it's crashing loading what I believe to be animation files. However that is irrelevant. I think the compressor is just handling some edge cases weirdly, will play with it as the week goes on. Some ideas thankfully, going to have it dump the entire contents to SD card and see how they match decompressed via the games decompressor versus ours. Regardless thanks for testing!

(typed on my phone bear with me!)
Happy to help! I really want to see this game translated, its especially convenient on my 3ds rather a psp emulator (physical buttons).
 

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
I have another theory - Maybe its the repacker itself (as you have said before).
I compared the file sizes of both before unpacked and after repacked and noticed a 15,000 kb difference between the files.
Perhaps the repacker adds more data to some files inside of the crown.dpk than it already needs/has?
Could it be that it doesn't replace some data, it just inserts but not replaces the data?

We will never know.
 
  • Like
Reactions: FateForWindows

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
I have another theory - Maybe its the repacker itself (as you have said before).
I compared the file sizes of both before unpacked and after repacked and noticed a 15,000 kb difference between the files.
Perhaps the repacker adds more data to some files inside of the crown.dpk than it already needs/has?
Could it be that it doesn't replace some data, it just inserts but not replaces the data?

We will never know.

That is a technical possibility. The reason for the extra space however is believed to be due to the fact that we do not 0 fill like the copy of the compressor they use does. With the compression scheme you can assume anything outside of the current file size is 0. We currently do not make that assumption and assume we can not use data outside of the file. So we lose some efficiency but it is still compliant. I think I am wanting to modify it to support zero fill but that is down the road. Other bugs to squash first.

I've been comparing the two versions of this game(3ds vs PSP) and it seems like they both have .DPK files that store all the main good stuff of the game.

the real problem is the so called "Wp16" compression, which is not clear.
these compressed files start with the "Wp16" signature, followed by the 32 bit uncompressed size and (probably) the raw compressed data.

Not sure if you already knew that, but i'm probably wrong or just telling you unnecessary information.
As noted above we know how the compression works :D, We even have an implementation. IF you look in the wp16 directory you can see all of our notes and documentation regarding the formats, As well as some sources to the psp version of the DPK/PCK archives which are slightly different for some reason.

Also just edit your posts please. I check the thread daily. I will see them :P
 
Last edited by geekboy1011,
  • Like
Reactions: Defaultio

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
Sine my last post a whole lot of nothing. Life came and reared its head again and I'm am in the middle of a move again :( Truck is coming sunday!
 

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
I'm just slow and this is a pet project so it hasn't been high on my radar. There is quite a bit of work to do and bugs to squash I am afraid. Definetily not dead I actually spent a few hours tracking some issues down the other day but nothing that turned into progress :/ So not dead just moving slower then a glacier.
 

1Zero

Well-Known Member
Newcomer
Joined
Sep 18, 2015
Messages
67
Trophies
0
XP
111
Country
Venezuela
I'm just slow and this is a pet project so it hasn't been high on my radar. There is quite a bit of work to do and bugs to squash I am afraid. Definetily not dead I actually spent a few hours tracking some issues down the other day but nothing that turned into progress :/ So not dead just moving slower then a glacier.

It's cool that you're still trying to improve FF1's 3DS translation issues.

Secondly, I really thought Square Enix would localize this, should've known better.

Either way, take your time.

Fast/slow progress is still progress.
 

TheTrueDream42

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
182
Trophies
0
Age
27
XP
994
Country
United States
Well maybe you could look around the semi newer 3ds and psp translation threads for general and square enix games, as they might have a tool that you can use (not likely of course), or some info on the files that you can use. I would like to point out that the CTGP-7 Mario Kart hack is having problems with newer versions of luma, so if there's a new problem appearing that could be it.
 

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
Sadly the issue seems to stem more from a compatibility bug with out compressor/decompress-or pair. OR the game expecting things formatted in a way we are not. I really just need to spend a few days debugging what the application is doing when it loads files. for now though i sadly haven't had the time todo so. Thanks for the support either way guys!
 
  • Like
Reactions: Jubash

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Yea that's what I'm sitting on now- 4.9, and it seems fine, have had no issues at all
  • S @ salazarcosplay:
    I don't know if people play online or such
  • K3Nv2 @ K3Nv2:
    My ps3 short circuited during a deep clean still salty about it after downloading 2tbs worth but SteamDeck okay with emulation still just can't run mgs4 worth shit
  • BigOnYa @ BigOnYa:
    Yea forgot bout trophies. They just silly to me. Just like the xbox achievements. Hey, to each they own tho.
  • K3Nv2 @ K3Nv2:
    It keeps players in touch with the game like a check list of things to do after they beat it
  • S @ salazarcosplay:
    @BigOnYa they ruined the gaming experience for me to be honest
  • S @ salazarcosplay:
    @BigOnYa Im not crazy about getting all of them, i feel like I have something to show for for the time put in
  • S @ salazarcosplay:
    @BigOnYa If you want to do rgh or 360 mod
  • S @ salazarcosplay:
    does it matter if you update your 360 or not before trying is it advisable or not
  • BigOnYa @ BigOnYa:
    Yea I don't pay attention to them really. Or do I try to 100% a game. I just play till story ends/ or I get the girl!
  • K3Nv2 @ K3Nv2:
    Bigonya uses his wiener to mod 360s
    +1
  • Xdqwerty @ Xdqwerty:
    Going to the water park, see ya
  • BigOnYa @ BigOnYa:
    You should update the 360 to newest dash before RGHing it yes. But not a big deal if you don't, you can install new dash/avatar updates after. It's just easier to do it auto online before, instead manual offline after.
  • BigOnYa @ BigOnYa:
    Have fun @Xdqwerty. If you see a chocolate candy bar floating in the water, don't eat it!
  • AncientBoi @ AncientBoi:
    :O:ohnoes: Y didn't U Tell ME that ALSO? @BigOnYa :ohnoes: 🤢🤮
    +1
  • BigOnYa @ BigOnYa:
    Does it taste like... chicken?
    +1
  • S @ salazarcosplay:
    @BigOnYa I wanted to ask you about your experience with seeing south park. Most of the people a bit younger like my younger brother and cousins that are a few younger than me that saw kids found south park funny because of the curse words, kids at school, that seemed like liking the show on a very basic level.

    I could not quite have a in depth discussion of the show.

    How was it for you? As an adult. What did you find the most interesting part about it. Did you relate to the parents of the kids and their situations. Was it satires, the commentary on society. The references on celebrities' and pop culture.
    +1
  • BigOnYa @ BigOnYa:
    I remember seeing the very first episode back in the day, and have watched every episode since. I used to set my VCR to record them even, shows how long ago.
  • BigOnYa @ BigOnYa:
    I just like any comedies really, and cartoons have always been a favorite of mine. Family guy, American Dad, Futurama, Cleveland Show, Simpsons - I like them all.
    +1
  • BigOnYa @ BigOnYa:
    South Park is great cause they always touch on relavent issues going on today, and make something funny out of it.
    +3
  • S @ salazarcosplay:
    @BigOnYa were you always up to date on the current events and issues of the time or were there issues that you first found out thru south park
  • BigOnYa @ BigOnYa:
    Most of the time yea I knew, I watch and read the news regularly, but sometimes the Hollywood BS stuff, like concerning actors slip by me. I don't follow most Hollywood BS (example: the Kardasians)
    +2
  • S @ salazarcosplay:
    @BigOnYa there were relevant issues before south park was made, that's why i think a south park prequel/spinoff would be great. Randy and his friends in their child hood
  • BigOnYa @ BigOnYa:
    Yea, like them running in high school together, getting into stuff, and how they got hitched and had kids. And how the town of South Park was back then compared to now. That would be cool to see.
    BigOnYa @ BigOnYa: Yea, like them running in high school together, getting into stuff, and how they got hitched and...