Hamster archive
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|subcat=Archiving | |subcat=Archiving | ||
− | |||
}} | }} | ||
− | An archive format used in OHRRPGCE | + | An archive format used in [[OHRRPGCE]] and possibly other video game engines and/or other programs. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Identification == | == Identification == | ||
− | None. | + | None in general. |
+ | |||
+ | A compiled HamsterSpeak program will start with "<tt>HS</tt>", followed by three null bytes, two variable bytes (these are part of the lump data size; see below), and then the ASCII text "<tt>HamsterSpeak</tt>". | ||
== Description == | == Description == | ||
Line 21: | Line 15: | ||
* PDP-endian 32-bit data size (measured in bytes) | * PDP-endian 32-bit data size (measured in bytes) | ||
* Data of this lump | * Data of this lump | ||
+ | |||
+ | [[Category:Game data files]] |
Revision as of 04:22, 27 January 2020
An archive format used in OHRRPGCE and possibly other video game engines and/or other programs.
Identification
None in general.
A compiled HamsterSpeak program will start with "HS", followed by three null bytes, two variable bytes (these are part of the lump data size; see below), and then the ASCII text "HamsterSpeak".
Description
A Hamster archive consists of zero or more lumps concatenated together (with no delimiters or global header/footer), where a lump consists of the following three parts:
- Null-terminated ASCII filename
- PDP-endian 32-bit data size (measured in bytes)
- Data of this lump