UnnamedCharacter
Captain
Yeah the file extensions are the same, but the file format is completely different. I have started looking into them and I am planning on adding extraction support for these in the near future.
Type WCToolsCmd WC3:PC:Help <command> for command line description.
Commands:
WC3:PC:ExtractAudio Extracts the audio from a profile sound (IFF) file.
WC3:PC:ExtractFrame Extracts all the frames from a movie (MVE) file.
WC3:PC:ExtractMovie Extracts all the videos from a movie (MVE) file.
WC3:PC:ExtractPack Extracts all the packets from a pack (PAK) file.
WC3:PC:ExtractPalette Extracts an image from a palette (PAL) file.
WC3:PC:ExtractShape Extracts all the images from a shape (SHP) file.
WC3:PC:ExtractSubtitle Extracts all the subtitles from a movie (MVE) file.
WC3:PC:ExtractTree Extracts all the files from a tree (TRE) archive.
WC3:PC:MakePack Creates a pack (PAK) file from imported files.
WC3:PC:UnmakePack Reverses a pack (PAK) file into extracted files.
Type WCToolsCmd WC3:3DO:Help <command> for command line description.
Commands:
WC3:3DO:ExtractBundle Extracts all the files from a bundle (BUN) archive.
WC3:3DO:ExtractStream Extracts all the files from a stream (STR) archive.
Extracts all the files from a stream (STR) archive.
WCToolsCmd WC3:3DO:ExtractStream source [destination] [-HashMappingFile:text]
source Specifies the stream file to extract from.
destination Specifies the directory for the extracted files.
-HashMappingFile Specifies the text file to use for resolving file name hashes.
HOBBES.IFF-Radio0000.WAV
HOBBES.IFF-Radio0001.WAV
HOBBES.IFF-Radio0002.WAV
HOBBES.IFF-Radio0003.WAV
HOBBES.IFF-Radio0004.WAV
...
a1spfei1.tai
a1spfei2.tai
a2spfrl1.tai
a2spfrl2.tai
a3spfrl1.tai
...
wc3\movies\sc_200.mov
wc3\movies\sc_201.mov
wc3\movies\sc_202.mov
wc3\movies\sc_203.mov
wc3\movies\sc_205.mov
...
wc3\objects\3DOLASER.IFF
wc3\objects\3DOMASS.IFF
wc3\objects\3DONEUT.IFF
wc3\objects\ARROW.IFF
wc3\objects\ARROW.TXM
wc3\objects\ASTFIGHT.IFF
wc3\objects\ASTFIGHT.TXM
...
I don't know if the formats between the PC and 3DO are compatible; although they do seem similar. I am not familiar with the 3D meshes for the PC version so perhaps someone with more knowledge can answer.
Does this mean we can read the WC3 3DO meshes? I'm really interested in studying them more closely (and getting them into a 3D viewer for the site!)
You mentioned 3DO str files, what about psx str files?
The WC3 (and 4) IFFs all have the textures in a TXMS block with individual textures in TXMP chunks which all start with the actual texture name. The 3DO version seems to have simplified the object list significantly with a lot less objects and textures and everything just seems more basic at a glance. There doesn't seem to be separate debris objects and so on. Most objects on the 3DO only seem to have a single texture per object whereas there's often multiple textures per PC version of the same object. The 3DO version does seem to have at least 2 different LODs baked into the object mess file IFF.I had a quick look at them, everything except the textures seems to be the same. Whereas on PC the texture data is baked into the object iff here there is a seperate .TXM file. I could probably export the untextured models for you if that is useful, I don't know when I could get around to investigating the .TXM's.
Sadly the same is not true for the missions, I can't see any similarities between them and and the PSX/ PC versions so little hope of any integration there.
The WC3 (and 4) IFFs all have the textures in a TXMS block with individual textures in TXMP chunks which all start with the actual texture name. The 3DO version seems to have simplified the object list significantly with a lot less objects and textures and everything just seems more basic at a glance. There doesn't seem to be separate debris objects and so on. Most objects on the 3DO only seem to have a single texture per object whereas there's often multiple textures per PC version of the same object. The 3DO version does seem to have at least 2 different LODs baked into the object mess file IFF.
Most of the 3DO textures have '3DOT' at the start of the file and only have what looks like one big image chunk. It doesn't look at a glance like it's the same as the CEL format but I honestly don't really know what I'm doing. The textures definitely don't seem interchangeable though and don't even have the same naming system as the PC version.
I'm trying to interface with the data files using C on some non-Windows platforms.
I agree. I took a quick look at the data, and using the Arrow as an example, the textures are broken-up into 60 files.
FORM.REAL
FORM.APPR
FORM.POLY
FORM.TXMS
INFO
StaticTextureCount: 60
AnimatedTextureCount: 0
FORM.QUAD
MAPS
Face Texture Mappings
---- ------- -------------------------------
0 0 0, 0 15, 0 15, 15 0, 15
1 1 0, 0 15, 0 15, 15 0, 15
2 2 0, 0 15, 0 15, 15 0, 15
3 3 0, 0 15, 0 15, 15 0, 15
4 4 0, 0 31, 0 31, 31 0, 31
5 5 0, 0 15, 0 15, 15 0, 15
6 6 0, 0 15, 0 15, 15 0, 15
7 7 0, 0 31, 0 31, 31 0, 31
8 8 0, 0 15, 0 15, 15 0, 15
9 9 0, 0 15, 0 15, 15 0, 15
10 10 0, 0 15, 0 15, 15 0, 15
...
121 55 0, 0 15, 0 15, 31 0, 31
122 56 0, 31 0, 0 15, 0 15, 31
123 57 0, 0 15, 0 15, 31 0, 31
124 58 0, 0 15, 0 15, 31 0, 31
125 59 0, 0 15, 0 15, 31 0, 31
126 53 0, 0 15, 0 15, 31 0, 31
127 50 0, 31 0, 0 15, 0 15, 31
128 51 0, 0 0, 15 15, 15 15, 0
129 52 0, 0 0, 31 15, 31 15, 0
130 51 0, 0 0, 15 15, 15 15, 0
This sounds interesting, what are you doing?