Soldier of Fortune

Port 0.2.4

Portage natif de Soldier of Fortune pour macOS.

openMERC est un portage natif de Soldier of Fortune pour macOS, distribué en binaire dans ses releases.

Architecture

Mac OS X - macOS Mac OS X - macOS Apple Silicon Apple Silicon 64-bit 64-bit

Original game

Soldier of Fortune Windows

Download and links

Version history

0.2.4
openMERC 0.2.4 (Windows, Linux, macOS) English | Русский openMERC is an open-source engine for Soldier of Fortune (2000). It needs the game files from your own copy of the game; none are included. 0.2.4 is a gameplay update on top of 0.2.3 Download Archive For openMERC-0.2.4-win32.zip Windows 10/11 (64-bit), Soldier of Fortune 1.07f openMERC-0.2.4-linux-x86_64.tar.gz Linux x86_64 (glibc 2.38 or newer), game files copied from a Windows install openMERC-0.2.4-linux-arm64.tar.gz Linux arm64 (glibc 2.38 or newer), game files copied from a Windows install openMERC-0.2.4-macos-arm64.tar.gz macOS on Apple silicon. Needs Homebrew: brew install sdl3 openal-soft libomp All four archives are built from tag v0.2.4 by the repository's build workflow; the .sha256 files hold their checksums. The Android package is not part of this release. The macOS archive does not bundle SDL, OpenAL or libomp: the binaries look for them under /opt/homebrew. Install Upgrade from 0.2.3: unpack 0.2.4 into the same folder and let it replace the openMERC files. Settings and saves in openmerc/user are kept. Windows: unpack openMERC-0.2.4-win32.zip straight into your Soldier of Fortune folder (next to SoF.exe) and…
Full changelog

openMERC 0.2.4 (Windows, Linux, macOS)

English | Русский

openMERC is an open-source engine for Soldier of Fortune (2000). It needs the game files from your own copy of the game; none are included.

0.2.4 is a gameplay update on top of 0.2.3

Download

Archive For
openMERC-0.2.4-win32.zip Windows 10/11 (64-bit), Soldier of Fortune 1.07f
openMERC-0.2.4-linux-x86_64.tar.gz Linux x86_64 (glibc 2.38 or newer), game files copied from a Windows install
openMERC-0.2.4-linux-arm64.tar.gz Linux arm64 (glibc 2.38 or newer), game files copied from a Windows install
openMERC-0.2.4-macos-arm64.tar.gz macOS on Apple silicon. Needs Homebrew: brew install sdl3 openal-soft libomp

All four archives are built from tag v0.2.4 by the repository's build workflow; the .sha256 files hold their checksums. The Android package is not part of this release. The macOS archive does not bundle SDL, OpenAL or libomp: the binaries look for them under /opt/homebrew.

Install

Upgrade from 0.2.3: unpack 0.2.4 into the same folder and let it replace the openMERC files. Settings and saves in openmerc/user are kept.

Windows: unpack openMERC-0.2.4-win32.zip straight into your Soldier of Fortune folder (next to SoF.exe) and start openMerc.exe.

Linux: unpack openMERC-0.2.4-linux-x86_64.tar.gz or openMERC-0.2.4-linux-arm64.tar.gz into your Soldier of Fortune folder (the folder with base/) and run ./openMERC.sh or ./openMerc.

macOS (Apple silicon): unpack openMERC-0.2.4-macos-arm64.tar.gz somewhere that is not the game folder. base/ inside the archive is openMERC's modules, not the game's pak folder. Install sdl3, openal-soft and libomp with Homebrew, then run ./openMerc +set basedir "/path/to/Soldier of Fortune" +set vid_renderer gl3.

What's new

  • Fog. Separate pockets of one fog volume no longer fill the clear rooms between them. The orange fog on tsr1 stayed in its pockets.
  • Trains. Riders follow the train's actual move. The enemies on the second train of tsr1 walk along the roof toward the player instead of standing where the script woke them. One of the three can still step off the car.
  • Combat. A crouched character with no crouched move stands up and moves. A move that fails three times in a row is given up for 3 seconds, then the character attacks from the spot when the shot is clear. A scripted jump that starts in the air still gets its push.
  • Skins. A loose .tga, .png or .jpg next to the game replaces that Ghoul skin from the pak.
  • Weapons. Holding the use key swaps the weapon in hand for one on the ground, in the manner of Crysis 2.
  • Menus. Reset Section restores a settings page without removing the touch buttons on a phone.
  • sib3. The blast doors open again after the checkpoint button.
  • Weather and glass, continued after 0.2.3. Map fog is applied per pixel, rain beads on the panes that face the rain, and a thunderstorm lights the clouds.

Known issues

  • Mode B: some enemy behaviour and scripted sequences are not yet identical to the original game. On tsr1, one of the three skinheads on the second train can still leave the roof after a few steps.
  • macOS: the archive runs only where Homebrew has installed sdl3, openal-soft and libomp at the /opt/homebrew paths. Intel Macs are not in this build.

Русский

openMERC - открытый движок для Soldier of Fortune (2000). Нужны файлы вашей копии игры. В архиве их нет.

0.2.4 - обновление игры поверх 0.2.3

Скачать

Архив Для
openMERC-0.2.4-win32.zip Windows 10/11 (64-bit), Soldier of Fortune 1.07f
openMERC-0.2.4-linux-x86_64.tar.gz Linux x86_64 (glibc 2.38 или новее), файлы игры, скопированные с установки Windows
openMERC-0.2.4-linux-arm64.tar.gz Linux arm64 (glibc 2.38 или новее), файлы игры, скопированные с установки Windows
openMERC-0.2.4-macos-arm64.tar.gz macOS на Apple silicon. Нужен Homebrew: brew install sdl3 openal-soft libomp

Все четыре архива собирает workflow репозитория из тега v0.2.4. Рядом лежат файлы .sha256. Android-пакета в этом релизе нет. Архив macOS не содержит SDL, OpenAL и libomp: программы ищут их в /opt/homebrew.

Установка

Обновление с 0.2.3: распаковать 0.2.4 в ту же папку поверх файлов openMERC. Настройки и сохранения в openmerc/user остаются.

Windows: распаковать openMERC-0.2.4-win32.zip в папку Soldier of Fortune (рядом с SoF.exe) и запустить openMerc.exe.

Linux: распаковать openMERC-0.2.4-linux-x86_64.tar.gz или openMERC-0.2.4-linux-arm64.tar.gz в папку с base/ и запустить ./openMERC.sh или ./openMerc.

macOS (Apple silicon): распаковать openMERC-0.2.4-macos-arm64.tar.gz не в папку игры. base/ внутри архива - модули openMERC, не папка паков игры. Поставить через Homebrew sdl3, openal-soft и libomp, затем ./openMerc +set basedir "/path/to/Soldier of Fortune" +set vid_renderer gl3.

Что нового

  • Туман. Разнесённые карманы одного объёма тумана больше не закрашивают чистые комнаты между ними. Оранжевый туман на tsr1 остаётся в своих карманах.
  • Поезда. Пассажиры едут туда, куда реально сдвинулся поезд. Враги на втором поезде tsr1 идут по крыше к игроку, а не стоят на месте пробуждения. Один из трёх всё ещё может сойти с вагона через несколько шагов.
  • Бой. Присевший персонаж без присевшего шага встаёт и идёт. Ход, который три раза подряд не удался, бросают на 3 секунды, и при чистом выстреле персонаж стреляет с места. Скриптовый прыжок из воздуха получает толчок.
  • Скины. Отдельный файл .tga, .png или .jpg заменяет этот скин Ghoul из пака.
  • Оружие. Удержание клавиши использования меняет оружие в руках на лежащее на земле, как в Crysis 2.
  • Меню. Reset Section возвращает страницу настроек и не убирает сенсорные кнопки на телефоне.
  • sib3. Взрывные двери снова открываются после кнопки на чекпоинте.
  • Погода и стекло после 0.2.3. Туман карты считается по пикселям, капли дождя бегут по стёклам, гроза подсвечивает облака.

Известные ограничения

  • Режим B: часть поведения врагов и скриптовых сцен ещё не совпадает с оригиналом. На tsr1 один из трёх скинхедов второго поезда может сойти с крыши.
  • macOS: архив запускается только если Homebrew поставил sdl3, openal-soft и libomp по путям /opt/homebrew. Сборок для Intel Mac нет.
0.2.3
openMERC 0.2.3 (Windows 32-bit, Linux x86_64) English | Русский openMERC is an open-source engine for Soldier of Fortune (2000). It needs the game files from your own copy of the game; none are included. 0.2.3 is the big graphics update: soft shadows, light beams, reflections, rain and snow, new water, HDR camera effects and modern anti-aliasing and upscaling, each with its own switch and quality presets for every kind of PC. Maps load several times faster, enemies and corpses behave closer to the original, and the Linux build is playable: shots hit enemies again. Download Archive For openMERC-0.2.3-win32.zip Windows 10/11 (64-bit), Soldier of Fortune 1.07f openMERC-0.2.3-linux-x86_64.tar.gz Linux x86_64 (glibc 2.38 or newer), game files copied from a Windows install Both archives are built from tag v0.2.3 by the repository's build workflow; the .sha256 files hold their checksums. Install Windows: unpack openMERC-0.2.3-win32.zip straight into your Soldier of Fortune folder (next to SoF.exe) and start openMerc.exe. The archive adds openMerc.exe, openMerc-ded.exe, a few DLLs, openMERC-README.txt and one folder openmerc; it contains no file the game itself has, so nothing of the game…
Full changelog

openMERC 0.2.3 (Windows 32-bit, Linux x86_64)

English | Русский

openMERC is an open-source engine for Soldier of Fortune (2000). It needs the game files from your own copy of the game; none are included.

0.2.3 is the big graphics update: soft shadows, light beams, reflections, rain and snow, new water, HDR camera effects and modern anti-aliasing and upscaling, each with its own switch and quality presets for every kind of PC. Maps load several times faster, enemies and corpses behave closer to the original, and the Linux build is playable: shots hit enemies again.

Download

Archive For
openMERC-0.2.3-win32.zip Windows 10/11 (64-bit), Soldier of Fortune 1.07f
openMERC-0.2.3-linux-x86_64.tar.gz Linux x86_64 (glibc 2.38 or newer), game files copied from a Windows install

Both archives are built from tag v0.2.3 by the repository's build workflow; the .sha256 files hold their checksums.

Install

Windows: unpack openMERC-0.2.3-win32.zip straight into your Soldier of Fortune folder (next to SoF.exe) and start openMerc.exe. The archive adds openMerc.exe, openMerc-ded.exe, a few DLLs, openMERC-README.txt and one folder openmerc; it contains no file the game itself has, so nothing of the game is replaced. Settings, saves, screenshots and logs go to openmerc\user.

Linux: unpack openMERC-0.2.3-linux-x86_64.tar.gz into your Soldier of Fortune folder (the folder with base/, copied from a Windows install) and run ./openMERC.sh or ./openMerc. SDL 3, OpenAL Soft and the OpenMP runtime of omlight come in openmerc/lib. Needs OpenGL 3.2 (or OpenGL ES 3 with vid_renderer gles3). Do not unpack onto a case-insensitive folder (casefold ext4, an SMB share of an NTFS disk): openMerc and openmerc/ would clash there.

No game files yet? If neither the openMERC folder nor the folder above it has base/pak0.pak, openMERC asks for the disc image (.iso) of your Soldier of Fortune copy and unpacks the game's .pak files from it (Platinum edition layout; checked on Windows).

Upgrade from 0.2.1 or 0.2.2: unpack 0.2.3 into the same folder and let it replace the openMERC files. Settings and saves in openmerc/user are kept.

What's new

Graphics

Every effect has its own switch in the Video menu (tabbed by section), and Quality Preset (the first row of the Quality tab) sets them all at once: Minimal, Low, Medium, High or Custom. High puts every quality setting at its maximum (4096 sun shadows, 8 shadowed lamps, full-resolution AO and reflections, water reflections, MSAA 4x + SMAA, 16x anisotropic). On integrated graphics a lighter preset is chosen by itself at the first start.

  • Re-baked lighting: the first time a map is loaded, omlight (shipped next to the engine) re-bakes its lightmaps from your game data in the background, in about half a minute, with bounced light and soft shadows. From the next load of that map the new light is used, and the surfaces get the highlights of the baked light.

  • Light and shadow: soft shadows from lamps and the sun (PCSS), also from moving characters; volumetric light beams under lamps, with dust motes; light shafts from the sun and moon; ambient occlusion (GTAO); no more lights and shadows popping up while walking.

  • Characters and weapons: physically based lighting with reflections of the surroundings, skin scattering, soft contact shadows under bodies, smooth blending between animations, curved (tessellated) characters, weapons and round props.

  • Surfaces: screen-space reflections on wet floors, metal and water; planar mirrors; see-through glass with refraction; new water with ripples, caustics, refraction and splashes where bullets hit; wet blood marks; bullet holes with depth.

  • Weather and sky: rain with splashes, thunder and lightning; snowfall on the Siberia maps, only where the sky is overhead; clouds drifting over the painted sky; a new night sky with a moon on the train levels (trn1, ger1, ger2).

  • Camera: HDR with a film-like tone curve and bloom; lens glints, chromatic aberration and lens dirt; motion blur; depth of field in cut scenes and through the sniper scope; night vision as an image intensifier; hits shown as a dark red vignette.

  • Anti-aliasing and scaling: TAA, SMAA and FXAA; a lower render scale with FSR 1.0 or Catmull-Rom + sharpening upscale for weaker GPUs.

  • HD texture packs: put the pack's .pak into openmerc/hd/ and switch HD Textures on in the Video menu - no extra tools needed. Tile seams of upscaled packs are repaired. Replacement textures may also be .dds (#5).

Speed

  • Maps load several times faster (15.7 s → 4.9 s for one map with an HD texture pack); the window no longer shows "not responding" while loading.
  • Half the CPU time per frame on the measured sib1 path (4.0 → 2.0 ms); fewer hitches during play.

Game

  • Fixed (#10): on Linux x86_64 the player's shots never left the gun with openMERC's own modules, so enemies could not be hit. Shots now hit and kill (checked on tsr1).
  • Fixed (#8): blood pools under corpses.
  • Fixed (#9): shot vending machines and screens show their damaged textures; ceiling TVs swing face-down and drop.
  • Corpses no longer freeze standing up, settle out of walls, and take shots as lying bodies.
  • Enemies: alerted fighters run to their combat points, a burst stops when the target is behind cover, jumps land properly, characters turn round instead of walking backwards; scripted scenes play their gestures and paths as in the original.
  • Doors, trains carrying characters, turning machinery (fans, wheels, radar dishes), the jpn2 office lights.
  • Items within reach are picked up; a dropped weapon keeps a full clip; a marker shows where damage comes from.
  • Saves: mode-B saves now refer to game objects by name and survive later updates of the game module.
  • Sound: loudness levelling of the game's sounds (s_om_normalize).

Menus

  • New openMERC-style screens for the mission briefing, outfit, objectives and the game's dialogs; Level Select; a gamepad page; the newest save on the start page loads with one click.
  • The mouse wheel scrolls the console; screenshots are saved as JPEG.

Requirements

  • Soldier of Fortune 1.07f (retail CD + 1.07f patch tested; the GOG release is reported to run).
  • Windows 10/11 64-bit, or Linux x86_64 with glibc 2.38+; a GPU with OpenGL 3.2.
  • The highest presets want a mid-range or better GPU; Minimal and Low are made for integrated graphics.

Modes

  • Default (mode B): openMERC's own game and player modules in openmerc/.
  • Mode A (Windows): rename openmerc\gamex86.dll and openmerc\player.dll (e.g. to .off); openMERC then uses the original modules of your game's base\.
  • Saves of mode A (and of the original game) and of mode B are not interchangeable; the load menu shows a save it cannot load greyed out as "Not compatible".

Known issues

  • Mode B: some enemy behaviour and scripted sequences are not yet identical to the original game; if a mission does not progress, try mode A (Windows).
  • Mode-B saves made with 0.2.2 were not tested with 0.2.3; if one does not load, start the level again.
  • Not network-compatible with the original SoF 1.07f multiplayer (openMERC ↔ openMERC only).
  • Weak integrated GPUs (Intel UHD 610 class) reach about 30 fps on Minimal; over Remote Desktop Windows caps the frame rate near 30 fps.
  • Linux: tested on an AMD Radeon GPU with Mesa (OpenGL 3 and GLES 3 renderers) under KDE Plasma; other drivers not yet.
  • Not reproduced, more details welcome: limbs not flying off (#4), knifing a corpse (#6), corpses not reacting in mode A (#7), graphics glitches on the second level (#11).
  • Full list: docs/KNOWN_ISSUES.md.

Source code: tag v0.2.3 (commit 5430ead). License: GPL v2 or later; third-party notices in openmerc/THIRD_PARTY.txt (THIRD_PARTY.md on Linux) and openmerc/licenses/.

51c5dd9b2e996c2a8cedbb9917e9d5564613d8db7f043a9f31bca02de4618cc3  openMERC-0.2.3-win32.zip
37fdb0582d502aa52cfb8237ebbe63436eecb03fef8ed2d14babc4446c8c5cd1  openMERC-0.2.3-linux-x86_64.tar.gz

Русский

openMERC — открытый движок для Soldier of Fortune (2000). Нужны файлы вашей копии игры; в архивах их нет.

0.2.3 — большое графическое обновление: мягкие тени, лучи света, отражения, дождь и снег, новая вода, эффекты HDR-камеры, современное сглаживание и масштабирование. У каждого эффекта свой переключатель, а пресеты качества подходят для любого ПК. Карты загружаются в разы быстрее, противники и трупы ведут себя ближе к оригиналу, а сборка для Linux стала играбельной: выстрелы снова попадают во врагов.

Скачать

Архив Для чего
openMERC-0.2.3-win32.zip Windows 10/11 (64-бит), Soldier of Fortune 1.07f
openMERC-0.2.3-linux-x86_64.tar.gz Linux x86_64 (glibc 2.38 или новее), файлы игры скопированы из Windows-установки

Оба архива собраны из тега v0.2.3 сборочным workflow репозитория; контрольные суммы — в файлах .sha256.

Установка

Windows: распакуйте openMERC-0.2.3-win32.zip прямо в папку Soldier of Fortune (рядом с SoF.exe) и запустите openMerc.exe. Архив добавляет openMerc.exe, openMerc-ded.exe, несколько DLL, openMERC-README.txt и одну папку openmerc; файлов самой игры в нём нет, поэтому ничего не заменяется. Настройки, сохранения, скриншоты и логи пишутся в openmerc\user.

Linux: распакуйте openMERC-0.2.3-linux-x86_64.tar.gz в папку Soldier of Fortune (папка с base/, скопированная из Windows-установки) и запустите ./openMERC.sh или ./openMerc. SDL 3, OpenAL Soft и OpenMP-библиотека omlight лежат в openmerc/lib. Нужен OpenGL 3.2 (или OpenGL ES 3 через vid_renderer gles3). Не распаковывайте в папку без учёта регистра (casefold ext4, SMB-шара с NTFS): там openMerc и openmerc/ столкнутся.

Ещё нет файлов игры? Если ни в папке openMERC, ни в папке выше нет base/pak0.pak, openMERC попросит образ диска (.iso) вашей копии Soldier of Fortune и распакует из него .pak-файлы игры (раскладка издания Platinum; проверено на Windows).

Обновление с 0.2.1 или 0.2.2: распакуйте 0.2.3 в ту же папку и разрешите заменить файлы openMERC. Настройки и сохранения в openmerc/user остаются.

Что нового

Графика

У каждого эффекта свой переключатель в меню «Видео» (разделы на вкладках), а «Пресет качества» (первая строка вкладки «Качество») выставляет всё сразу: Минимальные, Низкие, Средние, Высокие или Свои. Высокие — все настройки качества на максимум (тени солнца 4096, 8 ламп с тенями, затенение и отражения в полном разрешении, отражения в воде, MSAA 4x + SMAA, анизотропия 16x). На встроенной графике при первом запуске подходящий пресет выбирается сам.

  • Пересчитанное освещение: при первой загрузке карты omlight (лежит рядом с движком) в фоне заново запекает её освещение из ваших файлов игры — примерно за полминуты, с отражённым светом и мягкими тенями. Со следующей загрузки этой карты используется новый свет, а на поверхностях появляются блики запечённого света.

  • Свет и тени: мягкие тени от ламп и солнца (PCSS), в том числе от движущихся персонажей; объёмные лучи света под лампами с пылинками; лучи от солнца и луны; затенение окружения (GTAO); свет и тени больше не появляются рывком при ходьбе.

  • Персонажи и оружие: физически корректное освещение с отражением окружения, подповерхностное рассеяние кожи, мягкие контактные тени под телами, плавные переходы между анимациями, сглаженные (тесселированные) персонажи, оружие и круглые предметы.

  • Поверхности: экранные отражения на мокром полу, металле и воде; плоские зеркала; прозрачное стекло с преломлением; новая вода с рябью, каустикой, преломлением и всплесками от пуль; влажные следы крови; пулевые отверстия с глубиной.

  • Погода и небо: дождь с брызгами, громом и молниями; снег на сибирских картах — только там, где над головой небо; облака плывут по нарисованному небу; новое ночное небо с луной на уровнях с поездом (trn1, ger1, ger2).

  • Камера: HDR с плёночной тональной кривой и bloom; блики, хроматическая аберрация и грязь на объективе; размытие в движении; глубина резкости в роликах и в прицеле снайперской винтовки; прибор ночного видения как электронно-оптический преобразователь; попадания — тёмно-красная виньетка.

  • Сглаживание и масштабирование: TAA, SMAA и FXAA; пониженное разрешение рендера с апскейлом FSR 1.0 или Catmull-Rom с повышением резкости для слабых видеокарт.

  • HD-текстуры: положите .pak пака в openmerc/hd/ и включите HD-текстуры в меню «Видео» — сторонние утилиты не нужны. Швы на стыках тайлов апскейленных паков исправляются. Текстуры замены могут быть и в .dds (#5).

Скорость

  • Карты загружаются в разы быстрее (15,7 с → 4,9 с для одной карты с HD-паком); окно больше не «не отвечает» во время загрузки.
  • Вдвое меньше процессорного времени на кадр на замеренном участке sib1 (4,0 → 2,0 мс); меньше подтормаживаний в игре.

Игра

  • Исправлено (#10): на Linux x86_64 выстрелы игрока с собственными модулями openMERC не вылетали из ствола, и во врагов нельзя было попасть. Теперь выстрелы попадают и убивают (проверено на tsr1).
  • Исправлено (#8): лужи крови под трупами.
  • Исправлено (#9): у простреленных торговых автоматов и экранов появляются текстуры повреждений; потолочные телевизоры поворачиваются экраном вниз и падают.
  • Трупы больше не застывают стоя, выталкиваются из стен и принимают попадания как лежащие тела.
  • Противники: поднятые по тревоге бегут на свои боевые позиции, очередь прекращается, когда цель за укрытием, прыжки приземляются правильно, персонажи разворачиваются, а не пятятся; скриптовые сцены проигрывают жесты и маршруты как в оригинале.
  • Двери, персонажи на крыше поезда, вращающиеся механизмы (вентиляторы, колёса, радары), свет в офисе jpn2.
  • Предметы в пределах досягаемости подбираются; выброшенное оружие сохраняет полный магазин; маркер показывает, откуда пришёл урон.
  • Сохранения: сохранения режима B ссылаются на объекты игры по имени и переживают будущие обновления игрового модуля.
  • Звук: выравнивание громкости звуков игры (s_om_normalize).

Меню

  • Новые экраны в стиле openMERC для брифинга, снаряжения, задач миссии и диалогов игры; выбор уровня; страница геймпада; последнее сохранение на стартовой странице загружается одним щелчком.
  • Колесо мыши прокручивает консоль; скриншоты сохраняются в JPEG.

Требования

  • Soldier of Fortune 1.07f (проверен диск с патчем 1.07f; версия GOG, по сообщениям пользователей, запускается).
  • Windows 10/11 64-бит или Linux x86_64 с glibc 2.38+; видеокарта с OpenGL 3.2.
  • Для старших пресетов нужна видеокарта среднего уровня или лучше; Минимальные и Низкие — для встроенной графики.

Режимы

  • По умолчанию (режим B): собственные модули игры и игрока openMERC в openmerc/.
  • Режим A (Windows): переименуйте openmerc\gamex86.dll и openmerc\player.dll (например, в .off); тогда openMERC возьмёт оригинальные модули из base\ вашей игры.
  • Сохранения режима A (и оригинальной игры) и режима B несовместимы; меню загрузки показывает такие сохранения серыми с пометкой «Несовместимо».

Известные проблемы

  • Режим B: часть поведения противников и скриптовых сцен ещё отличается от оригинала; если миссия не продвигается, попробуйте режим A (Windows).
  • Сохранения режима B из 0.2.2 с 0.2.3 не проверялись; если такое сохранение не загружается, начните уровень заново.
  • Сетевая игра несовместима с оригинальным SoF 1.07f (только openMERC ↔ openMERC).
  • Слабая встроенная графика (класса Intel UHD 610) даёт около 30 к/с на Минимальных; через удалённый рабочий стол Windows ограничивает частоту кадров примерно 30 к/с.
  • Linux: проверено на видеокарте AMD Radeon с Mesa (рендереры OpenGL 3 и GLES 3) в KDE Plasma; другие драйверы пока нет.
  • Не воспроизведено, нужны подробности: не отлетают конечности (#4), удар ножом по трупу (#6), трупы не реагируют в режиме A (#7), графические артефакты на втором уровне (#11).
  • Полный список: docs/KNOWN_ISSUES.md.

Исходный код: тег v0.2.3 (коммит 5430ead). Лицензия: GPL v2 или новее; сторонние компоненты — в openmerc/THIRD_PARTY.txt (THIRD_PARTY.md на Linux) и openmerc/licenses/.

0.2.2
openMERC 0.2.2 (Windows 32-bit, Linux x86_64) English openMERC is an open-source engine for Soldier of Fortune (2000). It needs the game files from your own copy of the game; none are included. Install: unpack openMERC-0.2.2-win32.zip straight into your Soldier of Fortune folder (next to SoF.exe) and start openMerc.exe. The archive adds openMerc.exe, openMerc-ded.exe, a few DLLs, openMERC-README.txt and one folder openmerc; it does not contain any file that the game itself has, so nothing of the game is replaced. The game data is only read. Settings, saves and logs go to openmerc\user; nothing is written into base\ or the game's user\. You can also unpack it into a folder inside the game folder (e.g. SoF\openMERC\); the engine then finds the game in the parent folder. To uninstall, delete the files listed in openMERC-README.txt and the openmerc folder. Linux (x86_64): unpack openMERC-0.2.2-linux-x86_64.tar.gz straight into your Soldier of Fortune folder (the folder with base/, copied from your Windows install) and run ./openMerc or ./openMERC.sh. It adds openMerc, openMerc-ded, openMERC.sh, OMsnd.so, ref_gl3.so, ref_gles3.so and the folder openmerc/ (own modules, pak, bundled SDL3…
Full changelog

openMERC 0.2.2 (Windows 32-bit, Linux x86_64)

English

openMERC is an open-source engine for Soldier of Fortune (2000). It needs the game files from your own copy of the game; none are included.

Install: unpack openMERC-0.2.2-win32.zip straight into your Soldier of Fortune folder (next to SoF.exe) and start openMerc.exe. The archive adds openMerc.exe, openMerc-ded.exe, a few DLLs, openMERC-README.txt and one folder openmerc; it does not contain any file that the game itself has, so nothing of the game is replaced. The game data is only read. Settings, saves and logs go to openmerc\user; nothing is written into base\ or the game's user\. You can also unpack it into a folder inside the game folder (e.g. SoF\openMERC\); the engine then finds the game in the parent folder. To uninstall, delete the files listed in openMERC-README.txt and the openmerc folder.

Linux (x86_64): unpack openMERC-0.2.2-linux-x86_64.tar.gz straight into your Soldier of Fortune folder (the folder with base/, copied from your Windows install) and run ./openMerc or ./openMERC.sh. It adds openMerc, openMerc-ded, openMERC.sh, OMsnd.so, ref_gl3.so, ref_gles3.so and the folder openmerc/ (own modules, pak, bundled SDL3 and OpenAL in openmerc/lib, user data in openmerc/user); no game file is replaced. Needs glibc 2.38 or newer and OpenGL 3.2. Pak names are found in any letter case. Tested only in a virtual display without a real GPU or sound output; real drivers, Wayland and fullscreen are untested. Do not unpack onto a case-insensitive folder (casefold ext4, an SMB share of an NTFS disk): openMerc and openmerc/ would clash there.

Upgrade from 0.2.1: unpack 0.2.2 into the same folder and let it replace the openMERC files (openMerc.exe, the DLLs, openmerc\gamex86.dll, openmerc\player.dll, openmerc\zz_openmerc.pak and so on). Settings and saves in openmerc\user are kept.

Upgrade from 0.2.0: 0.2.0 lived in an openMERC folder of its own. Copy openMERC\user\save\* to openmerc\user\save\ (and config.cfg if you want your settings), then delete the old openMERC folder. If you unpack 0.2.2 into the game folder root, do not unpack it into the old openMERC folder: on Windows openMERC and openmerc are the same folder.

Requirements: Soldier of Fortune 1.07f (retail + patch, tested). GOG version not tested. Windows 10/11, a GPU with OpenGL 3.2. Do not install into Program Files unless that folder is writable for your user.

Modes

  • Default (mode B): openMERC's own game and player modules openmerc\gamex86.dll, openmerc\player.dll.
  • Mode A: rename those two files (e.g. to gamex86.dll.off, player.dll.off); openMERC then uses the original modules of your game's base\.

Saves

  • Saves of the two kinds of game modules are not interchangeable. openMERC now marks its saves (mode A or B) and, in the load menu, shows a save it cannot load greyed out as "Not compatible"; loading it from the console prints why. Before, loading such a save could hang the game.
  • Saves made with the original SoF.exe load in mode A (tested with one retail save on tsr1), not in mode B.
  • Saves made with openMERC 0.2.0 carry no mark; they are recognised by their content and load as before in mode B.
  • An incompatible save can still be deleted with a right click.

Changes since 0.2.1

  • Fixed (#3): dropping a weapon (weapondrop, default key X) crashed the game with openMERC's own game module (mode B). The weapon is now dropped, "Dropped a ..." is shown and the weapon can be picked up again. Mode A was not affected.
  • New (#1): Video → Scaling → "Text Size" (100% to 300%, cvar scr_textscale). It enlarges the console, notify and chat lines, centre messages, subtitles and the intro text on top of the automatic scale ("Menu and Text Size", "HUD Size"). Default 100% looks exactly as before.
  • HUD: a weapon name longer than the weapon tray (long localized names) is moved left so it stays on the screen instead of running off the right edge.

Changes of 0.2.1 (install layout, save compatibility check, HD texture scale, NPCs and doors, Linux build): see the 0.2.1 release.

Known issues

  • Mode B: some enemy behaviour and scripted sequences are not yet identical to the original game; if a mission does not progress, try mode A (with a mode-A or original save).
  • Not network-compatible with the original SoF 1.07f multiplayer (openMERC ↔ openMERC only).
  • Mod paks in the game's base\ (e.g. HD texture packs) are also loaded by openMERC.
  • The DLLs SDL3.dll, OpenAL32.dll, fmt.dll and the MSVC runtime sit next to openMerc.exe in the game folder; another program installed there with its own copies of these files would clash.
  • A save made right after "New game" from the console can show a black preview picture (the save itself is fine).
  • HUD: a long weapon name (seen with some Russian weapon names) now stays on the screen but sticks out to the left of the weapon tray frame, and part of it can be covered by the ammo counter window.
  • "Text Size": the console and notify/chat lines scale smoothly; centre messages and subtitles use the original bitmap fonts, which are drawn only at whole multiples, so they grow in steps (some neighbouring values look the same).
  • GOG version untested.

Source code: https://github.com/sidreshot/openMERC (tag v0.2.2, commit b54c135; both archives are built from this commit). License: GPL v2 or later; third-party notices in openmerc\THIRD_PARTY.txt and openmerc\licenses\.

SHA256 (openMERC-0.2.2-win32.zip): d6fdef84ca1bafa7b0d2d038ff6feb2e93b725d243fd3ec4f298e983be66d41a SHA256 (openMERC-0.2.2-linux-x86_64.tar.gz): 880e3186e25007d51934261b89e1204f18c082c70c4ea484f8a3156e0446c8da


Русский

openMERC — открытый движок для Soldier of Fortune (2000). Нужны файлы вашей копии игры; в архиве их нет.

Установка: распакуйте openMERC-0.2.2-win32.zip прямо в папку Soldier of Fortune (рядом с SoF.exe) и запустите openMerc.exe. Архив добавляет openMerc.exe, openMerc-ded.exe, несколько DLL, openMERC-README.txt и одну папку openmerc; в нём нет ни одного файла, который есть у самой игры, поэтому ничего не заменяется. Данные игры только читаются. Настройки, сохранения и логи пишутся в openmerc\user; в base\ и в user\ игры ничего не пишется. Можно распаковать и в папку внутри папки игры (например, SoF\openMERC\) — тогда движок найдёт игру в родительской папке. Удаление — удалить файлы из списка в openMERC-README.txt и папку openmerc.

Linux (x86_64): распакуйте openMERC-0.2.2-linux-x86_64.tar.gz прямо в папку Soldier of Fortune (папка с base/, скопированная из Windows-установки) и запустите ./openMerc или ./openMERC.sh. Архив добавляет openMerc, openMerc-ded, openMERC.sh, OMsnd.so, ref_gl3.so, ref_gles3.so и папку openmerc/ (свои модули, pak, SDL3 и OpenAL в openmerc/lib, пользовательские данные в openmerc/user); файлы игры не заменяются. Нужны glibc 2.38 или новее и OpenGL 3.2. Pak-файлы находятся в любом регистре имени. Проверено только на виртуальном экране без настоящей видеокарты и звука; реальные драйверы, Wayland и полноэкранный режим не проверялись. Не распаковывайте в папку без учёта регистра (casefold ext4, SMB-шара с NTFS): там openMerc и openmerc/ столкнутся.

Обновление с 0.2.1: распакуйте 0.2.2 в ту же папку и разрешите заменить файлы openMERC (openMerc.exe, DLL, openmerc\gamex86.dll, openmerc\player.dll, openmerc\zz_openmerc.pak и т. д.). Настройки и сохранения в openmerc\user остаются.

Обновление с 0.2.0: 0.2.0 жила в отдельной папке openMERC. Скопируйте openMERC\user\save\* в openmerc\user\save\ (и config.cfg, если нужны настройки), затем удалите старую папку openMERC. Не распаковывайте 0.2.2 в старую папку openMERC, если ставите в корень игры: в Windows openMERC и openmerc — одна и та же папка.

Требования: Soldier of Fortune 1.07f (диск + патч, проверено). Версия GOG не проверялась. Windows 10/11, видеокарта с OpenGL 3.2. Не ставьте в Program Files, если у пользователя нет прав на запись в эту папку.

Режимы

  • По умолчанию (режим B): собственные модули openMERC openmerc\gamex86.dll, openmerc\player.dll.
  • Режим A: переименуйте эти два файла (например, в gamex86.dll.off, player.dll.off) — openMERC возьмёт оригинальные модули из base\ игры.

Сохранения

  • Сохранения двух видов модулей не взаимозаменяемы. openMERC теперь помечает свои сохранения (режим A или B), а в меню загрузки показывает сохранение, которое не может загрузить, серым с надписью «Несовместимо»; при загрузке из консоли пишет причину. Раньше загрузка такого сохранения могла подвесить игру.
  • Сохранения оригинального SoF.exe загружаются в режиме A (проверено на одном сохранении tsr1), в режиме B — нет.
  • Сохранения openMERC 0.2.0 не помечены; они распознаются по содержимому и в режиме B загружаются как раньше.
  • Несовместимое сохранение можно удалить правым щелчком.

Изменения с 0.2.1

  • Исправлено (#3): выбрасывание оружия (weapondrop, по умолчанию клавиша X) роняло игру с собственным модулем игры openMERC (режим B). Теперь оружие выбрасывается, показывается «Бросил ...», и его можно снова подобрать. Режим A это не затрагивало.
  • Новое (#1): Видео → Масштаб → «Размер текста» (100–300%, переменная scr_textscale). Увеличивает консоль, строки сообщений и чата, сообщения в центре экрана, субтитры и текст вступления поверх автоматического масштаба («Размер меню и текста», «Размер HUD»). По умолчанию 100% — всё как раньше.
  • HUD: название оружия длиннее панели оружия (длинные локализованные названия) сдвигается влево и остаётся на экране, а не уходит за правый край.

Изменения 0.2.1 (раскладка установки, проверка совместимости сохранений, масштаб HD-текстур, NPC и двери, сборка под Linux) — см. выпуск 0.2.1.

Известные проблемы

  • Режим B: часть поведения противников и скриптовых сцен ещё не совпадает с оригиналом; если миссия не продвигается, попробуйте режим A (с сохранением режима A или оригинальным).
  • Нет сетевой совместимости с оригинальным мультиплеером SoF 1.07f (только openMERC ↔ openMERC).
  • Паки модов в base\ игры (например, HD-текстуры) загружаются и openMERC.
  • SDL3.dll, OpenAL32.dll, fmt.dll и рантайм MSVC лежат рядом с openMerc.exe в папке игры; другая программа в этой папке со своими копиями этих файлов будет с ними конфликтовать.
  • Сохранение, сделанное из консоли сразу после «Новой игры», может показывать чёрную картинку (само сохранение в порядке).
  • HUD: длинное название оружия (замечено на некоторых русских названиях) теперь остаётся на экране, но выступает влево за рамку панели оружия, и часть его может закрывать окошко счётчика патронов.
  • «Размер текста»: консоль и строки сообщений/чата масштабируются плавно; сообщения в центре экрана и субтитры рисуются оригинальными растровыми шрифтами только в целое число раз, поэтому растут ступенями (соседние значения могут выглядеть одинаково).
  • Версия GOG не проверялась.

Исходный код: https://github.com/sidreshot/openMERC (тег v0.2.2, коммит b54c135; оба архива собраны из этого коммита). Лицензия: GPL v2 или новее; сторонние лицензии — openmerc\THIRD_PARTY.txt и openmerc\licenses\.

SHA256 (openMERC-0.2.2-win32.zip): d6fdef84ca1bafa7b0d2d038ff6feb2e93b725d243fd3ec4f298e983be66d41a SHA256 (openMERC-0.2.2-linux-x86_64.tar.gz): 880e3186e25007d51934261b89e1204f18c082c70c4ea484f8a3156e0446c8da

Reply on the forum

A question or a hands-on report? Open the discussion on the forum.

Reply on the forum