Skip to content

v0.3.0: Portable Host (To Linux, and Beyond!)

Choose a tag to compare

@Owloeb Owloeb released this 08 Oct 05:15
· 127 commits to main since this release
f3852f2

v0.3.0: Portable Host (To Linux, and Beyond!)

  • New port/: a platform layer that runs the recompiled game with no Windows and no x86 CPU. Win32, the C runtime, Direct3D 9, DirectSound and DirectInput are implemented on top of one small interface, port/include/plat.h. A port to a new platform writes a backend for that interface and nothing else.
  • Backends included: POSIX, Windows (development and test target), SDL2 (OpenGL 2.1 and OpenGL ES 2.0), and a headless one.
  • One-command build: python3 port/build.py "<SS2.exe>". See the Linux quick start in port/README.md.
  • Plays through Rickenbacker and Body of the Many on Linux (WSL) and as a 64-bit Windows build. Experimental: mouselook on native Linux is untested (WSLg cannot capture the pointer).
  • Known gaps: shaders and cube/volume textures (the game falls back to fixed-function; screen-distortion and blur effects are missing), C++ exceptions, fmsel.dll on the portable host.
  • READMEs restructured; recompiler notes moved to docs/RECOMPILER.md.