Difference between revisions of "User:Eientei/The Dame is Loaded"

From ScummVM :: Wiki
Jump to navigation Jump to search
m
m
 
Line 39: Line 39:


File listings of [https://cdn.discordapp.com/attachments/640161375896731658/986463751203069994/CD1.txt CD1.GOB] and [https://cdn.discordapp.com/attachments/640161375896731658/986463751442141194/CD1MOV.txt CD1MOV.GOB].
File listings of [https://cdn.discordapp.com/attachments/640161375896731658/986463751203069994/CD1.txt CD1.GOB] and [https://cdn.discordapp.com/attachments/640161375896731658/986463751442141194/CD1MOV.txt CD1MOV.GOB].
==Misc==
* Philip Mitchell is credited as the lead CD-i programmer but a CD-i version wasn't released
* <code>CDSTART.EXE</code> is a Win16 Director 5 projector, but it is empty, so does nothing when ran

Latest revision as of 00:54, 16 June 2022

Movies and images are in a custom "SIFF" format (IFF-based, big endian).

GOB files

GOB files on the CDs have a TOC at the end of the file. Last 4 bytes are the number of entries in the table, each entry is 20 bytes in size, little endian:

0-12  filename null padded
13-16 offset
17-20 size

Python script to print out the TOC

from struct import unpack
from sys import argv

f = open(argv[1], 'rb')
f.seek(-4, 2)
num_entries, = unpack('<I', f.read(4))
f.seek((num_entries * -0x14) - 4, 1)
for _ in range(num_entries):
	fname, off, flen = unpack('<12sII', f.read(0x14))
	pos = f.tell()
	fname = fname.decode("ascii").strip("\0")
	print(f'{off:08x}\t{flen:08x}\t{fname}')
	_ = f.seek(pos)

Files

File extensions and their internal type:

1-49    HOTB
FCP     FCPK
PAN/PIM PXAN
SON     SOUN
SPR     PXAN

NTPD.ENC is "encrypted" using Caesar shift -5 (excluding \n !"#$&'(),-./?)

File listings of CD1.GOB and CD1MOV.GOB.

Misc

  • Philip Mitchell is credited as the lead CD-i programmer but a CD-i version wasn't released
  • CDSTART.EXE is a Win16 Director 5 projector, but it is empty, so does nothing when ran