Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nx-hbloader update 2.4.4 or 2.4.5 #18

Open
muxi1 opened this issue Nov 18, 2024 · 10 comments
Open

nx-hbloader update 2.4.4 or 2.4.5 #18

muxi1 opened this issue Nov 18, 2024 · 10 comments

Comments

@muxi1
Copy link

muxi1 commented Nov 18, 2024

First of all, I would like to thank you for this excellent NSP forwarder generator and for making it available to the public. However, I have one request. Could you please update the nx-hbloader in your online generator? It is still on version 2.4.1, but the current and official version is 2.4.4. @borntohonk has also released a fork with an even more recent version 2.4.5. Perhaps you could include this in your tool? Everything works, but it would be desirable if everything is up to date. Many thanks in advance.

You can find the fork here:
https://github.com/borntohonk/nx-hbloader/releases

@borntohonk
Copy link

First of all, I would like to thank you for this excellent NSP forwarder generator and for making it available to the public. However, I have one request. Could you please update the nx-hbloader in your online generator? It is still on version 2.4.1, but the current and official version is 2.4.4. @borntohonk has also released a fork with an even more recent version 2.4.5. Perhaps you could include this in your tool? Everything works, but it would be desirable if everything is up to date. Many thanks in advance.

You can find the fork here: https://github.com/borntohonk/nx-hbloader/releases

technically there's no 2.4.5, that's just my own label, switchbrew officially hasn't released any new versions because atmosphere has code to fix the debug flags of 2.4.4 without requiring an upgrade.

it's really just matter of difference for the .npdm and it's flags that matter the most, but my understanding is these forwarder things aren't actually just plain hbl

https://github.com/TooTallNate/switch-tools/blob/master/apps/nsp-forwarder/app/lib/generate.client.ts#L120
https://github.com/TooTallNate/switch-tools/blob/master/apps/nsp-forwarder/public/generate-worker.js#L41

so this one https://github.com/TooTallNate/switch-tools/blob/master/apps/nsp-forwarder/public/template/exefs/main.npdm

@borntohonk
Copy link

you can verify it isn't by using "hactool -t npdm main.npdm"

Title Name: Retroarch Forwarder

@borntohonk
Copy link

borntohonk commented Nov 18, 2024

besides... This one only sets one debug flag, and it's a force_debug one, not much reason to update it.

0b3a850

this was addressed in this commit

Allow Debug: NO
Force Debug Prod: YES
Force Debug: NO

@borntohonk
Copy link

borntohonk commented Nov 18, 2024

switchbrew/nx-hbloader@v2.4.1...master

apart from this commit switchbrew/nx-hbloader@f6c4626

every other commit is worthless and doesn't actually change the code, that was introduced in 2.4.2 (which is a "drm"-check for atmosphere magic, not needed

@TooTallNate
Copy link
Owner

@borntohonk I took a look at your repo, and it looks like you have a bad merge or so. In this commit, the romfs logic is removed, which defeats the purpose of using it as a forwarder. If you can get your repo synced up properly then I'd be happy to sync my tool to use your binary.

Also see this comment for another patch that should be applied.

@borntohonk
Copy link

@borntohonk I took a look at your repo, and it looks like you have a bad merge or so.

I already elaborated that this github issue is completely pointless, and you probably are looking at a random branch in my nx-hbloader fork, which binary referenced in this github issue, is unrelated to any forwarder shenanigans.

@borntohonk
Copy link

it also should be noted, that the romfs logic is removed intentionally as, should come to no surprise, as whatever gimmick i was doing in that forwarder-mod branch, is unrelated to how traditional forwarders operate (i.e. looking for a .nro on sd card)

should be somewhat obvious since references were changed to application, and whatnot.

@borntohonk
Copy link

The actual "2.4.5" binary is tied to this commit https://github.com/borntohonk/nx-hbloader/commit/f42c8a7c56b32d2da05b44173a8643de6aa4d475

which if you clicked the release, would show, but since i synced switchbrew-master (exact same changes) to my fork, the timeline disappeared from when my own version of the debug flag change wintermute pushed became canonical.

@impeeza
Copy link

impeeza commented Dec 19, 2024

Hello guys, Thanks a lot for all your hard work.

@TooTallNate say on GBATemp what he will think about to upgrade the NX-hbloader if there is a good reason, I think I found one.

I am trying to use NX-DumpTool and if you try to load it using a forwarder created by the web page or "Switch NSP Forwarder" the tool do not work you get a error:
image

DarkMatterCore confirms is a problem with old loaders.

I did tested and loading the program with Homebrew Menu on Title override mode:
image
everything works fine

but using a forwarder created with NSP Forwarder app
image
the aplication do not work.

@impeeza
Copy link

impeeza commented Dec 20, 2024

@TooTallNate a dumb question: the switch version can use /atmosphere/hbl.nsp file as source to generate the forwarders on the console?

and the web version can use the https://github.com/switchbrew/nx-hbloader/releases/latest/download/hbl.nsp as source? (or a cached version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants