Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Sound text files

From TWC Wiki
Revision as of 07:31, 2 May 2007 by Beiss (talk | contribs) (Loading)
Jump to navigationJump to search

(This entire article and the procedures and instructions contained are intended for application on M2TW 1.1 only.)

The sound text files are used to edit the sound in M2TW. They contain paths and usage instructions for each of the samples in the game, and are indispensable when modding sound and music in M2TW. In their final form, they make up the currently non-extractable (using Vercingetorix IDX unpacker) events archive in the data\sounds subfolder inside the M2TW install folder, as well as file lists for the Music, SFX and Voice archives. As they cannot be extracted from events.dat, an archive containing the sound text files is available here.

Usage

The sound text files available in the above available archive are to be extracted into the data subfolder inside the M2TW install folder, where they are then edited in any text editor to fit the modder's needs.

List of files

Below is a list of all of the sound text files. Click a filename to read detailed information and usage instructions for a file.

Loading

Note that the sound text files cannot be loaded by using any special commands such as file_first.io. Instead, the game will, upon launch (i.e. by running medieval2.exe), detect whether a valid events archive exists in the data\sounds subfolder.

If one exists, and is valid, the sound text files will be ignored.

If one exists, but is invalid (such as one created using Vercingetorix IDX extractor), or is missing altogether, the game will create a new events archive using the sound text files. Similarily, no changes will be made to valid Music, SFX and Voice archives.

In order to make changes any of the archives, they must be renamed or moved to another folder so the game can't find them upon launch. If the game tries to build new archives, but the sound text files are missing, the result will be 1kB archives and no sound in the game. Note that this will never happen if valid archives are present in the data\sounds folder.

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.