Since I had nothing better to do this week I decided to finally add Digital Pictures SGA decoding support to NihAV
. While there are many different formats described in The Wiki, I’ve decided to play only those not described there (namely $81
/$8A
, $85
, $86
and $89
).
In my previous post on this matter I mentioned that the formats I took interest in are using 8×8 tiles that may be subdivided into 8×4 or 4×4 parts and filled with several colours using a predefined pattern (or an arbitrary one for 8×8 tile if requested) plus some bits to select one of two possible colours for each tile pixel. The main difference between $81
/$8A
scheme and the others is that it codes all data in the same bitstream while the later versions split colours and opcode+pattern bits into two separate partitions (maybe they had plans for compressing it?) plus they store audio data inside the frame.
And here are some notes on the games (I think most of those are PC or Macintosh ports but it’s possible the same files were used in console versions of some of those games as well):
- Double Switch—this one uses
$81
compression (in still images, cutscenes embed them along with$A2
audio in$F1
chunks); - Quarterback Attack—this one uses
$8A
compression in$F9
chunks; - Night Trap—
$85
compression and megafiles (i.e. almost all cutscenes are stored in singleNTMOVIE
file that require some external index to access them). Also the PC release had a short documentary about the moral panic around that game (in the same format of course; in two resolutions even); - Corpse Killer—
$86
compression and one megafile for all cutscenes; - Supreme Warrior—
$89
compression, one megafile and no frame dimensions given. For most of the cutscenes it’s 256×160 but at the end (logo and maybe something else) it’s different. Additionally there are two audio tracks: some audio chunks contain twice as much data (and have high bit of size set), in that case the first half corresponds to English speech and the second half is Chinese; otherwise it’s the same for both versions (e.g. background music, fighters grunting, sound effects and so on).
Overall, it was an interesting experience even if I don’t care about the games themselves.