[Release] NTR Plugin Manager

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

  1. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,589
    497
    Sep 20, 2005
    if you use one of those cheat plugin source codes to make, after getting rid of all images, the filesize goes down to 50-110KB
     
    Last edited by dsrules, Apr 16, 2017


  2. Knitten

    Knitten Advanced Member

    Newcomer
    97
    7
    Jul 30, 2016
    United States
    How do I make a plugin that allows me to go online? I want to play MHGen with infinite support bars on my palicos :s
     
  3. ThatBenderGuy

    ThatBenderGuy Advanced Member

    Newcomer
    90
    5
    Dec 16, 2013
    United States
    The plugin with the Select menu I compile had no images though. It was compile with the image set to null and it still came above 500kb. Unless I'm looking at the wrong variable. Is it the #define BACKGROUND in the config header file? Should setting that to NULL get rid of the background? Does the same go for things like #define SPLASH, #define CREDIT_LABEL etc? For instance the template file I have has
    Code:
    #define BACKGROUND     zelda_split
    in the config's header file. Wait should I just delete the relative o files? For instance there is a zelda_split.o file. Should I just delete those image object files? Or should I just change the init_image function to look like this?

    Code:
    void    init_img(void)
    {
        ui_offset = UI_OFFSET;
        background_img =NULL;
        //splash_img = SPLASH;
        note_background = NULL;
        cheats_label = CHEATS_LABEL;
        speed_label = SPEED_LABEL;
        hotkey_label = HOTKEY_LABEL;
        credit_label = CREDIT_LABEL;
        background_infos = (t_img_infos) { POS(BACKGROUND_POS_X, BACKGROUND_POS_Y), DIM(BACKGROUND_WIDTH, BACKGROUND_HEIGHT), BACKGROUND_RGB };
        cheats_label_infos = (t_img_infos) { POS(CHEATS_LABEL_POS_X, CHEATS_LABEL_POS_Y), DIM(CHEATS_LABEL_WIDTH, CHEATS_LABEL_HEIGHT), CHEATS_LABEL_RGB };
        speed_label_infos = (t_img_infos) { POS(SPEED_LABEL_POS_X, SPEED_LABEL_POS_Y), DIM(SPEED_LABEL_WIDTH, SPEED_LABEL_HEIGHT), SPEED_LABEL_RGB };
        hotkey_label_infos = (t_img_infos) { POS(HOTKEY_LABEL_POS_X, HOTKEY_LABEL_POS_Y), DIM(HOTKEY_LABEL_WIDTH, HOTKEY_LABEL_HEIGHT), HOTKEY_LABEL_RGB };
        credit_label_infos = (t_img_infos) { POS(CREDIT_LABEL_POS_X, CREDIT_LABEL_POS_Y), DIM(CREDIT_LABEL_WIDTH, CREDIT_LABEL_HEIGHT), CREDIT_LABEL_RGB };
        note_background_infos = (t_img_infos) { POS(NOTE_BACKGROUND_POS_X, NOTE_BACKGROUND_POS_Y), DIM(NOTE_BACKGROUND_WIDTH, NOTE_BACKGROUND_HEIGHT), NOTE_BACKGROUND_RGB };
    }
    would these make sure the plugin compile without the images? Or should I delete the image object files AND the set those variables in the config.c to NULL?

    ----------EDIT------------
    Oh sweet. Setting the background_img and note_background to NULL and compiling it I got it to 262KB. Not sure if it works, I will test it right now to see if it works. Well setting to NULL did work but the problem with doing that is that it becomes impossible to see the cheat menu. (White text on white background). How would I export an image as an .o file?

    I found programs that let me export images at bin files and GIMP only exports as either c files or header files. No object (.o) file

    -----------EDIT-----------
    Tinkering around in a hex editor I found out that the o files are just an image exported as c then compiled into an object file. At the moment I don't know how to convert my image that I have in .c to .o; If I could get some help on this that would be nice.
     
    Last edited by ThatBenderGuy, Apr 17, 2017
  4. Billy1006

    Billy1006 GBAtemp Regular

    Member
    107
    3
    Jan 5, 2016
    Gambia, The
    Doesnt work...
     
  5. Billy1006

    Billy1006 GBAtemp Regular

    Member
    107
    3
    Jan 5, 2016
    Gambia, The
    If i want to covert a code,an Error cames up...
     
  6. iSharingan

    iSharingan GBAtemp Fan

    Member
    456
    69
    Jun 23, 2016
    United States
    In a room
    next time, edit your other post instead of double posting.

    As for the error, there's something wrong with your code/its format (such as having an X in the code where you are supposed to substitute a value when importing a code from Fort42/etc.)
     
  7. busmanl30

    busmanl30 Advanced Member

    Newcomer
    51
    4
    May 4, 2017
    United States
    :dance:
     
  8. Xanek

    Xanek GBAtemp Regular

    Member
    170
    7
    Jul 3, 2015
    United States
    Whenever I try to convert, it gives me this status message, Exept(-1073741819)
     
  9. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,092
    2,642
    Mar 16, 2012
    United States
    If you have a cheat with a note in the last slot of your cheat list, it will throw that error for some reason.
     
  10. Xanek

    Xanek GBAtemp Regular

    Member
    170
    7
    Jul 3, 2015
    United States
    There's nothing there, any other reasons? Or no, it's a code from a recently released game, it isn't on fort42, i got the code from here.
     
  11. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,092
    2,642
    Mar 16, 2012
    United States
    I haven't had any other errors other than that and for that reason.
     
  12. Xanek

    Xanek GBAtemp Regular

    Member
    170
    7
    Jul 3, 2015
    United States
  13. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,092
    2,642
    Mar 16, 2012
    United States
  14. Xanek

    Xanek GBAtemp Regular

    Member
    170
    7
    Jul 3, 2015
    United States
    Okay i'll send you a PM
     
  15. Ei8_Hundr8

    Ei8_Hundr8 Newbie

    Newcomer
    2
    1
    May 12, 2017
    Malaysia
    The Moon
    Hey guys.
    I got the error below. Already read all post in this thread and in the Gateshark2NTR thread.
    Just FYI:
    1. My environment path have "C:\devkitPro\msys\bin" and "C:\devkitPro\devkitARM\bin", I installed devkitpro in the default folder.
    2. My vcredist 2015 is a tad newer version than the one nanquitas gave. (He gave 14.0.23026, mine is 14.0.24120)

    The error:
    arm-none-eabi-gcc: error: cheats.c: No such file or directory
    arm-none-eabi-gcc: error: cheats.h: No such file or directory
    arm-none-eabi-gcc: fatal error: no input files
    compilation terminated.

    I'm guessing those two cheats files are missing somewhere? I was trying to modify some codes for Persona Q. (Having 9,999,999 yen is silly)
     
  16. gengardenne

    gengardenne GBAtemp Regular

    Member
    209
    3
    Nov 14, 2016
    Italy
    I've an error message when I open NTR plugin manager:
    "invalid path,check your settings".
    I've C++ 2015 installed on my notebook,followed all the steps of the guide in the right way.
    This happened after changed the environment variables editing "path" variables with C\devkitPro\msys\bin
    Someone can give me the reason and the solution of this issue?

    Different drive and checked again the "PATH" C\devkitPro\msys\bin but nothing is changed and when I open the .exe it give me "invalid path"
     

    Attached Files:

    Last edited by gengardenne, May 21, 2017
  17. Ei8_Hundr8

    Ei8_Hundr8 Newbie

    Newcomer
    2
    1
    May 12, 2017
    Malaysia
    The Moon
    gengardenne, isn't your path missing ":" after the letter C? I mean isn't it suppose to look like this:
    C:\devkitPro\msys\bin
     
    iSharingan likes this.
  18. Sykoh

    Sykoh Leader of the Brick Masterrace

    Member
    473
    54
    Aug 21, 2015
    Your Bricked SYSNAND
    Are the cheats internet enabled
     
  19. Nanquitas
    OP

    Nanquitas GBAtemp Advanced Maniac

    Member
    1,958
    1,567
    Sep 29, 2015
    France
    South of France :)
    No, the plugins generated will block the online.
     
  20. MartinThibaultYo

    MartinThibaultYo Member

    Newcomer
    13
    2
    Mar 7, 2012
    France
    Hi! Aren't there any way to change the ID of a cheat table ? I found gameshark cheat codes for Pokemon Yellow EUR but they don't work for the French version of the game, which is inconvenient ? It's the same for Crystal's French version (even though it's different since it's an unofficial release) :/
    Or do we have to wait for someone to make cheat codes specifically for the French versions of Pokemon GB and GBC games ?