WC3 Audio - Converting Language files

If this is related to what you've been talking about elsewhere, unfortunately I don't think the tools exist to pull Japanese speech from a Japanese copy of WC3 and repack it for English WC3. At best I expect it would be a massive amount of work - I don't think anyone's attempted anything similar with WC3, so there may be roadblocks I'm not aware of...

As it stands, Originator is an explorer - it can unpack and export, it can't edit/repack. Perhaps one day, I only have vague plans for it, and definitely no timelines. I'm not aware of any tools which can fully repack WC3 TREs, I'm not sure if WCToolbox can do it - the whole hashing system complicates things, apart from having to write encoders for all the various formats/compression algorithms within.

To do anything useful with most IFFs in Originator, you'll have to load the game you're interested in. It should detect copies from GOG and EA, but for others you'll have to go App -> Configuration and set the path to the game manually. Then go (for instance) App -> Load Data -> PC Games -> Wing Commander III - then just browse through. The various parts of the IFF can be exported manually once you find them (e.g. via Chunk -> Export to WAV for supported audio chunks). Note that currently only English WC3 is properly supported; others should work but the hash tables will be incomplete/missing, so files in TREs may only show their hash, not the proper filename (since the names aren't stored anywhere). I need to compute supplemental tables for the other versions - at least the ones I have - I just haven't gotten around to it.
 
As it stands, Originator is an explorer - it can unpack and export, it can't edit/repack. Perhaps one day, I only have vague plans for it, and definitely no timelines. I'm not aware of any tools which can fully repack WC3 TREs, I'm not sure if WCToolbox can do it - the whole hashing system complicates things, apart from having to write encoders for all the various formats/compression algorithms within.

I haven't tested it but I believe WCToollbox does have some repackaging ability, but I think as you surmised it likely would still lead to some kind of incompatibility with the actual games

There's also the treefile.exe program on the prophecy/so dev CDs that can take files and make them into TRE files. It's unclear to me how you would even set it up in a way the game would even recognize the file at all. (though there is a source file for trefile in the 'makebitm' folder

However.... if you can find the name for the internal wav files needed, there' is a wav2iff program included as well on the disk. If you knew the name it's possible you could get the game to recognize the wav files or IFFs in a folder similar to how the movie patch works.
Again this stuff was for prophecy era games and made of win95 at best so it's usefulness is probably limited to someone reverse engineering this stuff for a new project. A lot of these need to run in non 64bit windows for starters They're still somewhat interesting as I've used treex to explode tre files and VIFF for quick visual inspection of IFF files
 
There's also the treefile.exe program on the prophecy/so dev CDs that can take files and make them into TRE files. It's unclear to me how you would even set it up in a way the game would even recognize the file at all. (though there is a source file for trefile in the 'makebitm' folder

However.... if you can find the name for the internal wav files needed, there' is a wav2iff program included as well on the disk. If you knew the name it's possible you could get the game to recognize the wav files or IFFs in a folder similar to how the movie patch works.
Again this stuff was for prophecy era games and made of win95 at best so it's usefulness is probably limited to someone reverse engineering this stuff for a new project. A lot of these need to run in non 64bit windows for starters They're still somewhat interesting as I've used treex to explode tre files and VIFF for quick visual inspection of IFF files
Let's say the WAV files are correspond 00000001.IFF-Radio0000.wav, 00000001.IFF-Radio0001.wav, what kind of batch files I would require to recompile using the wav2iff program? Would the batch file in XMF format extension?
 
Prophecy and WC3 use totally different audio codecs and TRE formats, there's virtually no overlap at all I'm afraid. Origin/EA commonly reused the names of formats while their internals could be pretty much entirely different across different games.
 
Creating the IFF itself isn't the main problem, the main problems (that I know of) are encoding the audio chunks in the correct WC3 PCM formats with the correct headers, then repacking a valid WC3 TRE.
 
If you're asking me, I have no idea; I've never used it. Doesn't XMIFF come from Prophecy as well?

Anyway this really belongs in its own topic as it's not related to Originator at all anymore...
 
Back
Top