Fuuraiki 3 - Need Help

How to translate the files of a game
zander1995
Posts: 20
Joined: Tue Oct 11, 2016 7:26 am

Fuuraiki 3 - Need Help

Post by zander1995 »

Image

Mirrored from my thread on GBAtemp: https://gbatemp.net/threads/fuuraiki-3-need-help.610753/

A friend and I have been discussing the possibility of a fan translation for Fuuraiki 3.
He's fluent in Japanese and is a huge fan of the series, but we've hit some major roadblocks.

Fuuraiki 3 was published for PSVita by Nippon Ichi Software, and as such uses NIS's archive formats.
Existing tools for NIS games are able to unpack and repack the files with few problems, but the issue comes to the fact the file formats have fixed pointers.

The script archives are "sinario.dat" and "kigi.dat" (both DSARC FL), which have fixed pointers to each of the plain text files they contain. The Yomawari plugin works to unpack and repack these files.
These are contained in the "dat1.dat" (FAFULLFS) archive, which contains most of the non-image files for the game, and also has fixed pointers. The FAFULLFS script works to unpack and repack these files.

We would really appreciate any help we can get in overcoming this first roadblock.

Proof of concept:

Image
Image

Workaround for normal size space characters:
Image
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Fuuraiki 3 - Need Help

Post by LinkOFF »

QuickBMS script for these files.

Code: Select all

idstring "DSARC FL"
get FILES longlong
for i = 0 < FILES
   getdstring NAME 0x28
   get SIZE long
   get OFFSET long
   log NAME OFFSET SIZE
next i
zander1995
Posts: 20
Joined: Tue Oct 11, 2016 7:26 am

Re: Fuuraiki 3 - Need Help

Post by zander1995 »

Maybe I should have elaborated more. The problem isn't unpacking or repacking the files. The problem is scripts cant be a bigger size than they originally were, or things get broken.

I'm not at home right now, so can't upload the main archives at the moment, bur it's the biggest thing getting in the way of a translation.
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Fuuraiki 3 - Need Help

Post by LinkOFF »

zander1995 wrote:Maybe I should have elaborated more. The problem isn't unpacking or repacking the files. The problem is scripts cant be a bigger size than they originally were, or things get broken.

I'm not at home right now, so can't upload the main archives at the moment, bur it's the biggest thing getting in the way of a translation.

Ok, I'll try to figure out what's causing this. No need to upload archives, i already donwload the game to my vita. Can you upload translated script from the beginning of the game?
zander1995
Posts: 20
Joined: Tue Oct 11, 2016 7:26 am

Re: Fuuraiki 3 - Need Help

Post by zander1995 »

Once I get home, I'll be able to upload the files.
I'm pretty sure the issue is with the pointers. If a script is bigger than it was, it misaligns the pointers and the game can't call the correct file because it expects it to be in a different place than it is.

If the issue is the above, we need a way to generate new pointer tables for the archives based on the new file sizes.