Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Meka.Cht draft

Reply to topic
Author Message
  • Joined: 24 Jun 1999
  • Posts: 1732
  • Location: Paris, France
Reply with quote
Meka.Cht draft
Post Posted: Thu Mar 09, 2000 3:28 pm
This is for MUG mainly. I just wrote a draft of what should be the MEKA.CHT file.
I haven't started any coding yet, but it shouldn't be a problem.

As for the interface side, there are still things to sort out.
Should the list of all games be displayed and let the user choose a code?
Or should only codes for the current, recognized game should be displayed,
etc..

Any comments/suggestions/ideas/help/whatever are welcome.


;
; MEKA - Cheats database
; by Omar Cornut / Zoop and ..
; Additionnal contributors: ..
;
; If you succeed in adding any new code, please send them to me for future
; inclusion in the distribution file !
; http://www.emucamp.com/meka
;

; Wonderboy 3 / SMS
[6378FB88A3994BC]
type par
name "Lot of Gold"
code 00C41BFF 00C41CFF 00C41DFF
--
name "Charme Stones"
code 00C52363
comment "Get 99 stones and be able to buy everything in shops"

[Sonic the Hedgehog] GG
type gg
name "Infinite Lives"
code 123-456-789
--
type par
name "Attached rings"
comment "Prevent player from loosing rings when getting hurt"
code 00110300

[Championship Lode Runner] SG-1000
[78347BCD733AA384]
type meka
name "Level select"
pos C41B, size 2, default 1, range 1-40


Notes:
field "type" is herited between successsives codes.
type of code "meka" is of course subject to tons of variations
checksum should be optional, if present the entry for this game should be automatically selected in the menu.
  View user's profile Send private message Visit poster's website
MUG U.K(tm)
  • Guest
Reply with quote
Post Posted: Thu Mar 09, 2000 5:44 pm

Quote
> As for the interface side, there are still things to sort out.
> Should the list of all games be displayed and let the user choose a code?
> Or should only codes for the current, recognized game should be displayed,
> etc..

Suggest that when a game is loaded (and Cheats mode is switched on) that a dialog box asks the user if they would like to see the cheats (advanced users get list of cheats automatically).

How are you going to do the cheats - a la Action Replay where a value is POKEd every frame (assuming Game Genie does the same) or where they are in the .PAT file where a byte is altered removing the decrease routine on the lives/energy etc. counter?

Will you be adding an Action Replay option via the real ROM (as soon as my post gets to your house that is) .. or writing your own similar to ZSNES ?

A conversion routine between PAR and GG would also be nice - but can I have that as a separate tool so I can convert the ones on the net that are already out there :)

Also a memory dumper for your Save game files. I posted info on your save game format and would like a small tool which will display the RAM inside the SAV game file (C000 - DFFF) so that file comparisons for lives counters etc. can be found on the tougher to cheat games ?
 
  • Joined: 12 Jul 1999
  • Posts: 891
Reply with quote
Post Posted: Fri Mar 10, 2000 6:38 am
I think you should include a cheat finder option like a real PAR, if you can figure out how to do it that is.....

~unfnknblvbl
  View user's profile Send private message
  • Joined: 24 Jun 1999
  • Posts: 1732
  • Location: Paris, France
Reply with quote
Post Posted: Fri Mar 10, 2000 8:08 am
Quote
> I think you should include a cheat finder option like a real PAR, if you can figure out how to do it that is.....

On a technical point of view it's quite easy. The main problem would be how to interface it.
  View user's profile Send private message Visit poster's website
  • Joined: 24 Jun 1999
  • Posts: 1732
  • Location: Paris, France
Reply with quote
Post Posted: Fri Mar 10, 2000 8:13 am
Quote
> Also a memory dumper for your Save game files. I posted info on your save game format and would like a small tool which will display the RAM inside the SAV game file (C000 - DFFF) so that file comparisons for lives counters etc. can be found on the tougher to cheat games ?

Non tested and no error check.

main(int argc, char **argv)
{
int i;
unsigned char c;
int fd = open(argv[1], O_RDONLY);
lseek(fd, pos_its_on_the_forum_i_forgot_the_value, SEEK_SET);
for (i = 0; i < 0x2000; i++)
{
read(fd, &c, 1);
printf("%02X", c);
if ((i % 35)==0) printf("
");
}
close(fd);
}
  View user's profile Send private message Visit poster's website
  • Joined: 12 Jul 1999
  • Posts: 891
Reply with quote
Post Posted: Fri Mar 10, 2000 1:19 pm
Quote
> > I think you should include a cheat finder option like a real PAR, if you can figure out how to do it that is.....

> On a technical point of view it's quite easy. The main problem would be how to interface it.

Once you get the PAR, you'll find out, as their way of doing it is quite easy to work with... but if you could do it in the way of the PAR2, it wold be better..... with the PAR2, you could have 99 codes in at once, and the cheat finding was simpler :)

~unfnknblvbl
  View user's profile Send private message
  • Joined: 24 Jun 1999
  • Posts: 1732
  • Location: Paris, France
Reply with quote
Post Posted: Fri Mar 10, 2000 3:13 pm
Quote
> > > I think you should include a cheat finder option like a real PAR, if you can figure out how to do it that is.....
> > On a technical point of view it's quite easy. The main problem would be how to interface it.
> Once you get the PAR, you'll find out, as their way of doing it is quite easy to work with... but if you could do it in the way of the PAR2, it wold be better..... with the PAR2, you could have 99 codes in at once, and the cheat finding was simpler :)

I meant, Meka interface.

  View user's profile Send private message Visit poster's website
MUG U.K(tm)
  • Guest
Reply with quote
Post Posted: Sun Mar 12, 2000 3:08 pm
Quote
> I meant, Meka interface.

Something along the lines of ZSNES? or just use the MAME engine as it hunts for a lot more and just convert the end result into GG/PAR and MEKA type patches ?
 
MUG U.K(tm)
  • Guest
Reply with quote
Post Posted: Sun Mar 12, 2000 3:09 pm
Any chance of a compiled one I can play with ? Not got a C compiler and wouldn't even know where to start :)
 
Reply to topic



Back to the top of this page

Back to SMS Power!