openMERC 0.2.2 fixes a weapon-drop crash in the Soldier of Fortune engine
openMERC 0.2.2, an open-source engine for Soldier of Fortune, fixes a crash and adds a text size setting. Needs your own copy of the game.
openMERC 0.2.2 is out. It’s an open-source engine for Soldier of Fortune (Raven Software, 2000), a PC shooter, and it runs on Windows and Linux. You still need your own copy of the game. The engine reads the original .pak files from your install and never writes into them, and the archives contain no original game files.
openMERC is written clean-room on top of Yamagi Quake II and released under GPL v2. Version 0.2.2 fixes a crash when you dropped a weapon with weapondrop (bound to X by default) in openMERC’s own game module. The weapon now drops, shows “Dropped a …”, and can be picked up again. The release also adds Video, Scaling, “Text Size” from 100% to 300% (cvar scr_textscale). It enlarges the console, chat, subtitles and intro text.
Saves are now split by mode. Mode A loads the original gamex86.dll and player.dll from your game’s base\ folder. Mode B uses openMERC’s own modules. Saves from the two modes don’t mix. The load menu greys out an incompatible save as “Not compatible”. Before this, loading one could hang the game. Saves made with the original SoF.exe load in mode A. Saves from 0.2.0 still load in mode B.
To try it on Windows:
- Install Soldier of Fortune 1.07f, the retail version with the patch. The GOG version isn’t tested.
- Unpack
openMERC-0.2.2-win32.zipstraight into your Soldier of Fortune folder, next toSoF.exe. - Start
openMerc.exe.
On Linux, unpack the tar.gz into the folder that holds base/ and run ./openMerc or ./openMERC.sh. It needs glibc 2.38 or newer and OpenGL 3.2. So far it has only been tested in a virtual display with no GPU or sound, so real drivers, Wayland and fullscreen are untested. Don’t unpack onto a case-insensitive filesystem such as casefold ext4 or an NTFS share over SMB, because openMerc and openmerc/ clash there.
Mode B is still unfinished. AI, some scripted sequences and some weapon details are missing. Multiplayer works only between openMERC builds. Original 1.07f servers and demos don’t work, and no compatibility mode is planned. The project is still marked work in progress, so for the full campaign mode A is the safer choice today.

