The Force Engine
The Force Engine emulates Star Wars: Dark Forces and Outlaws. It reads 6 files, 4 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.
About this profile
Install this emulator's files
With Batocera or RetroBat: the installer finds Batocera or RetroBat and its BIOS folder, then downloads only the files The Force Engine reads there and checks each one.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator theforceengineOpen a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator theforceengineTechnical notes
Modern Jedi engine reimplementation by Lucius Dark, supporting LucasArts Dark Forces (shipping) and Outlaws (in-progress).
TFE itself bundles the engine data under TheForceEngine/ in the source tree, which batocera.ports/theforceengine.mk rsyncs to /usr/share/batocera/datainit/system/configs/theforceengine/ on install: Captions/ Documentation/ ExternalData/ Fonts/ Mods/ Shaders/ SoundFonts/ UI_Text/ UI_Images/
The user is expected to supply the retail game data. Dark Forces is probed
by checking for DARK.GOB in the configured source-data path
(TheForceEngine/, with PATH_SOURCE_DATA from TFE_Paths).
Dark Forces loader list (TFE_DarkForces/darkForcesMain.cpp:70-83): c_gobFileNames[] = DARK.GOB, SOUNDS.GOB, TEXTURES.GOB, SPRITES.GOB c_optionalGobFileNames[] = enhanced.gob The DOS retail Dark Forces floppy and CD both ship DARK.GOB, SOUNDS.GOB, TEXTURES.GOB, SPRITES.GOB, and enhanced.gob is the TFE-only HD asset pack.
Dark Forces official patch v1.22 (df_patch4) is pulled by the build script as df_patch4.zip from df-21.net and dropped under Mods/, so the engine applies the retail v1.22 patches on top of any user retail install (THEFORCEENGINE_ PATCH_SOURCE in the batocera mk). The patch itself is bundled with the emulator, not with the retail data.
Outlaws: every method of TFE_Outlaws/outlawsMain.cpp is a stub and runGame() returns false. The only Outlaws file the code names is Outlaws.lab, tested by the settings dialog before it stores the Outlaws source path (TFE_FrontEndUI/frontEndUi.cpp:1340). The line that would make it the active source path is commented out (:1344).
6 files: 4 required, 2 optional.
By kind: 6 game data.
In this collection: 0 in repo and 6 missing.
Game data
Section titled “Game data”| File | Status |
|---|---|
DARK.GOBDark Forces main data archive (levels, briefings, scripts)
Source
| required for Star Wars: Dark Forces missing game data |
SOUNDS.GOBDark Forces audio archive
Source
| required for Star Wars: Dark Forces missing game data |
TEXTURES.GOBDark Forces texture archive
Source
| required for Star Wars: Dark Forces missing game data |
SPRITES.GOBDark Forces sprite archive
Source
| required for Star Wars: Dark Forces missing game data |
enhanced.gobOptional enhanced HD asset pack
| optional missing game data |
Outlaws.labOutlaws main LAB archive
| optional missing game data |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start