........ ... ...
:* ....: :*: :*:
:*: :*:..:*:
:*: :*....*:
:*:..... :*: :*:
:......: :.: :.:
______ _
* ____| (O) * |
* |__ _ * | ___
* __| * | * | * _ \
* | * | * | * __/
*_| *_| *_| *___|
Metachicken.Org
Ch File Format
---------------------------------------------
Index:
1. Introduction
2. Format def
3. Header composition
4. String Store composition
5. About Ch File Format
---------------------------------------------
1: Introduction
Hi, here are all specifications for Ch file format, you can add more if you like, thanks for reading.
2. Format Def
__________
| Header |-> simple header, can be 'CHFILE:'(Normal) or 'CHFENC:'(Encrypted) also contains some information
|__________|
|Data |
| Stored|
|__________|
3. Header composition
*Not used if isn't encripted
addr info
0-6 Init of Header: String
7 1 byte Checksum* : Byte
8-9 Number of Strings stored as 2 bytes(byte1 + byte2): Byte
4. String Store composition
*Not used if isn't encripted
1 1 byte Crypt Key*: byte
2-3 length of the String stored as 2 bytes(byte1 + byte2): Byte
4 Byte, currently not used: Byte
5-? Data: string
the end of file is $00 $00 $00 $F4 --> will be used in the future
5. About ch file format
created by Dark Rat in 2008 for data storing, why ch?, i'm form CHF(Chicken Head Force) then ch is "Chicken Head" :P,
this format is simple only is binary for not be edited with normal text editor, but for more security now have CRC8 check,
the unit with the function is under construction and is coded in delphi
Thanks,
Dark Rat/CHF
PD: Sorry for bad english, I speak spanish!
This file will be located in metachicken.org