Hamster archive

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Identification of compiled HamsterSpeak programs)
Line 4: Line 4:
 
}}
 
}}
  
An archive format used in OHRRPGCE, TAVERN, and possibly others.
+
An archive format used in OHRRPGCE, TAVERN, and possibly other video game engines.
  
 
== Extensions ==
 
== Extensions ==
Line 23: Line 23:
 
* 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 15:09, 5 July 2017

File Format
Name Hamster archive
Ontology
Extension(s) .har, .rpg, .hs, .hsp, .tav

An archive format used in OHRRPGCE, TAVERN, and possibly other video game engines.

Extensions

  • .har - Generic Hamster archive file
  • .rpg - OHRRPGCE
  • .hs - Compiled HamsterSpeak program
  • .hsp - Compiled HamsterSpeak program
  • .tav - TAVERN story file

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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox