Guide: Make SNES CHT files for the DSTwo.

Discussion in 'Supercard' started by Rydian, Nov 3, 2010.

Nov 3, 2010
  1. Rydian
    OP

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    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.


    The SNES PAR code format:
    The DSTwo CHT code format:
    <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>
     
  2. Pluupy

    Member Pluupy Woof!

    Joined:
    Sep 13, 2009
    Messages:
    601
    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.
    Warning: Spoilers inside!
     
  3. Rydian
    OP

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    When CATSFC changed the cheat format, it allowed MightyMo's database and made this guide obsolete (as this guide was aimed at the old format used by NDSSFC).
     
  4. Pluupy

    Member Pluupy Woof!

    Joined:
    Sep 13, 2009
    Messages:
    601
    Country:
    United States
    Ah alright cool.
     
    falconcrest likes this.
  5. Terminator02

    Member Terminator02 ヽ( 。 ヮ゚)ノ

    Joined:
    Apr 10, 2010
    Messages:
    4,517
    Location:
    Somewhere near monkat
    Country:
    United States
    You mind sharing what you used to convert the HTML?
     
  6. Pluupy

    Member Pluupy Woof!

    Joined:
    Sep 13, 2009
    Messages:
    601
    Country:
    United States

Share This Page