Skip to content

openMERC 0.2.3

Choose a tag to compare

@sidreshot sidreshot released this 12 Nov 11:37
· 66 commits to main since this release

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/.