ianpatt wrote:
The ugly way involves hacking the current CRC support code in the cheat engine to use strings.
The main problem with adding this is that I would need to add a dynamic-length string to the cheat structure which would be #ifdefed out for non-MESS builds. This isn't fun. Add to that my usual complaints about MESS (needing to make a project for it in Visual SlickEdit and VC++.)
I'll add this to the "todo" list in case I can think of a better way later. Realisticly, I'll probably will end up adding this, but not right now.
For when I do add this: how should the database connecting crcs to names work? Something like:
(inside a file named [systemname].nam)
Unless you have a good way of autogenerating these lists, I'm not sure that this would save any time. You would also need to distribute the *.nam files with the cheat database(s). Clarifications welcome.
I haven't used MESS for about 2 years (and I probably will do that again due to the fact that the DOS port isn't updated anymore), but here is what I remember about this :
There are files (*.crc) in the crc subdirectory which gives the CRC and the LONG name, and there are some functions (eg:
MatchCRC) in MESS that parse these files ... And IIRC Cowering told that the Good tools could generate these files ...
So, assuming that the long name is unique, and that there is NO ':' in it, you could have this format for the cheat line :
Code: Select all
:[ drivername ]:[ full name ]:[ type ]:[ address ]:[ data ]:[ extended data ]:[ name ]:[ description ]
There are however some things to know and some restrictions :
- how would you identify games that have no *.crc file (eg: 'sfzch' or the C64 games) ?
- you'll need to duplicate the cheats for games which use multiple images ("(n/m)" in the long name, for some games on the CPC 6128 for example)
I hope that you understand what I mean ...
I give this post the "fragmented train of thought" award of the day. That means that I need to go to sleep.
Ian, once you've read this, don't forget to also read my "bug report" about your latest changes on the "Announcement" board ...
Steph from The Ultimate Patchers
Visit
The Ultimate Patchers' site