Fade To Black engine reimplementation (SDL, OpenGL)
  • C++ 89.9%
  • C 8.7%
  • CMake 1.4%
Find a file
2026-04-20 18:20:33 +01:00
.github/workflows Move build system to cmake and add version output to builds 2026-04-01 00:41:28 +01:00
cmake Update install target 2026-04-19 21:22:11 +01:00
dist Update screenshots 2026-04-20 12:48:15 +01:00
docs Add documentation index and code block language annotations 2026-04-20 18:20:33 +01:00
src Move build system to cmake and add version output to builds 2026-04-01 00:41:28 +01:00
.gitignore Move build system to cmake and add version output to builds 2026-04-01 00:41:28 +01:00
CMakeLists.txt Add historic release info from Grégory's website. 2026-04-19 21:13:22 +01:00
LICENSE Add historic release info from Grégory's website. 2026-04-19 21:13:22 +01:00
README.md Convert README to markdown and add baseline LICENSE 2026-03-31 14:56:39 +01:00

f2bgl

About

f2bgl is a re-implementation of the engine for the 1995 game "Fade To Black" by Delphine Software, originally reverse engineered by Grégory "cyxx" Montoir.

Running

You will need the original files of the PC release or PC demo.

By default, the program will try to load the game data files from the current directory. The expected directory structure is :

	DELPHINE.INI
	TRIGO.DAT    - optional
	DATA/
	DATA/DRIVERS/
	DATA/SOUND/
	INSTDATA/    - optional
	TEXT/        - not present with demo version
	VOICE/       - not present with demo version

Defaults can be changed using command line switches :

    Usage: f2bgl [OPTIONS]...
    --datapath=PATH             Path to data files (default '.')
    --language=EN|FR|GR|SP|IT   Language files to use (default 'EN')
    --playdemo                  Use inputs from .DEM files
    --level=NUM                 Start at level NUM
    --voice=EN|FR|GR            Voice files (default 'EN')
    --subtitles                 Display cutscene subtitles
    --savepath=PATH             Path to save files (default '.')
    --fullscreen                Fullscreen display (stretched)
    --fov=DEG                   Field of vision in degrees (75-130)
    --soundfont=FILE            SoundFont (.sf2) file for music
    --texturefilter=FILTER      Texture filter (default 'linear')
    --texturescaler=NAME        Texture scaler (default 'scale2x')
    --mouse                     Enable mouse controls
    --no-fog                    Disable fog rendering
    --no-gouraud                Disable gouraud shading

Controls

The game can be played using a joystick, a gamepad or the keyboard. Key mappings can be changed by editing the file 'controls.cfg'.

In-game keys (default):

    Arrow Keys     move Conrad
    Alt / V        toggle gun mode
    Shift          walk (or steps)
    Ctrl / B       shoot
    Enter          reload gun
    Space          activate (or shoot)
    Tab            change inventory category
    Escape         save/load menu
    I              inventory menu
    J              jump
    U              use current item
    1 .. 5         use item #
    T              take screenshot
    S              save game state
    L              load game state
    + and -        change game state save slot
    F1             toggle fog on/off
    F2             toggle flat/gouraud shading