Expand description
OpenBlood: an open-source engine that runs the original Blood (1997) data files. You must own the original game; OpenBlood ships no game content.
Modulesยง
- app ๐
- Window, input and presentation loop.
- audio ๐
- Sound effects: SFX/RAW from SOUNDS.RFF mixed in software with 3D panning.
- cdaudio ๐
- Red Book CD audio: extracts music tracks from the userโs own disc image (CUE/BIN) into TRACKnn.WAV files, which OpenBlood then plays as level music.
- config ๐
openblood.inisettings (simplekey = valuelines,;comments).- fm ๐
- Two-operator FM voices in the style of the Yamaha OPL2/OPL3 chips, used to play Bloodโs MIDI music with its AdLib timbre bank when no CD audio was ripped.
- hud ๐
- Heads-up display drawn over the 3D view (resolution independent).
- menu ๐
- Front-end menus drawn with the original Blood font and art tiles.
- midi ๐
- MIDI music: Standard MIDI Files with Apogeeโs EMIDI extensions, played with the FM voices
in
crate::fmand Bloodโs AdLib timbre bank (GMTIMBRE.TMBin SOUNDS.RFF). Used for a levelโsSong=(BLOOD.INI) when no CD audio track was ripped. - movie ๐
- Cutscene playback: Smacker videos (intro logos and episode cutscenes) from the userโs own game files, with their separate WAV soundtracks.
- scale ๐
- Scaling the rendered frame to the window: area averaging when shrinking (supersampling anti-aliasing), and nearest / bilinear / sharp-bilinear when enlarging.
- tools ๐
Functionsยง
- find_
data_ ๐dir - level_
list ๐ - Episode map order from BLOOD.INI (falls back to the maps found in BLOOD.RFF).
- main ๐