Difference between revisions of "Other Games"

From A look inside The Link @ wiki
Jump to: navigation, search
(adding page for other Mohawk games)
 
m (Protected "Other Games" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(17 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:
  
 +
* In the 1st Degree
 
* James Discovers Math
 
* James Discovers Math
 
* James Explores Math
 
* James Explores Math
Line 7: 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 =
 +
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 ==
 
== James Discovers/Explores Math ==
Line 32: Line 43:
 
==== PATH ====
 
==== PATH ====
 
==== SHPL ====
 
==== SHPL ====
==== SYSX ====
 
This appears to be a list of Adlib MIDI commands. There are only two resources in the game (which are found in MIDIMAP.DAT) and are 1 or 0xFFFF. They are identical.
 
  
  
Line 42: Line 51:
 
Cursor?
 
Cursor?
  
==== BITL ====
+
== In the 1st Degree ==
==== SCRP ====
+
=== Resources ===
==== SPR# ====
+
==== ASET ====
Sprites?
+
Unknown. Stands for asset (they are found in ASSETLI1.MHK and ASSETLI2.MHK).
  
==== VRSN ====
+
==== ANSW ====
Version?
+
Answer?
  
==== ANI ====
+
==== CLIP ====
Animation? (Note: Ends in a space character)
+
Video clip?
  
==== SHP# ====
+
==== GADG ====
 +
Gadget?
  
 +
==== MBAR ====
 +
Menu bar?
  
== Common Resources ==
+
==== MENU ====
==== tBMP ====
+
Menu?
Game bitmaps. However, they are not the same as [[Riven tBMP resources|Riven tBMP's]]! Here's what I figured out so far:
+
 
 +
==== MITM ====
 +
==== QSET ====
 +
This is a question set. This links questions together into sort of like a dialogue tree.
  
 
(Big Endian Order)
 
(Big Endian Order)
  
 
{| class="structure"
 
{| class="structure"
|unsigned long||u0
+
|unsigned short||count
 
|-
 
|-
|unsigned long||u1
+
|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)
 +
 
 +
{| class="structure"
 +
|unsigned short||u0
 
|-
 
|-
|unsigned long||u2
+
|unsigned short||sound
 
|-
 
|-
|unsigned long||data_size
+
|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
 
|}
 
|}
  
Following this is ''data_size'' - 12 bytes. u0 and u1 are normally close. u2 and data_size are normally close.
+
* ''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 80: Line 145:
  
 
==== tPAL ====
 
==== tPAL ====
This appears to be a palette. Here's what I've worked out so far.
+
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)'', 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''.
  
 
==== tCNT ====
 
==== tCNT ====
Line 107: Line 172:
 
''resource_id'' appears to always equal the tCNT that this belongs to.
 
''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'', and ''James Explores Math''.
+
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 ====
 
==== tSCR ====
 
Unknown.
 
Unknown.
  
This is found in ''Where in the World is Carmen Sandiego?'', ''Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)'', 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''.
  
 
==== STRL ====
 
==== STRL ====
Line 126: Line 191:
  
 
==== tBMH ====
 
==== tBMH ====
This appears to be identical to the tBMP resources found in these games.
+
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)'', 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''.
  
 
==== tMID ====
 
==== tMID ====
 
This is a [[Mohawk MIDI]] resource.
 
This is a [[Mohawk MIDI]] resource.
  
This is found in ''Logical Journey of the Zoombinis'', ''James Discovers Math'', ''James Explores Math'', and ''The Treehouse''.
+
This is found in ''Logical Journey of the Zoombinis'', ''James Discovers Math'', ''James Explores Math'', ''In the 1st Degree'', and ''The Treehouse''.
  
 
==== REGS ====
 
==== REGS ====
 
Unknown.
 
Unknown.
  
This is found in ''Logical Journey of the Zoombinis'', and ''The Treehouse''.
+
This is found in ''Logical Journey of the Zoombinis'', ''Green Eggs and Ham'', and ''The Treehouse''.
  
 
==== BYTS ====
 
==== BYTS ====
Line 172: Line 237:
  
 
This is found in ''Where in the World is Carmen Sandiego?'' and ''Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)''.
 
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:
 +
<div align="center" style="color:#008; font-family:monospace; margin:1em">00 02</div>
 +
 +
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 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?