Tools for extracting data from Media Station, Inc. CD-ROM titles (including Disney's Animated Storybook)
Reason this release was yanked:
Wrong verison number specified by accident.
Project description
Media Station
A Python-based asset extractor and very incomplete bytecode decompiler for Media Station, Inc. CD-ROM children's titles. I loved many of these when I was growing up.
Please join me in preserving these top-quality children's titles for future generations!
Installation
Get it on PyPI: pip3 install MediaStation
Usage
Installing the PyPI package also installs a MediaStation
script that can be invoked from the command line as follows:
# Input directory Export directory
# ................. ...................
MediaStation ~/DALMATIANS/DATA ~/DalmatiansExtract
Known Titles
See and contribute to the updated list on this projects's wiki!
File Formats
All the data files for known titles are stored in the data/
subdirectory on the CD-ROM. These seem to be the same across the Windows and Mac versions. Some titles have additional files than these (like Tonka Garage, which has some Direct3D models for the car design activity), but these are the known files and formats unique to the Media Station engine.
Media Station titles have these types of files:
- Context files (
*.CXT
) - Title definition file (
BOOT.STM
) - Profile (
PROFILE._ST
) - ONLY non-OG titles.
Each context file generally contains all the assets (and, depending on the version, the scripts) necessary to render one screen of the game. Since the format seems to have been originally designed for Disney's Interactive Storybook, this makes sense.
Context Files
- A context file contains one or more subfiles, which are each complete and (almost) standard
RIFF
s. - Each subfile inside a context file contains one or more (almost) standard
RIFF
_chunk_s.igod
: Indicates a chunk that contains metadata about asset(s) in metadata sections.a000
, where000
is a string that represents a 3-digit hexadecimal number: Indicates a chunk that contains actual asset data (mainly sounds and bitmaps) with lower-level metadata in metadata sections.
- Each chunk can contain the following:
- One or more metadata sections.
- Raw asset data (PCM audio or RLE-compressed bitmaps).
- Each metadata section contains one or more _datum_s.
- Each datum contains a "primitive" data type (integer, string, etc.)
Title Definition (System) File
Also known as the "system" file. Contains metadata sections with global title information like the following:
- Title compiler version.
- Declarations of each context file.
- File offsets of all subfiles in all context files.
- Declarations of cursors stored as resources in the executable.
Profile
When present, contains a human-readable enumeration of metadata like the following:
- All the assets in the title, along with the IDs and chunk FourCC(s) for that asset.
- Declarations of the variables, constants, cursors, and so forth used in the game.
This doesn't seem to be opened/read by the executables at all while the titles are running. But there is a ton of useful cross-checking info in here.
Motivation
I re-discovered these titles when I was finding Director titles for the ScummVM Director
engine at GSoC 2020. Coincidentally, the main data file extension (*.CXT
) used in Media
Station titles is the same as that used for protected Director cast archives. I quickly
discovered these weren't Director titles but something completely different - and so this
project was born to preserve them.
Engine History
Coming soon! For now, the Disney's Animated Storybook article has great background on the early titles, sourced largely from Newton Lee's books.
Future Enhancements
- The bytecode decompiler needs a ton of work.
- Some script data seems to be stored in the executables. That should be extracted.
- Write a wikipedia article about the defunct Michigan-based company Media Station, Inc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file MediaStation-0.0.0.tar.gz
.
File metadata
- Download URL: MediaStation-0.0.0.tar.gz
- Upload date:
- Size: 74.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5c7e900ac4f875810798c1488750895bf2e421c993c8e20bd4976e8c7b71bda |
|
MD5 | bd203ff4eb3d5c23f9d7508884e0aa03 |
|
BLAKE2b-256 | e37b8ae5003d547cf65bbdce35d7e76b37cf110f85b7c8e0544f64a8a873be61 |
Provenance
File details
Details for the file MediaStation-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: MediaStation-0.0.0-py3-none-any.whl
- Upload date:
- Size: 71.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8dd1aabc6708e20328b54e3cb5fa6a6bffd3b120b51ebef6d108904f962c8e |
|
MD5 | 6b479444344d052eaa98a52a9ff56008 |
|
BLAKE2b-256 | 701de8d0c8d479152a72049d83cc3b866c8e65c72a4ef0a8e44a44b255cc7c28 |