Difference between revisions of "Other Games"
(→tBMH: Mohawk Bitmap here too :P) |
(→tPAL: complete the tPAL specification) |
||
Line 144: | Line 144: | ||
==== tPAL ==== | ==== tPAL ==== | ||
− | This is a palette | + | 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|| | + | |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''. |
Revision as of 21:52, 17 August 2009
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:
- Green Eggs and Ham
- 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)
Contents
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 ASEETLI1.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:
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 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.