Joined: Sat Feb 26, 2005 8:11 pm Posts: 3044 Location: Or-Stray-Lee-Ya
Hi all,
If you're like me, you spend a fair amount of time playing a game inside of Visualboy Advance (VBA) before copying it to your flashcart of choice. If you're also like me, you're a "cheating bastard", and spend just as much time finding cheats in said game using VBA.
Have you ever then decided "Yep! I'm going put that game on my cart" ? And realised that now you either have to find the cheats in a compatible format, or type them out again by hand simply because VBA won't save cheats in a plain text format.
Well fret no longer my friend (yes it sounds like an infomercial), I present for the grand sum of FREE :
Cheat2Cheat takes one input file (a VBA clt cheat file) and turns it into an EZFlash compatible cht file. No mess, no fuss.
I tested the program a fair bit, but did not test any of the resulting output files Here's how I tested the program :
Code:
Start with a cht file premade by the EZTeam or someone else, known to work. Load the game / rom into VBA and add the cheats manually to VBA. Test the cheats in VBA to ensure they work. Save the clt file. Convert the clt file using Cheat2Cheat. Compare the original cht file to the converted one. If they look close (ie cheat data matches and file structure matches), then it's a pass. If the files fail, go back and rewrite a routine or two and retest.
Feedback can be left here or via any of my email addresses, etc. Any issues please let me know.
When I get some time I'll have to play with this ^_^
And just out of curiousity, does your program modify the codes in the 030xxxxx region to read as 4xxxx, because 99% of the games require that for 03 region of the ram. Only one I've seen that doesn't, is Donkey Kong Country, and the code must be put in as 300xxxx, yy in the cheat database.
Joined: Sat Feb 26, 2005 8:11 pm Posts: 3044 Location: Or-Stray-Lee-Ya
I've had some time off work, so aside from building a retaining wall in the backyard, I knocked that up in a few hours.
No, it doesn't modify anything at all. The clt files can hold a maximum of 100 cheats, I'm not too sure if my prog will handle all of those, infact I've not tested a file with more than 6 cheats in it. I didn't have any clt files to test it with, I had to make some up.
Essentially the addresses and values in the clt files are stored at specific offsets, I just look for the number of cheats in the file at a known location, then loop through that many times, grabbing the data and splitting it apart as it goes. It's then written into a text file with the exact same details.
The [Gameinfo] data is taken from the input filename and just printed at the end before closing the file.
BTW I think you mean 'knocked that out' not 'knocked that up'. In the US that means you got it pregnant. Dunno if it is different in Australia.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
Joined: Sat Feb 26, 2005 8:11 pm Posts: 3044 Location: Or-Stray-Lee-Ya
Yeah Knocked up has that meaning here, but I guess in a different context we have different meanings. Aaah, the wonders of the English language. For example talking about building a cubby house "We knocked it up", given that it's made of wood, and hammers make a knocking sound.
As for the app, lets hope it works as it should. I only tested it up to a 6 cheat clt file. Lets hope it survives up to a 100 cheat file. I personally don't feel like making one up.
Back to playing Harry Potter in VBA, looking for cheats. If anyone is interested it's a good game, if somewhat repetative after the first 4 levels.
Joined: Sat Feb 26, 2005 8:11 pm Posts: 3044 Location: Or-Stray-Lee-Ya
Updated to V1.2
Minor change to handle cheats where the poke value is an odd number.
This will work for codes upto 63 characters in length. That should be enough for most people.
If you're like me, you spend a fair amount of time playing a game inside of Visualboy Advance (VBA) before copying it to your flashcart of choice. If you're also like me, you're a "cheating bastard", and spend just as much time finding cheats in said game using VBA.
Have you ever then decided "Yep! I'm going put that game on my cart" ? And realised that now you either have to find the cheats in a compatible format, or type them out again by hand simply because VBA won't save cheats in a plain text format.
Well fret no longer my friend (yes it sounds like an infomercial), I present for the grand sum of FREE :
Cheat2Cheat takes one input file (a VBA clt cheat file) and turns it into an EZFlash compatible cht file. No mess, no fuss.
I tested the program a fair bit, but did not test any of the resulting output files Here's how I tested the program :
Code:
Start with a cht file premade by the EZTeam or someone else, known to work. Load the game / rom into VBA and add the cheats manually to VBA. Test the cheats in VBA to ensure they work. Save the clt file. Convert the clt file using Cheat2Cheat. Compare the original cht file to the converted one. If they look close (ie cheat data matches and file structure matches), then it's a pass. If the files fail, go back and rewrite a routine or two and retest.
Feedback can be left here or via any of my email addresses, etc. Any issues please let me know.
Joined: Sat Feb 26, 2005 8:11 pm Posts: 3044 Location: Or-Stray-Lee-Ya
It won't convert back to a CLT.
It's a messy hack to read the file, I don't do a proper file dissect, I just find the first part of the data, and then read specific offsets to gather the rest of the data.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum