Hamster archive

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 
|subcat=Archiving
 
|subcat=Archiving
|extensions={{ext|har}}, {{ext|rpg}}, {{ext|hs}}, {{ext|hsp}}, {{ext|tav}}
+
|uniform type={{UTI|com.hamsterrepublic.lumped}}
 
}}
 
}}
  
An archive format used in OHRRPGCE, TAVERN, and possibly other video game engines.
+
An uncommon archive format used to store the data for some programs; see [[:Category:Hamster archive based formats]]. (The first program to use this format was probably [[OHRRPGCE]].)
 
+
== Extensions ==
+
* <tt>.har</tt> - Generic Hamster archive file
+
* <tt>.rpg</tt> - OHRRPGCE
+
* <tt>.hs</tt> - Compiled HamsterSpeak program
+
* <tt>.hsp</tt> - Compiled HamsterSpeak program
+
* <tt>.tav</tt> - TAVERN story file
+
 
+
== Identification ==
+
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 23: Line 11:
 
* 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]]
 

Latest revision as of 19:35, 15 October 2021

File Format
Name Hamster archive
Ontology
UTI com.hamsterrepublic.lumped

An uncommon archive format used to store the data for some programs; see Category:Hamster archive based formats. (The first program to use this format was probably OHRRPGCE.)

[edit] 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