Skip to content
FCEUX

FCEUX

EMULATOR DATABASE

FCEUX

The all-in-one descendant of FCE Ultra: approachable for ordinary play and packed with debugging, Lua, movie-recording, and ROM-hacking tools.

6.0 / 10

NES

Download Tutorials & guides

Sign in to download. Files are hosted by the emulator project.

NES
SYSTEM SPOTLIGHTNESArtwork from the Retro Replay system database

About FCEUX

FCEUX brought together playback, rerecording, debugging, mapper, and development branches that had grown apart.

It remains valuable for Lua automation, TAS work, debugging, ROM hacking, map creation, save states, recording, and ordinary NES play.

Supported systems and capabilities

  • NES, Famicom, Famicom Disk System, and Dendy support
  • NTSC, PAL, and hybrid timing modes
  • Save states, screenshots, AVI recording, and movie tools
  • Lua scripting and tool-assisted speedrun features
  • Debugger, memory tools, map making, and ROM-hacking utilities
  • Windows, Linux/Unix, and macOS builds

The people behind FCEUX / history

The merger project began in 2006 under Zeromus and Rheiny. Before the first FCEUX release in August 2008, contributors including mz, adelikat, nitsujrehtona, maximus, CaH4e3, qFox, punkrockguy318, and Sebastian Porst had joined. Later contributors named by the project include xtalnix, gocha, AnS, feos, and rainwarrior, among many others.

FCEUX was never the work of one isolated author. It was a community effort to preserve useful ideas from FCE Ultra and its many forks while giving users one recognizable project.

FCEUX grew from an effort to reunite the fragmented FCE Ultra family. Its first formal release arrived in 2008, combining ordinary emulation with the movie, debugging, and development tools built across several specialized forks.

That combined purpose gave FCEUX lasting value. It became familiar to players, ROM hackers, homebrew authors, and tool-assisted speedrun communities, while continued maintenance kept the project useful long after many related forks disappeared.

Screenshots

FCEUX emulator interface with the File menu open
Inside FCEUXFCEUX keeps ordinary play controls close at hand while exposing movie recording, Lua scripting, memory inspection, debugging, and mapping tools for advanced work.Its broad toolset explains why the emulator remains familiar to ROM hackers and tool-assisted speedrun creators as well as players.Screenshot reference: Pingvinus FCEUX page.
The Legend of Zelda gameplay on NES
Gameplay from The Legend of Zelda on NES.

Tutorials & guides

FCEUX setup guide (click to expand)

Setup note: Choose the current stable or interim build for your operating system and keep the emulator in a dedicated folder.

  1. Download the correct build. Choose the stable or interim package for your operating system from the official page.
  2. Extract or install it. Keep the emulator in a dedicated folder where it can write configuration and save files.
  3. Configure input. Open the input settings and map the D-pad, A, B, Start, Select, and any controller hotkeys.
  4. Choose video and audio settings. Start with defaults, then adjust scaling, full screen, filters, and latency only when needed.
  5. Load a legal test image. Use homebrew or a personal dump to confirm timing, input, sound, and save behavior.
  6. Explore advanced tools carefully. Debugging, Lua, movie recording, and memory tools are powerful but unnecessary for ordinary play.

ROM reminder: FCEUX does not include commercial games. Retro Replay links to emulator software and documentation, not copyrighted ROM collections.

READMEs & documentation

FCEUX official project README
FCEUX SDL 2.6.4 SDL README
==========================
Originally By Lukas Sabota (sf: punkrockguy318)
Updated By mjbudd77

[NOTE:  This only applies to Qt/SDL builds]

https://fceux.com

Last Modified: November 11, 2026

Table of Contents
-----------------

1.  Requirements
2.  Installation
3.  Compile-time options
4.  GUI
5.  LUA Scripting
5.  FAQ
6.  Contact

1 - Requirements
----------------
* sdl2  - Version >= 2.0  (sdl2 >= 2.32 recommended)
* cmake - Required to build fceux. (cmake >= 3.16 is required)
	- Qt itself can need a newer cmake than that. For example Qt 6.10 refuses to be used with
	  cmake older than 3.22, and cmake will say so when it configures the project.
* qt5 OR qt6  - (qt version >= 5.15 required)
	- Required Qt Modules: Widgets, OpenGL and Network
	  (Qt6 also needs OpenGLWidgets, which is part of Qt Base)
	- Optional Qt Modules: Multimedia, Qml, UiTools and Help. Each one turns on a feature of
	  fceux when it is found at build time. See "Qt modules" below.
* liblua5.1 (optional) - Will statically link internally if the system cannot provide this.
* libx264 (optional) - H.264 video encoder for avi recording (recommended)
* libx265 (optional) - H.265 video encoder for avi recording (recommended)
* ffmpeg libraries (optional) - for avi recording (recommended)
*	- ffmpeg libraries used: libavcodec  libavformat  libavutil  libswresample  libswscale
* libarchive (optional) - for 7zip archive support (test with version 3.4.0)
* rcheevos (optional) - for RetroAchievements support. Not part of this repository, see section 3.
* minizip  
* zlib  
* openGL
* c++ compiler -- you may use g++ from gcc or clang++ from llvm or msvc 2019

Qt modules
----------
Qt is split into modules, and which of them are installed decides which features the build has.
The Qt module section of the cmake output shows what was found, for example:

	-- Qt6 Qml Module Found
	-- Qt6 UiTools Module Not Found

A missing optional module does NOT stop the build. The matching feature is quietly left out, so
packagers should check these lines (and the Vulkan lines mentioned below) to be sure a package has
every feature.

   Module        Needed    Used for                                       Debian/Ubuntu packages
                                                                          Qt5                   Qt6
   -----------   --------  ---------------------------------------------  --------------------  --------------------
   Widgets       required  The GUI                                        qtbase5-dev           qt6-base-dev
   OpenGL        required  OpenGL video output (Qt6: OpenGL and           libqt5opengl5-dev     qt6-base-dev
                           OpenGLWidgets)
   Network       required  NetPlay, and RetroAchievements (HTTPS)         qtbase5-dev           qt6-base-dev
   Multimedia    optional  The Qt audio driver, including audio output    qtmultimedia5-dev     qt6-multimedia-dev
                           device selection. Without it only the SDL
                           audio driver is available.
   Qml           optional  JavaScript scripting                           qtdeclarative5-dev    qt6-declarative-dev
   UiTools       optional  Lets JavaScript scripts load user interface    qttools5-dev          qt6-tools-dev
                           (.ui) files at run time
   Help          optional  Offline help pages. Also needs -DQHELP=1,      qttools5-dev          qt6-tools-dev
                           see section 4.

Network is checked as optional for Qt5 by cmake, but NetPlay cannot be compiled without it, so
treat it as required for both. The package names above were checked on a current Ubuntu. Other
distributions and macOS (Homebrew) name and split the Qt packages differently, so use the cmake
output to confirm what was found.

Vulkan is a separate optional dependency, not a Qt module. The Vulkan video renderer is built when
cmake finds the Vulkan headers (libvulkan-dev on Debian/Ubuntu) and Qt itself has Vulkan support.
cmake prints "Vulkan SDK found" and "Qt Vulkan support found" when it is enabled.

2 - Installation
----------------
The old scons build system is no longer supported.
Fceux can be compiled and built using the cmake build system.  To compile, run:

	mkdir build; cd build;
   cmake  -DCMAKE_INSTALL_PREFIX=/usr  -DCMAKE_BUILD_TYPE=Release  ..    # For a release build

To build a binary with debug information included in it:
   cmake  -DCMAKE_INSTALL_PREFIX=/usr  -DCMAKE_BUILD_TYPE=Debug    ..    

The Qt version of the GUI builds by default and this is the preferred GUI for use. 
For those who must have GTK/Gnome style, there is a GTK style plugin for Qt that 
can be installed to the OS and selected for use via the GUI.
The previous GTK version of the GUI is now retired and has been removed from the build.

The Qt version GUI by far exceeds the old GTK gui in capability and performance.
The Qt GUI can build/link against both Qt5 and Qt6. To enable building against Qt6, use -DQT6=1 argument:
   cmake  -DCMAKE_INSTALL_PREFIX=/usr  -DQT6=1  -DCMAKE_BUILD_TYPE=Debug    ..    

To do the actual compiling:
   make

To compile faster with multiple processes in parallel:
   make -j `nproc`
	
After a sucessful compilation, the fceux binary will be generated to 
./build/src/fceux .  You can install fceux to your system with the following command:

	sudo make install

By default cmake will use an installation prefix of /usr/local.
The recommended installation prefix is /usr (this is where the installed fceux.desktop file expects everything to be)

You can choose to install the lua scripts (located in output/luaScripts) to a directory of your choosing:

	cp -R output/luaScripts /usr/share/fceux/luaScripts

If you would like to do a full clean build a 'make clean' like function, you can do either of following:

   make clean    # from inside build directory

OR:
	Delete build directory and start over at initial cmake step:
   rm -rf build;

3 - Compile-time options
------------------------
You can enable and disable certain features of fceux at build time. 
Look in the src/CMakeList.txt file to tweak options.

RetroAchievements (optional, off by default)
--------------------------------------------
FCEUX can connect to RetroAchievements (https://retroachievements.org) using the rcheevos
library. The rcheevos source code is NOT part of the fceux repository, and the build never
downloads anything. A package that should include RetroAchievements support has to supply the
rcheevos source itself. rcheevos is MIT licensed (see its LICENSE file, which should be included
with the package notices) and is compiled statically into the fceux binary, so there is no
additional run-time library to depend on.

To build with it:

1. Get the rcheevos source. FCEUX is tested with release v12.5.0:

	git clone --depth 1 --branch v12.5.0 https://github.com/RetroAchievements/rcheevos.git

   A distribution build that has to work offline should add an rcheevos release tarball to the
   package sources instead of cloning it.

2. Turn the option on and tell cmake where the rcheevos source is:

	cmake  -DCMAKE_INSTALL_PREFIX=/usr  -DCMAKE_BUILD_TYPE=Release  \
	       -DRETRO_ACHIEVEMENTS=ON  -DRCHEEVOS_DIR=/path/to/rcheevos  ..

   Without -DRCHEEVOS_DIR the source is expected in src/rcheevos inside the fceux source tree
   (git ignores that folder). On macOS, add the two options to the usual arguments, for example:

	cmake  -S . -B build  -G Ninja  -DCMAKE_BUILD_TYPE=Release  -DQT6=1  \
	       -DCMAKE_PREFIX_PATH="$(brew --prefix qt6)"  \
	       -DRETRO_ACHIEVEMENTS=ON  -DRCHEEVOS_DIR=/path/to/rcheevos

3. Check that it took effect. If the rcheevos folder is missing or incomplete, cmake only prints a
   warning and builds WITHOUT RetroAchievements; it does not fail. Look for this line in the cmake output:

	-- RetroAchievements: enabled (rcheevos from /path/to/rcheevos)

   In the finished program, the About window lists "Compiled with rcheevos version ..." under
   Open Source Dependencies, and the Options menu has a RetroAchievements entry.

Other notes for packagers:
* Other rcheevos releases should work, but only v12.5.0 has been tested. All of the .c files under
  the rcheevos src folder are compiled, except for its libretro glue.
* RetroAchievements only talks HTTPS (retroachievements.org and media.retroachievements.org). The
  Qt Network module needs a working TLS backend at run time, which is normally OpenSSL on Linux. The
  package dependencies should make sure that is installed.
* The unlock sound is played through SDL2, which fceux already requires.
* Hardcore mode is not implemented yet. Achievements are earned in softcore mode.
* Only the user name and a login token are kept in fceux.cfg. The password is never stored.
* The cmake option is RETRO_ACHIEVEMENTS and the compiler macro that it defines for the code
  is FCEUX_HAS_RETRO_ACHIEVEMENTS.

4 - GUI
-------
The Qt GUI is required and automatically builds as part of the build. The Qt GUI is the default.
When invoking cmake, Qt6 can be used (instead of Qt5) by specifying a -DQT6=1 on the command line.
See above build instructions.
OpenGL options:
For Linux builds, the OpenGL library preference can be either GLVND or LEGACY (default). 
To use GLVND OpenGL, add a -DGLVND=1 on the cmake command line.

Qt Help Engine options:
The GUI supports both online and offline documentation options.
Online documentation requires an internet connection and a browser.
Qt supports an help engine that can read compiled html files (made via the Qt qhelpgenerator tool),
these files can reside locally on ones computer and be accessed by the GUI using the Qt help engine module.
The Qt help engine is an optional dependency and can be enabled in the build by
adding a -DQHELP=1 on the cmake command line.

Qt Styling Options:
The Qt GUI can use custom Qt widget styling by providing it a Qt stylesheet file.
Use the GUI config window to set style options.

5 - LUA Scripting
-----------------
FCEUX provides a LUA 5.1 engine that allows for in-game scripting capabilities.  LUA is enabled either way. It is just a matter of whether LUA is statically linked internally or dynamically linked to a system library.

A collection of LUA scripts are provided with the source distribuition in the output directory:

	$source_directory/output/luaScripts

You should be able to run most of the scripts in this directory out of the box.  However, some of the the lua scripts require functionality from the "auxlib.lua" library.  This file can be copied from "./bin/auxlib.lua" or "./src/auxlib.lua".  You will need to place this file in the LUA library search path if a script bombs out looking for auxlib.lua. If the script bombs out, the console output will let you know what the search path are (/usr/local/lib/lua/5.1/ on my particular system).  You can simply copy the auxlib to a preferred location to utilize the functions in the auxiliary lua library. 

In addition, some of the lua scripts require functionality from the "iup" GUI library.  You can obtain binaries and source for "iup" upstream (http://www.tecgraf.puc-rio.br/iup/), but I would recommend obtaining packages from your Linux distribution if you are able, as it can be difficult to compile or get the binaries working correctly on a given system.

You will need to add the location that the libiup*.so files to the LUA_CPATH.  This can be done with the following command (please note that the location where iup is installed with vary based on how you installed iup):

	export LUA_CPATH="/path/to/iup/lib/lib?51.so;"

For example, if libiuplua51.so is located in '/usr/lib', you can run the following command before executing fceux to place the library in the search path:

	export LUA_CPATH="/usr/lib/lib?51.so;"

Finally, if any scripts complaints about "attempt to index global 'iup' (a nil value)", this means that "iup" needs to be explicitly loaded into the script.  You can add the following line to the head of script to manually load "iup":

	require("iuplua")

The latest version of iup (3.5 at the time of writing) is recommended.

6 - FAQ
-------

* Q.  Im having issues with my sound!
* A.  Try different SDL audio drivers to see if this makes any difference.  You can do this by using this command before running fceux:

	export SDL_AUDIODRIVER=driver

where driver is either: 'pulse' for pulseaudio;' alsa' for ALSA; 'dsp' for OSS; 'esd' for ESD; see SDL documentation for details (http://www.libsdl.org/docs/html/sdlenvvars.html)

There are sound options that you can tweak at runtime through command line switches:

* -soundq x 		internal sound quality hack value (0 off)
* -soundrate x    	sound rate (sane values: 28000 48000
* -soundbuffersize x 	(in ms)  sane values (30, 50, 100, 120)

Running fceux through esddsp is known to fix some audio issues with pulseaudio on some older Ubuntu versions.
	
7 - Contact
-----------
If you have an issue with fceux, report it in the github bug tracker (see fceux at github.com).  If you would like to contact the author of this readme personally, e-mail LTsmooth42 <at> gmail <dot> com.  You can also check us out at #fceu on irc.freenode.net.
Download original README

Original project README source

Release log

Selected releases and changes, with coverage from our weekly emulation roundup.

Sources & further reading

FROM THE COMMUNITY

Player reviews

0 reviews
6.0/ 10

Overall rating

Provisional site rating and approved member scores, each counted once.

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 FCEUX

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

One comment

  1. The greatest emulator of all time? One of my faves.

Leave a Reply

Your email address will not be published. Required fields are marked *

Spam has been overwhelming. To help us approve your comment, sign up and introduce yourself in the Introductions forum so we know you’re not a bot.