Hacking Libretro-database to EZ-Flash Omega cheat converter/patcher

fluberbuton

New Member
OP
Newbie
Joined
Mar 25, 2021
Messages
1
Trophies
0
Age
28
XP
56
Country
United States
Hello all, first post here so I'd appreciate any feedback so I can improve this post and project.

I have found some limitations with the cheat library provided by EZ-Flash for the Omega devices, such as confusing descriptions and missing cheats that are common in other collections. To try to improve the database, I wrote a little script to read and convert the GBA cheats from the libretro-database repository to the EZFlash Omega cheat format, and then add those converted cheats into an existing EZ-Flash "stock" cheat database.

The script runs fine for me, and cheats show up and seem to work as expected, but testing is fundamentally pretty difficult for this sort of a project. I think the utility has the potential to be really beneficial to other EZ-Flash Omega (and DE) users, so I'd appreciate if anyone could try it out and provide feedback here or as an issue in the repository.

The utility is a standalone Python 3 script with no additional dependencies that should run on any Python 3.8+ distribution, and possibly in lower minor versions of Python 3. Because my account gbatemp is brand-new, I can't link the repository directly, but you should be able to find it pretty easily by searching "jeresch/update_ezflash_cheats" on GitHub.

Thanks!
 

booshankles

Member
Newcomer
Joined
Jun 12, 2021
Messages
6
Trophies
0
Age
33
XP
115
Country
United States
Hello all, first post here so I'd appreciate any feedback so I can improve this post and project.

I have found some limitations with the cheat library provided by EZ-Flash for the Omega devices, such as confusing descriptions and missing cheats that are common in other collections. To try to improve the database, I wrote a little script to read and convert the GBA cheats from the libretro-database repository to the EZFlash Omega cheat format, and then add those converted cheats into an existing EZ-Flash "stock" cheat database.

The script runs fine for me, and cheats show up and seem to work as expected, but testing is fundamentally pretty difficult for this sort of a project. I think the utility has the potential to be really beneficial to other EZ-Flash Omega (and DE) users, so I'd appreciate if anyone could try it out and provide feedback here or as an issue in the repository.

The utility is a standalone Python 3 script with no additional dependencies that should run on any Python 3.8+ distribution, and possibly in lower minor versions of Python 3. Because my account gbatemp is brand-new, I can't link the repository directly, but you should be able to find it pretty easily by searching "jeresch/update_ezflash_cheats" on GitHub.

Thanks!
gosh how does one go about using this lol i would really like to use it,any tutorial or anything?
 
Last edited by booshankles,

Rokku

Well-Known Member
Member
Joined
Oct 4, 2010
Messages
543
Trophies
1
XP
1,216
Country
United States
I second this, I'd love to use this tool but I have no idea how it's supposed to work.

EDIT: I've been trying it but I keep getting errors, the most recent one is something about a cheat file having too many cheats I guess?

EDIT 2: Fixed the problem and was able to successfully patch the cheat list, so this definitely seems to work with the Omega DE.

RAoLjjL.png
 
Last edited by Rokku,

Levine91

Well-Known Member
Member
Joined
Oct 8, 2011
Messages
184
Trophies
1
XP
1,049
Country
United States
I second this, I'd love to use this tool but I have no idea how it's supposed to work.

EDIT: I've been trying it but I keep getting errors, the most recent one is something about a cheat file having too many cheats I guess?

EDIT 2: Fixed the problem and was able to successfully patch the cheat list, so this definitely seems to work with the Omega DE.

RAoLjjL.png


Could you help us out that are completely clueless on how to use this?
 

EZ-Flash2

Official EZ-FLASH Stuff
Member
Joined
Jul 16, 2003
Messages
1,117
Trophies
3
XP
3,517
Country
China
I tried to run the script and found that the help was missing the description of the additional parameters until the error message prompted me, I found the detailed description of the parameters and file requirements in the source code, and after successfully running it, the script patched roughly 803 cht file.

NOTE: if the code runs with out error and displaying a "Patches applied", it means all the 803 files already patched in FLY, do not run the code again, otherwise the duplicate data will be written to those files again.

NOTE: I have not tested the converted code yet.
 

Rokku

Well-Known Member
Member
Joined
Oct 4, 2010
Messages
543
Trophies
1
XP
1,216
Country
United States
I just want to say that for some reason this did not convert my codes for Pokemon Fire Red, as I ended up with a useless cheat file full of Chinese characters.
 

Son of Spam

Member
Newcomer
Joined
May 9, 2007
Messages
18
Trophies
1
XP
381
Country
United States
I second this, I'd love to use this tool but I have no idea how it's supposed to work.

EDIT: I've been trying it but I keep getting errors, the most recent one is something about a cheat file having too many cheats I guess?

EDIT 2: Fixed the problem and was able to successfully patch the cheat list, so this definitely seems to work with the Omega DE.

RAoLjjL.png
Could you upload your converted cht files? Thanks.
 
  • Like
Reactions: Defective1Up

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
  • AncientBoi @ AncientBoi:
    [checks my dildo(s) batteries, coolant and lube] :O [promptly replaces them] :D
    AncientBoi @ AncientBoi: [checks my batteries, coolant and lube] :O [promptly replaces them] :D