# vkQuake

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/vkquake/

vkQuake emulates Quake. It reads 5 files, 1 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Game engine |
| Source | [https://github.com/Novum/vkQuake](https://github.com/Novum/vkQuake) |
| Upstream | [https://sourceforge.net/projects/quakespasm/](https://sourceforge.net/projects/quakespasm/) |
| Version | 1.37.1, stated in [`Quake/quakever.h`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/quakever.h) |
| Revision | [Novum/vkQuake@308ff19d881c](https://github.com/Novum/vkQuake/commit/308ff19d881c2eab7e5e4a21b98847847525eef9) |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/) |
| Profiled | 2026-10-23 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/vkquake.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/vkquake.json) |
| Cores | vkquake |
| Systems | [Quake](https://abdess.github.io/retrobios/systems/id-software/#quake) |

**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 vkQuake reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator vkquake
```

**On the device:**

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 vkquake
```

**Technical notes**

Vulkan Quake engine derived from QuakeSpasm. VKQUAKE_VERSION 1.37, VKQUAKE_VER_PATCH 1 ([`Quake/quakever.h:37-41`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/quakever.h#L37-L41)). GAMENAME = "id1" ([`Quake/quakedef.h:36`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/quakedef.h#L36)).

COM_InitFilesystem takes the base directory from -basedir, otherwise host_parms->basedir ([`Quake/common.c:3877-3881`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3877-L3881)). Without -basedir, when that directory holds neither id1/pak0.pak nor QuakeEX.kpf, it looks for a Steam, GOG or Epic Games Store install of Quake or of the rerelease ([`Quake/common.c:3888-3895`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3888-L3895), [`3159-3171`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3159-L3171)). COM_AddGameDirectory opens <basedir>/<dir>/pak0.pak, pak1.pak, ... and stops at the first index that does not open ([`Quake/common.c:2882-2886`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2882-L2886)). Right after id1/pak0.pak it mounts vkquake.pak, built from Misc/vq_pak and embedded in the binary ([`Quake/common.c:2898-2923`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2898-L2923)). It carries default.cfg, menu pictures, a console background, crosshair images and entity fixes, no gfx.wad and no palette (Misc/vq_pak/vq_pak_contents.txt).

gfx.wad and gfx/colormap.lmp come from id1/pak0.pak, and without either the engine stops with Sys_Error ([`Quake/wad.c:80-87`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/wad.c#L80-L87), [`Quake/host.c:1416-1418`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/host.c#L1416-L1418)). gfx/pop.lmp, present only in the registered id1/pak1.pak, sets the registered cvar ([`Quake/common.c:2023-2049`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2023-L2049)).

COM_LoadPackFile compares the file count (339) and the CRC of the pak directory against id1/pak0.pak v1.00, v1.01 and v1.06 ([`Quake/common.c:58-61`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L58-L61), [`2773-2786`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2773-L2786)). A mismatch only sets com_modified, the file is still mounted. With com_modified set and no gfx/pop.lmp the engine stops ([`Quake/common.c:2029-2035`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2029-L2035)), so -game, -hipnotic and -rogue, whose paks differ from id1/pak0.pak, need the registered id1/pak1.pak.

-rogue and -hipnotic add rogue/ and hipnotic/ after id1/ ([`Quake/common.c:3948-3951`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3948-L3951)). Batocera 43.1 runs `vkquake -basedir /userdata/roms/quake` and adds -hipnotic or -rogue from the ROM name (configgen generators/vkquake/vkquakeGenerator.py).

Background music is streamed from <game>/music/trackNN.<ext>, ogg, opus, flac, mp3 and wav, when present ([`Quake/bgmusic.c:29`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/bgmusic.c#L29), [`321`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/bgmusic.c#L321)).

Localized strings for the 2021 rerelease content are read from localization/loc_<language>.txt, falling back to loc_english.txt, first through the search path, then as a loose file in the base directory, then inside <basedir>/QuakeEX.kpf ([`Quake/common.c:4300-4302`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L4300-L4302), [`4322-4326`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L4322-L4326), 4612-4619).

## Files

**5 files**: 1 required, 4 optional.

By kind: 5 game data.

In this collection: 1 in repo, 0 missing and 4 unsourceable.

## Game data

### `pak0.pak` required in repo game data

- Path: `id1/pak0.pak`
- System: [Quake](https://abdess.github.io/retrobios/systems/id-software/#quake)
- Shareware and registered Quake data, one file in both releases. Directory CRC compared to v1.00, v1.01, v1.06, but a mismatch does not refuse the file.

- Collection copy: [`bios/Id Software/Quake/id1/pak0.pak`](https://abdess.github.io/retrobios/systems/id-software/#sha1-36b42dc7b631)
- Platforms: `ports/quake/id1/pak0.pak`: [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#quake)

**Source**

- Source: [`Quake/common.c:2882-2886`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2882-L2886) (pak%i.pak loop), [`Quake/common.c:3937`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3937) (id1 by default), [`Quake/wad.c:80-87`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/wad.c#L80-L87) (gfx.wad fatal)

### `pak1.pak` optional unsourceable game data

- Path: `id1/pak1.pak`
- System: [Quake](https://abdess.github.io/retrobios/systems/id-software/#quake)
- Registered episodes 2 to 4. Read only after pak0.pak opens. Needed by -hipnotic, -rogue and -game.
- Not collected yet: retail data the collection does not hold, and a same-named file of another game must not stand in ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Source: [`Quake/common.c:2882-2886`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2882-L2886) (pak%i.pak loop), [`Quake/common.c:2023-2035`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2023-L2035) (gfx/pop.lmp, registered check)

### `pak0.pak` optional unsourceable game data

- Path: `hipnotic/pak0.pak`
- System: [Quake](https://abdess.github.io/retrobios/systems/id-software/#quake)
- Scourge of Armagon data. Loaded with -hipnotic.
- Not collected yet: retail data the collection does not hold, and a same-named file of another game must not stand in ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Source: [`Quake/common.c:3950-3951`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3950-L3951) (-hipnotic), [`Quake/common.c:2882-2886`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2882-L2886) (pak%i.pak loop)

### `pak0.pak` optional unsourceable game data

- Path: `rogue/pak0.pak`
- System: [Quake](https://abdess.github.io/retrobios/systems/id-software/#quake)
- Dissolution of Eternity data. Loaded with -rogue.
- Not collected yet: retail data the collection does not hold, and a same-named file of another game must not stand in ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Source: [`Quake/common.c:3948-3949`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3948-L3949) (-rogue), [`Quake/common.c:2882-2886`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L2882-L2886) (pak%i.pak loop)

### `QuakeEX.kpf` optional unsourceable game data

- System: [Quake](https://abdess.github.io/retrobios/systems/id-software/#quake)
- Zip archive of the 2021 rerelease. Opened only for localization/loc_<language>.txt when no loose copy is found, and tested by the store detection to tell a rerelease folder.
- Not collected yet: retail data the collection does not hold ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Source: [`Quake/common.c:4322-4326`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L4322-L4326) (localization fallback), [`Quake/common.c:3159-3171`](https://github.com/Novum/vkQuake/blob/308ff19d881c2eab7e5e4a21b98847847525eef9/Quake/common.c#L3159-L3171) (rerelease data directory test)

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
