OpenJK
OpenJK emulates Star Wars Jedi Knight: Jedi Academy and Star Wars Jedi Knight II: Jedi Outcast. It reads 8 files, 2 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 OpenJK 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 openjkTechnical notes
id Tech 3 source port for Star Wars Jedi Knight: Jedi Academy (JKA, single and multiplayer) and Star Wars Jedi Knight II: Jedi Outcast (JK2, single player only, as JK2 MP is not supported and upstream points users to JK2MV).
One source tree, three binaries:
openjk_sp JKA SP, built from code/ with BuildSPEngine
openjk JKA MP, built from codemp/ with BuildMPEngine
openjo_sp JK2 SP, built from code/ with BuildJK2SPEngine
(same translation units, JK2_MODE defined,
code/CMakeLists.txt:450-453)
BASEGAME = "base" (code/qcommon/q_shared.h:86). FS_Startup( BASEGAME )
adds base/ from cdpath, basepath, apppath, homepath via
FS_AddGameDirectory (code/qcommon/files.cpp:2730) which enumerates every
*.pk3 found there with Sys_ListFiles (code/qcommon/files.cpp:2770). No
specific pak filename is hard-coded in the loader: the retail archives
listed below are the files the stock games ship under base/, not a list
the engine looks up by name.
Hard engine dependency: default.cfg (SP) or mpdefault.cfg (MP) must be
readable through the virtual filesystem, otherwise FS_Startup aborts
with Com_Error( ERR_FATAL, "Couldn't load default.cfg" ) at
code/,3041 and
codemp/,4089.
Both config files live inside the retail assets0.pk3.
FS_idPak matches base/assets0 through base/assets8 (NUM_ID_PAKS = 9,
codemp/qcommon/qcommon.h:567, codemp/). The
MP client never auto-downloads a pak with one of those names
(codemp/qcommon/files.cpp:3241) and never offers one for download
(codemp/qcommon/files.cpp:4447). The check does not make any of them
required.
8 files: 2 required, 6 optional.
By kind: 8 game data.
In this collection: 0 in repo and 8 missing.
Game data
Section titled “Game data”| File | Status |
|---|---|
assets0.pk3
Source
|
required for Star Wars Jedi Knight: Jedi Academy missing game data |
assets1.pk3
Source
|
optional missing game data |
assets2.pk3
Source
|
optional missing game data |
assets3.pk3
Source
|
optional missing game data |
assets0.pk3
Source
|
required for Star Wars Jedi Knight II: Jedi Outcast missing game data |
assets1.pk3
Source
|
optional missing game data |
assets2.pk3
Source
|
optional missing game data |
assets5.pk3
Source
|
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