When I get my PC back I am going to start the task of porting all the changes in the current Mupen version back to the last Windows base code, aka Porting it back to Windows. (will have to include this in it for sure
)
Signal number 11 caught:
errno = 0 (Success)
Fixed the segfault problem. It segfaults on systems where cheats.gs file doesn't exist. nmn added cheat.c to Makefile in svn last night.Um... after I build mupen from svn it compiles but does not run. I get:
Code:Signal number 11 caught: errno = 0 (Success)
with any plugins, even dummy audio and video and mupen64 basic input. I'm guessing the cheat work has something to do with this? Also, maybe a branch work be a better idea?
That's not to say I'm not 100% in favor of having it in the emulator. Cheat support is a great way to be able to muck around in ROMs to try to find corner cases the emulator can't handle and make it better. Just try to be considerate and keep things in trunk working.
There have been about 400 commits to the SVN repository since Mupen64 v0.5. There is no going back at this point, unless you just want to fork it and only grab a few things here and there. Then you'd give Windows developers a bad name.NMN is working on a Win32 port already.
fyi, I'm doing a large cleanup of the cheat code and enhancing the frontend/file io part of it, so please don't commit major changes to cheat.[ch] until I've committed my changes. Thanks.Cool, it is working today. Great job to okaygo and whoever (else?) fixed up my part of the code after I had to leave.
np, I merged in your change and committed mine. Note, my commit changed the name and format of the cheat config file. See the commit log for details. I think the code that handles conditional cheat codes (do_next code) could be written a little more clearly. I'll try to fix that up if I can think of a good way to do it.I read this AFTER fixing the conditional system and committing it... Anyways, yes, I had to change the file a bit to get conditionals working properly. Please try to merge it as it's rather important for it to work properly...
{635a2bff 8b022326}
name=SUPER MARIO 64
[Super Mega Jumps]
enabled=1
8133b176 0008
[Jesus Mode Mario]
enabled=1
81381764 0800
81381766 0024
81000090 3c04
81000092 8034
81000094 8484
81000096 b1e6
81000098 4484
8100009a 3000
810000a0 4680
810000a2 3120
810000a4 4604
810000a6 903c
810000ac 4500
810000ae 0002
810000b4 4600
810000b6 2486
810000b8 080e
810000ba 05db
810000bc e712
fyi, for those trying out the new cheat feature, cheats.cfg should go in your ~/.mupen64plus dir.Example cheats.cfg
Here's a preview of the edit cheats dialog: