Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62700 - VisualBoyAdvance: Add Cheat Codes
Summary: VisualBoyAdvance: Add Cheat Codes
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 02:21 UTC by qube99
Modified: 2005-08-27 16:29 UTC (History)
0 users

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


Attachments
Adds cheat code support (Visualboyadvance-cheat.patch,3.50 KB, patch)
2004-09-03 02:24 UTC, qube99
Details | Diff
Updated patch. Should work with both cheat formats now. (Visualboyadvance-cheat.patch,3.60 KB, patch)
2005-08-27 16:29 UTC, qube99
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description qube99 2004-09-03 02:21:15 UTC
Here's a patch to add Code Breaker and Gameshark v3 cheatcode support to VisualBoyAdvance.

Reproducible: Always
Steps to Reproduce:





Adds option --cheats, -C to point at a cheat file of the format 
 
( |\t)*<code>*(#<description>*)* 
 
Code type (CBA or GSA) is determined by length and nothing more.  Putting in 
an invalid formatted code will print out a failure and all further codes will 
not be checked.  Executing will function regardless.  Codes are *not* loaded 
upon state change (that should probably be fixed).  A line of the format 
 
( |\t)*(#<description>*)* 
 
will be ignored.  Such is useful to have blank lines or descriptor lines.  
I've not actually tried using any GSA codes, so them actually working needs to 
be tested.
Comment 1 qube99 2004-09-03 02:24:16 UTC
Created attachment 38809 [details, diff]
Adds cheat code support
Comment 2 SpanKY gentoo-dev 2004-09-07 19:24:56 UTC
where did the patch come from ?
did you write it ?

we've e-mailed upstream about it ... we'll wait a bit to see if they get back to us ... we dont really like adding cool new features without upstreams blessing :)
Comment 3 qube99 2004-09-08 05:54:18 UTC
Yea, I wrote it.  And like I was saying, it's far from polished.  But, it's better than the nothing provided so far.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-09-11 20:02:26 UTC
I'm not comfortable putting this into portage.  No reply from upstream, but I did email them about it.  I'm going to mark this as WONTFIX but that doesn't mean people can't add this to their overlay and use it locally.  Hopefully, upstream will add cheat code support for linux in a future release.
Comment 5 qube99 2005-08-27 16:29:54 UTC
Created attachment 67036 [details, diff]
Updated patch.  Should work with both cheat formats now.