Skip to content
Wanted files

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
Detail Value
Type standalone
Classification Game engine
Source https://github.com/shinyquagsire23/OpenJKDF2
Version 0.9.9.0, stated in cmake_modules/version.cmake
Revision shinyquagsire23/OpenJKDF2@ae6ed8a81b31
Run by Batocera
Profiled 2026-10-04
Profile YAML, JSON
Systems Star Wars Jedi Knight: Dark Forces II, Star Wars Jedi Knight: Mysteries of the Sith, Star Wars: DroidWorks
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.

Terminal
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator openjkdf2
Technical 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/Main/InstallHelper.c:239-270). 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/Main/InstallHelper.c:748-756, 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.

FileStatus

JK1.gob

  • Path: openjkdf2/episode/JK1.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Single-player episode data.
Source
required for Star Wars Jedi Knight: Dark Forces II missing game data

JK1CTF.gob

  • Path: openjkdf2/episode/JK1CTF.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Multiplayer CTF episode.
Source
required for Star Wars Jedi Knight: Dark Forces II missing game data

JK1MP.gob

  • Path: openjkdf2/episode/JK1MP.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Multiplayer deathmatch episode. Default -episode value in src/Main/Main.c:133.
Source
required for Star Wars Jedi Knight: Dark Forces II missing game data

Res1hi.gob

  • Path: openjkdf2/resource/Res1hi.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • High-resolution textures and sprites.
Source
required for Star Wars Jedi Knight: Dark Forces II missing game data

Res2.gob

  • Path: openjkdf2/resource/Res2.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Shared engine resources: sounds, 3DOs, materials.
Source
required for Star Wars Jedi Knight: Dark Forces II missing game data

jk_.cd

  • Path: openjkdf2/resource/jk_.cd
  • System: Star Wars Jedi Knight: Dark Forces II
  • 4-byte marker. The install helper writes JKRES_MAGIC_1 into it once the assets are copied, 0x699232C4 for this game. At startup a missing marker sends the engine to the required-asset check.
required for Star Wars Jedi Knight: Dark Forces II in repo game data

jk1demo.gob

  • Path: openjkdf2/episode/jk1demo.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Single-player episode of the demo, copied by the install helper when present.
optional in repo game data

jk1mpdem.gob

  • Path: openjkdf2/episode/jk1mpdem.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Aliases: jk1mpdemo.gob
  • Multiplayer episode of the demo. The install helper copies it under either name.
optional in repo game data

res1demo.gob

  • Path: openjkdf2/resource/res1demo.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Resources of the demo, copied by the install helper when present.
optional in repo game data

Res1low.gob

  • Path: openjkdf2/resource/Res1low.gob
  • System: Star Wars Jedi Knight: Dark Forces II
  • Low-resolution textures shipped on the CD under MININSTALL/.
Source
optional missing game data

JK.EXE

  • System: Star Wars Jedi Knight: Dark Forces II
  • Retail executable mmap'd at 0x400000 and patched by do_hooks() in the 32-bit static-recomp build. Not read by the 64-bit, WASM or Android builds.
Source
optional missing game data

JKM.goo

  • Path: openjkmots/episode/JKM.goo
  • System: Star Wars Jedi Knight: Mysteries of the Sith
  • Main MoTS single-player episode.
Source
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data

JKM_KFY.goo

  • Path: openjkmots/episode/JKM_KFY.goo
  • System: Star Wars Jedi Knight: Mysteries of the Sith
Source
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data

JKM_MP.goo

  • Path: openjkmots/episode/JKM_MP.goo
  • System: Star Wars Jedi Knight: Mysteries of the Sith
Source
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data

JKM_SABER.goo

  • Path: openjkmots/episode/JKM_SABER.goo
  • System: Star Wars Jedi Knight: Mysteries of the Sith
Source
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data

Jkmres.goo

  • Path: openjkmots/resource/Jkmres.goo
  • System: Star Wars Jedi Knight: Mysteries of the Sith
  • Shared MoTS engine resources.
Source
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data

JKMsndLO.goo

  • Path: openjkmots/resource/JKMsndLO.goo
  • System: Star Wars Jedi Knight: Mysteries of the Sith
  • Low-quality sound bank (MININSTALL/JKMSNDLO.GOO on the CD).
Source
required for Star Wars Jedi Knight: Mysteries of the Sith missing game data

jk_.cd

  • Path: openjkmots/resource/jk_.cd
  • System: Star Wars Jedi Knight: Mysteries of the Sith
  • 4-byte marker holding 0x3B426929. InstallHelper_SetCwd reads it at startup and enables Mysteries of the Sith mode when it finds that value.
required for Star Wars Jedi Knight: Mysteries of the Sith in repo game data

JKM.EXE

  • System: Star Wars Jedi Knight: Mysteries of the Sith
  • MoTS retail executable, used only by the 32-bit static-recomp build.
Source
optional missing game data

dwCD.GOB

  • System: Star Wars: DroidWorks
  • CD-image data archive, mounted by dwGob.
Source
required for Star Wars: DroidWorks missing game data

dwHD.GOB

  • System: Star Wars: DroidWorks
  • Hard-drive install archive.
Source
required for Star Wars: DroidWorks missing game data

dwMin.GOB

  • System: Star Wars: DroidWorks
  • Minimum-install archive.
Source
required for Star Wars: DroidWorks missing game data

dwStream.GOB

  • System: Star Wars: DroidWorks
  • Streamed WAV audio, listed only in the WAV ext search path.
Source
required for Star Wars: DroidWorks missing game data
.