A list of instructions to follow to perform a basic set-up of the CnCNet client for Ares-based C&C: Yuri's Revenge mod using the Mod Base.
- Edit
Resources\GameCollectionConfig.ini
:- Change
InternalName
under sectionCustomGame
to your chosen, unique abbreviation (max. 4 characters in length). - Change
UIName
under sectionCustomGame
to full name of your mod. - Set
ChatChannel
andGameBroadcastChannel
under sectionCustomGame
to valid IRC channel names. For an example,#cncnet-X
forChatChannel
and#cncnet-X-games
forGameBroadcastChannel
, whereX
is replaced by the abbreviation fromInternalName
.- NOTE: If you wish to register and moderate the channels yourself, you can't use the
cncnet
name in the channel names. In that case, it is recommended to use the full name of the mod instead, f.ex#customgame
/#customgame-games
.
- NOTE: If you wish to register and moderate the channels yourself, you can't use the
- Set
IconFilename
under sectionCustomGame
to a valid filename of a 16x16px icon to display in CnCNet lobby & CnCNet options. The file (ideally in PNG format) should be placed inResources
directory. - Make sure
0=CustomGame
under theCustomGames
section is uncommented. This can be done by removing the semicolon.
- Change
- Edit
Resources\ClientDefinitions.ini
:- Set
LocalGame
under sectionSettings
to match the abbreviation from custom game'sInternalGame
. - Set
LongGameName
under sectionSettings
to full name of your mod. - Set
WindowTitle
under sectionSettings
to what you wish to display in client window titlebar. - Optional: If you are planning on setting up the updater, set
ModMode
under sectionSettings
tofalse
. For information on how to set up the updater, refer to the updater documentation.
- Set
- Edit
Resources\GameOptions.ini
:- Change
Sides
list under sectionGeneral
to match theCountries
list from yourrulesmd.ini
.- If you wish to list the
Countries
in different order between client andrulesmd.ini
, useInternalSideIndices
to override the used side (country) indices forSides
list to match the actual order inrulesmd.ini
.
- If you wish to list the
- Set up random selectors under section
RandomSelectors
to match theSides
list, or remove keys under the section if don't wish to use additional random side selectors. - If you have changed in-game colors, or added more available multiplayer colors through use of Ares, adjust the colors list under section
MPColors
accordingly.
- Change
- Edit
Resources\FHCConfig.ini
:- Adjust the filenames list under section
FilenameList
accordingly if need to remove or add additional files that are compared between players to see if anyone might be cheating by modifying files. The list included by default works well ifexpandmd99.mix
contains all INI files and a copy ofshroud.shp
. Certain client files likeFHCConfig.ini
itself are always included in the check even if absent fromFilenameList
. - Optional:
CalculateGameExeHash
under sectionSettings
can be set totrue
if it is guaranteed that the game executable (gamemd.exe
) is identical between all players. With almost all C&C: Yuri's Revenge mods, as the game files are not distributed together with mods, this is not the case.
- Adjust the filenames list under section