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: 379
  • Retro.nsp.zip
    321.4 KB · Views: 619
  • melon.nsp.zip
    350 KB · Views: 375
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
884
Trophies
0
Age
45
XP
1,997
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
126
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
319
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
884
Trophies
0
Age
45
XP
1,997
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,025
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
884
Trophies
0
Age
45
XP
1,997
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
884
Trophies
0
Age
45
XP
1,997
Country
Kazakhstan

Attachments

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

Meliodas2255

It makes sense
Member
Joined
Jan 4, 2017
Messages
245
Trophies
0
Age
30
XP
319
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: 803
  • build.zip
    659 bytes · Views: 326

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
  • KenniesNewName @ KenniesNewName:
    I'm downloading Arkham knight if it'll fit on the deck
    Gift
  • Gift
  • KenniesNewName @ KenniesNewName:
    Man Facebook is so spammed even if you share something you get a bot saying you won something
    Gift
  • Dark_Phoras @ Dark_Phoras:
    The younger generation uses mostly TikTok and YouTube, some Instagram. It seems like they don't care so much about social profiles.
    Gift
  • KenniesNewName @ KenniesNewName:
    I just keep it for worthless friends and families that don't do nothing
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I have no idea what's happening with all my friends from other places
    Gift
  • KenniesNewName @ KenniesNewName:
    It's weird people in their mid 50s-20s seems to like social media more than TikTok and YouTube
    Gift
  • KenniesNewName @ KenniesNewName:
    Unless they get paid to upload videos
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I used TikTok a couple of days and got tired
    Gift
  • Dark_Phoras @ Dark_Phoras:
    But it's still better than Facebook
    Gift
  • KenniesNewName @ KenniesNewName:
    One dude here swore I was trolling him on twitch and I never even used it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    But that's a thing with social media; it creates an illusion of proximity, when in truth everyone is overwhelmed with all the information and all the social demands in the platforms
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And a lot of people are addicted to the phone, checking social media or talking with someone. Some exercise in the gym while being glued to the phone, not even activity takes them away from it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And I was like that too, until I left social media. Now sometimes I'm grabbing my phone, opening the browser and thinking: I've seen everything I wanted to see, I don't have a reason to use the phone. And I put it down
    Gift
  • KenniesNewName @ KenniesNewName:
    I'd rather look at my phone than sit at a computer 24/7
    Gift
  • KenniesNewName @ KenniesNewName:
    Funnily when I'm out I hardly use my phone other than checking a message here and there
    Gift
  • KenniesNewName @ KenniesNewName:
    I'm mostly too busy making sure my neighbor doesn't get himself arrested
    Gift
  • Dark_Phoras @ Dark_Phoras:
    This evening two guys were speeding head first into my car in these:
    bolt-announces-a-custom-built-scooter-model-2-1024x536.jpg
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I didn't make case, I made my manoeuver to park the car. But I caught them off-guard, the one ahead hit the brakes and had to jump from the scooter. For a second I thought he would go against the car. They were trying to race through a gap they perceived, thinking I was going to always drive forward
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I guess they learned a valuable lesson, don't assume that real roads are a playground
    Gift
  • KenniesNewName @ KenniesNewName:
    I had a woman walk in the middle of the intersection once I was debating on flooring it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    In those cases I honk
    Gift
  • KenniesNewName @ KenniesNewName:
    I need to get my uncle to install a cow horn
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Those scooters go 40km/h, and the kids were riding them with no helmets
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And trying to make for the gap like they're Millennium Falcon
    Gift
    Dark_Phoras @ Dark_Phoras: And trying to make for the gap like they're Millennium Falcon