百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nestur

> 编程语言
开源

你把 NES (模拟器)放在雨中,但让它晾干了,还能运作。

544 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

你把 NES (模拟器)放在雨中,但让它晾干了,还能运作。

nestur

Nestur is an NES emulator. There are plenty of full-featured emulators out there; this is primarily an educational project but it is usable. There may still be many bugs, but I'm probably not aware of them so please submit issues.

  • no use of unsafe
  • NTSC timing
  • supports mappers 0-4 which cover ~85% of games

The code aims to follow the explanations from the NES dev wiki where possible, especially in the PPU, and the comments quote from it often. Thanks to everyone who contributes to that wiki/forum, and to Michael Fogleman's NES and Scott Ferguson's Fergulator for getting me unstuck at several points.

Controls

 Button  |   Key
___________________
|   A    |    D   |
|   B    |    F   |
| Start  |  Enter |
| Select | R-Shift|
|   Up   |   Up   |
|  Down  |  Down  |
|  Left  |  Left  |
|  Right |  Right |
-------------------

F2: reset console
F5: save game state
F9: load most recent save state

If the game is called mygame.nes, the save state files will be called mygame-#.dat. To load any previous save state, drag and drop a .dat file onto the window.

Use

Double-click or run the executable from a terminal by itself to launch with instructions. Then click Ok and drag a (iNES/.nes) ROM file onto the window. Or, drag and drop a ROM file onto the executable to run it directly, or use the path to the ROM file as the first argument to the terminal command.

If the game uses battery-backed RAM (if it can save data when the console is turned off), a save file like rom_filename.sav will be created in the same folder as the ROM when the program is exited. When Nestur is run again, it will look for a file matching the ROM name, with a .sav extension instead of .nes.

Compilation

  1. Install Rust
  2. Have a C compiler
    • Linux: sudo apt install build-essential
    • Mac: XCode
    • Windows: install the Visual Studio Build Tools (or Visual Studio with the "Desktop development with C++" workload).
  3. Install CMake
    • Linux: sudo apt install cmake
    • Mac: install Homebrew and run brew install cmake
    • Windows
  4. cd nestur/ && cargo build --release (be sure to build/run with the release flag or it will run very slowly)
  5. The nestur executable or nestur.exe will be in nestur/target/release.

To do

  • support other controllers?

  • more mappers?

  • better save file organization?

Known problem games

  • None currently, please report any issues

Please also check out Cloaker and Flying Carpet!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustemulatornesrustsdl2

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言