vkQuake2
vkQuake2 emulates Quake II, Quake II: The Reckoning, Quake II: Ground Zero and Quake II: Capture the Flag. It reads 8 files, 1 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, RetroBat or KNULLI: the installer finds Batocera, RetroBat or KNULLI and its BIOS folder, then downloads only the files vkQuake2 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 vkquake2Open 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 vkquake2Technical notes
Quake II 3.21 with a Vulkan renderer. VERSION 3.21, VKQUAKE2_VERSION
"1.5.10", BASEDIRNAME = "baseq2" (qcommon/qcommon.h:26-30).
FS_InitFilesystem reads the basedir cvar, default ".", and mounts
<basedir>/baseq2 (qcommon/files.c:858, 872). A non-empty game cvar adds
<basedir>/<game> on top (qcommon/files.c:878-880, 640).
FS_AddGameDirectory tries pak0.pak through pak9.pak in each directory and
skips an index that does not open (qcommon/files.c:537-542).
FS_LoadPackFile computes a checksum of the pak directory, but the
comparison against PAK0_CHECKSUM only runs with NO_ADDONS, which is
commented out (qcommon/files.c:24, 28, 484-489). No pak is rejected for
its contents. The Vulkan renderer, vid_ref default "vk"
(linux/vid_so.c:448), stops with ERR_FATAL when pics/colormap.pcx is
missing (ref_vk/vk_image.c:1640-1642). That file is in baseq2/pak0.pak.
Batocera 43.1 copies /usr/bin/vkquake2 (binary, ref_*.so and the game
libraries of baseq2, ctf, rogue, smd, xatrix, zaero) into
/userdata/roms/quake2, changes to that directory and runs ./quake2, with
+set game rogue|xatrix|zaero|smd chosen from the ROM name (configgen
generators/vkquake2/vkquake2Generator.py). The basedir is therefore
/userdata/roms/quake2.
Music is read from <gamedir>/music/trackNN.ogg, .flac, .mp3 or .wav,
then from baseq2/music/ (client/snd_miniaudio.c:215-220, 241-246).
8 files: 1 required, 7 optional.
By kind: 8 game data.
In this collection: 4 in repo, 0 missing and 4 unsourceable.
Game data
Section titled “Game data”| File | Status |
|---|---|
pak0.pak
Source
| required for Quake II in repo game data |
pak1.pak
Source
| optional in repo game data |
pak2.pak
Source
| optional in repo game data |
pak0.pak
Source
| optional unsourceable game data |
pak0.pak
Source
| optional unsourceable game data |
pak0.pak
Source
| optional in repo game data |
pak0.pak
Source
| optional unsourceable game data |
pak0.pak
Source
| optional unsourceable 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