EMULATOR DATABASE
tetanes
TetaNES (tetanes) is an open-source, cross-platform Nintendo Entertainment System (NES / Famicom) emulator written in Rust using wgpu. It runs on Windows, macOS, Linux and can build to WebAssembly for in-browser use.
Download Tutorials & guidesSign in to download. Files are hosted by the emulator project.

About tetanes
TetaNES is a modern Rust-based NES implementation that focuses on portability (desktop + WASM) and active development. It offers a contemporary codebase and integration with modern graphics backends via wgpu, making it attractive for users who want a current-language implementation and web builds.
Cross-platform binaries and releases (including AppImage/.deb/.dmg/installer), a cargo-installable workflow, a WebAssembly build target for browser use, and an actively maintained repository with feature and roadmap documentation.
The people behind tetanes / history
TetaNES began as a personal project and evolved into a public open-source NES emulator implemented in Rust. The project repository and README describe it as actively developed and feature-richer over time; the project publishes releases and a public roadmap, and it is listed among community emulator resources. Development produces periodic releases (for example v0.16.0 in recent months) and documentation for desktop and web builds. The project is available under permissive open-source licensing in its GitHub repository.
Screenshots

Tutorials & guides
tetanes setup guide
Setup note: This setup guide shows how to get TetaNES running on common platforms and how to prepare NES ROMs. It focuses on verified, practical steps based on the project's repository and release notes rather than generic emulator instructions.
- Obtain the official release (recommended): Open the project's GitHub Releases page and download the asset that matches your platform (Windows installer, macOS .dmg, Linux .deb or AppImage). Verify the release version and read the Release notes for platform-specific requirements. Use the downloaded installer or package manager instructions provided on the release asset.
- Linux: install from .deb / AppImage: For Debian/Ubuntu download the tetanes .deb from Releases and install with: sudo apt install ./tetanes-<version>-amd64.deb. For other distributions, download the AppImage, make it executable (chmod +x tetanes-<version>.AppImage) and run it. Some releases also include a tar.gz containing the tetanes binary which can be placed in a directory on your PATH. Ensure system dependencies described in the repository (for example ALSA and GTK3 where noted) are installed on Linux.
- macOS: use the app bundle or Homebrew: Download the .dmg for macOS from the Releases page and install the app bundle. Alternatively, the project provides a Homebrew formula; follow the README instructions (brew install lukexor/formulae/tetanes) if you prefer Homebrew-managed installs. Confirm the build target matches your CPU (arm64 vs x86_64) and use the matching .dmg if provided.
- Windows: run the installer and prerequisites: Download the Windows installer from Releases and run it. If the installer reports a missing runtime (e.g., vcruntime DLL), install the Microsoft Visual C++ Redistributable as directed in the repository's README or release notes. After installation, launch the application from the Start Menu or installation folder.
- Build from source with cargo (developers/users who want latest): Install Rust toolchain (rustup) and cargo. Clone the repository and build: git clone https://github.com/lukexor/tetanes.git cd tetanes cargo build --release. Optionally install with cargo install tetanes to place the binary in your cargo bin folder. For WASM/web builds follow the project's web documentation and build steps described in the repo/docs for generating the WebAssembly target and hosting it.
- Browser / WebAssembly build: The project documents a web target (TetaNES Web). Follow the project's web documentation to produce a WASM build or use any published web demo linked from the repository. The web build requires building the Rust project to target wasm32-unknown-unknown and using the provided frontend assets; see the project's web docs for exact commands.
- Loading games and formats: TetaNES requires NES ROM images (user-provided). Use the emulator's File/Open or drag-and-drop to load supported ROM files (typical .nes binaries). The project README and documentation list supported mappers and formats; consult them if you encounter cartridge mapper compatibility issues.
- Controller and input setup: TetaNES supports keyboard and gamepad input. The repository mentions SDL-compatible mappings and links to controller database resources; configure input through the emulator settings. If a controller mapping database is referenced in the README, follow that link to obtain mappings for your controller.
Software reminder: TetaNES does not include commercial game ROMs, BIOS/firmware, or copyrighted material. You must provide your own legally obtained NES ROM images and any firmware required by specific hardware. Follow local laws regarding ROM ownership and use.
Additional information
What tetanes supports
- Nintendo Entertainment System / Famicom (ROM images required)
- Windows (installer/binary)
- macOS (app bundle / Homebrew formula)
- Linux (AppImage, .deb, tar.gz)
- Web (WebAssembly build for browsers)
READMEs & documentation
tetanes official project README
<!-- markdownlint-disable no-inline-html no-duplicate-heading -->
# TetaNES
[![Build Status]][build] [![Doc Status]][docs] [![Latest Version]][crates.io]
[![Downloads]][crates.io] [![License]][gnu]
[build status]: https://img.shields.io/github/actions/workflow/status/lukexor/tetanes/ci.yml?branch=main
[build]: https://github.com/lukexor/tetanes/actions/workflows/ci.yml
[doc status]: https://img.shields.io/docsrs/tetanes?style=plastic
[docs]: https://docs.rs/tetanes/
[latest version]: https://img.shields.io/crates/v/tetanes?style=plastic
[crates.io]: https://crates.io/crates/tetanes
[downloads]: https://img.shields.io/crates/d/tetanes?style=plastic
[license]: https://img.shields.io/crates/l/tetanes?style=plastic
[gnu]: https://github.com/lukexor/tetanes/blob/main/LICENSE-MIT
<!-- markdownlint-disable line-length -->
📖 [Summary](#summary) - ✨ [Features](#features) - 🌆 [Screenshots](#screenshots) - 🚀 [Getting
Started](#getting-started) - 🛠️ [Roadmap](#roadmap) - ⚠️ [Known
Issues](#known-issues) - 💬 [Contact](#contact)
<!-- markdownlint-enable line-length -->
## Summary
<img width="100%" alt="TetaNES"
src="https://raw.githubusercontent.com/lukexor/tetanes/main/static/tetanes.png">
> photo credit for background: [Zsolt Palatinus](https://unsplash.com/@sunitalap)
> on [unsplash](https://unsplash.com/photos/pEK3AbP8wa4)
`TetaNES` is a cross-platform emulator for the Nintendo Entertainment System
(NES) released in Japan in 1983 and North America in 1986, written in
[Rust][] using [wgpu][]. It runs on Linux, macOS, Windows, and in a web browser
with [Web Assembly][].
It started as a personal curiosity that turned into a passion project. It is
still being actively developed with new features and improvements constantly
being added. It is a fairly accurate emulator that can play most NES titles.
`TetaNES` is also meant to showcase using Rust's performance, memory safety, and
fearless concurrency features in a large project. Features used in this project
include complex enums, traits, generics, matching, iterators, channels, and
threads.
Try it out in your [browser](https://lukeworks.tech/tetanes-web)!
## Features
- Runs on Linux, macOS, Windows, and Web.
- Standalone emulation core in `tetanes-core`.
- NTSC, PAL and Dendy emulation.
- Headless Mode when using `tetanes-core`.
- Pixellate and NTSC filters.
- CRT shader for that retro feel.
- Up to 4 players with gamepad support.
- Zapper (Light Gun) support using the mouse.
- iNES and NES 2.0 ROM header formats supported.
- Over 30 supported mappers covering >90% of licensed games.
- Game Genie Codes.
- CPU Debugger: disassembly, registers, call stack, execution history, watch
expressions, breakpoints on read/write/execute with conditions, a hex memory
editor, and per-ROM labels and notes.
- PPU Debugger
- Runtime performance stats
- Preference and keybinding menus using [egui](https://egui.rs).
- Increase/Decrease speed & Fast Forward
- Visual & Instant Rewind
- Save & Load States
- Battery-backed RAM saves
- Screenshots
- Gameplay recording and playback
- Audio recording
## Screenshots
<img width="48%" alt="Donkey Kong"
src="https://raw.githubusercontent.com/lukexor/tetanes/main/static/donkey_kong.png"> <img
width="48%" alt="Super Mario Bros."
src="https://raw.githubusercontent.com/lukexor/tetanes/main/static/super_mario_bros.png">
<img width="48%" alt="The Legend of Zelda"
src="https://raw.githubusercontent.com/lukexor/tetanes/main/static/legend_of_zelda.png"> <img
width="48%" alt="Metroid"
src="https://raw.githubusercontent.com/lukexor/tetanes/main/static/metroid.png">
## TetaNES Core
TetaNES is split into two crates. This is the primary crate, which provides the
cross-platform emulator UI
binary. [tetanes-core](https://crates.io/crates/tetanes_core) is the emulation
library that emulator developers can use to develop custom emulator applications
with. `tetanes-core` is aimed to have stronger stability guarantees, but it's
still not `1.0` yet and there are several large features on the roadmap that may
result in breaking changes.
## Stability
Preferences and save file formats are fairly stable at this point, but since
TetaNES is not yet `1.0` and there are several large features on the roadmap
that may result in breaking changes which may result in being unable to restore
your preferences or save files.
Once some of these larger features are completed, and `1.0` is released, more
effort will be dedicatged to versioning these files for backward compatibility
in the event of future breaking changes.
## Getting Started
`TetaNES` runs on all major operating systems (Linux, macOS, Windows, and the
web).
### Install
There are multiple options for installation, depending on your operating system,
preference and existing tooling.
#### Linux
##### Ubuntu/Debian
A `.deb` package is provided under `Assets` on the latest [Release][]. Once
downloaded, you can install it and the required dependencies. e.g.
```sh
sudo apt install ./tetanes-0.10.0-1-amd64.deb
```
##### Other Distros
An [AppImage](https://appimage.org/) is provided under `Assets` on the latest
[Release][]. Simply download it and put it wherever you want.
A `.tar.gz` package is also provided under `Assets` on the latest
[Release][]. You can place the `tetanes` binary anywhere in your `PATH`.
The following dependencies are required to be installed:
- ALSA Shared Library
- GTK3
e.g.
`apt install libasound2 libgtk-3-0`
`dnf install alsa-lib gtk3`
`pacman -Sy alsa-lib gtk3`
#### MacOS
##### App Bundle
The easiest is to download the correct app bundle for your processor. The `.dmg`
downloads can be found under the `Assets` section of the latest
[Release][].
##### Homebrew
`TetaNES` can also be installed through [Homebrew](https://brew.sh/).
```sh
brew install lukexor/formulae/tetanes
```
#### Windows
A windows installer is provided under `Assets` on the latest [Release][]. Note:
You will need the latest ["Microsoft Visual C++ 2015 - 2022
Redistributable"](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version)
installed, otherwise you'll get an error about `vcruntime140.dll` not being found.
#### Cargo Install
You can also build and install with `cargo` which comes with [rustup](https://www.rust-lang.org/tools/install).
```sh
cargo install tetanes
```
This will install the latest released version of the `TetaNES` binary to your
`cargo` bin directory located at either `$HOME/.cargo/bin/` on a Unix-like
platform or `%USERPROFILE%\.cargo\bin` on Windows.
Alternatively, if you have [`cargo binstall`](https://crates.io/crates/cargo-binstall/)
installed:
```sh
cargo binstall tetanes
```
This will try to find the target binary for your platform from the latest
[Release][] or install from source, similar to above.
#### Web
You can also play directly in your web browser without installing by visiting
<https://lukeworks.tech/tetanes-web>.
#### RetroArch
A [libretro](https://www.libretro.com) core is provided, so `TetaNES` can be run
inside RetroArch and other libretro frontends alongside your other cores. Its
save states are deterministic, which is what lets the frontend's rewind,
run-ahead and netplay work. It also supports Game Genie and raw cheat codes,
four controller ports and the Zapper, and exposes its memory map for
RetroAchievements. Region, video filter, power-on RAM state, run-ahead and the
individual APU channels are available as core options.
It is not yet in RetroArch's Online Updater, so install it by hand: download the
`tetanes_libretro-<version>-<target>.zip` for your platform under `Assets` on
the latest [Release][] and unzip it into RetroArch's `cores` directory. The
`.info` file in the zip goes in RetroArch's `info` directory - without it the
core shows up as a bare filename and none of its capabilities are offered.
To build it from source instead:
```sh
cargo make build-libretro
```
Note the `libretro` profile rather than `release`: a libretro core has to be
able to catch a panic, and the release profile aborts on one.
### Usage
```text
Usage: tetanes [OPTIONS] [PATH]
Arguments:
[PATH] The NES ROM to load or a directory containing `.nes` ROM files.
[default: current directory]
Options:
--rewind Enable rewinding
-s, --silent Silence audio
-f, --fullscreen Start fullscreen
-4, --four-player <FOUR_PLAYER> Set four player adapter. [default: 'disabled']
[possible values: disabled, four-score, satellite]
-z, --zapper Enable zapper gun
--no-threaded Disable multi-threaded
-m, --ram-state <RAM_STATE> Choose power-up RAM state. [default: "all-zeros"]
[possible values: all-zeros, all-ones, random]
-w, --emulate-ppu-warmup Whether to emulate PPU warmup where writes to
certain registers are ignored. Can result in
some games not working correctly
-r, --region <REGION> Choose default NES region. [default: "ntsc"]
[possible values: ntsc, pal, dendy]
-i, --save-slot <SAVE_SLOT> Save slot. [default: 1]
--no-load Don't load save state on start
--no-save Don't auto save state or save on exit
-x, --speed <SPEED> Emulation speed. [default: 1.0]
-g, --genie-code <GENIE_CODE> Add Game Genie Code(s). e.g. `AATOZE`
(Start Super Mario Bros. with 9 lives)
--config <CONFIG> Custom Config path
-c, --clean "Default Config" (skip user config and previous
save states)
-d, --debug Start with debugger open
-h, --help Print help
-V, --version Print version
```
[iNES][] and [NES 2.0][] formatted ROMS are supported, though some advanced `NES
2.0` features may not be implemented.
[ines]: https://wiki.nesdev.org/w/index.php/INES
[nes 2.0]: https://wiki.nesdev.org/w/index.php/NES_2.0
### Supported Mappers
Support for the following mappers is currently implemented or in development:
<!-- markdownlint-disable line-length -->
| # | Name | Example Games | # of Games<sup>1</sup> | % of Games<sup>1</sup> |
| --- | --------------------- | ------------------------------------------ | ---------------------- | ---------------------- |
| 000 | NROM | Bomberman, Donkey Kong, Super Mario Bros. | ~247 | ~10% |
| 001 | SxROM/MMC1B/C | Metroid, Legend of Zelda, Tetris | ~680 | ~28% |
| 002 | UxROM | Castlevania, Contra, Mega Man | ~270 | ~11% |
| 003 | CNROM | Arkanoid, Paperboy, Pipe Dream | ~155 | ~6% |
| 004 | TxROM/MMC3/MMC6 | Kirby's Adventure, Super Mario Bros. 2/3 | ~599 | ~24% |
| 005 | ExROM/MMC5 | Castlevania 3, Laser Invasion | ~24 | ~1% |
| 007 | AxROM | Battletoads, Marble Madness | ~75 | ~3% |
| 009 | PxROM/MMC2 | Punch Out!! | 1 | <1% |
| 010 | FxROM/MMC4 | Fire Emblem Gaiden | 3 | <1% |
| 011 | Color Dreams | Crystal Mines, Metal Fighter | 15 | ~1% |
| 016 | Bandai FCG | Dragon Ball: Daimaou Fukkatsu | 14 | ~1% |
| 018 | Jaleco SS 88006 | Magic John | 15 | ~1% |
| 019 | Namco163 | Battle Fleet, Dragon Ninja | 20 | ~1% |
| 021 | VRC4a/VRC4c | Wai Wai World 2, Ganbare Goemon Gaiden 2 | 2 | <1% |
| 022 | VRC2a | Ganbare Pennant Race!, TwinBee 3 | 2 | <1% |
| 023 | VRC2b/VRC4e/VRC4f | Contra (Japan), Crisis Force, Parodius Da! | 10 | <1% |
| 024 | VRC6a | Akumajou Densetsu | 1 | <1% |
| 025 | VRC2c/VRC4b/VRC4d | Gradius II, TMNT II: The Manhattan Project | 6 | <1% |
| 026 | VRC6b | Madara, Esper Dream 2 | 2 | <1% |
| 033 | Taito TC0190/TC0350 | Don Doko Don, Insector X, Operation Wolf | 10 | <1% |
| 034 | BNROM/NINA-001 | Deadly Towers, Impossible Mission II | 3 | <1% |
| 048 | Taito TC0690 | Bubble Bobble 2, Don Doko Don 2 | 6 | <1% |
| 066 | GxROM/MxROM | Super Mario Bros. + Duck Hunt | ~17 | ~1% |
| 069 | Sunsoft/FME-7 | Batman: Return of the Joker, Gimmick! | ~15 | ~1% |
| 071 | Camerica/Codemasters | Firehawk, Bee 52, MiG 29 - Soviet Fighter | ~15 | ~1% |
| 076 | DxROM/Namco 108 | Megami Tensei: Digital Devil Story | 1 | <1% |
| 079 | NINA-003/006 | Black Jack, Double Strike | 16 | ~1% |
| 088 | DxROM/Namco 108 | Quinty, Dragon Spirit - Aratanaru Densetsu | 3 | <1% |
| 095 | DxROM/Namco 108 | Dragon Buster | 1 | <1% |
| 105 | NES-EVENT | Nintendo World Championships 1990 | 1 | <1% |
| 113 | NINA-003/006 | HES 6-in-1, Total Funpak | ~3 | <1% |
| 144 | Color Dreams | Death Race | 1 | <1% |
| 146 | NINA-003/006 | Galactic Crusader | 1 | <1% |
| 153 | Bandai FCG | Famicom Jump II: Saikyou no 7-nin | 1 | <1% |
| 154 | DxROM/Namco 108 | Devil Man | 1 | <1% |
| 157 | Bandai FCG/Datach | SD Gundam Wars | 7 | <1% |
| 155 | SxROM/MMC1A | Tatakae!! Ramen Man: Sakuretsu Choujin | 2 | <1% |
| 159 | Bandai FCG | Dragon Ball Z: Kyoushuu! Saiya-jin | 4 | <1% |
| 176 | Waixing FK23C/FS303 | Zhi Li Xiao Zhuang Yuan | — | — |
| 206 | DxROM/Namco 108 | Fantasy Zone, Gauntlet | 45 | ~2% |
| 210 | Namco175/340 | Dream Master, Family Circuit '91 | 4 | <1% |
| | | | ~2298 / 2447 | ~93.9% |
<!-- markdownlint-enable line-length -->
1. [Source](https://nescartdb.com/stats?page=6), counted as unique games rather than cart profiles.
The percentage is the count against the 2447 total, rounded to a whole percent, so anything
under about 13 games reads `<1%`. Mapper 176 is marked `—` because NesCartDB does not catalog
the unlicensed carts that use it.
### Controls
Keybindings can be customized in the keybindings menu. Below are the defaults.
NES joypad:
| Button | Keyboard (Player 1) | Controller |
| --------- | ------------------- | ---------------- |
| A | Z | East |
| B | X | South |
| A (Turbo) | A | North |
| B (Turbo) | S | West |
| Select | Q | Select |
| Start | W | Start |
| D-Pad | Arrow Keys | D-Pad |
Controller Layout:
SDL-compatible mappings are used:
<https://github.com/mdqinc/SDL_GameControllerDB?tab=readme-ov-file> but can be
overridden by setting `SDL_GAMECONTROLLERCONFIG`.
```text
Left Triggers Right Triggers
_=====_ _=====_
/ _____ \ / _____ \
+.-'_____'-.---------------------------.-' '-.+
/ | | '. .' \
/ ___| /|\ |___ \ / (N) \
/ | | | ; _ _ ; ; Action Pad
D-Pad | | <--- ---> | | <:_| |_:> | (W) (E) | (South, East,
| |___ | ___| ; Select Start ; ; North, West)
|\ | \|/ | / _ _ \ (S) /|
| \ |_____| .','" "', ,'" "', '. .' |
| '-.______.-' / Left \------/ Right \ '-._____.-' |
| /\ Stick / \ Stick /\ |
| / '.___.' '.___.' \ |
| / \ |
\ / \ /
\________/ \_________/
```
Emulator shortcuts:
| Action | Keyboard | Controller |
| ----------------------------- | ------------ | -------------- |
| Pause | Escape | Guide Button |
| About TetaNES | F1 | |
| Preferences Menu | Ctrl-P or F2 | |
| Load/Open ROM | Ctrl-O or F3 | |
| Quit | Ctrl-Q | |
| Reset | Ctrl-R | |
| Power Cycle | Ctrl-H | |
| Increase Speed by 25% | = | Right Shoulder |
| Decrease Speed by 25% | - | Left Shoulder |
| Increase Emulation Scale | Shift-= | |
| Decrease Emulation Scale | Shift-- | |
| Increase UI Scale | Ctrl-= | |
| Decrease UI Scale | Ctrl-- | |
| Fast-Forward 2x | Space (Hold) | |
| Set Save State Slot (1-4) | Ctrl-(1-4) | |
| Save State | Ctrl-S | |
| Load State | Ctrl-L | |
| Instant Rewind | R (Tap) | |
| Visual Rewind | R (Hold) | |
| Take Screenshot | F10 | |
| Toggle Gameplay Recording | Shift-V | |
| Toggle Audio Recording | Shift-R | |
| Toggle Audio | Ctrl-M | |
| Toggle Pulse Channel 1 | Shift-1 | |
| Toggle Pulse Channel 2 | Shift-2 | |
| Toggle Triangle Channel | Shift-3 | |
| Toggle Noise Channel | Shift-4 | |
| Toggle DMC Channel | Shift-5 | |
| Toggle Mapper Channel | Shift-6 | |
| Toggle Fullscreen | Ctrl-Enter | |
| Toggle NTSC Filter | Ctrl-N | |
| Toggle CRT Shader | Ctrl-T | |
| Toggle CPU Debugger | Shift-D | |
| Toggle PPU Debugger | Shift-P | |
| Toggle APU Debugger | Shift-A | |
While the CPU Debugger is open:
| Action | Keyboard |
| ----------------------------- | -------- |
| Step a single CPU instruction | C |
| Step over a function | O |
| Step out of a function | Shift-O |
| Step a single scanline | Shift-L |
| Step an entire frame | Shift-F |
While the PPU Debugger is open:
| Action | Keyboard |
| ------------------------------ | --------------- |
| Move debug scanline up by 1 | Ctrl-Up |
| Move debug scanline up by 10 | Ctrl-Shift-Up |
| Move debug scanline down by 1 | Ctrl-Down |
| Move debug scanline down by 10 | Ctrl-Shift-Down |
Other mappings can be found and modified in the `Config -> Keybinds` menu.
### Directories
`TetaNES` saves files to disk to support a number of features and, depending on the
file type, varies based on operating system.
#### Preferences
- Linux: `$HOME/.config`
- macOS: `$HOME/Library/Application Support`
- Windows: `%LOCALAPPDATA%\tetanes`
- Web: localStorage (e.g. `config/config.json`)
#### Screenshots
- Linux, macOS, & Windows: `$HOME/Pictures`
- Web: Does not currently support saving screenshots.
#### Replay Recordings
- Linux, macOS, & Windows: `$HOME/Documents`
- Web: Does not currently support saving recordings.
#### Audio Recordings
- Linux, macOS, & Windows: `$HOME/Music`
- Web: Does not currently support saving recordings.
#### Battery-backed RAM, save states, and logs
- Linux: `$HOME/.local/share/tetanes`
- macOS: `$HOME/Library/Application Support/tetanes`
- Windows: `%LOCALAPPDATA%\tetanes`
- Web: localStorage (e.g. `data/save/AO Demo/slot-1.sav`)
### Powerup State
The original NES hardware had semi-random contents located in RAM upon power-up
and several games made use of this to seed their Random Number Generators
(RNGs). By default, `TetaNES` honors the original hardware and emulates
randomized powerup RAM state. This shows up in several games such as `Final
Fantasy`, `River City Ransom`, and `Impossible Mission II`, amongst others. Not
emulating this would make these games seem deterministic when they weren't
intended to be.
If you would like `TetaNES` to provide fully deterministic emulated power-up
state, you'll need to change the `RAM State` setting in the configuration menu
and trigger a power-cycle or use the `-m`/`--ram_state` flag from the command
line.
### Building/Running
To build/run `TetaNES`, you'll need a nightly version of the compiler and run
`cargo build` or `cargo build --release` (if you want better framerates).
To run the web version, you'll also need the `wasm32-unknown-unknown` target and
[trunk](https://trunkrs.dev/) installed:
```sh
rustup target add wasm32-unknown-unknown
trunk serve --release
```
Unit and integration tests can be run with `cargo test`. There are also several
test roms that can be run to test various capabilities of the emulator. They are
all located in the `tetanes-core/tests_roms/` directory.
Run them in a similar way you would run a game. e.g.
```sh
cargo run --release tetanes-core/test_roms/cpu/nestest.nes
```
#### Feature Flags
- **webgpu** - Enables the
[`BrowserWebGpu`](https://docs.rs/wgpu/latest/wgpu/enum.Backend.html) backend
for TetaNES Web. The default is to use `WebGl2` until WebGPU is stable across
all platforms and browsers. Currently pending Firefox and Chrome on Linux
(See: <https://caniuse.com/webgpu>).
### Troubleshooting
If you get an error running a ROM that's using the supported Mapper list above,
it could be a corrupted or incompatible ROM format. If you're unsure which games
use which mappers, see <http://bootgod.dyndns.org:7777/>. Trying other
versions of the same game from different sources sometimes resolves the issue.
If you get some other error when trying to start a game that previously
worked, try removing any configurations or save states from the
[Directories](#directories) listed above to ensure it's not an incompatible
savestate file causing the issue.
If you encounter any shortcuts not working, ensure your operating system does
not have a binding for it that is overriding it. macOS specifically has many
things bound to `Ctrl-*`.
If an an issue is not already created, please use the [github issue tracker][]
to create it.
## Roadmap
See [ROADMAP.md][].
## Known Issues
See the [github issue tracker][].
## Documentation
In addition to the wealth of information in the `docs/` directory, I also
referenced these websites extensively during development:
- [NES Documentation (PDF)](https://nesdev.org/NESDoc.pdf)
- [NES Dev Wiki](https://wiki.nesdev.org/w/index.php/Nesdev_Wiki)
- [6502 Datasheet](https://archive.6502.org/datasheets/rockwell_r650x_r651x.pdf)
## License
`TetaNES` is licensed under a MIT or Apache-2.0 license. See the `LICENSE-MIT`
or `LICENSE-APACHE` file in the root for a copy.
## Contribution
While this is primarily a personal project, I welcome any contributions or
suggestions. Feel free to submit a pull request if you want to help out!
### Contact
For issue reporting, please use the [github issue tracker][]. You can also
contact me directly at <https://lukeworks.tech/contact/>.
## Credits
Implementation was inspiried by several amazing NES projects, without which I
would not have been able to understand or digest all the information on the NES
wiki.
- [fogleman NES](https://github.com/fogleman/nes)
- [sprocketnes](https://github.com/pcwalton/sprocketnes)
- [nes-emulator](https://github.com/MichaelBurge/nes-emulator)
- [LaiNES](https://github.com/AndreaOrru/LaiNES)
- [ANESE](https://github.com/daniel5151/ANESE)
- [FCEUX](https://fceux.com/web/home.html)
I also couldn't have gotten this far without the amazing people over on the
[NES Dev Forums](https://forums.nesdev.org/):
- [blargg](https://forums.nesdev.org/memberlist.php?mode=viewprofile&u=17) for
all his amazing [test roms](https://wiki.nesdev.org/w/index.php/Emulator_tests)
- [bisqwit](https://bisqwit.iki.fi/) for his test roms & integer NTSC video
implementation
- [Disch](https://forums.nesdev.org/memberlist.php?mode=viewprofile&u=33)
- [Quietust](https://forums.nesdev.org/memberlist.php?mode=viewprofile&u=7)
- [rainwarrior](https://forums.nesdev.org/memberlist.php?mode=viewprofile&u=5165)
- And many others who helped me understand the stickier bits of emulation
Also, a huge shout out to
[OneLoneCoder](https://github.com/OneLoneCoder/) for his
[NES](https://github.com/OneLoneCoder/olcNES) and
[olcPixelGameEngine](https://github.com/OneLoneCoder/olcPixelGameEngine)
series as those helped a ton in some recent refactorings.
[rust]: https://www.rust-lang.org/
[wgpu]: https://wgpu.rs/
[web assembly]: https://webassembly.org/
[github issue tracker]: https://github.com/lukexor/tetanes/issues
[ROADMAP.md]: ROADMAP.md
[Release]: https://github.com/lukexor/tetanes/releases/latest
Download original READMERelease log
Selected releases and changes, with coverage from our weekly emulation roundup.
Sources & further reading
FROM THE COMMUNITY
Player reviews
Starting site scores are provisional editorial scores. Established mainstream projects receive a higher starting score; other imported entries begin at a neutral 6/10 pending individual review. Member scores change the average after approval.
Your take on tetanes
Spam has been overwhelming. To help us approve your review, sign up and introduce yourself in the Introductions forum so we know you’re not a bot.
Sign in with your Retro Replay account to rate this project and share your experience.
Sign in to review
Retro Replay Retro Gaming History, Reviews & Emulation