-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No support for Tales of Graces F Remastered #26
Comments
This is a really weird archive format and I'm not entirely sure what to do with it. I've pushed some attempt at unpacking this but this is definitely wrong for some files. If you can figure out wtf some of those header fields mean I'd be very happy to improve this. https://github.com/AdmiralCurtiss/HyoutaTools/blob/master/HyoutaToolsLib/Tales/Graces/ZARC/ZARC.cs |
Hey. Thank you very much for your efforts. I'll try to help too, I have more than 1 .zarc sample to compare, if that helps. |
Quick info that may be helpful of some sort: nx eur zarc and nx jp zarc are slightly different. |
I’m trying to see if I can help with something, but I don’t have a deep understanding of programming. I made a change to the script so it doesn’t decompress the files. Looking at file 13185, it seems like there’s an issue with the file splitting logic, as the same file has LZMA compression applied twice and then TLZC. This repeated value of hexadecimal EE 72 times is not from the LZMA file; it seems to be related to some file splitting, but I’m not sure. |
I figured out that Unknown1 in FileInfo is the file's hash I have also made code in lua to generate this hash |
I have figured out more Unknown4 is multiplied by 2, then added to 0xC4BE8 (this is the start of data after the SingleFileInfo headers) |
Thank you, that helped a lot. I think all the files should extract correctly now, though you need to manually do the tlzc decompression ( |
I've also added an option where you can provide a list of filenames and it will match the hashes against that and extract as the correct filename. Maybe we can figure out a complete list somehow. |
I was looking for the filenames and the only reference I've found so far is inside the GameNative.dll (PC) or GameNative.nro (NX) file. Couldn't figure it out entirely, though. |
Here is a text file containing the names of files in the ZARC file. Currently, 7271 names are still missing out of 33576. |
The game presents somehow a new .zarc compression that seems similar to TLZC but not quite the same. Would it be possible to add support to decompress/compress this archive, both for PC and NX?
I'm trying to find the game's dialogues for translation purpose.
The text was updated successfully, but these errors were encountered: