OpenJKDF2
OpenJKDF2 emulates Star Wars Jedi Knight: Dark Forces II, Star Wars Jedi Knight: Mysteries of the Sith and Star Wars: DroidWorks. It reads 23 files, 17 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: the installer finds Batocera and its BIOS folder, then downloads only the files OpenJKDF2 reads there and checks each one.
Open 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 openjkdf2Technical notes
Reimplementation of LucasArts' Sith engine. Runs Star Wars Jedi Knight:
Dark Forces II (1997), its Mysteries of the Sith expansion (1998) with
the -motsCompat switch, and Star Wars DroidWorks (1998) via the
DroidWorks branch of the build.
Resource mounting (src/Main/jkRes.c):
aGobDirectories[3] "resource" root, auto-mounted at startup
(src/Main/jkRes.c:37 jkRes_LoadNew)
aGobDirectories[1] "episode<name>.gob" / ".goo" for the active
episode, mounted by jkRes_LoadGob
(src/Main/jkRes.c:103-106)
aGobDirectories[4] gamedata\resource (CD overlay), mounted by
jkRes_LoadCd (src/Main/jkRes.c:130-131)
The asset root is the working directory when it holds resource/jk_.cd,
else the per-user data directory, whose last component is openjkdf2,
openjkmots or opendroidworks (src/Main/InstallHelper.c:97,
src/). Paths below are written under that
component.
jkRes_LoadNew mounts every .gob (.goo in Mysteries of the Sith mode) of
resource/ (src/Main/jkRes.c:287-300) and jkEpisode lists every one of
episode/ (src/Main/jkEpisode.c:106).
Required-asset lists are declared in src/Main/InstallHelper.c and
checked by InstallHelper_CheckInstalled / AttemptInstallFromExisting;
a missing entry aborts installation (src/,
1091-1097, 1229-1256).
JK.EXE / JKM.EXE are only consumed by the 32-bit static-recomp build
(src/main.c:696-718, gated by !ARCH_64BIT && !ARCH_WASM && !TARGET_ANDROID), which mmaps the retail binary at 0x400000 and
patches it via do_hooks(). The 64-bit, WASM and Android builds skip
that path and do not read JK.EXE at all.
23 files: 17 required, 6 optional.
By kind: 23 game data.
In this collection: 5 in repo and 18 missing.
Game data
Section titled “Game data”| File | Status |
|---|---|
JK1.gob
Source
|
required for Star Wars Jedi Knight: Dark Forces II missing game data |
JK1CTF.gob
Source
|
required for Star Wars Jedi Knight: Dark Forces II missing game data |
JK1MP.gob
Source
|
required for Star Wars Jedi Knight: Dark Forces II missing game data |
Res1hi.gob
Source
|
required for Star Wars Jedi Knight: Dark Forces II missing game data |
Res2.gob
Source
|
required for Star Wars Jedi Knight: Dark Forces II missing game data |
jk_.cd
Source
|
required for Star Wars Jedi Knight: Dark Forces II in repo game data |
jk1demo.gob
Source |
optional in repo game data |
jk1mpdem.gob
Source |
optional in repo game data |
res1demo.gob
Source |
optional in repo game data |
Res1low.gob
Source
|
optional missing game data |
JK.EXE
Source
|
optional missing game data |
JKM.goo
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data |
JKM_KFY.goo
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data |
JKM_MP.goo
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data |
JKM_SABER.goo
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data |
Jkmres.goo
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data |
JKMsndLO.goo
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data |
jk_.cd
Source
|
required for Star Wars Jedi Knight: Mysteries of the Sith in repo game data |
JKM.EXE
Source
|
optional missing game data |
dwCD.GOB
Source
|
required for Star Wars: DroidWorks missing game data |
dwHD.GOB
Source
|
required for Star Wars: DroidWorks missing game data |
dwMin.GOB
Source
|
required for Star Wars: DroidWorks missing game data |
dwStream.GOB
Source
|
required for Star Wars: DroidWorks 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