I write a simple python script for converting my boy! cht to ez-flash cht.
You can download the my boy! cht from https://gamehacking.org.
Then, simply run `python3 convert.py my-boy.cht > ez-flash.cht`. (You can run it on mingw, msys, wsl or linux)
You can get the ez-flash style cht file.
It will ignore crc check and button processing in original cht, only processing "RAM Write".
And combining items with the same name into one item.
Name and Text in GameInfo section will be the filename.
A typical my boy! cht file will look like:
Converted EZ-Flash Style cht file looks like:
You can get the script form here: https://github.com/SLKun/PyUtils/blob/master/GBACheats/convert.py
You can download the my boy! cht from https://gamehacking.org.
Then, simply run `python3 convert.py my-boy.cht > ez-flash.cht`. (You can run it on mingw, msys, wsl or linux)
You can get the ez-flash style cht file.
It will ignore crc check and button processing in original cht, only processing "RAM Write".
And combining items with the same name into one item.
Name and Text in GameInfo section will be the filename.
A typical my boy! cht file will look like:
<?xml version="1.0" encoding="UTF-8"?>
<cheats>
<cheat type="cb" name="M">
<code>00005868 000A</code>
<code>1005A354 0007</code>
</cheat>
<cheat type="cb" name="Access Item Shop [Press L+R+Up]">
<code>74000130 00BF</code>
<code>3200AA6C 0000</code>
<code>74000130 00BF</code>
<code>42000668 0001</code>
<code>17000002 0060</code>
</cheat>
<cheat type="cb" name="Have $50,000">
<code>8200B95C C350</code>
</cheat>
</cheats>
Converted EZ-Flash Style cht file looks like:
[Access Item Shop [Press L+R+Up]]
ON=0AA6C,00
[Have $50,000]
ON=0B95C,50,C3
[GameInfo]
Name=Sims 2, The - Pets (Europe) (En,Fr,De,Es,It,Nl)
System=GBA
Text=Sims 2, The - Pets (Europe) (En,Fr,De,Es,It,Nl)
You can get the script form here: https://github.com/SLKun/PyUtils/blob/master/GBACheats/convert.py
Last edited by SLKun,