Yamagi Quake II - RetroBIOS¶
Technical notes
Quake II source port. BASEDIRNAME = "baseq2" (src/common/header/common.h :36). FS_AddDirToSearchPath (src/common/filesystem.c:1646) loops pak%d.<ext> from 0 to MAX_PAKS-1 (=99) across fs_packtypes = { pak, pk3 } for the active game directory, loading each one as a protected pak. baseq2/pak0.pak is the retail data; id's 3.20 point release adds baseq2/pak1.pak, baseq2/pak2.pak and the Three Wave CTF data under ctf/.
Supported official mods are listed in first_mods[]
(src/common/filesystem.c:1331) = { "baseq2", "xatrix", "rogue", "ctf" }.
Mod game dirs are selected via the game cvar (FS_InitFilesystem +
FS_BuildGameSpecificSearchPath, src/common/filesystem.c:2075-2097).
Each mod ships its own pak0.pak / pak1.pak (The Reckoning, Ground Zero,
Three Wave CTF). Zaero support uses the same path layout (game zaero)
but no official repository under the yquake2 org.
The engine never hashes a pak. Validation is "does the pack read as a valid PAK header" (FS_LoadPAK, src/common/filesystem.c:873). Missing files produce "Couldn't load %s" at Com_Error level only for the baseq2 lookup when the game cannot find any game assets at all.
Background music is streamed from <game>/music/track02.ogg ... track22.ogg by OGG_InitTrackList (src/client/sound/ogg.c), not required for gameplay.
6 files | 1 required, 5 optional | 4 in repo, 0 missing, 2 unsourceable Categories: 6 game data
pak0.pak required in repo game_data
- Path:
baseq2/pak0.pak - System: quake2
- Source:
src/common/filesystem.c:1688,src/common/filesystem.c:36,src/common/filesystem.c:1331 - Retail Quake II data pak. Not hash-validated.
pak1.pak optional in repo game_data
- Path:
baseq2/pak1.pak - System: quake2
- Source:
src/common/filesystem.c:1688 - Shipped by the 3.20 point release.
pak2.pak optional in repo game_data
- Path:
baseq2/pak2.pak - System: quake2
- Source:
src/common/filesystem.c:1688 - Shipped by the 3.20 point release.
pak0.pak optional unsourceable game_data
- Path:
xatrix/pak0.pak - System: xatrix
- Source:
src/common/filesystem.c:1331,src/common/filesystem.c:1688 - The Reckoning data. Loaded when
+set game xatrixis passed.
pak0.pak optional unsourceable game_data
- Path:
rogue/pak0.pak - System: rogue
- Source:
src/common/filesystem.c:1331,src/common/filesystem.c:1688 - Ground Zero data. Loaded when
+set game rogueis passed.
pak0.pak optional in repo game_data
- Path:
ctf/pak0.pak - System: ctf
- Source:
src/common/filesystem.c:1331,src/common/filesystem.c:1688 - Three Wave CTF data, shipped by the 3.20 point release. Loaded when
+set game ctfis passed.
Generated on 2026-10-10T11:26:02Z