Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109359 - FCE Ultra fails to save cheats to file.
Summary: FCE Ultra fails to save cheats to file.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-15 05:23 UTC by John Phelps
Modified: 2006-09-26 14:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fceultra-0.98.12-cheatdir.patch (fceultra-0.98.12-cheatdir.patch,310 bytes, patch)
2006-05-03 07:37 UTC, Tristan Heaven (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.