# PrBoom+

> 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/prboom-plus/

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

The app keeps its data in this folder:

**macOS:**

`~/Library/Application Support/prboom-plus/`

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

Source: [`prboom2/src/SDL/i_system.c:341-383`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/SDL/i_system.c#L341-L383)

**Linux:**

`$XDG_DATA_HOME/prboom-plus/`

~/.local/share/prboom-plus when XDG_DATA_HOME is unset (SDL_GetPrefPath), ~/.prboom-plus instead when that folder exists.

Source: [`prboom2/src/SDL/i_system.c:341-383`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/SDL/i_system.c#L341-L383)

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Game engine |
| Source | [https://github.com/coelckers/prboom-plus](https://github.com/coelckers/prboom-plus) |
| Version | v2.6.66, the tag at this revision |
| Revision | [coelckers/prboom-plus@969515162c5a](https://github.com/coelckers/prboom-plus/commit/969515162c5aebea4ad7a125ee178dcad3d576ad) |
| Profiled | 2026-08-08 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/prboom-plus.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/prboom-plus.json) |
| Cores | prboom-plus |
| Systems | [Doom](https://abdess.github.io/retrobios/systems/id-software/#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`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L144-L165)). 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`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1723-L1724)). It loads even under -noload, which caps the autoload loop at that one entry ([`prboom2/src/d_main.c:1877-1879`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1877-L1879)). Lumps coming from it are tagged LUMP_PRBOOM so a PWAD can override them ([`prboom2/src/w_wad.c:185-196`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/w_wad.c#L185-L196)).

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`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/CMakeLists.txt#L450-L471)).

snd_midiplayer picks the MIDI backend and defaults to fluidsynth on Windows, sdl elsewhere ([`prboom2/src/m_misc.c:444-450`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L444-L450)). 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).

## Files

**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.

## Optional

### `TimGM6mb.sf2` optional in repo HLE fallback

General MIDI soundfont for the fluidsynth MIDI player

- System: [Doom](https://abdess.github.io/retrobios/systems/id-software/#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.

- Collection copy: [`bios/Other/prboom-plus/TimGM6mb.sf2`](https://abdess.github.io/retrobios/systems/other/#sha1-63e4eab3162e)

**Source**

- Source: [`prboom2/src/m_misc.c:445-446`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L445-L446) (_WIN32 defaults for snd_midiplayer and snd_soundfont), [`prboom2/src/MUSIC/flplayer.c:193-202`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/MUSIC/flplayer.c#L193-L202) (I_FindFile2 then fluid_synth_sfload)

### `default-GM.sf3` optional in repo HLE fallback

General MIDI soundfont named by the non-Windows soundfont default

- System: [Doom](https://abdess.github.io/retrobios/systems/id-software/#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.

- Collection copy: [`bios/Other/prboom-plus/default-GM.sf3`](https://abdess.github.io/retrobios/systems/other/#sha1-1727e16cb9a6)

**Source**

- Source: [`prboom2/src/m_misc.c:448-449`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L448-L449) (non-_WIN32 defaults, /usr/share/sounds/sf3/default-GM.sf3), [`prboom2/src/MUSIC/flplayer.c:193-202`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/MUSIC/flplayer.c#L193-L202) (I_FindFile2 then fluid_synth_sfload)

## Comes with the app

### `prboom-plus.wad` comes with the app

PrBoom+ engine data WAD

- System: [Doom](https://abdess.github.io/retrobios/systems/id-software/#doom)
- The code checks existence only, then rejects a file whose header is neither IWAD nor PWAD ([`prboom2/src/w_wad.c:216-218`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/w_wad.c#L216-L218)). 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**

- SHA1: `8a799c6615702aac72016b784e30ea1abd3e197b`
- MD5: `1164ae723c9181698cc41dde6a341132`
- CRC32: `a4626dfa`
- Source: [`prboom2/src/m_misc.c:1723-1724`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1723-L1724) (I_FindFile then I_Error), [`prboom2/src/d_main.c:1873-1895`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1873-L1895) (autoload), [`prboom2/src/w_wad.c:185-196`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/w_wad.c#L185-L196) (LUMP_PRBOOM tagging), [`prboom2/CMakeLists.txt:41`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/CMakeLists.txt#L41) (PACKAGE_TARNAME), [`prboom2/CMakeLists.txt:234-235`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/CMakeLists.txt#L234-L235) (WAD_DATA), [`prboom2/data/CMakeLists.txt:364-370`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/data/CMakeLists.txt#L364-L370) (rdatawad build and install)

## Profile data

**Source analysis**

-

**engine wad contents:**

  -

**source ref:** [`prboom2/data/CMakeLists.txt:24-340`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/data/CMakeLists.txt#L24-L340) (rdatawad input lists), [`prboom2/data/CMakeLists.txt:342-362`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/data/CMakeLists.txt#L342-L362) (WAD_SRC and WAD_CMDLINE)

  -

**note:** What rdatawad packs into prboom-plus.wad, in the order the command line builds it.

  -

**palette:** palette.rgb

  -

**lumps:**

    - SWITCHES, ANIMATED
    - the CR* colour translation tables

  -

**colormaps:** WATERMAP, between C_START and C_END

  -

**tables:**

    -

**note:** Between B_START and B_END

    -

**entries:**

      - SINETABL, TANGTABL, TANTOANG, GAMMATBL
      - CHEXDEH, BFGBEX, NERVEBEX
      - GLSHADOW, GLFP, GLVP
      - -PRBHUD-, read by [`prboom2/src/hu_stuff.c:1144`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/hu_stuff.c#L1144)
      - the M_* OpenGL automap icons listed in [`prboom2/src/gl_map.c:48-68`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_map.c#L48-L68)

  -

**sounds:** DSDGSIT, DSDGATK, DSDGACT, DSDGDTH, DSDGPAIN

  -

**graphics:** the DIG* status bar digits, STBR*, the BOX* frame pieces, STKEYS6-8, STCFN096, M_BUTT1/2, M_COLORS, M_PALNO, M_PALSEL, M_VBOX, CROSS1-3

  -

**flats:** -N0_TEX-, between FF_START and FF_END

  -

**sprites:** TNT1A0, the DOGS* frames, PLS1* and PLS2*, between SS_START and SS_END

-

**shader override:**

  -

**files:**

    - shaders/glvp.txt
    - shaders/glfp.txt

  -

**source ref:** [`prboom2/src/gl_shader.c:144-152`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_shader.c#L144-L152) (path built from I_DoomExeDir), [`prboom2/src/gl_shader.c:84-129`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_shader.c#L84-L129) (ReadLump)

  -

**note:** Read from the config directory when present. ReadLump falls back to the GLVP and GLFP lumps in the ns_prboom namespace when the file is missing, and those lumps are built into prboom-plus.wad (data/CMakeLists.txt:60-61). No distribution ships the .txt form: it is an override slot, and the shipped content is already covered by the WAD.

-

**generated files:**

  -

**note:** Written by the program itself, none is user-supplied

  -

**entries:**

    - filename: prboom-plus.cfg, source ref: [`prboom2/src/m_misc.c:1586-1600`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1586-L1600) (BOOM_CFG, path from I_DoomExeDir), [`prboom2/src/m_misc.c:1606`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1606) (read)
    - filename: RGB2PAL.dat, source ref: [`prboom2/src/gl_hires.c:938-953`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L938-L953) (read), [`prboom2/src/gl_hires.c:962-967`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L962-L967) (opened wb and written), note: A 24-bit RGB to palette lookup table built from V_GetPlaypal, so its contents follow whichever IWAD is loaded. [`prboom2/src/gl_hires.c:920-936`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L920-L936) prefers an RGB2PAL lump of the right length when a WAD supplies one.
    - filename: <hires image>.cache, source ref: [`prboom2/src/gl_hires.c:1144-1147`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L1144-L1147) (read), [`prboom2/src/gl_hires.c:1179`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L1179) (gld_HiRes_WriteCache), note: Keyed on the source image mtime and discarded when it differs.
    - filename: levelstat.txt, source ref: [`prboom2/src/e6y.c:968`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/e6y.c#L968)
    - filename: levelinfo.txt, source ref: [`prboom2/src/d_main.c:1049-1060`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1049-L1060) (behind GL_DOOM and PRBOOM_DEBUG)
    - filename: temp_a.nut, temp_v.nut, source ref: [`prboom2/src/m_misc.c:1065-1066`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1065-L1066) (cap_tempfile1, cap_tempfile2)

-

**user supplied paths:**

  -

**note:** Named on the command line or in the config, with no fixed filename

  -

**entries:**

    - what: IWAD, -iwad or autodetected from the standard names, source ref: [`prboom2/src/d_main.c:144-165`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L144-L165) (standard_iwads), [`prboom2/src/d_main.c:977-990`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L977-L990) (FindIWADFile)
    - what: PWADs, -file, source ref: [`prboom2/src/d_main.c:1906-1927`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1906-L1927)
    - what: DEHACKED and BEX patches, -deh, plus the dehfile_1 and dehfile_2 config keys and the autoload directories, source ref: [`prboom2/src/d_main.c:2036-2055`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L2036-L2055), [`prboom2/src/d_main.c:2081-2099`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L2081-L2099), [`prboom2/src/m_misc.c:336-337`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L336-L337)
    - what: extra autoloaded WADs, wadfile_1 and wadfile_2, source ref: [`prboom2/src/m_misc.c:334-335`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L334-L335), [`prboom2/src/d_main.c:1873-1895`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1873-L1895)
    - what: autoload directories, <config dir>/autoload/doom-all and one per IWAD, source ref: [`prboom2/src/d_main.c:1400-1414`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1400-L1414) (GetAutoloadBaseDir), [`prboom2/src/d_main.c:1500-1519`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1500-L1519) (D_AutoloadIWadDir)
    - what: demos, -playdemo, -fastdemo, -record, source ref: [`prboom2/src/r_demo.c:89-119`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/r_demo.c#L89-L119), [`prboom2/src/g_game.c:2570`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/g_game.c#L2570), [`prboom2/src/g_game.c:3150`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/g_game.c#L3150)
    - what: external high resolution texture packs, under textures/, flats/ and patches/, source ref: [`prboom2/src/gl_hires.c:467-631`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L467-L631) (hires_paths), [`prboom2/src/gl_hires.c:703-719`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/gl_hires.c#L703-L719) (gl_texture_hires_dir or I_DoomExeDir)
    - what: savegames, DOOMSAVEDIR or the config directory, source ref: [`prboom2/src/d_main.c:1019-1032`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1019-L1032), [`prboom2/src/m_menu.c:957`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_menu.c#L957)
    - what: response files, @name, source ref: [`prboom2/src/d_main.c:1094-1112`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_main.c#L1094-L1112)

-

**external programs:**

  -

**note:** Invoked as processes, not read as data files

  -

**entries:**

    - what: ffmpeg, video capture and muxing, source ref: [`prboom2/src/m_misc.c:1062-1064`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1062-L1064) (cap_soundcommand, cap_videocommand, cap_muxcommand)
    - what: wget then unzip, fetching a WAD a game server asks for, source ref: [`prboom2/src/d_client.c:236-257`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/d_client.c#L236-L257) (execlp), [`prboom2/doc/prboom-plus.6:200-206`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/doc/prboom-plus.6#L200-L206)
    - what: getwad_cmdline, run through system() when a needed WAD is missing, source ref: [`prboom2/src/r_demo.c:1641-1704`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/r_demo.c#L1641-L1704) (D_TryGetWad), [`prboom2/src/m_misc.c:1029`](https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/m_misc.c#L1029) (default empty, so the path is inert until configured)

## 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.
