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
InternalNameunder sectionCustomGameto your chosen, unique abbreviation (max. 4 characters in length). - Change
UINameunder sectionCustomGameto full name of your mod. - Set
ChatChannelandGameBroadcastChannelunder sectionCustomGameto valid IRC channel names. For an example,#cncnet-XforChatChanneland#cncnet-X-gamesforGameBroadcastChannel, whereXis replaced by the abbreviation fromInternalName.- NOTE: If you wish to register and moderate the channels yourself, you can't use the
cncnetname 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
IconFilenameunder sectionCustomGameto a valid filename of a 16x16px icon to display in CnCNet lobby & CnCNet options. The file (ideally in PNG format) should be placed inResourcesdirectory. - Make sure
0=CustomGameunder theCustomGamessection is uncommented. This can be done by removing the semicolon.
- Change
- Edit
Resources\ClientDefinitions.ini:- Set
LocalGameunder sectionSettingsto match the abbreviation from custom game'sInternalGame. - Set
LongGameNameunder sectionSettingsto full name of your mod. - Set
WindowTitleunder sectionSettingsto what you wish to display in client window titlebar. - Optional: If you are planning on setting up the updater, set
ModModeunder sectionSettingstofalse. For information on how to set up the updater, refer to the updater documentation.
- Set
- Edit
Resources\GameOptions.ini:- Change
Sideslist under sectionGeneralto match theCountrieslist from yourrulesmd.ini.- If you wish to list the
Countriesin different order between client andrulesmd.ini, useInternalSideIndicesto override the used side (country) indices forSideslist to match the actual order inrulesmd.ini.
- If you wish to list the
- Set up random selectors under section
RandomSelectorsto match theSideslist, 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
MPColorsaccordingly.
- Change
- Edit
Resources\FHCConfig.ini:- Adjust the filenames list under section
FilenameListaccordingly 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.mixcontains all INI files and a copy ofshroud.shp. Certain client files likeFHCConfig.iniitself are always included in the check even if absent fromFilenameList. - Optional:
CalculateGameExeHashunder sectionSettingscan be set totrueif 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