Xash3D FWGS
Xash3D FWGS emulates Half-Life, Counter-Strike, Counter-Strike: Condition Zero and 6 more systems. It reads 19 files, 9 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 or RetroBat: the installer finds Batocera or RetroBat and its BIOS folder, then downloads only the files Xash3D FWGS 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 xash3d_fwgsOpen 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 xash3d_fwgsTechnical notes
GoldSrc / Half-Life 1 engine reimplementation by Flying With Gauss.
Game directories are discovered at startup: FS_CheckForXashGameDir
(filesystem/gameinfo.c:611-634) walks each sub-folder of the base path
and keeps the ones that contain gameinfo.txt or liblist.gam.
FS_ParseGenericGameInfo (filesystem/gameinfo.c:231-430) reads the mod
descriptor out of either file: basedir names the fallback game
(chained one level, e.g. czeror -> czero -> cstrike -> valve, see
filesystem/searchpath.c:327), fallback_dir names a second fallback,
and game / gamename carry the human-readable title.
Each supported mod's data is a Valve-style game folder with a game
descriptor, maps/, models/, sound/, overviews/ and any number of .pak
archives. FS_AddGameDirectory mounts every .pak of the folder, then
every .pk3, .pk3dir and .wad, each kind in sorted name order and each
above the previous one, then the folder itself on top, so loose files
win over packed ones (filesystem/). No archive name
is required. The engine does not hash any file: the pak header is the
only sanity check (filesystem/pak.c:98-157). liblist.gam ships inside each
retail mod and is also written out by the engine as gameinfo.txt the
first time it imports a Valve folder (filesystem/gameinfo.c:538-544).
A Quake-engine game dir is recognised separately by
FS_CheckForQuakeGameDir (filesystem/gameinfo.c:578-603), which looks
for pak0.pak + progs.dat / quake.rc, so Xash3D FWGS can run Quake 1 total
conversions this way.
Below are the folders Half-Life retail / official addon releases
install under the Steam install root. The descriptor is what makes the
engine detect a folder (filesystem/gameinfo.c:614-630), and the pak entries
name the archives the retail releases ship. Map / model / sound trees
that live beside them are too open-ended to enumerate and are counted
as part of the same game data.
19 files: 9 required, 10 optional.
By kind: 19 game data.
In this collection: 6 in repo, 0 missing and 13 unsourceable.
Game data
Section titled “Game data”| File | Status |
|---|---|
liblist.gam
Source
| required for Half-Life in repo game data |
pak0.pak
Source | optional unsourceable game data |
pak1.pak
Source | optional unsourceable game data |
liblist.gam
Source
| required for Counter-Strike unsourceable game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Counter-Strike: Condition Zero unsourceable game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Counter-Strike: Condition Zero Deleted Scenes unsourceable game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Deathmatch Classic in repo game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Half-Life: Opposing Force in repo game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Half-Life: Blue Shift unsourceable game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Ricochet in repo game data |
pak0.pak
Source
| optional unsourceable game data |
liblist.gam
Source
| required for Team Fortress Classic in repo game data |
pak0.pak
Source
| optional in repo 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