Bug 109359 - FCE Ultra fails to save cheats to file.
Bug#: 109359 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: kf4yfd@juno.com
Component: Games
URL: 
Summary: FCE Ultra fails to save cheats to file.
Keywords:  
Status Whiteboard: 
Opened: 2005-10-15 05:23 0000
Description:   Opened: 2005-10-15 05:23 0000
-Package: games-emulation/fceultra-0.98.12

-Simple Fix: create the "cheats" directory in ~/.fceultra
            # mkdir ~/.fceultra/cheats

-Details: FCE Ultra exits with the error "Error saving cheats." and
          fails to save the cheats that were entered during gameplay.
          This error is always reproducable. The error stems from
          the fact that fceu looks to save data into the ~/.fceultra/cheats
          directory without ever creating it, and does not check for its 
          existence before trying to save. This can be verified by viewing the 
          "cheat.c" file for fceu, it is a very simple code fix if someone 
          would like to patch it. 

-To Reproduce: Start fceu and any nintendo/famicom rom then press 'F2',      
               this will take you back to the console and a menu. Select
               option '2' "New Cheats...". Then select option 1, 7, or 8
               to add a new cheat. Follow the promts to add the cheat then 
               select 'X' " Return twice to return to the game. Upon exiting 
               the game the error "Error saving cheats" occurs and the cheats 
               fail to save.

------- Comment #1 From Tristan Heaven 2006-05-03 07:37:55 0000 -------
Created an attachment (id=86070) [details]
fceultra-0.98.12-cheatdir.patch

How's this?

------- Comment #2 From Tristan Heaven 2006-06-26 05:37:55 0000 -------
patch works for me, anyway.

------- Comment #3 From Tristan Heaven 2006-09-26 14:00:30 0000 -------
Fixed, thanks.