Hacking Guide: Make SNES CHT files for the DSTwo.

Rydian

Resident Furvert™
OP
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
<div align="center"><!--sizeo:6--><span style="font-size:24pt;line-height:100%"><!--/sizeo--><!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto--><u><b>Supercard DSTwo SNES CHT files</b></u><!--fontc--></span><!--/fontc--><!--sizec--></span><!--/sizec--></div>

This guide will show you how to convert PAR (Pro Action Replay) codes into the CHT format that the SNES emulator on the Supercard DSTwo uses.

We'll be using the (U) ROM of Super Mario World for the example.


<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->7E001902<!--c2--></div><!--ec2-->
This is the code for the "always have a cape" cheat, that modifies Mario's current powerup status.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->[Code Name Here]
Option 1=ADDR,VALUE
Option 2=ADDR,VALUE
Option 3=ADDR,VALUE

[Code that changes more than one address]
Option 1=ADDR1,VALUE1;ADDR2,VALUE2;ADDR3,VALUE3

[GameInfo]
Name=Game name.
System=SFC
Text=Notes here.<!--c2--></div><!--ec2-->
<ol type='1'><b>How to convert.</b></li><li>Open up notepad or some other <i>simple</i> text editor like Notepad++ and paste the SNES PAR code in.
Do not use Word or any other fancy document editing program!

</li><li>We can break a PAR code down into three segments.
<p align=" " class="none"><!--coloro:#990000--><span style="color:#990000"><!--/coloro-->7E<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc--><!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc--></p><!--coloro:#990000--><span style="color:#990000"><!--/coloro-->Bank<!--colorc--></span><!--/colorc--> <!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->Address<!--colorc--></span><!--/colorc--> <!--coloro:#007700--><span style="color:#007700"><!--/coloro-->Value<!--colorc--></span><!--/colorc-->

</li><li>The first segment (the <!--coloro:#990000--><span style="color:#990000"><!--/coloro-->Bank<!--colorc--></span><!--/colorc-->) is not needed, discard it. <!--coloro:#999999--><span style="color:#999999"><!--/coloro-->This is because the majority of codes use 7E (RAM), and the CHT format doesn't support anything else, so it's a given that 7E will be used.<!--colorc--></span><!--/colorc-->
<p align=" " class="none"><!--coloro:#990000--><span style="color:#990000"><!--/coloro--><span style="text-decoration: line-through;">7E</span><!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc--><!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc--></p><p align=" " class="none"><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc--><!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc--></p>
</li><li>Put a comma between the <!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->Address<!--colorc--></span><!--/colorc--> and the <!--coloro:#007700--><span style="color:#007700"><!--/coloro-->Value<!--colorc--></span><!--/colorc-->.<p align=" " class="none"><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc--></p>
</li><li>Add a <!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Name<!--colorc--></span><!--/colorc--> and equals sign before the address.<p align=" " class="none"><!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Cape=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc--></p>
</li><li>If the code has multiple possible <!--coloro:#007700--><span style="color:#007700"><!--/coloro-->Values<!--colorc--></span><!--/colorc-->, add them as separate lines, only changing the <!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Name<!--colorc--></span><!--/colorc--> and the <!--coloro:#007700--><span style="color:#007700"><!--/coloro-->Value<!--colorc--></span><!--/colorc-->.<p align=" " class="none"><!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Cape=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Fire=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc--></p>
</li><li>Add a <!--coloro:#990099--><span style="color:#990099"><!--/coloro-->Title<!--colorc--></span><!--/colorc--> to the code, inside brackets. This will complete one code.<p align=" " class="none"><!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Current Power]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Cape=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Fire=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc--></p>
</li><li>To add more codes, simply space them out like this, using the same format.<p align=" " class="none"><!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Current Power]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Cape=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Fire=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc-->

<!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Item Box]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Star=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0DC2<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Flying Red Coin=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0DC2<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->0B<!--colorc--></span><!--/colorc--></p>
</li><li>If a code would change multiple <!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->Addresses<!--colorc--></span><!--/colorc--> at once, separate the entries with a semicolon.<p align=" " class="none"><!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Current Power]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Cape=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Fire=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc-->

<!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Item Box]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Star=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0DC2<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Flying Red Coin=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0DC2<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->0B<!--colorc--></span><!--/colorc-->

<!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[High Score]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->On=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0F34<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->FF<!--colorc--></span><!--/colorc-->;<!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0F35<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->FF<!--colorc--></span><!--/colorc-->;<!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0F36<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->20<!--colorc--></span><!--/colorc--></p>
</li><li>To complete the CHT file, you need to add a <!--coloro:#007777--><span style="color:#007777"><!--/coloro-->Game Info<!--colorc--></span><!--/colorc--> section at the bottom. Leave the "system" as SFC, but change the game name so people know what game it's for. The "text" area is where you add some notes about the cheats.<p align=" " class="none"><!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Current Power]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Cape=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->02<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Fire=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->019<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc-->

<!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[Item Box]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Star=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0DC2<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->03<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->Flying Red Coin=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0DC2<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->0B<!--colorc--></span><!--/colorc-->

<!--coloro:#990099--><span style="color:#990099"><!--/coloro-->[High Score]<!--colorc--></span><!--/colorc-->
<!--coloro:#996600--><span style="color:#996600"><!--/coloro-->On=<!--colorc--></span><!--/colorc--><!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0F34<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->FF<!--colorc--></span><!--/colorc-->;<!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0F35<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->FF<!--colorc--></span><!--/colorc-->;<!--coloro:#0000cc--><span style="color:#0000cc"><!--/coloro-->0F36<!--colorc--></span><!--/colorc-->,<!--coloro:#007700--><span style="color:#007700"><!--/coloro-->20<!--colorc--></span><!--/colorc-->

<!--coloro:#007777--><span style="color:#007777"><!--/coloro-->[GameInfo]
Name=Super Mario World
System=SFC
Text=This is where notes go.<!--colorc--></span><!--/colorc--></p>
</li><li>When you go to save the CHT file in Notepad (or whatever you're using), save it like this. Make SURE to name it .CHT, and to add the quotes around it!
<img src="http://img840.imageshack.us/img840/4196/cht.gif" border="0" class="linked-image" /></li></ol>
 

Pluupy

_(:3」∠)_
Member
Joined
Sep 13, 2009
Messages
1,945
Trophies
1
XP
2,265
Country
United States
Ahh...this post is messed up. I converted it from HTML to BBCode and added a few edits to make it a bit more legible. Great guide. Not sure why it wasn't stickied or referenced on this thread.

If you find this too difficult, here are some pre-made .CHT files by MightyMo that have been posted here before on GBATemp.
http://mightymo.net/downloads.html

====================================================================

Supercard DSTwo SNES CHT files

This guide will show you how to convert PAR (Pro Action Replay) codes into the CHT format that the SNES emulator on the Supercard DSTwo uses.

We'll be using the (U) ROM of Super Mario World for the example.
Click SHOW to view the guide.
How to convert.

Open up Notepad (Windows), TextEdit (Mac OS X), or some other simple text editor and paste the SNES PAR code in. Do not use Microsoft Word or any other fancy document editing program!

We can break a PAR cheat code down into three segments:
7E001902 (Bank Address Value)

The first segment, (the Bank) is not needed. Discard it. This is because the majority of codes use 7E (RAM), and the .CHT format doesn't support anything else, so it's a given that 7E will be used.
7E001902 = 001902

Put a comma between the Address and the Value.


Add a Name and equals sign ( = ) before the Address.
Cape=0019,02

If the code has multiple possible Values, add them as separate lines, only changing the Name and the Value.

Cape=0019,02
Fire=0019,03


Add a Title to the code, inside brackets. This will complete one code.

[Current Power]
Cape=0019,02
Fire=0019,03


To add more codes, simply space them out like this, using the same format.

[Current Power]
Cape=0019,02
Fire=0019,03

[Item Box]
Star=0DC2,03
Flying Red Coin=0DC2,0B


If a code would change multiple Addresses at once, separate the entries with a semicolon. ( ; )

[High Score]
On=0F34,FF;0F35,FF;0F36,20


To complete the .CHT file, you need to add a Game Info section at the bottom. Leave the "system" as SFC, but change the game name so people know what game it's for. The "text" area is where you add some notes about the cheats.

[Current Power]
Cape=019,02
Fire=019,03

[Item Box]
Star=0DC2,03
Flying Red Coin=0DC2,0B

[High Score]
On=0F34,FF;0F35,FF;0F36,20


[GameInfo]
Name=Super Mario World
System=SFC
Text=This is where notes go.

When you go to save the .CHT file in Notepad (or whatever you're using), save it like this. Make SURE to name it .CHT, and to add the quotes around it!

cht.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Nighty night, wise one, thanks for trying to help.
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself to your 0% juice, lol
    +1
  • BigOnYa @ BigOnYa:
    Damn, is that Wing from South Park?
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa hmmm I wonder how long until someone just vapes the straight nicotine lol
  • BigOnYa @ BigOnYa:
    I was gonna say people are not that dumb, but yea you right, some are.
    +1
  • K3Nv2 @ K3Nv2:
    People have put 50mg salt nic in straight subohm coils which is like more powerful hits
    +1
  • BigOnYa @ BigOnYa:
    Hey psi, do they have dress codes down there in FLa, here there are signs on stores that say "No shirt, no service" but curious bout down yonder
  • BigOnYa @ BigOnYa:
    Yea I tried the salts and too strong for me, I prefer the norm juice
  • K3Nv2 @ K3Nv2:
    In Florida they don't serve you if you have clothes on
    +1
  • K3Nv2 @ K3Nv2:
    Fucking raining again
  • BigOnYa @ BigOnYa:
    How can you tell, do you see rain drops on top of other rain drops?
    +1
  • K3Nv2 @ K3Nv2:
    I can tell by whenever your wife done letting out loud ass moans then I get her a ticket back home
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah most places demand clothes and shoes, unless it's some really back water place that I am unaware of lol
    +1
  • BigOnYa @ BigOnYa:
    Cool, I got lunch money for tomorrow then.
  • BakerMan @ BakerMan:
    @K3Nv2 call uremum Sloppenheimer the way she givin me this bomb head
    +1
  • K3Nv2 @ K3Nv2:
    I call uremum alzheimer she forgets to leave
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Time to start a vape straight nicotine challenge, Darwin be praised!
    +1
  • K3Nv2 @ K3Nv2:
    Imagine if Hitler had vapes, we promise it's not cyanide it'll help you quit nicotine
    +1
  • BigOnYa @ BigOnYa:
    Please, walk into my patented vape chamber, aka the non smoking area
  • K3Nv2 @ K3Nv2:
    I do wonder how dominate Germany would've been if they just enlisted Jewish people
  • BigOnYa @ BigOnYa:
    They actually enlisted Muslims, seriously, because the Muslims hates Jews, even tho it was not the supreme race. He claimed common hate, is friendship.
  • K3Nv2 @ K3Nv2:
    He could've just made them walking shields kind of a dumb ass move
  • K3Nv2 @ K3Nv2:
    https://a.co/d/3km8bqC lol cd level quality I fucking hope so
    K3Nv2 @ K3Nv2: https://a.co/d/3km8bqC lol cd level quality I fucking hope so