i just come back from testing and actually there are 2 methods that could fix aligning problems. There are 77 chd files with different number of texts. We can either repack the chd files (replacing us voice with jp voice or messing with timing) or we can modify the script file (showing more text). Both of them work, but there are some problems:
- the game cannot show more than 3-4 lines correctly so this method is not really good for us, but it is easy to write translation tools since the script file itself is really simple
- we can repack the chd files (with fps4pack) but the modified files are about 388 MB so we have to use compression
I tried CriPackedFileMaker (aka cpkmakec/crimaker.dll) and it works perfectly, just make a new cpk from the repacked chd files and extract them. I don't really know how to use this dll, if somebody knows maybe i could make a file compressor.
I post the batch repacker tool i made, this is not too user friendly yet but it work. You have to place it next to fps4pack, tell the path of the JP and US chat folder (you don't have to write output folder, i left that text in accidently). It will now go through all the scs files and if there is a difference in the number of texts it will extract both chd file (us and jp), take the jp voice file and repacks it using the us file's timing.
It also makes a little messy file list. Lines starting with "Same" means same number of texts in both versions. Now you have to copy the correct lines to a listfile that you would use for rebuilding the cpk (eg. exported one from gui).
This works almost like as the guide on p19 says. You copy your new files over to the mixed folder and copy their lines to the listfile. I know it can take time, thats why this is for testers/devs I also attach my listfile, it is the 'default' one (battle+skits+voices+fonts, exported with gui) but i already copied over the new lines.
I also attach the list of skit files where are aligning problems. When you unpack these, the important files are file 0 and file 2 (file 1 is voice), the rest of them is identical in both versions.
Tell me if something was not clear, it is almost midnight here, so typos can happen.
Looks like it finds the first chd file which is /CHT_DC007.chd and tries to repack it but errors out afterwards.
Do I need something else to make the repacking work?
Also I was wondering how the final repacking will work? Because chd needs to be in uncompressed format for fps4pack to work. All of my files in rootR.cpk are in compressed format. So the fixed skit files will be uncompressed while others files are not. When I repack these mix of files, will the final rootR.cpk work?
One last thing I wanted to add is that I can extract and repack individual chd files no problem with fps4pack. It's just looks like doing it via skitfix.exe, it only tries to work on the first file and crashes.
Last edited by donkatsu; 07-01-2012 at 09:36 PMReason: Automerged Doublepost