Crisis Core Final Fantasy VII Reunion

How to translate the files of a game
pillarock
Posts: 3
Joined: Fri Jun 09, 2017 10:18 am

Crisis Core Final Fantasy VII Reunion

Post by pillarock »

I'm trying to translate this game. Do you know where text is located, I cant find it.

Aes key for the archives in case you need it.
0x277041CBB2888087611DB5CBFEA119462920E1F67092C87E87825725E38B320F

There is a PSP archive in game files. I was thinking maybe text is in there. I tried replacing files there with localised version, but no luck, it didn't do anything. Maybe I did something wrong or maybe text is somewhere else.
skirts1122
Posts: 1
Joined: Fri Dec 16, 2022 4:38 am

Re: Crisis Core Final Fantasy VII Reunion

Post by skirts1122 »

In the system.bin file there is a text
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Crisis Core Final Fantasy VII Reunion

Post by masagrator »

Tools dedicated to pkg for PSP version of Crisis Core are not compatible with PKG in Reunion version.

discimg_jefigs.pkg has dialogues (+ other assets), system_jefigs.bin has other texts (+ other assets).

I have made tools for Switch version of game, I guess it should work with PC version too.
Edit: Acutally on PC there are no discimg_jefigs.pkg and system_jefigs.bin, they are discimg.pkg and system.bin. So either rename files or edit scripts

Here you have Python 3 pkg unpacker, just put it into the same folder with discimg_jefigs.pkg and run it
https://github.com/masagrator/NXGameScr ... npacker.py

Here you have packer. From ongoing tests seems to work fine, it reproduces discimg_jefigs.pkg with original files 1:1 if no settings are edited. Provide folder with files unpacked via pkg_unpacker.py as argument, files must have names that have been originally assigned by pkg_unpacker.py
for example in cmd:

Code: Select all

python pkg_packer.py unpacked
and it will create discimg_jefigs.pkg in "Discimg" folder where you had run pkg_packer.py
https://github.com/masagrator/NXGameScr ... _packer.py

Here you have system_jefigs.bin unpacker, put it to the same folder with system_jefigs.bin and run (it will unpack files to "system" folder):
https://github.com/masagrator/NXGameScr ... npacker.py

And packer (ongoing tests work fine), usage is the same as for pkg packer:
https://github.com/masagrator/NXGameScr ... _packer.py

Both are storing files in formats similar to what was used in PSP (Atel, MBD), but with slight changes. Though figuring those changes is in work by other people. :P
I tried replacing files there with localised version, but no luck, it didn't do anything.
iirc PC version has signed paks. So you cannot use new paks, game will just refuse to load any unsigned pak and any repacked pak will crash game. Somebody made already mod loader for this game? Luckily enough, Switch version has unsigned paks.
Last edited by masagrator on Sun Jan 08, 2023 10:22 am, edited 6 times in total.
pillarock
Posts: 3
Joined: Fri Jun 09, 2017 10:18 am

Re: Crisis Core Final Fantasy VII Reunion

Post by pillarock »

Thanks a lot, It works great. I don't know much about paks stuff. Were Final Fantasy VII paks also signed? You could just create ~mods folder and put unsigned paks there.

I have found some tools for the PSP version https://github.com/Yoti/psp_cc-ffvii. But like you said formats are different, so they don't work.
Last edited by pillarock on Sat Dec 17, 2022 3:21 am, edited 1 time in total.
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Crisis Core Final Fantasy VII Reunion

Post by masagrator »

pillarock wrote:Were Final Fantasy VII paks also signed?
No.


Somebody already found a way to disable sig check.
Image
Dragon-xy
Posts: 11
Joined: Tue Aug 06, 2019 1:13 pm

Re: Crisis Core Final Fantasy VII Reunion

Post by Dragon-xy »

masagrator wrote: Here you have Python 3 pkg unpacker, just put it into the same folder with discimg_jefigs.pkg and run it
https://github.com/masagrator/NXGameScr ... npacker.py
Thanks, but after unpacking we have 8727 .dat files, does anyone know which one contains the text?
masagrator wrote: Both are storing files in formats similar to what was used in PSP (Atel, MBD), but with slight changes. Though figuring those changes is in work by other people. :P
Is there any progress on this?
I would appreciate any help.
pillarock
Posts: 3
Joined: Fri Jun 09, 2017 10:18 am

Re: Crisis Core Final Fantasy VII Reunion

Post by pillarock »

Robinbalamb on openff7r discord promised to share the text tool, but no word from him yet.
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Crisis Core Final Fantasy VII Reunion

Post by masagrator »

Dragon-xy wrote:Thanks, but after unpacking we have 8727 .dat files, does anyone know which one contains the text?
Updated script to try to determine file type when unpacking, and packer will accept any file type now.
search for ".atel" and ".mbd" files. Though some .dat files are archives that also contain atel and mbd, but they don't have magic, only header with file table, so it's not possible to determine its type.