Skip to content
Wanted files

puNES emulates Nintendo NES and Nintendo Famicom Disk System. It reads 2 files, 1 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.

The app reads its files from this folder:

%LOCALAPPDATA%/puNES/bios/

Qt's GenericConfigLocation. --portable moves it to the application directory.

Source: src/gui/qt.cpp:561-568

About this profile
Detail Value
Type standalone
Classification Other
Source https://github.com/punesemu/puNES
Version 0.112, stated in src/core/version.h
Revision punesemu/puNES@b1758ec26a3d
Profiled 2026-08-08
Profile YAML, JSON
Cores punes
Systems Nintendo NES, Nintendo Famicom Disk System
Data folder (Windows) %LOCALAPPDATA%/puNES/
Data folder (Linux) $XDG_DATA_HOME/puNES/
Technical notes

Qt emulator of the NES, the Famicom and the Family Computer Disk System, also playing NSF and NSFE music files. A cartridge boots with nothing supplied: the 2A03, the PPU and every mapper are emulated in software.

Four names are fixed by the code. disksys.rom and gamegenie.rom share one four-step lookup (src/core/fds.c:265-309, src/core/cheat.c:74-108): the path recorded in the configuration, the working directory, the directory holding the loaded image, then the bios folder of the data directory. nes20db.xml and dip.cfg are read from the XDG data directories under a puNES subdirectory, then the base of the data directory, then the application directory (src/gui/nes20db.cpp:50-79, src/gui/dipswitch.cpp:61-85), and the installer writes both into the shared data directory (CMakeLists.txt:227-228).

The data directory is the application directory under --portable, %LOCALAPPDATA%/puNES on Windows and ~/.local/share/puNES elsewhere (src/gui/qt.cpp:561-575), so the bios folder is ~/.local/share/puNES/bios.

No length and no hash is ever compared. fds_load_bios computes a CRC32 of the BIOS it loaded (src/core/fds.c:329) and the only reader of that value is the log line at src/core/fds.c:502-503.

The iNES 1.0 game database is compiled in as src/core/database.h and carries the Vs. System PPU type and the region, so Vs. System titles need no external file. The uPD7756 ADPCM samples of mappers 018, 086 and 072 come from the Misc ROM area of the NES 2.0 dump itself (src/core/mappers/mapper_018.c:51, src/core/mappers/mapper_086.c:56, src/core/mappers/mapper_072.c:45). loadWaveFiles, which would read <data>/samples/<name>/NN.wav (src/core/mappers/waveFile.cpp:76-84), is declared and defined but called from nowhere in the tree, so no wave file is ever opened.

Palettes, shaders, cheat imports and soft patches are opened from paths the user picks in a file dialog and no name is fixed by the code, so they carry no file entry here. A palette shorter than 192 bytes is refused and a built-in table is used instead (src/core/palette.c:39-64, src/video/gfx.c:323-334).

2 files: 1 required, 1 optional. 2 more files come with the app.

In this collection: 2 in repo and 0 missing.

disksys.rom required for Nintendo Famicom Disk System in repo

Family Computer Disk System BIOS

  • Path: bios/disksys.rom, in the data folder
  • System: Nintendo Famicom Disk System
  • 8192 bytes are read into PRG ROM and mapped at 0xE000. When none of the four locations holds the file, fds_load_bios logs FDS;bios not found and returns EXIT_ERROR, which the caller propagates, so the disk image does not load. A short read only logs FDS;error on reading bios.
Source

gamegenie.rom optional in repo

Game Genie ROM, booted in place of the cartridge to reach the code entry screen

  • Path: bios/gamegenie.rom, in the data folder
  • System: Nintendo NES
  • Loaded only while the cheat mode is set to Game Genie. The whole file is read, its length taken from the file itself. Absent, gamegenie_load_rom returns early and the cartridge boots directly.
Source

nes20db.xml comes with the app

NES 2.0 header database, matched by ROM hash

  • System: Nintendo NES
  • Supplies mapper, submapper, mirroring, region, RAM sizes and Vs. System hardware for dumps whose own header is absent or wrong. A miss leaves info.mapper.nes20db.in_use false and the header carried by the ROM is used. Installed by CMakeLists.txt:227 and shipped beside the executable in the Windows zip. The hash is the copy at the profiled revision.
  • SHA1: 8ed9fb83d8e4
Hashes and source

dip.cfg comes with the app

DIP switch database for multicart and Vs. System boards, keyed by CRC32

  • System: Nintendo NES
  • Read on every mapper init. A miss leaves dipswitch.used false, which mappers 001, 043, 045, 176, 215, 412 and 447 and the selection dialog at src/gui/qt.cpp:754 all guard on, so the board runs on its reset value. Installed by CMakeLists.txt:228 and shipped beside the executable in the Windows zip. The hash is the copy at the profiled revision, the 0.111 zip carries an older one.
  • SHA1: 0f25848f7370
Hashes and source
.