Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:fileformats:charon [2013-04-04 22:37] – thorsten | en:fileformats:charon [2018-05-22 10:54] (aktuell) – thorsten | ||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
==== File Format Description ==== | ==== File Format Description ==== | ||
=== File Structure === | === File Structure === | ||
- | * Format Type: Container | + | * Format Type: Binary |
* Endian Order: Little Endian | * Endian Order: Little Endian | ||
* File Extension: .dat | * File Extension: .dat | ||
Zeile 9: | Zeile 9: | ||
== FILE == | == FILE == | ||
^ Header | ^ Header | ||
- | | 6x | CHAR8 | Identifier | " | + | | CHAR8 | 0x6 | Identifier | " |
- | | 1x | INT+8 | Version | 0x0 | | + | | INT+8 | 0x1 | Version | 0x0 | |
- | | 1x | INT+8 | Files Count | = [a] | | + | | INT+8 | 0x1 | Files Count | = [aa] | |
- | | [a]x | [[en: | + | | [[en: |
=== User-defined Structures | === User-defined Structures | ||
== FILEINFO* == | == FILEINFO* == | ||
^ FileInfo* | ^ FileInfo* | ||
- | | 1x | INT+32 | File Size | = [b] | | + | | INT+32 |
- | | 1x | INT+8 | File Flags | //see below// | | + | | INT+8 | 0x1 | File Flags | //see below// | |
- | | 1x | DATA | File Content | [b] represents byte-size | + | | BINARY8 |
==== Appendix ==== | ==== Appendix ==== | ||
== File Flags == | == File Flags == | ||
If the flag is set 0, the following file is another Charon container. Otherwise the flag respresents the priority of the following file, where 1 is the lowest and 255 the highest priority. | If the flag is set 0, the following file is another Charon container. Otherwise the flag respresents the priority of the following file, where 1 is the lowest and 255 the highest priority. |