Homebrew RELEASE NSP Forwarder tool for 12+

mpham

Member
OP
Newcomer
Joined
Aug 30, 2020
Messages
10
Trophies
0
Age
47
Website
www.martinpham.com
XP
193
Country
Italy
Because the Nro2Nsp is not working with 12+, so I tried to make a tool to do it by myself, based on hacBrewPack, for Windows

Step by step
1) Download https://gitlab.com/martinpham/NSP-Forwarder/-/archive/master/NSP-Forwarder-master.zip
2) Extract to a folder on your Desktop, eg: NSP-Forwarder. Then copy your prod.keys file into it.
3) Press [Window]+R, then type cmd, press Enter to open Command Prompt
4) Type cd, [Space], then drag the NSP-Forwarder folder into the Command Prompt windows, press Enter
5) Type build APP_NAME ICON_PATH NRO_PATH then press Enter
- APP_NAME = Display name of the your app
- ICON_PATH = Path of icon file
- NRO_PATH = Path to the nro file
- You can drag the icon file into the Command Prompt instead of typing the path

Example
build DBI C:\Users\ZZZ\Desktop\icon.jpg /switch/DBI.nro

It will build the NSP file and places it into the NSP folder


EDIT: If you have problem with DLL file, try to install MSYS2 - https://www.msys2.org/
EDIT2: I've attached some NSPs I built for myself
 

Attachments

  • DBI.nsp.zip
    333.8 KB · Views: 382
  • Retro.nsp.zip
    321.4 KB · Views: 621
  • melon.nsp.zip
    350 KB · Views: 377
Last edited by mpham,

rfenix15

Member
Newcomer
Joined
Sep 20, 2020
Messages
11
Trophies
0
Age
42
XP
72
Country
Peru
Hello I get this error when doing the build (modifier is not valid "icon_AmericanEnglish.dat"), the nsp works but it has no icon, which may be? I am using jpg 256x256
 

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
887
Trophies
0
Age
45
XP
2,004
Country
Kazakhstan
@mpham
Can you please add an option to specify TitleID manually instead of random generating it?

PS: I've got "icon_AmericanEnglish.dat" error, too.
 
Last edited by mathew77,

BulletExodus

Member
Newcomer
Joined
Jul 13, 2018
Messages
19
Trophies
0
Age
28
XP
128
Country
United States
I think I figured it out. After I placed my .jpg files on the desktop, and dragged them into the CMD from there, they show up on the switch. Even though I also get that "icon_AmericanEnglish.dat" error as well. Hope this works for someone else, since I was waiting for an answer too.
 

Meliodas2255

It makes sense
Member
Joined
Jan 4, 2017
Messages
245
Trophies
0
Age
30
XP
321
Country
United States
Some images work others don't. I think 256x256 72 resolution should work.

Also further experimenting with the bat file I was able to create a direct nsp forwarder to an specific rom. Like the one nsp2nro creates.
Your tool is awesome.
 
  • Like
Reactions: mpham

rfenix15

Member
Newcomer
Joined
Sep 20, 2020
Messages
11
Trophies
0
Age
42
XP
72
Country
Peru
I think I figured it out. After I placed my .jpg files on the desktop, and dragged them into the CMD from there, they show up on the switch. Even though I also get that "icon_AmericanEnglish.dat" error as well. Hope this works for someone else, since I was waiting for an answer too.
It really worked, I didn't think so, but it did. It's very rare. Thank you so much
 
  • Like
Reactions: BulletExodus

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
887
Trophies
0
Age
45
XP
2,004
Country
Kazakhstan
PS: I've got "icon_AmericanEnglish.dat" error, too.
To remove this message, I did this:
Code:
rmdir /S/Q hacbrewpack_backup
cd control
del icon_AmericanEnglish.dat

And to manual specify the TitleID and Publisher (instead of ZZZ), edit these lines in build.bat file:
Code:
set id=0537618340BE0000
set tpub=yourpublishername
echo Publisher: %tpub%
hacbrewpack.exe --titleid %id% --titlename %name% --titlepublisher %tpub% --nspdir NSP -k ./prod.keys
 

yyoossk

Well-Known Member
Member
Joined
Oct 18, 2017
Messages
180
Trophies
0
XP
2,035
Country
Japan
Because the Nro2Nsp is not working with 12+, so I tried to make a tool to do it by myself, based on hacBrewPack, for Windows

Step by step
1) Download https://gitlab.com/martinpham/NSP-Forwarder/-/archive/master/NSP-Forwarder-master.zip
2) Extract to a folder on your Desktop, eg: NSP-Forwarder. Then copy your prod.keys file into it.
3) Press [Window]+R, then type cmd, press Enter to open Command Prompt
4) Type cd, [Space], then drag the NSP-Forwarder folder into the Command Prompt windows, press Enter
5) Type build APP_NAME ICON_PATH NRO_PATH then press Enter
- APP_NAME = Display name of the your app
- ICON_PATH = Path of icon file
- NRO_PATH = Path to the nro file
- You can drag the icon file into the Command Prompt instead of typing the path

Example
build DBI C:\Users\ZZZ\Desktop\icon.jpg /switch/DBI.nro

It will build the NSP file and places it into the NSP folder


EDIT: If you have problem with DLL file, try to install MSYS2 - https://www.msys2.org/
EDIT2: I've attached some NSPs I built for myself
can you make nro2nsp mod?
I want use with gui
 
  • Like
Reactions: Blaze Uchiha

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
887
Trophies
0
Age
45
XP
2,004
Country
Kazakhstan
Great script btw, I've only two problems with it:
  • NRO2NSP doesn't produce nsp with 64 MB savefile (system savedata allocation for every forwarder that just is a waste of date, imagine while having 20 forwarders you'll get 1.3 GB of a waste date). It was fixed in nro2nsp build 3.3.5: https://github.com/Root-MtX/Nro2Nsp/releases/tag/3.3.5 prior versions also have this bug. This utility have it, too.

  • Video recording capability. Looking at NACP produced by this script, it's
    • Screenshots: Allowed
    • VideoCapture: Disabled
Maybe there's a method to allow generated NSP forwarders to enable the video capture and remove unnecessary 64 MB savedata that is useless for nros homebrew anyway?
 
Last edited by mathew77,
  • Like
Reactions: lordelan

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
887
Trophies
0
Age
45
XP
2,004
Country
Kazakhstan

Attachments

  • test_icon.jpg
    test_icon.jpg
    11.4 KB · Views: 333

Meliodas2255

It makes sense
Member
Joined
Jan 4, 2017
Messages
245
Trophies
0
Age
30
XP
321
Country
United States
Great script btw, I've only two problems with it:
  • NRO2NSP doesn't produce nsp with 64 MB savefile (system savedata allocation for every forwarder that just is a waste of date, imagine while having 20 forwarders you'll get 1.3 GB of a waste date). It was fixed in nro2nsp build 3.3.5: https://github.com/Root-MtX/Nro2Nsp/releases/tag/3.3.5 prior versions also have this bug. This utility have it, too.

  • Video recording capability. Looking at NACP produced by this script, it's
    • Screenshots: Allowed
    • VideoCapture: Disabled
Maybe there's a method to allow generated NSP forwarders to enable the video capture and remove unnecessary 64 MB savedata that is useless for nros homebrew anyway?

I fixed the issue with the creation of the 64MB savefile by taking the NACP created by the latest tool NRO2NSP. this also has the videoCaptured enabled to MANUAL. I tested on retroarch and it did not create a savefile. Here is the NACP i used.

To create a NSP that directly boots to a rom. you need to have the retroarch core as the NRO path. In the nextARG file in the romfs folder must have the path to the rom as well. Attached is my slightly tweaked bat file to create a nsp forwarder to an specific rom.

so it would look something like this

build APP_NAME ICON_PATH RETROARCH_CORE_NRO_PATH ROM_PATH then press Enter

An example would be build "Legend of Zelda - Oracle of Seasons" C:\Users\ZZZ\Desktop\icon.jpg /retroarch/cores/mgba_libretro_libnx.nro "/retroarch/roms/Nintendo - Game Boy Color/Legend of Zelda - Oracle of Seasons.gbc"
 

Attachments

  • control.zip
    321 bytes · Views: 807
  • build.zip
    659 bytes · Views: 329

rfenix15

Member
Newcomer
Joined
Sep 20, 2020
Messages
11
Trophies
0
Age
42
XP
72
Country
Peru
Well after looking closely at the build.bat I realized that "del control/icon_AmericanEnglish.dat"
the "/" was wrong, just edit the "/" for "\" so that it was like this "del control\icon_AmericanEnglish.dat", ready works perfect without message and deletes the temporary icon
 
  • Like
Reactions: MAN-biker
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Boobs in iMax
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    I would watch that....
    Gift
  • FAST6191 @ FAST6191:
    You say that but isn't imax just high rest?
    Gift
  • FAST6191 @ FAST6191:
    Tits in high res, along with many the actresses having them, do not look so great
    +1
    Gift
  • FAST6191 @ FAST6191:
    It was a noted problem even in the shift to HD according to various purveyors of such films
    Gift
  • Dark_Phoras @ Dark_Phoras:
    The more resolution, the better
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And framerate. I know people are against a framerate above 24fps in movies, because it betrays that it's fictional, but I prefer high framerate
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Of course, higher resolution only betrays the false boobs - which could lead to a revolution in the acceptance of the unadulterated bodies
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I know this falls somewhat into the realm of porn - but I'm encompassing the overarching scope of all movies
    Gift
  • KenniesNewName @ KenniesNewName:
    Got free food cause they messed up the order
    +1
    Gift
  • FAST6191 @ FAST6191:
    Always found that bizarre in the US
    Gift
  • FAST6191 @ FAST6191:
    One time was there and they had forgotten to get it out of the freezer. Manager came over, said that and gave it to us for free still frozen to take home and eat later
    Gift
  • FAST6191 @ FAST6191:
    In the UK they would be all nah mate we don't have it, do you want something else?
    Gift
  • KenniesNewName @ KenniesNewName:
    Well in some places we aren't total dicks to each other
    Gift
  • KenniesNewName @ KenniesNewName:
    Order gets messed up they make up for it without fuss
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I found a great subreddit for memes yesterday... and I forgot the name
    Gift
  • FAST6191 @ FAST6191:
    great subreddit? Is that not a contradiction in terms? Bit like pleasant twitter conversation.
    Gift
  • FAST6191 @ FAST6191:
    Anyway shilling my own threads. Lord of the Rings (and various related properties) bought by Embracer group
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I don't look for intellectual plenitude on the internet...
    Gift
  • FAST6191 @ FAST6191:
    Pity. There is plenty of it.
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Mostly it seems literate people on the internet....
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    The pain on the planes, comes mostly from the stains?
    Gift
  • Dark_Phoras @ Dark_Phoras:
    The rain in Spain stays mainly in the plain
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Moses supposes all toeses are roses, Moses supposes erroneously
    +1
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    The chains in bed frames causing mostly pains
    Gift
    Psionic Roshambo @ Psionic Roshambo: The chains in bed frames causing mostly pains