Homebrew RELEASE NSP Forwarder tool for 12+

mpham

Member
OP
Newcomer
Joined
Aug 30, 2020
Messages
10
Trophies
0
Age
48
Website
www.martinpham.com
XP
203
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: 568
  • Retro.nsp.zip
    321.4 KB · Views: 766
  • melon.nsp.zip
    350 KB · Views: 609
Last edited by mpham,

rfenix15

Member
Newcomer
Joined
Sep 20, 2020
Messages
11
Trophies
0
Age
44
XP
93
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
1,180
Trophies
0
Age
47
XP
3,667
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
30
XP
159
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
249
Trophies
0
Age
32
XP
425
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
44
XP
93
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
1,180
Trophies
0
Age
47
XP
3,667
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
200
Trophies
0
XP
2,418
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
1,180
Trophies
0
Age
47
XP
3,667
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
1,180
Trophies
0
Age
47
XP
3,667
Country
Kazakhstan

Attachments

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

Meliodas2255

It makes sense
Member
Joined
Jan 4, 2017
Messages
249
Trophies
0
Age
32
XP
425
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: 978
  • build.zip
    659 bytes · Views: 429

rfenix15

Member
Newcomer
Joined
Sep 20, 2020
Messages
11
Trophies
0
Age
44
XP
93
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • sp3off @ sp3off:
    Taking more time to load the page than to fire up the paper towel is an issue
  • K3Nv2 @ K3Nv2:
    What's worse is the dinosaur game popping up when the lotion comes out
    +1
  • RedColoredStars @ RedColoredStars:
    You use paper towels too? :rofl2:
  • sp3off @ sp3off:
    Better keep the safe place 'safe'
  • RedColoredStars @ RedColoredStars:
    Bounty. The quicker picker upper? lol
  • K3Nv2 @ K3Nv2:
    Aloe vera now with rgb
  • sp3off @ sp3off:
    On a serious note, have you tested your ISP DNS answer time ?
  • sp3off @ sp3off:
    Last time i've checked, my ISP was like 5/6 ms slower than Cloudflare x)
  • RedColoredStars @ RedColoredStars:
    yeah. I've tried changing dns too.
  • K3Nv2 @ K3Nv2:
    Check cpuid make sure ram sockets are detected
  • sp3off @ sp3off:
    (and i'm fibered, 5gb shared downloads, 1gb upload)
  • K3Nv2 @ K3Nv2:
    Or even in bios
  • RedColoredStars @ RedColoredStars:
    its mostly when starting firefox that it's noticible slower. Opening and loading the homepage. Tried fresh installs and all.
  • K3Nv2 @ K3Nv2:
    Knowing your system specs would help
  • sp3off @ sp3off:
    if you're in win 11, have you checked which graphical processor Firefox was using ?
  • RedColoredStars @ RedColoredStars:
    after it's open, its a bit slower too at loading pages, but not as noticeable as the initial startup and homepage loading
  • sp3off @ sp3off:
    can make a little difference
  • RedColoredStars @ RedColoredStars:
    You mean as in hardware acceleration on or off?
  • K3Nv2 @ K3Nv2:
    Went to make cup noodles, spilled boiling water on me then the kettle decided to pop
  • K3Nv2 @ K3Nv2:
    Don't know why I saw a kettle with wifi
  • RedColoredStars @ RedColoredStars:
    Will try that now
  • sp3off @ sp3off:
    ouch @K3Nv2 hope nothing's too bad !
  • RedColoredStars @ RedColoredStars:
    xda a good site. My go to site for phone shit. :)
  • K3Nv2 @ K3Nv2:
    Females have burnt me worse
    K3Nv2 @ K3Nv2: Females have burnt me worse