Guide: Using XCC Mod Creator


Requirements

You will need XCC Mixer, XCC Mod Creator, Command & Conquer: Tiberian Sun or Red Alert 2.
You can download the XCC utilities from http://xhp.xwis.net/.


Description

XCC Mod Creator can be used to create and distribute Mods for Tiberian Sun and Red Alert 2. It's an utility to assemble a Mod. It's not an all-in-one editor. All files that are part of a Mod are inserted in a certain category. The Mod can be exported to a XCC Mod Launcher file (XMLF), which can be used by XCC Mod Launcher. Strong compression is used for XMLF.


Categories

CategoryDescription
cameoThe cameos/icons in SHP (TS) format.
hva
iniThe INI files.
mapThe maps of your Mod, if any. Use the XMMF format for better compression.
mixIf your Mod needs to use files in other MIXs then ecache##.mix or expand##.mix, insert those MIXs here. Those MIXs will be inserted into expand##.mix. This shouldn't be necessary and if it is, please send me an email.
screenThe customized loading screens for your Mod in 24-bit PCX (TS) or SHP (RA2) format.
shp
soundThe non-EVA audio in AUD (TS) or WAV (RA2) format. For RA2, those WAVs are inserted into audio.bag/idx.
speechThe EVA audio in AUD (TS) or WAV (RA2) format.
string tableThe string table in CSF or TXT format. This category is not used for TS.
themeThe music in AUD (TS) or WAV (RA2) format.
videoThe video in VQA (TS) or BINK (RA2) format.
vxl
launcherIf you want to customize the look of the launcher, use this category. You can insert 24-bit JPEGs. Possible filenames: banner.jpeg, xhp_button.jpeg, exit_button.jpeg, update_button.jpeg, site_button.jpeg, mod_button.jpeg and manual_button.jpeg. The width of the JPEGs should be dividable by four.
You can also use an intro tune by inserting a short OGG as intro.ogg
manualThe documentation of your Mod. This will be accesible via the Manual button. It will be extracted to a temporary directory. If a file with the title index (index.chm, index.exe, index.html) exists it will be executed, otherwise the directory will be opened.
interfaceThe customized interface elements (buttons, etc).
tmp


Additinal formats

Some additional file formats are supported, either for better compression or for easier editing. 24-bit JPEG files can be used instead of 24-bit PCX files. OGG files can be used instead of AUD (TS) or WAV (RA2) files. 8-bit PCX files can be used instead of SHP files for the cameo and screen (RA2) categories.

TXT files can be used for the string table category.

theme:hell226m=Hell March

OGG Vorbis is a professional audio encoding and streaming technology. It provides better compression/quality than MP3. AUD and WAV files used by TS and RA2 at 22050 hz, 16-bit mono have a bitrate of 86 kbit/s. Stereo WAVs used by RA2 have a bitrate of 172 kbit/s. OGG files can be used with bitrates as low as 40 kbit/channel/s. This means the compression is more than twice as good.


Open

You can open files by using the open option in the popup menu. The file extension needs to be associated with an application.

Explore

You can explore the directory of a file by using the explore option in the popup menu.

Insert

You can insert files by dragging a file from Windows Explorer to XCC Mod Creator. Be sure to select the right category first. Files can also be inserted one at a time by using the insert option in the popup menu.

Delete

You can delete files by using the delete option in the popup menu.

Properties

You can define the mode and module for each file. Modes allow the user to play the mod in different modes. Only files attached to the base mode and the chosen mode are inserted when the mod is activated. Modules allow the mod to be split up in multiple XMLFs.


Activate

This activates the Mod by copying all files to the game directory. Most files are inserted into ecache98.mix or expand98.mix.

Launch

This activates the Mod and launches the game, but does not deactivate the Mod after the game ends.

Deactivate

This deactivates the Mod by deleting all Mod files from the game directory.

Clear game directory

This deletes the following files from the game directory: ai.ini, art.ini, audio.bag, audio.idx, ecache*.mix, elocal*.mix, expand*.mix, ra2.csf, rules.ini, sound.ini, ui.ini.

Options

This allows you to edit some options of your Mod.

Report

This generates a HTML report of the contents of your Mod. Some check, like wrong file type, are made.


Name

The name of the creator of the Mod.

Link

A link to the web site of the Mod. This is used for the Site button.

Mod name

The name of the Mod. This is used for the caption of XCC Mod Launcher.

Game

The game for which the Mod is created. This is used when the Mod is activated.

Mod version

The version of the Mod. This is used for the version check.

Mod update control file

The URL of the update control file that's used for the version check and auto update. The update control file should contain a line like the line below. The line contains the Mod name, Mod version and URL of the XMLF (not ZIP) file.

XCC Mod=1.10,http://xcc.tiberian.com/temp/CSF.xmlf

CSF diff compression

When enabled, only the differences between the CSF files of your Mod and the original ones are saved. This should always be enabled.

INI diff compression

When enabled, only the differences between the INI files of your Mod and the original ones are saved. This should be enabled, unless it causes trouble in the game.

Custom button text

When enabled, the Mod name is added to the text of the Manual, Mod and Site buttons. This could be enabled if the Mod name is short. If disabled, the Mod name is only visible in the caption of XCC Mod Launcher.

Various buttons

When enabled, the button will be visible, otherwise it will be invisible. If disabled, the option is only available via the system menu.