Hammer (compression)
From Just Solve the File Format Problem
(Difference between revisions)
(added sample files) |
|||
(One intermediate revision by one user not shown) | |||
Line 7: | Line 7: | ||
== Identification == | == Identification == | ||
− | Files begin with "{{magic|Hmr}}", followed by a {{magic|0x00}} | + | Files begin with ASCII "{{magic|Hmr}}", followed by a byte with value {{magic|0x00}} or {{magic|0x01}}. |
+ | |||
+ | Files with <code>0x01</code> at offset 3 use a slightly different compression scheme, and are apparently expected to decompress to a [[FastSpr sprite file]]. | ||
== Specifications == | == Specifications == | ||
− | * [http://asylum.acornarcade.com/g_docs.php | + | * [http://asylum.acornarcade.com/g_docs.php Gamesuite Documentation] → [http://asylum.acornarcade.com/hamnotes.txt Hammer file format] |
== Software == | == Software == | ||
− | * [http://asylum.acornarcade.com/a_nobrainer.php nobrainer] | + | * [http://asylum.acornarcade.com/a_nobrainer.php nobrainer] (Includes RISC OS binary, and portable source code.) |
* [https://github.com/Treeki/RandomStuff/blob/master/hammer_decomp.py Hammer Decompressor] | * [https://github.com/Treeki/RandomStuff/blob/master/hammer_decomp.py Hammer Decompressor] | ||
== Sample files == | == Sample files == | ||
− | * | + | * {{DexvertSamples|archive/hammer}} |
+ | * [http://asylum.acornarcade.com/a_download.php Asylum] → [http://asylum.acornarcade.com/files/asy202.zip asy202.zip] → ... (e.g. AsyNu/!Asylum/!Id/{Brain,FSPAliens}) | ||
== Links == | == Links == |
Latest revision as of 14:48, 3 February 2024
Hammer (sometimes abbreviated HMR) is a compressed file format used by the RISC OS games Asylum and Oddball. The format and the games were developed by Andy Southgate.
Contents |
[edit] Identification
Files begin with ASCII "Hmr
", followed by a byte with value 0x00
or 0x01
.
Files with 0x01
at offset 3 use a slightly different compression scheme, and are apparently expected to decompress to a FastSpr sprite file.
[edit] Specifications
[edit] Software
- nobrainer (Includes RISC OS binary, and portable source code.)
- Hammer Decompressor
[edit] Sample files
- dexvert samples — archive/hammer
- Asylum → asy202.zip → ... (e.g. AsyNu/!Asylum/!Id/{Brain,FSPAliens})