Gaming VBA .clt files???

nikeymikey

This is now a Spiderman thread.........
OP
Member
Joined
Nov 19, 2008
Messages
1,510
Trophies
1
XP
2,448
Country
United Kingdom
Does anyone know where i can find a full or as close to full set of .clt files for VBA? Or a converter to convert .cht files to .clt?
I have the advanscene named full romset if that helps....
I have searched google but no luck
thanx in advance
 

Tac 21

Well-Known Member
Member
Joined
Feb 2, 2008
Messages
913
Trophies
1
XP
941
Country
Canada
no.. if you want to cheat so badly, gamesharks website is your best bet- make your own with those.
 

noabody

Member
Newcomer
Joined
Mar 30, 2006
Messages
8
Trophies
0
XP
238
Country
Necro-bump. I read this post while looking for a way to create VisualBoyAdvance .clt files and wanted to share what I've learned from manipulating .clt files created by two emulators; Android GBA.emu and VisualBoyAdvance-m.


There are 2 primary sections of a VBA .clt file, one 12 byte global heading and 84 bytes for each individual code. The codes are broken down into four sections; a code heading, little endian code, ascii code as a name, and the code title name.

Global heading, 12 bytes:
  • 01 00 00 00 represents the cheat list version
  • 01 00 00 00 represents the cheat list type
  • XX XX 00 00 where "XX XX" is the little endian hex number for the total number of codes
Code, 84 bytes:
  • heading = 16 bytes, Gameshark is:
    • 4 byte code descriptor 00 02 00 00
    • 4 byte code type based on 1st number of code
    • 00 00 00 00
    • 1 byte code enable status; "00" is off, "01" is on
    • 00 00 00
  • little endian code = 16 bytes, Gameshark (8 4) format is:
    • 4 byte little endian code
    • 4 byte little endian code with 1st digit set to "0"
    • remaining 2 byte little endian code
    • 00 00 00 00 00 00
  • ascii code as a name = 20 bytes, Gameshark (8 4) format is:
    • 8 characters space 4 characters = 13 bytes
    • 00 00 00 00 00 00 00
  • ascii code title name = 31 characters max, padded with byte "00" to 32 bytes
Gameshark codes have a translation table of sorts where the first hex digit of the code correlates to an 8 byte code type in the code heading. I input bogus codes to get this table.

0xxxxxxx FF FF FF FF 1xxxxxxx 70 00 00 00 2xxxxxxx 21 00 00 00 3xxxxxxx 00 00 00 00 4xxxxxxx 09 00 00 00 5xxxxxxx 24 00 00 00 6xxxxxxx 0B 00 00 00 7xxxxxxx 08 00 00 00 8xxxxxxx 01 00 00 00 9xxxxxxx FF FF FF FF Axxxxxxx 0A 00 00 00 Bxxxxxxx 23 00 00 00 Cxxxxxxx 22 00 00 00 Exxxxxxx 20 00 00 00 Fxxxxxxx 32 00 00 00

I wrote a text reformatter, for Bash in Linux, to convert RetroArch style .cht file to VBAM .clt hex format and vice versa. It currently handles Gameshark style codes only. You can find it on my Github.
 
Last edited by noabody,

noabody

Member
Newcomer
Joined
Mar 30, 2006
Messages
8
Trophies
0
XP
238
Country
I never found a complete archive of .clt files. There are a few hosted at zophar .net. I wasn't completely happy with the Gamehacking .org VisualBoy Advance converter either, so I wrote my own Linux Bash Script. The first iteration was useless but it's about 90% accurate now. Codes seem to work okay.

It will reformat a RetroArch format .cht file to VBA/VBA-M 80/84 byte .clt file. The rub is that we need (8 4) type GameShark SP Advance style codes. Gamehacking .org has a format called "My Boy!" which seems to always output this type of code. So..., you need to download a "My Boy!" .cht and use my mybro script to reformat it into a RetroArch style .cht file. Then use my vbaro script to reformat from RetroArch .cht to VBA/VBA-M .clt.

I spent a lot of time looking at the hex output from older VBA/80 byte codes and newer VBA-M/84 byte codes. All of the information I gained is contained, as a note, within the vbaro script.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I think in big inches
    +1
  • BigOnYa @ BigOnYa:
    @realtimesave Can you sew it back together? Or is it not worth trying.
  • realtimesave @ realtimesave:
    nah sewing it will make it come apart more :)
  • realtimesave @ realtimesave:
    that one is pretty old
  • realtimesave @ realtimesave:
    the one on my mercedes is a couple years old. these things don't last very long at all
    +1
  • BigOnYa @ BigOnYa:
    Are you near sea/salt water, or in general they just don't last. Sounds like if you driving a mercedes, you need a garage. I get snow n ice here so nothing worse than clearing that shit off at 6am rushing to get to work.
  • realtimesave @ realtimesave:
    I'm a few miles away from the salt water
    +1
  • realtimesave @ realtimesave:
    ya I would garage it if there was room in the garage for a car :|
  • BigOnYa @ BigOnYa:
    Immigrants took over your garage? I hate those
    swatters. Or is it Kilos waiting to be picked up by Carlos. Lol jk
  • K3Nv2 @ K3Nv2:
    Too bad Hitler didn't make camps for immigrants oh wait
  • Psionic Roshambo @ Psionic Roshambo:
    Isn't the latest method for slim like self right?
  • Psionic Roshambo @ Psionic Roshambo:
    Like a 1 wire mod?
  • K3Nv2 @ K3Nv2:
    Still two wire with resistor if you don't count the 7 wire pc probes cause hardware likes a good probing
    +1
  • BigOnYa @ BigOnYa:
    2 wires left on motherboard, 7 temp soldered to a flasher, then removed after flashed
  • K3Nv2 @ K3Nv2:
    Technically don't even have to remove it could just keep it on
    +1
  • K3Nv2 @ K3Nv2:
    I don't really mess with hard mods due to neuro issues
  • realtimesave @ realtimesave:
    I tried to get a slim on a black friday once, but they ran out of stock for the $100 one
  • realtimesave @ realtimesave:
    many ages ago
  • BigOnYa @ BigOnYa:
    You can find them $50-75 nowdays if catch a deal
  • K3Nv2 @ K3Nv2:
    Still remember grabbing this ps4 slim on black Friday for $200 when the msrp was still around 300
    +1
  • BigOnYa @ BigOnYa:
    I went to auction at a mom/pops video game store few months ago that was closing, and bought 11 slims for $200, 1 was DOA but 10 work fine. so hella deal.
  • K3Nv2 @ K3Nv2:
    Think I'm gonna use my giftcard balance on a nice pair of headphones but $100 is still limited
  • K3Nv2 @ K3Nv2:
    Soundcore q30s are nice but they leak so much sound it sounds like speakers
    K3Nv2 @ K3Nv2: Soundcore q30s are nice but they leak so much sound it sounds like speakers