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

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
I haven't written the utilities yet as I have not been able to properly extract and repack the files for the game. It is moving along. Right now the problem is rather confusing but will get figured out eventually. Not 100% sure where the problem lies yet though :/

To say what's going on again asset repacking seems to work. Maps load battles load. Certain early game cutscenes load. Entering the town. Crashes. And I haven't the slightest idea as to why yet. The files seem to decompress correctly from my tests(checked half a dozen files or so and they all are 100% Identical). They seem to load in the same order as the original archive. But once I enter that town the contents of an extracted file gets corrupted and the game crashes. I still haven't found where that corruption occurs.

I have some testing code to write to re-verify that the (de)compressor I have is functioning properly and I have not gotten around to it yet. Taking a small break to work on another non temp related project and play some danganronpa :P the brain is still working however.

@[email protected] to call you out directly. The archive format and compression scheme are completion figured out. It is just a matter of figuring out the above memory corruption issue. That's all that's left before I can write the tools for actually Injecting new text!
 
Last edited by geekboy1011,

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
@[email protected] to call you out directly. The archive format and compression scheme are completion figured out. It is just a matter of figuring out the above memory corruption issue. That's all that's left before I can write the tools for actually Injecting new text!

I'm wondering if replacing the corrupted file with a backup of it mid-game is a possibility.
If not then, i'll snoop around.
 

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
I'm wondering if replacing the corrupted file with a backup of it mid-game is a possibility.
If not then, i'll snoop around.

Every thing copies over correctly. There is some physical corruption in ram that is happening where a previously extracted file is getting corrupted. I also have some hunches. But again going to take some time to test them out. Also replacing it mid execution does not fix anything as it just covers up the bug :P
 
Last edited by geekboy1011,

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
Every thing copies over correctly. There is some physical corruption in ram that is happening where a previously extracted file is getting corrupted. I also have some hunches. But again going to take some time to test them out. Also replacing it mid execution does not fix anything as it just covers up the bug :P
Might I ask what tools you are utilizing? If you could, perhaps you may lend those tools to me so I may partake in ram corruption.
 

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
https://github.com/geekbozu/FF1_Tools I posted them earlier in the thread but here is I believe the current revision. If it fails to seemingly properly load the modified crown.dpk let me know. There was a bug that I might have not pushed....
Um, I have python 2.7.x but for some reason it just opens and closes as soon as I double-click the repacker.py file.
 

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
Is that what the readme says? also it will unpack the dpk file as well as the pck files. Please do not use quickbms. It loses some metadata we need.
 

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
Is that what the readme says? also it will unpack the dpk file as well as the pck files. Please do not use quickbms. It loses some metadata we need.
Eh, I made backups of the romfs which contains basically the core parts of the game-as you already know.
Yes, that's what the readme says.

EDIT: I'm stupid and forgot all about Python. I got it working now, the Unpacking I mean. Now for some small translation and see if that'll work.
 
Last edited by Defaultio,

geekboy1011

Well-Known Member
Newcomer
Joined
Mar 24, 2013
Messages
74
Trophies
0
Age
30
XP
584
Country
United States
repack it and load it on the 3ds (use which ever means youprefer hans/layeredfs etc) and see if it crashes.
 

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
repack it and load it on the 3ds (use which ever means youprefer hans/layeredfs etc) and see if it crashes.
Stupid question: How can I put the romfs file back in to a .app file with god 9? Decrypt9 doesn't work with the latest luma update.

I used GM9 to just get the romfs folder from the .app file from the game itself.
I have no clue how to put it back in other than re-doing the entire proccess but with a dump of the game itself. Sorry for being so stupid.
 
Last edited by Defaultio,

Defaultio

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
105
Trophies
0
XP
140
Country
United States
Almost done with all this stuff. I actually made a plan to see what would happen if I loaded a save file while in the town.
 
Last edited by Defaultio,

FateForWindows

Well-Known Member
Member
Joined
Feb 8, 2017
Messages
1,124
Trophies
0
Age
26
XP
1,744
Country
United States
but to use that I would need to "Create a folder with the game's title id"
Go into FBI, Titles, find Final Fantasy and write down the title ID somewhere. Then create a folder in the Luma folder named code_sections, then a folder with the titleid you wrote down. Then make a folder called romfs and paste the modified files there.
 
  • Like
Reactions: geekboy1011

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
    Psionic Roshambo @ Psionic Roshambo: @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to...