What's new

Teasers: Gameshark =)

okaygo

Mupen64Plus Dev.
whk4gn.jpg


Expect a functional gameshark in the next release, and a beta one upcoming in the SVN soon.
 

Danny

Programmer | Moderator
Nice work :)

Out of interest, how does your implementation work? A addition to the menu? (like project64's implementation for instance)

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 :p. (will have to include this in it for sure :D)

If anyone wants to help give me a shout.

I'll post a thread when starting it.
 
Last edited:

nmn

Mupen64Plus Dev.
That looks really cool and such... but may I ask why your window decorations... look exactly like Vista Basic? I've seen people copy off of Aero, but never Vista Basic.
 
OP
O

okaygo

Mupen64Plus Dev.
The codes will be read via ini file, and have a GUI interface.

The INI will probably read something like this (however it may very well change due to eben is going to write the gui and file system, I just wrote the 'gameshark'.

:SUPERMARIO64
Jesus Mode Mario
1
<
813817640800
813817660024
810000903C04
810000928034
810000948484
81000096B1E6
810000984484
8100009A3000
810000A04680
810000A23120
810000A44604
810000A6903C
810000AC4500
810000AE0002
810000B44600
810000B62486
810000B8080E
810000BA05DB
810000BCE712
>
NES Sound
0
<
A032C96BDDD4
>
 

Richard42

Emulator Developer
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 :p. (will have to include this in it for sure :D)

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.
 
OP
O

okaygo

Mupen64Plus Dev.
And with the work of me and nmn, the console based Gameshark is nearing it's completion and will be available shortly in the SVN. Please remember that there might be a few bugs... but its gameshark baby :3
 

Tillin9

Mupen64Plus Dev.
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.
 
OP
O

okaygo

Mupen64Plus Dev.
It is possible, try redownloading the cheat.c (however I do not believe we updated the makefile to even include cheat.c yet)

That might be the problem too, try updating your makefile to include cheat.c
 

ebenblues

Mupen64Plus Dev.
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.
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.
 

Danny

Programmer | Moderator
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.

Fair enough :p, Just ordered a new pc, so if Nmn wants a hand he can gimme a shout.
 

nmn

Mupen64Plus Dev.
Cool, it is working today. Great job to okaygo and whoever (else?) fixed up my part of the code after I had to leave.
 

ebenblues

Mupen64Plus Dev.
Cool, it is working today. Great job to okaygo and whoever (else?) fixed up my part of the code after I had to leave.
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.
 

nmn

Mupen64Plus Dev.
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...
 
Last edited:

ebenblues

Mupen64Plus Dev.
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...
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.

Next I'll work on a gui frontend for viewing/editing cheat codes for roms. Also, if we add GameShark button support to the cheat system, I can add the ability to map the GameShark button to a controller button in the hotkeys section of the config dialog. Then we'll have GS button support too. :)
 
Last edited:
OP
O

okaygo

Mupen64Plus Dev.
Example cheats.cfg

{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

Also we should start porting the other cheat files from Project64 into Mupen64

This is a long awaited feature and I'm very proud that we got it done.
 

nmn

Mupen64Plus Dev.
I was thinking of an INI like format, but decided to just implement Okaygo's original. I'm guessing we switched to INI because all of the other configuration files from mupen64 itself are in INI?

And btw. do_next should be clear enough in my patch. next_cheat was removed in the process of fixing it, making it _MUCH_ cleaner. Still, It could use some cleaning up...
 
Last edited:

bgn

New member
what needs to be done to import pj64 cheats? if it is not programming related i could try doing it . perhaps the file needs to be rewrite?
 

Top