FCEUX
The all in one NES/Famicom Emulator
Home Download Documentation Versions Contact Links

FCEUX SDL FAQ

Last updated March 3, 2010
Valid as of FCEUX 2.2.0
by punkrockguy318

Table of Contents:

What is the subversion build and how can I get it?

The latest and greatest changes to fceuX are reflected immediately on our sourceforge subversion server. You can checkout our source code and build fceuX with the latest changes that have been made. Use this command:

svn co https://fceultra.svn.sourceforge.net/svnroot/fceultra fceultra

How do I configure a gamepad?

If you have the GTK GUI compiled in, you can configure the gamepad by selecting Options...Gamepad in the menu.

You can allso configure the first gamepad by running fceux --inputcfg gamepad1

When you configure a button you will be presented with a black window with a titlebar indicating what button to map. FceuX will look for two of the same keypress/joystick event in a row. If it doesn't find two of the same keypresses in a row, it will allow you to map the button to two seperate keys.

My sound is stuttery/laggy. How can I fix this?

Try using different SDL audio drivers. You can set the SDL audio driver with the following command

export SDL_AUDIODRIVER=driver

where driver is: esd,oss,alsa,pulse,nas,arts . You should probably try them in that order. esd is the best choice if you are using pulseaudio or the esound daemon. OSS (with ALSA being seond here)is best if you have no sound daemon running. I can't confirm if nas or arts work at all (but I'd definately avoid arts altogether). SDL's pulse driver has a lot of issues if you are using older versions of SDL or pulseaudio. If you are having problems and you use pulseaudio try the esd SDL driver.

How can I change my hotkey bindings?

You need to edit your ~/.fceux/fceux.cfg file. The SDL.Hotkeys.* values are SDL keysyms, which can be found in SDL_keysym.h (probably /usr/include/SDL/SDL_keysym.h on your system). At the time of writing, hotkeys are not mappable from the GUI in sdl.

Can I map hotkeys to my gamepad?

No, not from within fceuX. However, there is a great script available called jkeys that will convert joystick button presses and axis movements to keyboard keypresses. You can map your joystick buttons to whatever hotkey you'd like. Jkeys works great with fceuX. There aren't any releases on the website, but don't let that scare you. You can easily obtain the script via subversion:

svn checkout http://jkeys.googlecode.com/svn/trunk/ jkeys-read-only

Credits

Name:Contribution(s):
Lukas Sabota Author of this document