[Release] CTRPF Data Tool - A CTRPFData.bin Editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by RyDog, Sep 13, 2017.

  1. RyDog
    OP

    RyDog Lazy Animal Crossing hacker

    Member
    1,609
    1,192
    Apr 26, 2015
    United States
    This is a tool to parse the CTRPFData.bin file that comes from using any NTR Plugins that use CTRPF.
    Example of plugins using CTRPF:
    Mario Kart 7
    The Legend Of Zelda: Ocrania Of Time
    Animal Crossing New Leaf
    [​IMG]
    What exactly is the purpose of this tool?
    To add/remove/edit "free cheats" that you can make with the above plugins.
    What is a "free cheat"
    Since CTRPF doesn't support "Action Replay" yet @Nanquitas had a brilliant idea of instead, allowing the user to create cheat codes that will be constantly writing a value at an address with a specified size. Here, in this thread, you could potentially share other free cheats that are provided from other users so other users can enjoy your cheats!
    Example template of sharing cheats:
    Code:
    Game:
    Cheat Name:
    Address:
    Value:
    Size:
    So, it would look like this for a rupee modifier for A Link Between Worlds
    Code:
    Game: Zelda: A Link Between Worlds (USA)
    Cheat Name: Rupee Modifier
    Address: 168B5FA8
    Value: XXXX
    Size: 2 bytes
    Replace XXXX with the value you want. 270F is 9,999.
    Screenshot of this program:
    upload_2017-9-12_23-9-47.png

    Once you finished editing/adding your cheats, make sure to save your file!

    Special thanks to:
    @Nanquitas CTRPluginFramework
    @Mega-Mew UI and idea

    Source
    Download
     
    Last edited by RyDog, Sep 14, 2017
  2. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,765
    2,619
    Dec 8, 2014
    United States
    Ohio
    Very good !
     
    CatmanFan and RyDog like this.
  3. Rafa10PT

    Rafa10PT Member

    Newcomer
    18
    0
    Jul 27, 2017
    Portugal
    Nice!
     
  4. Yinxx

    Yinxx Member

    Newcomer
    29
    6
    Mar 6, 2017
    United States
    In the basement.
    Great. Very great.
     
  5. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,742
    1,240
    Oct 8, 2015
    Italy
    Hyrule Castle
    "Zelda Ocraina of time"
    For the rest good post
     
  6. RosaliinaDaHacker64

    RosaliinaDaHacker64 3DS font intermediate/expert

    Member
    621
    322
    Oct 7, 2015
    Ireland
    F:\gm9\out
    Noice dude
     
  7. RyDog
    OP

    RyDog Lazy Animal Crossing hacker

    Member
    1,609
    1,192
    Apr 26, 2015
    United States
    New update:

    Version 1.0.1
    • Added a file integrity checker
    • Fixed a bug that would not decrement your cheatsCount value when removing a cheat
    If the file integrity checker works too good, send me your CTRPFData.bin file so I can fix it for you.
     
  8. RyDog
    OP

    RyDog Lazy Animal Crossing hacker

    Member
    1,609
    1,192
    Apr 26, 2015
    United States
    Note: The file integrity checker is checked when opening the file. The requirements for the CTRPFData.bin goes as follows:
    • File needs to be larger than 0x80 bytes
    • File needs to be a multiple of 0x40 (so it can be 0x80, 0xC0, 0x100, 0x140, 0x180, etc.)
    • File needs to be the same size as 0x80 + (the value at offset 0x34 * 0x40)

    You can check the file integrity by opening it in HxD, and just looking these important things
    upload_2017-9-13_22-57-21.png
     
  9. NintendoGamer28

    NintendoGamer28 GBAtemp Regular

    Member
    110
    25
    Jan 15, 2017
    Cool


    Code:
    Game: The Legend Of Zelda: Triforce Heroes (EUR)
    Cheat Name: Blinking Invincible Green/Original Link
    Address: 028495C4
    Value: 18
    Size: 1 byte
    
    Game: The Legend Of Zelda: Triforce Heroes (EUR)
    Cheat Name: Blinking Invincible Blue Link
    Address: 028595C4
    Value: 18
    Size: 1 byte
    
    Game: The Legend Of Zelda: Triforce Heroes (EUR)
    Cheat Name: Blinking Invincible Red Link
    Address: 028695C4
    Value: 18
    Size: 1 byte
    
    Game: The Legend Of Zelda: Triforce Heroes (EUR)
    Cheat Name: Rupee Modifier
    Address: 02C825A0
    Value: 1869F
    Size: 4 byte
     
    Last edited by NintendoGamer28, Sep 14, 2017
    chronoss and Nanquitas like this.