SBhojani / nes-rust

NES emulator written in Rust + WASM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nes-rust

Build Status Crate npm version

nes-rust is a NES emulator written in Rust. It can be compiled to WebAssembly.

Online Demos / Videos

Screenshots

nestest

nestest

Sgt. Helmet Training Day

Sgt. Helmet Training Day

Features

  • Audio support with SDL2 / WebAudio
  • WebAssembly support
  • Remote multiplay support with WebRTC

How to import into your Rust project

The emulator module and document are released at crates.io.

How to build core library locally

$ git clone https://github.com/takahirox/nes-rust.git
$ cd nes-rust
$ cargo build --release

How to run as desktop application

Prerequirements

$ cd nes-rust/cli
$ cargo run --release path_to_rom_file

How to import and use WebAssembly NES emulator in a web browser

See wasm/web

How to install and use WebAssembly NES emulator npm package

See wasm/npm

About

NES emulator written in Rust + WASM

License:MIT License


Languages

Language:Rust 64.7%Language:HTML 17.8%Language:JavaScript 17.4%Language:Shell 0.1%