Snowy Fish Frenzy ARF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
imported>Ikskoks
 
(7 intermediate revisions by 2 users not shown)
Line 37: Line 37:
* The filename bytes are XOR with the key in the header.<br>
* The filename bytes are XOR with the key in the header.<br>
* If the filename length is not a multiple of 4 bytes, the left over bytes are not XORed<br>
* If the filename length is not a multiple of 4 bytes, the left over bytes are not XORed<br>
* The file data is XORed with a single byte found in the directory, which is different for each file.
* The first 20 bytes of the file data (for each file) is XORed with a single byte found in the directory, which is different for each file. The remaining bytes of the file data are to be read as normal.
 
=== Games ===
List of games using this format:
* Snowy: Fish Frenzy
* Snowy: The Bear's Adventures


=== Supported Programs ===  
=== Supported Programs ===  
* [[MultiEx Commander]]<br>
* [[MultiEx Commander]]<br>
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]
<br><br>
 
[[Category:XOR encryption]]
[[Category:File Format]]

Latest revision as of 14:20, 4 April 2021

ARF

Format Specifications

// ARCHIVE HEADER

char {2}     - Header (AR)
uint16 {2}   - null
uint32 {4}   - Number Of Files
uint32 {4}   - Filename Directory XOR Key
uint32 {4}   - Directory Offset


// FILENAME DIRECTORY

// for each file
byte {1}     - Filename Length
char {X}     - Filename (Encrypted)


// DIRECTORY

// for each file
uint16 {2}   - File ID (incremental from 1)
uint16 {2}   - Unknown
uint32 {4}   - File Offset
uint32 {4}   - File Length
byte {1}     - File Data XOR key
byte {3}     - Unknown


// FILE DATA

// for each file
byte {X}     - File Data (Encrypted)

Notes and Comments

  • The filename bytes are XOR with the key in the header.
  • If the filename length is not a multiple of 4 bytes, the left over bytes are not XORed
  • The first 20 bytes of the file data (for each file) is XORed with a single byte found in the directory, which is different for each file. The remaining bytes of the file data are to be read as normal.

Games

List of games using this format:

  • Snowy: Fish Frenzy
  • Snowy: The Bear's Adventures

Supported Programs