VBA-M Forums

Full Version: compiling, cheating and such.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.

I'll be on holidays for about 10 days, I won't reply immediately to new messages.
Wx is not complete.
FEX is not removed, just moved.
Cheat searching works fine.
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.
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) ?
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.
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:
Reference URL's