MDS View
by Wolfgang Prinz, 2002


Intented to view a Return To Castle Wolfenstein
(see http://www.castlewolfenstein.com) MDS model file structually.
The file itself will not be changed by this tool.

USAGE:
(if you already know the MDC View, you can skip this section)
Start the Program. With the "Load New" button you will open
a dialog allowing to select a mds file. If the file is
successfully loaded, you can browse the file represented by a
Tree View.

HOW IT WORKS:
The complete MDS file is loaded into Virtual Memory. Then
the MDS file's internal Offsets are converted into pointers
in place, meaning that the 4 byte Offsets become 4 byte pointers
("in place conversion").
Finally, the MDS data is put into a TreeView Control for
display. The important thing is that it takes a long time to get
all (thousands) frames into the TreeView. Therefor single frames
are only TreeViewed when the user expands the corresponding root.
The "Done" button closes MDS View and releases all resources.

LITERATURE:
Completely based on Chris Cookson's MDS file format
(http://www.btinternet.com/~cjcookson/gmax/)

ORIGIN:
Wolfgang Prinz (wp@planetwolfenstein.com)
The MDC File (http://www.planetwolfenstein.com/themdcfile)
