compiling, cheating and such.

Post Reply
pisto
Junior Member
Posts: 2
Joined: Tue Aug 16, 2011 6:10 am

compiling, cheating and such.

Post by pisto »

Hello.

Some days ago I played on another pc a version of visual boy advance which had the feature of scanning for cheats. Althoug I'm not new in this field (I managed to find cheats with other emulators and also CheatEngine), I couldn't find any, not even the easiest (coins, lifes, etc.). So I decided to investigate, compile the svn for linux, and I have a few question and suggestions.

 

1) Where's this feature gone? :xso_grin: I heard that there are several fork of the original emulator, but I think that the M version, which is supposed to be a "big merge", should really have it.

1b) That scan lacks a very important kind of search, that is "value is as during first scan".

2) I couldn't find any cheat, and I wonder if that's because the search was broken in that version, or if the game (Super Mario Land 3) had some rudimentary protection against memory tampering (xoring?). Also, as contemporary C programmers default to 32 bits long ints, what was the preferred choice back in the times of the gameboy, 32 or 16 bit integers? And is it common the use of pointers?

3) As of now the cmake script is broken, because you removed the fex folder. Unfortunately, I don't think that any linux distro ships with a dev version of that library. I edited CMakeLists.txt so that it doesn't try to compile fex but links vbam to the precompiled library. Fex has to be compiled and installed as a normal library in /usr/lib and /usr/include. I attach the modified CMakeLists.txt and the makefile for fex which has the 'install' target. I tested it succesfully on Ubuntu 11.04 x64; I don't know if this method is compatible with windows.

4) I think you should make wx a dependency, that is remove the sources and just link to the library provided by the OS, both to avoid redundancy and because wxWidgets build just doesn't work right now.

 

Thanks in advance.

 

P.S.

I'll be on holidays for about 10 days, I won't reply immediately to new messages.

Last edited by pisto on Tue Aug 16, 2011 6:33 pm, edited 1 time in total.
Squall Leonhart
Posting Freak
Posts: 1223
Joined: Tue Mar 18, 2008 9:21 am

compiling, cheating and such.

Post by Squall Leonhart »

Wx is not complete.

FEX is not removed, just moved.

Cheat searching works fine.

Last edited by Squall Leonhart on Wed Aug 17, 2011 3:19 am, edited 1 time in total.
User avatar
ZachBacon
Member
Posts: 242
Joined: Tue Mar 27, 2018 9:35 pm

compiling, cheating and such.

Post by ZachBacon »

yeah the wxwidgets interface is still quite new and has bugs I've been trying to fix when I can and Squall is right, fex has just been moved, just some of the project files like cmakelist.txt hasn't been updated yet.

pisto
Junior Member
Posts: 2
Joined: Tue Aug 16, 2011 6:10 am

compiling, cheating and such.

Post by pisto »

ok, I'll check more carefully for the cheat search menu next time, when I'm back at home. I wasn't complaining about wx not working, just suggesting a move (as, yeah, happened to fex), because gtk works for me and it's enough (or is it just gtk that lacks of the cheats menu?).

 

No idea about point 2) ?

User avatar
ZachBacon
Member
Posts: 242
Joined: Tue Mar 27, 2018 9:35 pm

compiling, cheating and such.

Post by ZachBacon »

for the gtk interface, cheat support is relatively new, so cheat search hasn't been included, our resident gtk interface maintainer hasn't got that far yet.

powered_by_tux
Junior Member
Posts: 5
Joined: Thu Dec 18, 2008 1:09 pm

compiling, cheating and such.

Post by powered_by_tux »

Now, that I have got some spare time on my hands, I might start work on GTK cheat search support. Here's a concept screenshot of how I imagine it could look:

Post Reply