Difference between revisions of "Other Games"

From A look inside The Link @ wiki
Jump to: navigation, search
(QSET is a question set)
m (Protected "Other Games" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
Myst and Riven aren't the only games to use the [[Mohawk archive format|Mohawk format]]. In fact, many Broderbund based games use it. Here is a (partial) list of games known to use it:
 
Myst and Riven aren't the only games to use the [[Mohawk archive format|Mohawk format]]. In fact, many Broderbund based games use it. Here is a (partial) list of games known to use it:
  
* Green Eggs and Ham
 
 
* In the 1st Degree
 
* In the 1st Degree
 
* James Discovers Math
 
* James Discovers Math
Line 9: Line 8:
 
* The Treehouse
 
* The Treehouse
 
* Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)
 
* Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)
 +
* Where in the USA is Carmen Sandiego?
 
* Where in the World is Carmen Sandiego? (Windows/Mac version)
 
* Where in the World is Carmen Sandiego? (Windows/Mac version)
 +
 +
In addition, various Living Books titles use the format or the [[Old Mohawk archive format|"old" Mohawk format]].
  
 
= Video =
 
= Video =
Line 52: Line 54:
 
=== Resources ===
 
=== Resources ===
 
==== ASET ====
 
==== ASET ====
Unknown. Stands for asset (they are found in ASEETLI1.MHK and ASSETLI2.MHK).
+
Unknown. Stands for asset (they are found in ASSETLI1.MHK and ASSETLI2.MHK).
  
 
==== ANSW ====
 
==== ANSW ====
Line 85: Line 87:
  
 
==== QUES ====
 
==== QUES ====
Question?
+
This is a question. It appears to hold data for the text as well as the sound clip associated with it.
 
+
==== TAPE ====
+
==== THST ====
+
==== THTR ====
+
==== WITN ====
+
Witness?
+
 
+
== Common Resources ==
+
 
+
==== tBMP ====
+
Game bitmaps. However, they are not the same as [[Riven tBMP resources|Riven tBMP's]]! Here's what I figured out so far:
+
  
 
(Big Endian Order)
 
(Big Endian Order)
  
 
{| class="structure"
 
{| class="structure"
|unsigned long||u0
+
|unsigned short||u0
 
|-
 
|-
|unsigned long||u1
+
|unsigned short||sound
 
|-
 
|-
|unsigned long||u2
+
|unsigned short||u1
 
|-
 
|-
|unsigned long||data_size
+
|unsigned short||u2
|-  
+
|-
|unsigned short||buffer_size
+
|unsigned short||u3
 +
|-
 +
|unsigned short||u4
 +
|-
 +
|unsigned short||u5
 +
|-
 +
|unsigned short||u6
 +
|-
 +
|unsigned short||u7
 +
|-
 +
|unsigned short||u8
 +
|-
 +
|unsigned short||u8
 +
|-
 +
|char *||string
 
|}
 
|}
  
Following this is ''data_size'' bytes. u0 and u1 are normally close. u2 and data_size are normally close. Following this seems to be LZSS compressed data using a buffer size of ''buffer_size'', perhaps similar to the encoding in [[Myst WDIB resources]].
+
* ''u0'' appears to always be 1. Possibly question count?
 +
* ''sound'' is the sound clip associated with this question.
 +
* ''u1'' is unknown. Always 0?
 +
* ''u2'' is unknown. Possibly the answer to this question?
 +
* ''u3'' is unknown. It's usually 2.
 +
* ''u4'' is unknown. It's usually 100.
 +
* ''u5'' is unknown. It's usually 100.
 +
* ''u6'' is unknown. It's usually 100.
 +
* ''u7'' is unknown. Always 0?
 +
* ''u8'' is unknown. Always 0?
 +
* ''u9'' is unknown. Possibly the answer to this question?
 +
* ''string'' is the null-terminated string representing text for this question.
  
This is the same in all non-Riven (and non-Myst) games.
+
==== TAPE ====
 +
==== THST ====
 +
==== THTR ====
 +
==== WITN ====
 +
Witness?
 +
 
 +
== Common Resources ==
 +
 
 +
==== tBMP ====
 +
All tBMP resources contain a [[Mohawk Bitmaps|Mohawk Bitmap]].
  
 
==== tWAV ====
 
==== tWAV ====
Line 120: Line 145:
  
 
==== tPAL ====
 
==== tPAL ====
This appears to be a palette. Here's what I've worked out so far. I believe this may be tied together with tBMH.
+
This is a palette. It is used outside of tBMP resources as a way to share palette information.
  
 
(Big Endian Order)
 
(Big Endian Order)
  
 
{| class="structure"
 
{| class="structure"
|unsigned short||u0
+
|unsigned short||color_start
 
|-
 
|-
 
|unsigned short||color_count
 
|unsigned short||color_count
 
|}
 
|}
  
Following that is ''color_count'' RGBA quads.
+
Following that is ''color_count'' RGBA quads. ''color_start'' is the index at which the RGBA quads start.
  
 
This is found in ''Where in the World is Carmen Sandiego?'', ''Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)'', ''Green Eggs and Ham'', ''In the 1st Degree'', and ''The Treehouse''.
 
This is found in ''Where in the World is Carmen Sandiego?'', ''Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)'', ''Green Eggs and Ham'', ''In the 1st Degree'', and ''The Treehouse''.
Line 166: Line 191:
  
 
==== tBMH ====
 
==== tBMH ====
This appears to be identical to the tBMP resources found in these games. I believe this may be tied together with tPAL. I also think this may be sprites. The characters in Carmen Sandiego use different palettes on the same sprites to make the look of the person appear different. For example, the palette could change to change hair color, skin color, and clothing.
+
These appear to also contain a [[Mohawk Bitmaps|Mohawk Bitmap]].
  
 
This is found in ''Where in the World is Carmen Sandiego?'', ''Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)'', ''Green Eggs and Ham'', and ''The Treehouse''.
 
This is found in ''Where in the World is Carmen Sandiego?'', ''Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)'', ''Green Eggs and Ham'', and ''The Treehouse''.
Line 241: Line 266:
  
 
==== SYSX ====
 
==== SYSX ====
This appears to be a list of Adlib MIDI commands. There are only two resources in Zoombini (which are found in MIDIMAP.DAT) and are 1 or 0xFFFF. They are identical. In the 1st Degree has several more in MIDIMAP.DAT.
+
This appears to be a list of MIDI Sysex's. There are only two resources in Zoombini (which are found in MIDIMAP.DAT) and are 1 or 0xFFFF. They are identical. In the 1st Degree has several more in MIDIMAP.DAT.
 +
 
 +
==== BMAP ====
 +
All BMAP resources contain a [[Mohawk Bitmaps|Mohawk Bitmap]].
 +
 
 +
==== WAV ====
 +
(Note that the FourCC ends with a space)
 +
 
 +
There are two variants of the format, one in little endian and one in big endian. You can tell the difference just by looking at the header tag.
 +
 
 +
{| class="structure"
 +
|2 bytes||tag
 +
|-
 +
|unsigned short||sample_rate
 +
|-
 +
|10 bytes||u0
 +
|-
 +
|unsigned long||sample_size
 +
|}
 +
 
 +
* ''tag'' is '''Wv''' ('''vW''' if little endian).
 +
* ''sample_rate'' is the sample rate, usually 11127.
 +
* ''u0'' has only been observed as all zeroes, but this is likely analogous to the loop part of the [[Mohawk Sounds|Mohawk sound resource]].
 +
* ''sample_size'' is the size of the sample, usually the rest of the resource
 +
 
 +
Following this is ''sample_size'' bytes of raw, unsigned, 8-bit PCM data.
 +
 
 +
==== CTBL ====
 +
Unknown, possibly color table?

Latest revision as of 21:51, 19 November 2011

Myst and Riven aren't the only games to use the Mohawk format. In fact, many Broderbund based games use it. Here is a (partial) list of games known to use it:

  • In the 1st Degree
  • James Discovers Math
  • James Explores Math
  • Logical Journey of the Zoombinis (aka Zoombinis Logical Journey)
  • Maggie's Barnyard Adventure
  • The Treehouse
  • Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)
  • Where in the USA is Carmen Sandiego?
  • Where in the World is Carmen Sandiego? (Windows/Mac version)

In addition, various Living Books titles use the format or the "old" Mohawk format.

Video

All the videos of the original games are QuickTime movies. The later Zoombinis release has Bink videos instead.

The audio codec is raw, signed, 16-bit data in Big Endian format. The video codec, however, is not standard. It has the FourCC 'QkBk' and has description "CDToons". Neither QuickTime nor mplayer/ffmpeg can play this codec and its format is unknown. Some videos still use Cinepak (like "The Chief" videos in Carmen Sandiego).

Game Specific Information

James Discovers/Explores Math

Resources

tANM

Animation?

tMFO

Logical Journey of the Zoombinis

Resources

\0SND

These are Mohawk Sounds. Note that they begin with a NULL character.

CURS

Cursor?

SCRB

SCRS

NODE

PATH

SHPL

Maggie's Barnyard Adventure

Resources

tCUR

Cursor?

In the 1st Degree

Resources

ASET

Unknown. Stands for asset (they are found in ASSETLI1.MHK and ASSETLI2.MHK).

ANSW

Answer?

CLIP

Video clip?

GADG

Gadget?

MBAR

Menu bar?

MENU

Menu?

MITM

QSET

This is a question set. This links questions together into sort of like a dialogue tree.

(Big Endian Order)

unsigned short count
unsigned short values[count]
  • count is the amount of values the follow.
  • values is an array which is probably a list of QUES/ANSW (need to check).

QUES

This is a question. It appears to hold data for the text as well as the sound clip associated with it.

(Big Endian Order)

unsigned short u0
unsigned short sound
unsigned short u1
unsigned short u2
unsigned short u3
unsigned short u4
unsigned short u5
unsigned short u6
unsigned short u7
unsigned short u8
unsigned short u8
char * string
  • u0 appears to always be 1. Possibly question count?
  • sound is the sound clip associated with this question.
  • u1 is unknown. Always 0?
  • u2 is unknown. Possibly the answer to this question?
  • u3 is unknown. It's usually 2.
  • u4 is unknown. It's usually 100.
  • u5 is unknown. It's usually 100.
  • u6 is unknown. It's usually 100.
  • u7 is unknown. Always 0?
  • u8 is unknown. Always 0?
  • u9 is unknown. Possibly the answer to this question?
  • string is the null-terminated string representing text for this question.

TAPE

THST

THTR

WITN

Witness?

Common Resources

tBMP

All tBMP resources contain a Mohawk Bitmap.

tWAV

This is a Mohawk Sounds resource. (Found in all but Logical Journey of the Zoombinis)

tPAL

This is a palette. It is used outside of tBMP resources as a way to share palette information.

(Big Endian Order)

unsigned short color_start
unsigned short color_count

Following that is color_count RGBA quads. color_start is the index at which the RGBA quads start.

This is found in Where in the World is Carmen Sandiego?, Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure), Green Eggs and Ham, In the 1st Degree, and The Treehouse.

tCNT

Unknown. The data size is always 4 and follows this format:

(Big Endian Order)

unsigned short resource_id
unsigned short u0

resource_id appears to always equal the tCNT that this belongs to.

This is found in Where in the World is Carmen Sandiego?, Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure), James Discovers Math, Green Eggs and Ham, In the 1st Degree, and James Explores Math.

tSCR

Unknown.

This is found in Where in the World is Carmen Sandiego?, Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure), Green Eggs and Ham, and The Treehouse.

STRL

This is a string list.

byte string_count

Following that is string_count NULL-terminated strings. This seems reminiscent of Riven's NAME resources.

This is found in Logical Journey of the Zoombinis, Where in the World is Carmen Sandiego?, and Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure).

tBMH

These appear to also contain a Mohawk Bitmap.

This is found in Where in the World is Carmen Sandiego?, Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure), Green Eggs and Ham, and The Treehouse.

tMID

This is a Mohawk MIDI resource.

This is found in Logical Journey of the Zoombinis, James Discovers Math, James Explores Math, In the 1st Degree, and The Treehouse.

REGS

Unknown.

This is found in Logical Journey of the Zoombinis, Green Eggs and Ham, and The Treehouse.

BYTS

This appears to be able to hold multiple things. In DATABASE.MHK, it holds database entries (one large null-terminated string), but elsewhere it appears to be something else.

This is found in Where in the World is Carmen Sandiego? and Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure).

INTS

Unknown.

This is found in Where in the World is Carmen Sandiego? and Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure).

BBOX

Some sort of boxes? It follows this format:

(Big Endian Order)

byte rect_count

And then, it has rect_count rects:

unsigned short left
unsigned short top
unsigned short right
unsigned short bottom

This is found in Where in the World is Carmen Sandiego? and Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure).


ANI

Animation? (Note: Ends in a space character)

This is found in Maggie's Barnyard Adventure and Green Eggs and Ham.

BITL

This is found in Maggie's Barnyard Adventure and Green Eggs and Ham.

SCRP

This is found in Maggie's Barnyard Adventure and Green Eggs and Ham.

SPR#

Sprites? This is found in Maggie's Barnyard Adventure and Green Eggs and Ham.

VRSN

Version?

In Green Eggs and Ham, it contains these two bytes:

00 02

This is found in Maggie's Barnyard Adventure and Green Eggs and Ham.

SHP#

This is found in Maggie's Barnyard Adventure and Green Eggs and Ham.

SYSX

This appears to be a list of MIDI Sysex's. There are only two resources in Zoombini (which are found in MIDIMAP.DAT) and are 1 or 0xFFFF. They are identical. In the 1st Degree has several more in MIDIMAP.DAT.

BMAP

All BMAP resources contain a Mohawk Bitmap.

WAV

(Note that the FourCC ends with a space)

There are two variants of the format, one in little endian and one in big endian. You can tell the difference just by looking at the header tag.

2 bytes tag
unsigned short sample_rate
10 bytes u0
unsigned long sample_size
  • tag is Wv (vW if little endian).
  • sample_rate is the sample rate, usually 11127.
  • u0 has only been observed as all zeroes, but this is likely analogous to the loop part of the Mohawk sound resource.
  • sample_size is the size of the sample, usually the rest of the resource

Following this is sample_size bytes of raw, unsigned, 8-bit PCM data.

CTBL

Unknown, possibly color table?