1. EddCase

    EddCase Advanced Member
    Newcomer

    Joined:
    Nov 21, 2003
    Messages:
    52
    Country:
    I'm just working on this, it's just a gui to work with the file posted by @mpham it needs a bit of a tidy up spacing between lines etc need sorting. I don't know any proper programming languages so it's done in AutoIt, i'll post both the exe and the script to compile it yourselves when I'm done

    First Version of the GUI can be found Here
     

    Attached Files:

    Last edited by EddCase, May 4, 2021
  2. Conan179

    Conan179 GBAtemp Regular
    Member

    Joined:
    Mar 21, 2015
    Messages:
    133
    Country:
    Germany
  3. mways345

    mways345 Newbie
    Newcomer

    Joined:
    Dec 12, 2019
    Messages:
    6
    Country:
    United States
    Hi, I'm having a problem with this tool. I tried making a hbmenu forwarder and it seems like it's breaking somewhere. The created nsp launches perfectly fine, but when I try to open NXThemes Installer, I get an error:

    "key extraction from FS failed !
    Keys have not been initialized
    Couldn't detect the home menu version you're running. Hactool failed to extract the home menu version info. Please open an issue on github."

    Furthermore, trying to exit any homebrew opened in the created hbmenu nsp using the + button gives me this: "The software was closed because an error occurred."

    Pretty sure it's not a NXThemes Installer issue since it works when using hbmenu with title override and I even hunted down another hbmenu forwarder and everything works fine when using that forwarder. Not sure if I'm doing anything wrong because I'm a total noob at this forwarding stuff though.
     
  4. Meliodas2255

    Meliodas2255 It makes sense
    Member

    Joined:
    Jan 4, 2017
    Messages:
    235
    Country:
    United States
    @mpham would you mind sharing what edits did you make to main.c file to compile the exefs files ? o where did you get them?
     
  5. VashTS

    VashTS Beat it, son
    Member

    Joined:
    Mar 14, 2009
    Messages:
    4,198
    Country:
    United States
    its a shame we gotta make new forwarders :( but thank you for the tool!
     
  6. Conan179

    Conan179 GBAtemp Regular
    Member

    Joined:
    Mar 21, 2015
    Messages:
    133
    Country:
    Germany
  7. Meliodas2255

    Meliodas2255 It makes sense
    Member

    Joined:
    Jan 4, 2017
    Messages:
    235
    Country:
    United States
    I think it might need the video capture set to forced for it to work with hbmenu. you can edit the nacp in hex editor offset ox3035 from 01 to 02 and that should enable recording.

    I only really need this tool for retro forwarders. but for nros forwarders you should extract the nacp from the nro with nstool and compile the main.c from the latest nx
    loader.
     
    Last edited by Meliodas2255, May 8, 2021
  8. duckbill007

    duckbill007 GBAtemp Fan
    Member

    Joined:
    May 5, 2011
    Messages:
    317
    Country:
    Russia
    You should not use single control.nacp for all nros, but to extract control.nacp from each nro.
     
    Meliodas2255 likes this.
  9. JustJay

    JustJay GBAtemp Maniac
    Member

    Joined:
    Jan 18, 2021
    Messages:
    1,023
    Country:
    United States
    I know I have hundreds it's why I won't update to 12 right now. But even if the nro2nsp forwarder creator updated his we would still have to make new forwarders because Nintendo broke them in 12.
     
  10. Meliodas2255

    Meliodas2255 It makes sense
    Member

    Joined:
    Jan 4, 2017
    Messages:
    235
    Country:
    United States
    I continued to expand on the original batch file and I feel I have an awesome working setup that allows me to create multiple retro forwarders at once. it resizes images and strips the meta from jpgs. only condition is that input image must be square jpgs.

    There are two things that need to be place in the build folder ( prod.keys ) file and mogrify.exe. This is found in the imageMagick downloads(search it in google) select the portable version I used ImageMagick-7.0.11-11-portable-Q16-x64.zip. just copy "mogrify.exe" in the build folder.

    Now go to the main folder in the edit and run file open it with a notepad application i used notepad++ code looks nice and easy to organize. read the comments. the title ID is optional if it's not included it generates a random id for you. problem is if you are unlucky it might generate a title id that matches one of your installed titles. to avoid this I included a file with titleids of games and choose a title that I'll never play or install on the switch and copy its title id (the first 16 digits).

    There is this issue that I found that building NROs might be not be 100% right. like theme installer forwarder gives an error. if you build the forwarder from scratch(editing the main.c latest nx-loader and compiling it) that problem gets resolved. but It just too much work and I don't want to get too involve on this project.

    Attached is my current set up. just drop the images in build/images(square jpgs) and edit and run the batch script. just copy the line above and replace with your info. read the comments on the file. the output will have the app name so you know which NSP is which.

    if you are going to be adding and building a forwarder at a time then add the word "rem" in the begining of the line and will get ignored next run. or recreate them by deleting inside the nsp folder.

    I found this way more useful as i created 8 nsps in a matter of seconds. and i can recreate them just as easy if I ever need to change the image or update any of the source files, or rename the roms directory. I don't even have to open cmd.lol so this way if nintendo breaks them again as long as there is a working exefs files with the latest files for retro roms they can be recreated.

    This is why I'm wondering what edits @mpham could have made to the main.c file or know where he got it so they can be remade in the future.

    edit: I had a bit more time, and I think i got it. I created an unified exefs that works for retro forwarders and nro forwarders based on the latest hbl-loader. it works on all of my tests so far. Let me know how it works for you.

    HAVE FUN!
     

    Attached Files:

    Last edited by Meliodas2255, May 9, 2021 - Reason: I fixed things, I think.lol
    EddCase, the19thbear and JustJay like this.
  11. MultiKoopa

    MultiKoopa GBAtemp Regular
    Member

    Joined:
    Jun 11, 2018
    Messages:
    170
    Country:
    United States
    Just wanna say this worked perfectly for me. Thank you!
     
    Meliodas2255 likes this.
  12. impeeza

    impeeza GBAtemp Regular
    Member

    Joined:
    Apr 5, 2011
    Messages:
    114
    Country:
    Colombia
    For me the problem for files like icons or animations non working is because the path to them has spaces on it, for avoid these problems the next lines:

    Code:
    set name=%1
    set icon=%2
    set npath=%3
    should be changed for

    Code:
    set name="%1"
    set icon="%2"
    set npath="%3"
    on the build.bat file.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Forwarder,