Changelog
All notable changes to the Blood & Magic native port. The format follows Keep a Changelog and versions use Semantic Versioning.
[1.0.0] - 2026-11-21
First public release of the Linux and Windows builds.
Added
- Native 32-bit Windows build (
bam.exe) cross-compiled with i686 MinGW-w64. - Per-user NSIS installer: installs to
%LOCALAPPDATA%\Programs\Blood & Magic, creates Start Menu and optional desktop shortcuts, registers an uninstaller and LZMA-compresses the package. - Windows saves in
%APPDATA%\Blood & Magic, preserved by the uninstaller. - Per-monitor DPI awareness and version metadata in the Windows executable.
- Smacker cinematic audio: every audio track is decoded and mixed in real time, with volume, pan, mute and per-frame presence tracking.
- Data-directory discovery through
BAM_DATA_DIR,<exe>/dataor<exe>. - Static project website under
site/, with data-free downloads, changelog and development log. - Password-protected, AES-256 encrypted download of the data-bearing Windows installer; the password is kept out of the site and the archive is header-encrypted.
- Public site deployed at <https://games.darkvision.dev> with nginx and a Let's Encrypt certificate.
make checksmoke test,make windows,make windows-installerandmake siteconvenience targets.- Vendored official SDL2 2.32.10 MinGW development files for reproducible cross-builds.
Changed
- Replaced the Linux-only platform layer with a portable SDL2 layer shared by Linux and Windows.
- Modernised the platform layer to C++17: RAII for SDL objects,
std::array,std::filesystem,std::optional, no manualnew/delete. - Case-insensitive file lookup now uses
std::filesystemand caches resolved paths; Windows uses_wfopenso non-ASCII install paths work. - Save enumeration moved from POSIX
direntinto a portable platform module exposed to the C++98 engine throughlinux/include/portapi.h. - Build system now keeps Linux and Windows objects side by side under
build/linuxandbuild/windows; the root Makefile is a thin wrapper. - Audio mixer now resamples against the rate SDL actually opened instead of assuming 22050 Hz.
- Documentation consolidated in the root
README.md;port/README.mdis a forwarding page.
Fixed
- Smacker's silent trailer frames no longer replay the previous audio chunk.
- Long samples no longer overflow the mixer's fixed-point position.
- Save writes are redirected out of a read-only install tree.
- The uninstaller removes the entire install directory while keeping saves.
- Window focus loss releases stuck keys and mouse buttons.
- Quitting now releases SDL audio streams and the video window before
SDL_Quit().
Removed
- Stale duplicate root Makefile/headless-test (replaced by forwarding wrappers) and the outdated
port/README.mdcopy.