Running the game
February 24, 2026 ยท View on GitHub
Game selection
Medal of Honor: Allied Assault is the default game, but expansions are also supported.
Start using launchers
Base game and expansions can be started from one of the 3 launchers:
launch_openmohaa_base, use this to play Medal of Honor: Allied Assaultlaunch_openmohaa_spearhead, use this to play Medal of Honor: Allied Assault: Spearheadlaunch_openmohaa_breakthrough, use this to play Medal of Honor: Allied Assault: Breakthrough
Start from the command-line
Spearhead and Breakthrough are supported in OpenMoHAA using the com_target_game variable.
To change the target game, append the following command-line arguments to the openmohaa and omohaaded executable:
+set com_target_game 0for the default base game (mohaa, usesmainfolder)+set com_target_game 1for the Spearhead expansion (mohaas, usesmaintafolder)+set com_target_game 2for the Breakthrough expansion (mohaab, usesmainttfolder)
OpenMoHAA will also use the correct network protocol version accordingly. The default value of com_target_game is 0.
On Windows, a shortcut can be created to the openmohaa executable, with the command-line argument appended from above to play an expansion.
Using a demo version
The argument +set com_target_demo 1 must be appended to command-line to play the game or host a server using demo assets. Allied Assault, Spearhead and Breakthrough demos are supported.
User data location
The location of user-writable data, like the console logfile, saves and configuration files can be found in different locations depending on the platform:
%APPDATA%\openmohaaon Windows~/.openmohaaon Linux~/Library/Application Support/openmohaaon macOS
There will be one or more subdirectories like in the game installation folder, they match the game being used: either base game main or expansions mainta/maintt.
This is by design since ioquake3 and has two advantages:
- On a multi-user system, each user will have their own configuration file
- It doesn't overwrite the existing MOHAA configuration in the MOHAA installation directory.
If necessary, the location of user-writable data can be changed manually by setting the fs_homepath variable in the command-line argument. This is useful when running a dedicated server that can only use the game directory to store/read data. The value can be a relative path (relative to the current working directory) or an absolute path. Example:
+set fs_homepath Z:\openmohaa_datadata will be written inside the fully qualified pathZ:\openmohaa_data+set fs_homepath homedatawill use the subfolderhomedatain the process current working directory to write data (will be created automatically)+set fs_homepath .not recommended, will write data inside the process current working directory
The game directory is intended to be read-only, which is the reason why the home path exists. This prevents existing files in the game directory from being accidentally overwritten.
Note that the configuration file isn't created nor written automatically on a dedicated server (omohaaded).
Configuration
For more settings such as configuring bots, see Configuration and commands.