Other Games

From A look inside The Link @ wiki
Revision as of 21:51, 19 November 2011 by TitoDalCanton (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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?