Skip to content
Wanted files

PrBoom+ emulates Doom. It reads 2 files, none of them required: it starts games without them.

The app keeps its data in this folder:

~/Library/Application Support/prboom-plus/

~/.prboom-plus instead when that folder exists.

Source: prboom2/src/SDL/i_system.c:341-383

About this profile
Detail Value
Type standalone
Classification Game engine
Source https://github.com/coelckers/prboom-plus
Version v2.6.66, the tag at this revision
Revision coelckers/prboom-plus@969515162c5a
Profiled 2026-08-08
Profile YAML, JSON
Cores prboom-plus
Systems Doom
Data folder (macOS) ~/Library/Application Support/prboom-plus/
Data folder (Linux) $XDG_DATA_HOME/prboom-plus/
Technical notes

Doom source port forked from PrBoom, with the software and OpenGL renderers in a single binary. FindIWADFile accepts doom2f, doom2, plutonia, tnt, doom, doom1, doomu, freedoom2, freedoom1, freedm, hacx, chex, rekkrsa, bfgdoom2 and bfgdoom (prboom2/src/d_main.c:144-165). ES-DE runs it as "prboom-plus -iwad <file>", so the IWAD is content, not a system file.

prboom-plus.wad holds the engine's own lumps: the palette, the water colormap, the sine, tangent and gamma tables, the HUD layouts, the status bar digits, the crosshairs, the dog and plasma sprites, the GLSL shader sources, and the DEHACKED patches applied to Chex Quest, the BFG Edition and NERVE.WAD. M_LoadDefaults installs it as wad_files[0] and aborts with "PrBoom-Plus.wad not found. Can't continue." when I_FindFile returns nothing (prboom2/src/m_misc.c:1723-1724). It loads even under -noload, which caps the autoload loop at that one entry (prboom2/src/d_main.c:1877-1879). Lumps coming from it are tagged LUMP_PRBOOM so a PWAD can override them (prboom2/src/w_wad.c:185-196).

The tree ships the inputs, not the file: data/CMakeLists.txt builds it with the rdatawad tool from the raw palette, lumps, PPM graphics and WAV sounds under data/, then installs it into PRBOOMDATADIR, which is <prefix>/share/prboom-plus (CMakeLists.txt:188-189, data/CMakeLists.txt:370).

I_FindFile searches, in order: the config directory, the working directory, PRBOOMDATADIR, $DOOMWADDIR, the build-time DOOMWADDIR, $HOME/doom, $HOME, /usr/local/share/games/doom, /usr/share/games/doom, /usr/local/share/doom, /usr/share/doom, then every entry of $DOOMWADPATH (SDL/i_system.c:437-449, 471-505). The working directory entry carries no prefix, so an absolute name resolves on that pass. Existence is the only test, and the requested extension is appended only when the name as written is missing (SDL/i_system.c:532-538). The config directory is the directory holding the binary on Windows (SDL/i_system.c:289-311), and ~/.prboom-plus or the path from SDL_GetPrefPath elsewhere (SDL/i_system.c:347-383). macOS takes that branch too: the CMake build defines no MACOSX and does not compile MAC/i_system.m (prboom2/src/CMakeLists.txt:450-471).

snd_midiplayer picks the MIDI backend and defaults to fluidsynth on Windows, sdl elsewhere (prboom2/src/m_misc.c:444-450). Only the sdl value leaves use_experimental_music clear and routes MIDI through SDL_mixer (SDL/i_sound.c:1662-1668, 1221-1225), while every other value brings up the in-tree players. Their init results are recorded once at startup (SDL/i_sound.c:1383-1384) and consulted per song, a player that failed to init being logged and passed over for the next entry of music_player_order (SDL/i_sound.c:1511-1538). fluidsynth is the only one reading an external file. The OPL2 player that follows it takes its instruments from the IWAD GENMIDI lump (MUSIC/oplplayer.c:337-354).

2 files: 0 required, 2 optional. 2 have an HLE fallback. 1 more file comes with the app.

In this collection: 2 in repo and 0 missing.

TimGM6mb.sf2 optional in repo HLE fallback

General MIDI soundfont for the fluidsynth MIDI player

  • System: Doom
  • Named by the Windows default of snd_soundfont, where snd_midiplayer also defaults to fluidsynth, so a stock Windows configuration reads it. Any soundfont works: the value is a config string and I_FindFile2 appends .sf2 only when the name as written is missing. A load failure returns 0 from fl_init, and the song falls through to the next player on the list, the built-in OPL2 synth.
Source

default-GM.sf3 optional in repo HLE fallback

General MIDI soundfont named by the non-Windows soundfont default

  • System: Doom
  • The default is an absolute path, which resolves through the unprefixed working directory entry of the search table. Reached once snd_midiplayer is set away from its sdl default, since sdl keeps the fluidsynth player out of the picture entirely. Same fallback to the OPL2 synth as the Windows default.
Source

prboom-plus.wad comes with the app

PrBoom+ engine data WAD

  • System: Doom
  • The code checks existence only, then rejects a file whose header is neither IWAD nor PWAD (prboom2/src/w_wad.c:216-218). Hashes are those of the file rdatawad produces from the data/ assets at this revision, which matches the copy in the v2.6.66 release archive byte for byte. They identify the 2.6.66 build, and other versions carry different lumps.
  • Size: 349.4 KB, SHA1 8a799c661570
Hashes and source
Source analysis
.