Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109359

Summary: FCE Ultra fails to save cheats to file.
Product: Gentoo Linux Reporter: John Phelps <kf4yfd>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: trivial CC: kf4yfd, tristan
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fceultra-0.98.12-cheatdir.patch

Description John Phelps 2005-10-15 05:23:18 UTC
-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 Tristan Heaven (RETIRED) gentoo-dev 2006-05-03 07:37:55 UTC
Created attachment 86070 [details, diff]
fceultra-0.98.12-cheatdir.patch

How's this?
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-06-26 05:37:55 UTC
patch works for me, anyway.
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2006-09-26 14:00:30 UTC
Fixed, thanks.