Homebrew Question about SNES9X for the 3DS Regarding .CHT Files Please.

moogling

New Member
OP
Newbie
Joined
Nov 15, 2018
Messages
2
Trophies
0
Age
47
XP
87
Country
United States
Hello all!

I am a newbie to the whole homebrew scene but it has been going well due to how well I see the community sticking together. I had a question. I wish to use CHT files on my SNES9X emulator but I have zero idea where to place my files at to do it with. I installed it as a CIA file using FBI. If anyone knowledgeable can help find where I might be able to find it I thank you ahead of time!
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
The *.cht or *.chx files are placed in the same directory as the *.smc / *.sfc / *.swc / *.fig / etc roms.

F-ZERO for an example.

smdc:/
roms/
snes/
F-Zero (U).smc
F-Zero (U).chx

Cheat codes borrowed from here. Lines of cheat codes are written in this format for the *.chx, which is a renamed text file.

Code:
Y,D484-D404,Infinite Turbos
Y,D4B8-D4D4,Walls Do Not Damage You
Y,A96E-A4A4,Infinite Spare Machines

Let's say you find a cheat code that consists of several parts.
Code:
cheat7_desc = "Drive Through Walls"
cheat7_code = "A96E-A4A4+CB3C-0FA4+DF3C-04D4+A9C3-6F66+D433-0D6F"
cheat7_enable = false

You would break this up into segments.
Code:
Y,A96E-A4A4,Drive Through Walls (part 1)
Y,CB3C-0FA4,Drive Through Walls (part 2)
Y,DF3C-04D4,Drive Through Walls (part 3)
Y,A9C3-6F66,Drive Through Walls (part 4)
Y,D433-0D6F,Drive Through Walls (part 5)

To turn codes on and off [| ], look under the Cheats tab in snes9x_3ds.
 
  • Like
Reactions: moogling and Itzumi

Luittz

New Member
Newbie
Joined
Dec 2, 2017
Messages
3
Trophies
0
Age
30
XP
60
Country
Brazil
I hope someone's still here... @TurdPooCharger I've tested with both .cht and .chx files (don't know the actual difference).

.cht appears all messy in the cheats screen, so I can't understand a thing. .chx files don't even let the rom start, the 3ds crashes and reboots.

I don't really need it that much, but I have started it, so now I have to finish. Much appreciated

--------------------- MERGED ---------------------------

I've got the cheats from Github, looks the same as your F-Zero's files:
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
I hope someone's still here... @TurdPooCharger I've tested with both .cht and .chx files (don't know the actual difference).

.cht appears all messy in the cheats screen, so I can't understand a thing. .chx files don't even let the rom start, the 3ds crashes and reboots.

I don't really need it that much, but I have started it, so now I have to finish. Much appreciated

I've got the cheats from Github, looks the same as your F-Zero's files:
When you make the *.chx / *.cht cheat file in Notepad, you have to save it in ANSI encoding (not Unicode, Unicode Big Endian, UTF-8).
 

Vaisalterego

Member
Newcomer
Joined
Jul 19, 2020
Messages
11
Trophies
0
XP
139
Country
Jamaica
When you make the *.chx / *.cht cheat file in Notepad, you have to save it in ANSI encoding (not Unicode, Unicode Big Endian, UTF-8).

Hi, i'm just shamefully add to this older thread...

I copy/pasted the Codes from the libretro github (Breath of Fire Action Replay Codes), converted the text to ANSI, but the cheats on the snes9x Cheats-Tab still look messy.
IMG_5488.jpg

It behaves like every line is a cheat code and i dont know what to do with it, or if the cheats would even work if they look like this.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
Hi, i'm just shamefully add to this older thread...

I copy/pasted the Codes from the libretro github (Breath of Fire Action Replay Codes), converted the text to ANSI, but the cheats on the snes9x Cheats-Tab still look messy.

-snip-

It behaves like every line is a cheat code and i dont know what to do with it, or if the cheats would even work if they look like this.
Refer to my above post #2.

This format is incorrect.
Code:
cheat1_desc = "Create A New Character That Starts With 153 Max H.P."
cheat1_code = "BBBF-CFD9"
cheat1_enable = false
 
  • Like
Reactions: Vaisalterego

Jokawolf

New Member
Newbie
Joined
Aug 1, 2020
Messages
3
Trophies
0
Age
44
XP
46
Country
United States
Make sure the cheat file is named the same as the rom. If the chx file extension dont work. Name the file as a .cht file which is what my cheat files are listed as.
Thank you, I'll give that a try tomorrow, I wasn't sure if I could just rename the extension, I'll report back tomorrow.
 

Biam

New Member
Newbie
Joined
Feb 7, 2021
Messages
2
Trophies
0
Age
24
XP
46
Country
United States
I need help because nothing is working, I've tried everything and none of the cheats are showing up at all. Also, sorry for bringing up an old thread.
 
Last edited by Biam,

SOLEDEZ

New Member
Newbie
Joined
Aug 6, 2023
Messages
2
Trophies
0
XP
13
Country
Puerto Rico
Just made an Account to keep this here too cause i had almost the same problem and since the 1st try i knew the format in which I wrote the code in the file was wrong. Then I found this post but couldn't find an explanation for "my specific problem" so...

The format or layout inside the Snes9x_3ds cheat file goes like TurdPooCharger said:

Y,D484-D404,Infinite Turbos

and

Y,A96E-A4A4,Drive Through Walls (part 1)
Y,CB3C-0FA4,Drive Through Walls (part 2)
Y,DF3C-04D4,Drive Through Walls (part 3) if the code has more parts

"Y is the status (if the cheat is on or off) , followed by the Code , then name of the code and ( ) for "parts"

*** Thing is in my case I found a code with this format "000000:00" This broke everything when displaying on the "cheats" tab.
If you encounter this problem just erase the " : " and it should work fine. For Ex

With " : "
Y,7E9831:9F,Money 99999 (part 1)
Y,7E9832:86,Money 99999 (part 2)
Y,7E9833:01,Money 99999 (part 3)

Without " : "
Y,7E98319F,Money 99999 (part 1)
Y,7E983286,Money 99999 (part 2)
Y,7E983301,Money 99999 (part 3) (*found this code from: gamehacking . com standard format)

This fixed it for me. And try using the ".chx" file extension. All i did was literally rename it from .cht to .chx ( why? because why not? )

Ex "GameName.chx"

I know this might be redundant but i couldn't find anyone with the same problem as me and giving an explanation "for dummies"... ...like me.
 
Last edited by SOLEDEZ,

backupgani

New Member
Newbie
Joined
Nov 17, 2019
Messages
4
Trophies
0
Age
51
XP
164
Country
Philippines
Finally got to place the correct location for .chx/.cht for cheats to be recognized by snes9x for 3ds.

in PC, with your connected microSD card check for:

<your-sdcard-letter>:\snes9x_3ds_data

make note of the _data

mine is:

M:\snes9x_3ds_data

this folder was auto created by the cia installer.

whenever you play for the first time an SNES game, it will auto-create a cheat folder of the same name inside the snes9x_3ds_data with the name of the game.

I played Aladdin (USA).sfc from my Games\SNES folder

So it looked like:

<your-sdcard-letter>:\snes9x_3ds_data\Aladdin (USA)\

put inside the Aladdin (USA) folder your .cht or .chx

I put both but .chx takes priority and more compatible than .cht if both exists.

Note: ROM (.sfc) can be saved in any folder. I just put mine in Games\SNES

Each chx has is OWN FOLDER of the same name of game.

Everything must be the same name.

Aladdin (USA).sfc = the rom (stored in ANY folder you like)

Aladdin (USA) = the cheat game folder where you will put .chx . This is found inside the folder named snes9x_3ds_data

Aladdin (USA).chx = the cheat itself

Last note: You don't have to initially play the rom to auto-create its cheat folder of the same name. Just make sure the folder you create is the same name with the game and the .chx also the same name and correctly put inside its specific cheat folder.

EDIT: i forgot to mention that I'm using 1.30 version. Updating to 1.51.1 of snes98x seems to lost its ability to recognize the save location of chx. i tried every possible folders where to put the chx to no avail. Reverted back to v1. 30
 
Last edited by backupgani,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    I @ idonthave: :)