Fade To Black engine reimplementation (SDL, OpenGL)
- C++ 89.9%
- C 8.7%
- CMake 1.4%
| .github/workflows | ||
| cmake | ||
| dist | ||
| docs | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
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