1. moogling

    OP moogling Newbie
    Newcomer

    Joined:
    Nov 15, 2018
    Messages:
    2
    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!
     
  2. TurdPooCharger

    Member

    Joined:
    Jan 1, 2018
    Messages:
    7,105
    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.
     
    moogling and Itzumi like this.
  3. moogling

    OP moogling Newbie
    Newcomer

    Joined:
    Nov 15, 2018
    Messages:
    2
    Country:
    United States
    Thank you so much!
     
  4. Luittz

    Luittz Newbie
    Newcomer

    Joined:
    Dec 2, 2017
    Messages:
    2
    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

    — Posts automatically merged - Please don't double post! —

    I've got the cheats from Github, looks the same as your F-Zero's files:
     
  5. TurdPooCharger

    Member

    Joined:
    Jan 1, 2018
    Messages:
    7,105
    Country:
    United States
    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).
     
  6. Vaisalterego

    Vaisalterego Member
    Newcomer

    Joined:
    Jul 19, 2020
    Messages:
    11
    Country:
    Jamaica
    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.
     
  7. TurdPooCharger

    Member

    Joined:
    Jan 1, 2018
    Messages:
    7,105
    Country:
    United States
    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
    
     
    Vaisalterego likes this.
  8. Computer_Freak_2004

    Computer_Freak_2004 Advanced Member
    Newcomer

    Joined:
    Jun 1, 2019
    Messages:
    54
    Country:
    Germany
  9. Vaisalterego

    Vaisalterego Member
    Newcomer

    Joined:
    Jul 19, 2020
    Messages:
    11
    Country:
    Jamaica
    Thank you guys very much, it works now :)
     
  10. Jokawolf

    Jokawolf Newbie
    Newcomer

    Joined:
    Aug 1, 2020
    Messages:
    3
    Country:
    United States
  11. TomRannd

    TomRannd GBAtemp's clown.
    Member

    Joined:
    Apr 7, 2020
    Messages:
    242
    Country:
    Canada
    both methods work.

    use the program if you are worried, it will create the cheat file if you provide the cheats.
     
  12. Jokawolf

    Jokawolf Newbie
    Newcomer

    Joined:
    Aug 1, 2020
    Messages:
    3
    Country:
    United States
    Is there a reason my snes9x for 3ds won't show .Chx files?
     
  13. TomRannd

    TomRannd GBAtemp's clown.
    Member

    Joined:
    Apr 7, 2020
    Messages:
    242
    Country:
    Canada
    no idea. i have the same problem. try this.

    say your file name is supermariobros.snesgame (snes game would be the file extension)

    name your cheat file, supermariobros.snesgame.CHX and see if that works?
     
  14. lone_wolf323

    lone_wolf323 GBAtemp Psycho!
    Member

    Joined:
    May 27, 2011
    Messages:
    3,700
    Country:
    Canada
    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.
     
  15. Jokawolf

    Jokawolf Newbie
    Newcomer

    Joined:
    Aug 1, 2020
    Messages:
    3
    Country:
    United States
    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.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Regarding, Question, SNES9X