CHT file help

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Dirtie
Rookie
Posts: 15
Joined: Sun Oct 23, 2005 9:26 pm

CHT file help

Post by Dirtie »

The interface for entering cheats in ZSNES is too clunky and annoying, not to mention it doesn't support pasting.
What I want is an editor outside of ZSNES that can edit the cheat files quickly and easily (I've looked for such a utility, but all I found is a couple that convert to ASCII, and not back again) - or if not, at least some basic paste functionality within ZSNES.

Cheers.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

There is no such thing. At least I'm not aware of such. As it stands now, the ZSNES GUI is a bitch to modify, even if it seems like a small feat at first.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Dirtie
Rookie
Posts: 15
Joined: Sun Oct 23, 2005 9:26 pm

Post by Dirtie »

Even if there is no such thing now, it'd be great to have such a utility in the future. If a couple of people can write programs to read the CHT files, surely someone can write one that edits them.
Joe Camacho
Devil's Advocate
Posts: 2293
Joined: Mon Aug 02, 2004 7:51 pm
Location: Hmo. Son.

Post by Joe Camacho »

That person could be you then. :)
*Sometimes I edit my posts just to correct mistakes.
Bobbias2.0
Rookie
Posts: 41
Joined: Wed Oct 12, 2005 12:34 am

Post by Bobbias2.0 »

if anyone knows where some documentation on the CHT file format is, I might see if I can make a proggie to help edit it...
Dirtie
Rookie
Posts: 15
Joined: Sun Oct 23, 2005 9:26 pm

Post by Dirtie »

Due to my insufficient programming knowledge, I am unable to do so. What I've just been doing though is hex editing it, and I can figure out the new value and old value bits, but that's about it. Since I'm using the same code with just a whole lot of different values that I want to toggle on and off, I enter it a few times into ZSNES, save, then copy that line in the hex editor a whole bunch of times, just editing the value bit.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Dirtie wrote:just editing the value bit.
You can already do that.
Select the code, click in the code entry area but just enter the new value.

Poof.


It's in the docs, reading them would've prevented all this.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Dirtie
Rookie
Posts: 15
Joined: Sun Oct 23, 2005 9:26 pm

Post by Dirtie »

Doh ><
Thanks for that, unfortunately I have already done all the codes my way :P
I will have to remember that for the future though.
Borris

Post by Borris »

I was trying to find a similar topic as this before going and making a new post. I was gonna ask how (if at all possible) I could open the cheat file and have it show plain text (as if opening it with notepad), and hopefully with simple formatting (left column is the codes, right column is the code descriptions). Although anything other than manually typing codes would be a godsend. My aim is to have a FF4 cheat file that would have the codes for all of the Classes, Charactors, Spells in all spell slots for all magic types-- for all charactor slots... Each charactor slot needs a seperate code for every charactor, class, white magic spell, black magic spell, etc etc... So basically I need to enter roughly 88 codes per slot, for a total of roughly 440 codes in all.

Before anyone asks the most obvious question (WHY the hell would you do that??), this is for creating custom charactors (which i dont need that many codes for) that actually have the spells they should have/I want them to have (which i DO need that many codes for...eventually)
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

vSNES might help you there (see sig). You'll need some runtime files too (link).
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
Post Reply