
Originally Posted by
coolika1337
i can crc bypass this shity game easy, what .hfs is this?
You make it sound so easy...
All archives are obfuscated with atleast one pass of the Xor cipher, with the source position as the file position of the block. The file names and data in the Local File Header, and the file name in the Central Directory Header are obfuscated.
The key is constant, but encrypted in game files, available in the tool "VZipFlip" as XorTruths.bin
If the Second-pass checksum in the End of Central Directory Header exists, then a second pass of the Xor Cipher is performed with the 32-bit key: EndOfCentralDirectory.CentralDirectorySize * EndOfCentralDirectory.OffsetOfCentralDirectory.
[edit] Notes and Comments
The game is also called "Mabinogi Heroes"
The game should be considered Episode 1 of the Source engine as far as file formats used.
It is not known how the Second-pass checksum is created, or what the value is. The most likely candidate is CRC-32, perhaps XORed with a key.
The file name of the HFS is likely a 160-bit hash, likely SHA-1, perhaps of the path.
Some files have the extension ".comp". The file data will have a "COMP" header. The data is compressed with DEFLATE (RFC 1951