CTRPluginFramework - Blank Plugin - Now with Action Replay

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Nanquitas, Oct 25, 2017.

  1. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,260
    2,106
    Sep 29, 2015
    France
    South of France :)
    Hey guys ! :)


    I do this thread so we can have a general place to talk about it, and also to give you a blank plugin so you can use the tools (search, guide and others) without being annoyed by builtin cheats.
    I remind you that you can use 2 plugins (or more, but only 1 ctrpf plugin though) at the same time, and so you can use this blank plugin with another plugin which will have your cheats.
    You can change the hotkey in Tools/Settings to avoid any overlapping.

    Guide

    You can find a guide to use some of the features here (pdf).

    Sadly as you can see, the guide is a little outdated because of lack of time.
    So, I'm searching for volunteers that would like to update / translate it.
    If you're interested, you can find an editable (.docx) version of the guide here. ;)

    Action Replay

    It's now "official" CTRPF have it's own Action Replay system. It means that it can now load your cheats from a text file (so no more needs for any converter or compilation).
    CTRPF supports all Gateshark code types and even add some custom code types to increase the possibilities of the codes.

    You can find a list with all the supported codes here: List of all codetype.

    CTRPF support Folder and note managing and also have it's own editor.
    Which means that you can edit, create and delete the codes at runtime, without the need for anything else.

    The cheats files can be at 2 locations:
    • cheats.txt in the same folder of the plugin
    • sd:/cheats/<tid>.txt - Replace <tid> by the title id of the game
    To use it, download the ActionReplay.7z attached and put it on your SD card (see the Luma3DS section below to use the ame plugin for all games).

    A video to see how to use the editor and create codes:


    Gateshark cheats

    Gateshark cheats should be supported at 100% by the Action Replay.
    Sadly, Fort42 is currently unavailable so here my most recent downloaded archive of all codes: download
    Just unzip and copy the cheats folder at the root of your SD card.

    Note that I didn't create those cheats, and some cheats might not work.
    If a cheat is not working, it just means that the cheat is wrong: no support will be done for cheats not working, I'm not here to fix all cheats, so create another thread (or move to another existing thread), thank you.

    You can also find codes here:

    Known bug


    On N3DS, if the game uses the N3DS's HID (cstick, zl & zr), it won't work.
    Easy fix:
    • Open Rosalina
    • Go in the Miscellaneous options menu
    • Start the Input Redirection
    • That's it, go back to your game, it should work now
    Projects using CTRPF and could interest you:



    Luma3DS with Plugin Loader

    I merged and edited the plugin loader from NTR (which is now open source) into Luma3DS.
    The goal was to be able to launch plugins from Luma3DS without the need to use BootNTR Selector.
    So, this is possible, but know that only CTRPF plugins can be loaded from this plugin loader.

    To use it, download the boot.7z attached and unzip it. Then put it on your sd card (rename any existing boot.firm to boot.firm.bak in case you want to go back).

    The plugins can be set at 2 places:
    • sd:/luma/plugins/<tid>/plugin.plg - Name of the plugin must be plugin.plg and you have to replace <tid> by the title id of your game
    • If a plugin isn't found in the tid folder, Luma3DS will search for ActionReplay.plg in sd:/luma/plugins/ActionReplay/ActionReplay.plg
    The plugin loader is automatically enabled on Old3DS because Mode3 games needs it.
    So on N3DS, you have to enable the plugin loader from Rosalina (L+ DPad Down + Select), and you can disable it too. You can't disable it for Mode3 games though (O3DS only).

    The code source can be found here.
    No support on the code is intended, I did this mostly for fun, if you want to change anything you're on your own.
     

    Attached Files:

    Last edited by Nanquitas, Jan 17, 2018
    cearp, Wrathalos, zenamez and 52 others like this.
  2. FairyLu

    FairyLu Advanced Member

    Newcomer
    68
    13
    Feb 6, 2016
    Australia
    Wonderland
    Really love this so much!
    Thank you for that.. Amazing job! :wub:
     
    Nanquitas likes this.
  3. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,213
    2,641
    Nov 15, 2014
    France
    Albi
    master race

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

    Just a quick question, tho.
    Can it be used for search cheats, ans apply them in real-time, exactly like the gateway menu does?
    I don't have access to my gateway anymore (Sysnand 11.6) and I'm too lazy to set-up en emunand on a new sd card.
    I think the answer is yes, but not sure, this is why I ask.
     
    Nanquitas likes this.
  4. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,260
    2,106
    Sep 29, 2015
    France
    South of France :)
    Yes, you can search for cheats and apply them directly with it.

    Though for now only FreeCheats are available (simple cheats), a full Action Replay (Gateshark) code handler is in the work.
    This video show the use of FreeCheats (jump to 1minute):
     
    busmanl30 likes this.
  5. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,213
    2,641
    Nov 15, 2014
    France
    Albi
    Ok, nice!
    I wanted search some cheats for Katrielle, but none are available and I need to edit the amounts of tickets, tickets you got with daily puzzles.
     
  6. xXPaulMCXx

    xXPaulMCXx Advanced Member

    Newcomer
    62
    41
    May 16, 2016
    Gambia, The
    Somewhere on Earth
    finally haha.
    thanks Nan!
     
  7. NintendoGamer28

    NintendoGamer28 GBAtemp Regular

    Member
    178
    50
    Jan 15, 2017
    wow
     
  8. soprano1

    soprano1 GBAtemp Regular

    Member
    201
    49
    Sep 16, 2016
    Portugal
    Thank you for providing this. How is it working on O3DS, more specifically games that require mode3?
     
  9. MrHaqs

    MrHaqs Member

    Newcomer
    48
    6
    Jun 12, 2016
    Yay! So you managed to fix the O3DS bugs i mentioned?
     
  10. Beerus

    Beerus Gbatemp's God Of Destruction

    Member
    837
    460
    May 3, 2017
    Canada
    Universe 7
    im curious does this work on o3ds and mode 3 games if so that amazing love the ui
     
  11. MrHaqs

    MrHaqs Member

    Newcomer
    48
    6
    Jun 12, 2016
    From what I know it works on o3ds not sure about mode 3 though.
     
    Beerus likes this.
  12. MrHaqs

    MrHaqs Member

    Newcomer
    48
    6
    Jun 12, 2016
    Edit: Im dumb put the plugin in the wrong folder. Nevermind

    @Nanquitas
    For some reason the default key, which I presume is select unless i'm wrong, is not working for me.
     
    Last edited by MrHaqs, Oct 25, 2017
  13. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,260
    2,106
    Sep 29, 2015
    France
    South of France :)
    Sadly it doesnt work with Mode3 as I simply don't have enough memory. CTRPF needs some memory to be usable and I can't maintain 2 versions of the code so Mode3 is a no go. :/
    However all regular games should be supported on O3DS. ;)

    If you have a CTRPFData.bin in your folder delete it, maybe the key is wrong in this file (the key is loaded from that file if it exists).
     
    soprano1 and busmanl30 like this.
  14. soprano1

    soprano1 GBAtemp Regular

    Member
    201
    49
    Sep 16, 2016
    Portugal
    Thanks for the reply, Nanquitas.
     
  15. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,747
    1,245
    Oct 8, 2015
    Italy
    Hyrule Castle
    Is it possible to make ntr automatically boot it everytime i boot a game? And not have to put it manually in the right folder
     
  16. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,213
    2,641
    Nov 15, 2014
    France
    Albi
    create a home folder and put the plugin inside.
    Plugins in a home folder are loaded for every titles
     
  17. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,260
    2,106
    Sep 29, 2015
    France
    South of France :)
    No, the home plugin is meant for plugin that must be launched for the home process.

    If you want a plugin to be launched for every game, create a game folder inside the plugin folder and put it inside.
    This path is only used by NTR 3.6 btw.

    However this might be an issue for some features of the plugin that rely on files (such as search and guide).
    Indeed, the default path is "/plugin/<titleid>/" for all the files.
     
  18. ThatBenderGuy

    ThatBenderGuy GBAtemp Regular

    Member
    115
    11
    Dec 16, 2013
    United States
    Damn, would have preferred the source but I suppose a blank plugin with the cheat search functionality will satisfy more people's needs than the ones who want to code a plugin using a beautiful frame work :nds:
    Anyways nice release Nanquitas
     
  19. Ericjwg

    Ericjwg GBAtemp Psycho!

    Member
    3,245
    884
    Jul 2, 2015
    Canada
    オンタリオ
    plugin/game(s) [not sure about "s"]/*.plg
    loads for all title.
     
    Zidapi likes this.
  20. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,213
    2,641
    Nov 15, 2014
    France
    Albi
    oops