Skip to content

C-Dogs SDL - RetroBIOS

Type standalone
Classification Game engines
Source https://github.com/cxong/cdogs-sdl
Version 2.4.0
Profiled 2026-10-04
Cores cdogs, cdogs-sdl
Checked by existence
Technical notes

Top-down shooter engine, open-source remake of the DOS C-Dogs by Ronny Wester. The repository ships every asset the engine reads: data/, graphics/, missions/, dogfights/, music/, sounds/ and doc/.

The data root is baked into the binary through -DCDOGS_DATA_DIR. The source default is "../" ("./" on GCW0), CMakeLists.txt:141-147; Batocera sets it to /userdata/roms/cdogs/. GetDataFilePath(), src/cdogs/utils.c:392, returns an absolute request as it is, and otherwise joins CDOGS_DATA_DIR (under the working directory when it is relative) with the requested path.

Paths below are written under cdogs/, which stands for that data root.

What the engine reads there: data/: the JSON class definitions and name lists loaded by main(), src/cdogs.c:226-245, and the two controller databases, src/cdogs/joystick.c:43-54 data/.wolf3d/: campaign templates used when a Wolfenstein 3D, Spear of Destiny or Super 3D Noah's Ark installation is found, src/cdogs/map_wolf.c:50 graphics/: every .png, walked by PicManagerLoad, src/cdogs/pic_manager.c:247-254, plus the font and the window icon missions/ and dogfights/: campaigns, src/cdogs/campaigns.c:203-211 music/: six track directories, src/cdogs/music.c:45-50 sounds/: samples, src/cdogs.c:213 doc/CREDITS: src/credits.c:47

22 files | 13 required, 9 optional | 21 in repo, 1 missing Categories: 22 game data

ammo.json required in repo game_data bundled
Ammo type definitions

bullets.json required in repo game_data bundled
Bullet behaviour definitions

guns.json required in repo game_data bundled
Weapon definitions

character_classes.json required in repo game_data bundled
Character class definitions

map_objects.json required in repo game_data bundled
Interactive map object definitions

particles.json required in repo game_data bundled
Particle effect definitions

pickups.json required in repo game_data bundled
Pickup item definitions

prefixes.txt required in repo game_data bundled
Random name generation prefixes

suffixes.txt required in repo game_data bundled
Random name generation suffixes

suffixnames.txt required in repo game_data bundled
Random name generation name suffixes

gamecontrollerdb.txt optional in repo game_data bundled
SDL gamecontroller mapping database

  • Path: cdogs/data/gamecontrollerdb.txt
  • Source: src/cdogs/joystick.c:43-48
  • A load failure is logged and the built-in SDL mappings stay in use.

gamecontrollerbuttondb.txt optional in repo game_data bundled
Controller button names and colours

.wolf3d/ optional missing game_data bundled directory
Campaign templates for Wolfenstein 3D, Spear of Destiny and Super 3D Noah's Ark

graphics/ required in repo game_data bundled directory
Sprites, tiles, HUD and character body definitions

font.png required in repo game_data bundled
Main bitmap font

font.json required in repo game_data bundled
Main bitmap font layout

cdogs_icon.bmp optional in repo game_data bundled
Window icon

missions/ optional in repo game_data bundled directory
Campaigns

dogfights/ optional in repo game_data bundled directory
Dogfight arenas

music/ optional in repo game_data bundled directory
Music tracks: menu, briefing, game, end, lose, victory

sounds/ optional in repo game_data bundled directory
Sound effects

CREDITS optional in repo game_data bundled
Credits shown in the main menu

Generated on 2026-10-10T11:26:01Z