./wip/fceux, NES, Famicom, and Famicom Disk System (FDS) emulator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2.2, Package name: fceux-2.2.2, Maintainer: pkgsrc-users

FCEUX is a Nintendo Entertainment System (NES), Famicom, and Famicom Disk System
(FDS) emulator. It supports both PAL (European) and NTSC (USA/JPN) modes. It
supports both Windows and SDL versions for cross compatibility.

The FCEUX concept is that of an "all in one" emulator that offers accurate
emulation and the best options for both casual play and a variety of more
advanced emulator functions. For pro users, FCEUX offers tools for debugging,
ROM-hacking, map making, Tool-assisted movies, and Lua scripting.

FCEUX is an evolution of the original FCE Ultra emulator. Over time, FCE Ultra
had separated into many distinct branches.

The concept behind FCEUX is to merge elements from FCEU Ultra, FCEU rerecording,
FCEUXD, FCEUXDSP, FCEUXDSP CE, and FCEU-mm into a single branch of FCEU.


Required to run:
[sysutils/desktop-file-utils] [graphics/MesaLib] [fonts/Xft2] [devel/SDL] [x11/gtk2] [x11/Xrender]

Required to build:
[pkgtools/x11-links] [devel/scons] [x11/xcb-proto] [x11/fixesproto4] [pkgtools/cwrappers] [x11/xorgproto]

Package options: gtk2, opengl, sdl, x11, zlib

Master sites:

RMD160: 9b9922488b71f5bf53714fb5ceeab008590cf7be
Filesize: 9033.064 KB

Version history: (Expand)


CVS history: (Expand)


   2013-11-13 03:28:18 by othyro | Files touched by this commit (5)
Log message:
Updated to latest release. Needs sysutils/desktop-file-utils/desktopdb.mk
Forcing lua51, as lua52 is still throwing errors about -lreadline and such.
Updated patch-SConstruct and PLIST. From Press Release:

The 2.2.2 release fixes a number of emulation bugs and adds many new features, \ 
most of which are related to debugging and reverse engineering.

Common

* Properly savestate NSF files
* "Auto-resume old play session" now also works with NSFs

Emulation

* Fixed mappers 178, 28, 53, 154, 43, 253, 19, 2
* Mapper 012 - added hardware dip for language select
* UNIF PEC-586 - fixed render, added 512K cartridges suppport
* Fixed UNIF 8157, UNIF T-262, UNIF DANCE2000
* Palette RAM reading fix for Old PPU
* Bring some improvements to New PPU from BizHawk, fix vtoggle5/6 back to
  vtoggle
* Fixed mmc5 savestates

Lua

* Fix wrong frequency calculation in sound.get() function
* New Lua functions:
  * tobitstring()
  * memory.readword()
  * memory.readwordsigned()
  * debugger.hitbreakpoint()
  * debugger.getcyclescount()
  * debugger.getinstructionscount()
  * debugger.resetcyclescount()
  * debugger.resetinstructionscount()

Win32

* Added "Square pixels" option to Video Config
* "TV Aspect" ratio can be customized, by default it's 4:3
* Changed "Disable hardware acceleration" checkbox to a drop-down list \ 
with 3
  options
* Movie recording: remember last Author name when creating a new movie
* Movie recording: added ability to record "Insert coin" command (for \ 
VS games)
* When no script is currently running, Shift+L loads the most recent Lua script
* Dynamic link to lua51.dll instead of static linking, because some external \ 
libraries might crash without lua51.dll
* Updated 7z.dll to v9.22
* A couple of fixes which deal with "multiple ROMs in a single \ 
archive" case
* Auto-disable "Game Genie ROM" feature when no "gg.rom" \ 
file is found
* Fixed "Single Instance Mode"

TAS Editor

* Comply with Lua movie.rerecordcounting() setting
* Fixed workflow with "Auto-adjust Input according to Lag" disabled

Debugger

* Smart scrolling up/down by whole instructions - ported from an obscure version
  of FCEUXD 1.1
* Scrolling maintains relative position of the ">" pointer inside the
  Disassembly window
* Highlight PC pointer line when a breakpoint is hit
* debuggerFontSize can be specified in fceux.cfg
* Fixed storing and loading .deb files when working with archived ROMs
* Fixed Cycles counter reset when loading an earlier savestate
* Added Symbolic Debug naming by right-clicking any address or name
* Symbolic names behave the same way as usual addresses
* Newly created Bookmarks inherit existing symbolic name by default
* Added CDL data column to the left from Disassembly, to distinguish executed
  branches of code from not executed
* Added 'T' condition for breakpoints (it checks the bank of the accessed data,
  see docs)

Trace Logger

* The dialog window can be resized
* Do not clear window log when stopping the logging
* Added "Log Cycles count" and "Log Instructions count" options
* Added Symbolic Debug naming by right-clicking any address or name
* Clicking any address select the address
* Double-clicking any address brings Debugger at the address
* Added mouse wheel support
* Only output "from $XXXX" when the subroutine was called by JSR

PPU Viewer

* Added "Mask unused graphics" feature (needs Code/Data Logger running)
* Fixed window layout when using big fonts

Hex Editor

* Added "Highlighting" submenu and "Highlight Activity" feature
* Added Symbolic Debug naming by right-clicking any address
* Specify Data bank condition when adding a Breakpoint by context menu
* Fixed bugs when saving files while working with ROMs in archives
* hexeditorFontSize can be specified in fceux.cfg

RAM Search/RAM Watch

* Added "Hex Editor" button to RAM Search (right-clicking an address \ 
works as
  well)
* Fixed RAM Watch bug when contents of old .wch file were mixed with the newly
  saved data

SDL

* "--periodicsaves" command line option
* "--4buttonexit" command line option
* "--loadstate X" and "--savestate X" command line options
* Added Unity desktop support
* Added otion to use system-provided LUA library instead of statically linked
  LUA
* Fix issue where battery backup save was not being saved when using "Quit"
  hotkey
* Fixed bug where FCEUX would take exclusive grab of input in windowed mode
  when resuming from pause
   2013-05-08 02:55:14 by othyro | Files touched by this commit (2) | Package updated
Log message:
Updated to latest revision. Here's a decent changelog:

10-Mar-2013 - prg - SDL: added option to use system minizip
10-Mar-2013 - prg - updated to use minizip v1.2.7
10-Mar-2013 - CaH4e3 - CDLogger: improved CHR logging, now it also logs the data \ 
when using Old PPU
02-Mar-2013 - AnS - Hexeditor: fixed ROM coloring when using CDLogger data
28-Feb-2013 - AnS - PPU/PAL/Input type changing is now disabled when a movie is \ 
playing
28-Feb-2013 - AnS - Cheats: update the window when ROM is changed
28-Feb-2013 - AnS - show the number of active cheats when a ROM is loaded
27-Feb-2013 - CaH4e3 - CDLogger: added "Auto-load .CDL when opening the \ 
window" option
27-Feb-2013 - CaH4e3 - MMC5 refixed
24-Feb-2013 - AnS - CDLogger: added "Auto-save .CDL when closing ROMs" \ 
and "Auto-resume logging when loading ROMs" options
23-Feb-2013 - AnS - Hexeditor: show symbolic names in the window caption
18-Feb-2013 - CaH4e3 - various mapper improvements; UNIF MALISB - Mali Splash \ 
Bomb dump; mapper 19 - Dream Master mirror fix
18-Feb-2013 - CaH4e3 - fixed mapper 69 low quality sound issue
11-Feb-2013 - AnS - fixed possible crash when saving the ROM in Hex Editor
11-Feb-2013 - AnS - Moved "Config->Game Genie" to \ 
"Config->Enable->Game Genie ROM"
03-Feb-2013 - AnS - win32: speed up screen blitting
02-Feb-2013 - AnS - Added "TV Aspect (4:3)" to Video Config
21-Jan-2013 - AnS - Taseditor: fixed Bookmarks List height on Windows 7
21-Jan-2013 - AnS - Taseditor: fixed bug with adding new item to History Log
20-Jan-2013 - AnS - Taseditor: changed the logic by which the Piano Roll follows \ 
Playback cursor, now it doesn't follow it while seeking
15-Jan-2013 - AnS - Lua: removed "shadow pixels" from gui.text(), made \ 
gui.parsecolor() function available for users
10-Jan-2013 - AnS - Taseditor: Config->Project file saving options
01-Jan-2013 - zeromus - NameTableViewer: do something reasonable if a 4-screen, \ 
table2, table3 mirror mode is chosen when the corresponding nametable ram is not \ 
available on the cart (instead of crashing)
31-Dec-2012 - CaH4e3 - fixed mappers 24, 26, 115
29-Dec-2012 - AnS - Taseditor: Changed "Compact save" dialog, added 4 \ 
options of Greenzone saving
29-Dec-2012 - AnS - Cheats: added "Add from CHT file..." button
29-Dec-2012 - AnS - win32: force the entire client area to be invalidated at the \ 
beginning of WM_PAINT; this fixes the rare bug with DIRECTDRAWCLIPPER sometimes \ 
calculating wrong region (was noticed on some video cards)
27-Dec-2012 - AnS - Play movie dialog shows New PPU in red if the required \ 
setting does not match
27-Dec-2012 - thezlomus - RAM Search: added "Search ROM" checkbox
19-Dec-2012 - AnS - win32: remodel "Video config" dialog
19-Dec-2012 - AnS - win32: fixed restoring maximized window after switching from \ 
fullscreen
18-Dec-2012 - CaH4e3 - fixed mapper 018 and 198
15-Dec-2012 - AnS - win32: added Config->Enable->Auto-resume old play session
13-Dec-2012 - AnS - win32: added Emulation Speed->Set custom speed for \ 
FrameAdvance
13-Dec-2012 - AnS - win32: added NES->Emulation Speed->Set FrameAdvance Delay
13-Dec-2012 - AnS - win32: added NES->Emulation Speed->Set Custom Speed
12-Dec-2012 - CaH4e3 - finish with mapper to boards conversion
07-Dec-2012 - CaH4e3 - Tracer: fixed RAM-located code logging when CDLogger \ 
options are enabled
05-Dec-2012 - AnS - fixed zapper and mouse positioning in fullscreen
04-Dec-2012 - AnS - speed up HUD text drawing
04-Dec-2012 - AnS - Taseditor: speed up consecutive Recordings (when combining)
03-Dec-2012 - AnS - Taseditor: fixed accelerators when editing Notes
03-Dec-2012 - AnS - fixed "X" button in the "Enter New \ 
Input" dialog (Hotkey Mapping); changed "Cancel" button to \ 
"OK"
03-Dec-2012 - CaH4e3 - fixed mapper 99
29-Nov-2012 - zeromus - fix "you ling xing dong" by assigning to mapper 192
   2013-05-05 16:25:56 by othyro | Files touched by this commit (5) | Package updated
Log message:
Updated to latest stable release. There aren't any significant changes to
the pkgsrc files to note other than another entry in the PLIST and the
SConstruct patch was updated to reflect changes in the source file. From
the package's release notes:

The 2.2.1 release fixes many bugs and adds a couple of new features. The most \ 
notable feature is "Auto-resume old play session", which is similar to \ 
"Suspending Play". Enable this option in the Config menu and now you \ 
can close ROMs or emulator anytime, next time the game state will be resumed \ 
from the closing point.

Common
Speed up HUD text drawing

Emulation
Finished mappers to boards conversion
Fixed mappers 99, 228, 18, 198, 24, 26, 69, 19
Mapper 115 - redesign according to the hardware tests
Fixed "you ling xing dong" by assigning to mapper 192
Fixed crash when four-screen bit is set after CRC check
UNIF: verbose/safe chunk loading, fixes some crashes

Lua
Removed "shadow pixels" from gui.text()
New Lua functions:

    gui.parsecolor()

New scripts:

    JumpingFCEUXWindow.lua

Win32
Fixed "Enter New Input" dialog (Hotkeys mapping)
Fixed zapper and mouse positioning in fullscreen
Remodel "Video config" dialog
Added "TV Aspect (4:3)"
Holding Shift when resizing FCEUX window inverts "Force integral \ 
factors" meaning
Fixed window regions redrawing
Added the option to define custom emulation speed (NES->Emulation \ 
Speed->Set Custom Speed)
Now Frame Advance timings (initial delay and speed) can be tweaked by user
Added Config->Enable->Auto-resume old play session
Moved "Config->Game Genie" to "Config->Enable->Game \ 
Genie ROM"
Play movie dialog shows New PPU in red if the required setting does not match
Fixed NameTable Viewer crash when the corresponding nametable RAM is not \ 
available on the cart
The number of active cheats is displayed on screen when a ROM is loaded
PPU/PAL/Input type changing is disabled when a movie is playing

TAS Editor
Fixed keyboard accelerators when editing Notes
Fixed Greenzone saving while emulator is unpaused
Fixed drawing bugs when the Playback cursor moves more than once within one update
Changed "Compact save" dialog, added 4 options of Greenzone saving
Added "Config->Project file saving options"
Changed "Follow cursor" logic, now the Piano Roll doesn't follow \ 
Playback cursor while seeking
No "Autopause at the end of the Movie" when Recording
Fixed bug when adding new item to History Log
Fixed Bookmarks List height on Windows 7
Trace Logger
Fixed RAM-located code logging when CDLogger options are enabled
Fixed automatic window update when a breakpoint is hit
Fixed RTS padding

Code/Data Logger
Added current CDL filename field and default CDL naming
Added "Auto-save .CDL when closing ROMs" option
Added "Auto-load .CDL when opening the window" option
Added "Auto-resume logging when loading ROMs" option
Improved CHR logging, now it also logs the data when using Old PPU

Hex Editor
Show symbolic names in the window caption when "Symbolic debug" is enabled
Fixed crash when trying to save ROM to an invalid path
Fixed ROM coloring when using CDLogger data

RAM Search
Added "Search ROM" option

Cheats
Added "Add from CHT file..." button
Update the list of cheats when ROM is changed

SDL
Use desktop resolution for fullscreen by setting SDL.XResolution and \ 
SDL.YResolution to 0 (new default is 0)
Fixed bug where "quit" hotkey would do nothing in '--nogui' mode
Fixed fullscreen zapper issues
Display a message dialog on errors in addition to printing to stderr
Added "Options->Auto-Resume Play"
Fixed build issues on various versions of OS X
   2013-01-28 13:41:42 by othyro | Files touched by this commit (7)
Log message:
Updated to latest release - Added lua option and filled out .else cases
for options using MAKE_ENV; Two patches were committed by upstream, so
removing as no longer necessary; Updated patch-SConstruct; Updated WRKSRC;
Fix PKGMANDIR with SUBST_*; USE_TOOLS+=pkg-config; Buildlink dlopen, but
only link with -ldl on Linux; Use scons install in do-install and install
full package files. Changelog here:
http://www.fceux.com/web/pressrelease-2.2.0.html
   2012-10-31 13:51:55 by othyro | Files touched by this commit (1)
Log message:
MASTER_SITES -> MASTER_SITE_SOURCEFORGE
   2012-10-29 00:23:35 by othyro | Files touched by this commit (1)
Log message:
Reverted checksum for patch-SConstruct to previous version. Not sure how
this got mangled. Sorry for the inconvenience.
   2012-10-23 22:51:09 by othyro | Files touched by this commit (1)
Log message:
Regenerated due to adding patch.
   2012-10-23 22:50:14 by othyro | Files touched by this commit (1)
Log message:
Imported patch from FreeBSD which makes fceux build now.