When creating a mod, be it a simple add-on or a fully fledged total conversion, an entry file is needed so that the mod can be listed by the ModLauncher app or simply be started by the game.
This means that you need to create an XML file with name entry.hpc in the root directory for your mod, and its contents will depend on what kind of mod you are creating.
Any valid entry.hpc file will have at least the following attributes:
Keep on reading for specifics on each Mod type.
This section explains the specifics for setting up entry.hpc files for add-on mod type.
Here's a sample sample entry.hpc file for a minimal add-on entry (download mod here)
<?xml version="1.0" encoding="UTF-8"?> <Content Version="1.0" Type="AddOn" Title="[SAMPLE] Minimal Add-on Mod" Author="Your name here" Description="This is a minimal setup for creating add-on mods." LanguageFolder="config/lang" />
This section explains the specifics for setting up entry.hpc files for Stand-alone mod type.
Here's a sample sample entry.hpc file for a minimal custom map entry (download mod here)
<?xml version="1.0" encoding="UTF-8"?> <Content Version="1.0" Type="StandAlone" Title="[SAMPLE] Minimal custom map mod" Author="Your name here" Description="This is a minimal setup for creating custom maps" LauncherPic="LauncherPic.png" InitCfg="config/main_init.cfg" />
There are two different ways to run a mod:
soma.exe -mod C:\my_mod\entry.hpc