Users browsing this thread: 1 Guest(s)
Encrypted OFS3 Files?
#3
Heart 
(10-22-2024, 05:41 AM)axx1611 Wrote: I think they are not OFS3 RAW files, but OFS3 files compressed in CRILAYLA format.
and SAOAL's CRILAYLA format is also modified.
You need to XOR the first 32 bytes (I'm not sure if it is fixed 32 bytes) with 0xFF first (after XOR, you will see the CRILAYLA file header)

In addition, the reason why you can see the OFS3 word is because the CRILAYLA format does not compress the first 256 bytes but directly saves them at the end of the file.
I highly suspect that most of SAOAL's files have been processed in a similar way.

Thank you so much! The XOR method worked, and I managed to get out a few of the sprites.
Some were corrupted, but I am pretty sure I can fix that by changing the amount of bytes I XOR.
I'm really so glad you knew how to get past this, thank you thank you thank you! Heart Heart

For anyone coming across this in the future, what I did was:
  1. Use CriPakGUI to unpack the data.cpk
  2. Copy the adv folder and subfolders
  3. XOR the first 32 bytes of the files inside to decrypt the CRILAYLA header (maybe a different number of bytes will be necessary)
  4. Patch the .cpk file
  5. Unpack the modified .cpk file, which should show an OFS3 header in the files that were previously CRILAYLA
  6. Use OFS3 Tool to unpack the OFS3 files
  7. Use QuickBMS to unpack the PHYRE files
  8. Use Noesis to extract the .dds files
Reply
Thanked by:


Messages In This Thread
Encrypted OFS3 Files? - by Lillyth-Sillyth - 09-19-2024, 07:58 AM
RE: Encrypted OFS3 Files? - by axx1611 - 10-22-2024, 05:41 AM
RE: Encrypted OFS3 Files? - by Lillyth-Sillyth - 11-30-2024, 02:55 PM

Forum Jump: