Create ARC

This commit is contained in:
PhoenixARC
2023-04-24 11:10:37 -04:00
committed by GitHub
parent 09414b959d
commit 73e3cff94c

21
Formats/ARC Normal file
View File

@@ -0,0 +1,21 @@
| Name | Size (per element) | Description |
| :-:|:-:|:-:|
| [File Entries](./ARC.md#entries) | variable | an index of all files within the ARC, contains size, offset location, and filename
| File Contents) | variable | all files' data within the ARC
## entries
| Name | Size (per element) | Description |
| :-:|:-:|:-:|
| Count | (int32)0x4 | Amount of entries in the index
(repeated per count)
| Name | Size (per element) | Description |
| :-:|:-:|:-:|
| File Name | variable | a string(int16 indicates length, then Little endian Unicode string of specified length) indicating file name
| File position | (int32)0x4 | indicates offset of a file within the ARC
| File Size | (int32)0x4 | indicates size in bytes of a file
Each file from the entries can be read directly, due to the all neccesary information about the file being within the entry itself.