Dungeon Explorer — PC
Dungeon Explorer — PC is a Windows preservation project for Dungeon Explorer and Dungeon Explorer II with experimental native runtimes.
- Type: PC port
- Game: Dungeon Explorer
- Runs on Windows and Linux
- By gorigamia
- Latest release v1.0.0, 2026-11-22
- Source: https://github.com/gorigamia/dungeon-explorer-pc
- Website: https://en.wikipedia.org/wiki/Dungeon_Explorer_(1989_video_game)
README
Dungeon Explorer — PC
A Windows preservation project for Dungeon Explorer (HuCard) and Dungeon Explorer II (PC Engine Super CD-ROM²), with a shared single-window interface and experimental native runtimes.
The project uses ahead-of-time translation from HuC6280 code to C++/x64, together with hardware services for video, sound, input and CD access. It does not integrate an emulator core. ROMs, BIOS files and locally generated game code are not included in this repository.
Current status
Development snapshot: November 22, 2026. This is a work in progress, not a finished release.
| Component | Verified behavior | Remaining work |
|---|---|---|
| Dungeon Explorer I — USA | Native video and stereo PSG audio. Tested Fighter selection, leaving the tavern, movement in all four directions, opening/closing the submenu, and reaching the king. | A complete playthrough, multiplayer and long-session compatibility have not been validated. |
| Dungeon Explorer II — USA | Real boot through the analyzed USA Super System Card 3.0 BIOS, disc loading, title/menu screens, character selection, introduction with ADPCM/CD-DA audio, and rendering of the initial room. | Not yet playable: the character does not respond to movement in the current initial-room test. Investigation of the execution/interrupt wait is ongoing. |
| Windows interface | Game library, media selection, BIOS selection, file inspection, progress/log display, settings and control remapping. | Some game audio/video settings, turbo and savestates are unfinished. |
The CD interface now preserves an active transfer when software acknowledges interrupts through the selection port, and clears the transfer-complete interrupt when the message phase releases the bus. The hardware regression tests pass; this fix alone does not resolve the II's initial-room input issue.
Interface screenshots
These images were rendered from the application's actual WPF interface and controls. They are not design mockups. The current interface is in Portuguese; this README and its captions are in English. Media paths are left blank in the setup captures.
Game library and media setup

| Dungeon Explorer I: choose a HuCard ROM | Dungeon Explorer II: choose a disc image and BIOS |
|---|---|
![]() | ![]() |
Select a game, choose your local media, and run Inspecionar mídia (Inspect media). Inspection reads the files, reports hashes and progress, and logs the results. Continuar (Continue) becomes available when the frontend recognizes the supported media and the corresponding native runtime is installed.
Audio and video settings
| Audio settings | Video settings |
|---|---|
![]() | ![]() |
The current audio page controls interface notifications and their output device/volume. The games already produce audio through the native runtimes, but complete game audio controls are still pending. The video page currently provides window sizing, borderless fullscreen and reduced-motion preferences; additional game presentation options remain unfinished.
Keyboard and controller mapping

- Photo of the original NEC PI-PD001 controller with game-specific button explanations.
- Keyboard, gamepad buttons, D-pad and analog-direction mapping.
- Separate profiles for each game and player, with up to five player profiles.
- Live input indicators, binding capture, cancellation and conflict handling.
- SDL2 device detection and connection notifications for supported USB/wireless controllers.
Profile support and controller detection do not imply that multiplayer has been validated in either game.
Native runtime screenshots
These are real frames captured from the project's native runtimes. The display versions use nearest-neighbor scaling at 1280 × 960 with a 4:3 presentation. The source captures are preserved in assets/screenshots/native.
Dungeon Explorer I
| Tavern | Outdoor exploration |
|---|---|
![]() | ![]() |

The I captures were reproduced by a native session that reached frame 3,210 and executed more than 56 million guest instructions while producing audio. This validates the shown route, not the entire game.
Dungeon Explorer II
| Character selection | Introduction |
|---|---|
![]() | ![]() |

The II screenshot demonstrates rendering of the initial room, not working gameplay. The current test reaches this room with audio, but movement remains blocked. Missing AOT variants and unsupported hardware operations stop explicitly rather than falling back to an interpreter.
Using a prepared local build
Run local/app/DungeonExplorer.exe from a prepared development build. Experimental II builds may be staged separately; for example, the most recent CD-handshake test DLL is in local/de2-handshake/ and is not automatically installed into the main application.
- Select Dungeon Explorer I or II in the library.
- Choose your own local ROM or disc image. For II, also choose the BIOS.
- Inspect the media and review the log.
- If the supported revision and runtime are available, select Continue.
- Use Esc for settings and F11 for borderless fullscreen. Enter maps to Run by default, including starting from the CD BIOS/title screen.
Default keyboard mappings are arrow keys for movement, X for Button I, Z for Button II, Right Shift for Select, and Enter for Run. Bindings can be changed in the Controls page. A configured controller menu binding uses a 0.7-second hold.
Supported media and BIOS
- I native runtime: the analyzed USA
.pcerevision. - II native runtime: the analyzed USA CHD and USA Super System Card 3.0 BIOS. The native build verifies the media/BIOS against its analyzed inputs.
- Inspection: HuCard files, CUE-referenced tracks and CHD inspection through the native reader. Successful inspection does not automatically mean a revision is supported by a runtime.
- Japanese media and CUE inspection are not equivalent to native execution support for the current USA II build.
Original media files are read locally. The II runtime implements a 2 KiB backup-memory file with atomic replacement. In-game save/load behavior still needs further validation; savestates are not available.
Building
The local development setup uses Windows x64, .NET Framework 4.8, PowerShell, Node.js 22+ for the analysis tools, and Clang/CMake for native components.
Windows interface
.\setup-input.ps1
.\build.ps1
.\test-desktop.ps1
setup-input.ps1 downloads the official SDL2 2.32.10 x64 runtime and verifies its SHA-256. The UI build embeds the physical-media/controller artwork and copies the SDL2 runtime and license. Building the interface alone does not generate the game runtimes.
Native game runtimes
The runtime build scripts require AOT headers generated locally from the analyzed, user-supplied media. These headers stay under local/ and are not distributed in the source repository.
# Requires the prepared local AOT headers for the respective title.
.\build-runtime.ps1
.\build-de2-runtime.ps1 -OutputDirectory local/de2-session-checks -Optimization 0
The II diagnostic workflow collects and translates known RAM overlays. See native runtime notes for the implementation background; the status table above records the latest validation outcome.
CHD reader
de_media.dll uses libchdr, pinned to commit 47d794151b2b64f6aba60304e6480f4f5a2bc24b. With that checkout available at local/vendor/libchdr and the native toolchain installed:
.\build-native.ps1
The reader decompresses the tracks and verifies their data against the SHA-1 declared in the CHD header. This is an integrity check, not independent catalog authentication or proof of game compatibility.
Validation and media tools
.\test-boot.ps1
node --test
.\test-desktop.ps1
# Optional inspection of your own media:
node tools/inspect-media.mjs --game 1 --media "D:\Games\Dungeon Explorer.pce"
node tools/inspect-media.mjs --game 2 --media "D:\Games\Dungeon Explorer II.cue" --bios "D:\Games\syscard3.pce"
Hardware regressions cover CPU behavior, video, CD transfers, ADPCM, CD-DA and the CD bus handshake. AOT tests check translated code and reject unknown/changed RAM code. WPF layout checks cover 1360 × 768, 1080p, 4K, ultrawide and compact windows. Passing these tests does not establish full game compatibility.
Preferences and diagnostic data are stored locally under the application's local/user/ directory. ROMs, BIOS files, generated AOT headers, extracted tracks and build outputs remain under the Git-ignored local/ tree.
Project references
- Controls and input implementation
- Native runtime implementation notes
- Media findings
- Project design and development stages
- Physical-media and controller artwork sources
Original-era identities
The classic NEC mark represents the original PC Engine era. The Hudson Group / Hudson Soft mark is shown directly from the original Dungeon Explorer II cover scan. These historical identities identify the original companies; this independent preservation project is not endorsed by them. Logo and artwork sources.







