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

Using any forwarder crashes software #179

Open
Avellea opened this issue Jul 31, 2024 · 20 comments
Open

Using any forwarder crashes software #179

Avellea opened this issue Jul 31, 2024 · 20 comments

Comments

@Avellea
Copy link

Avellea commented Jul 31, 2024

Hi there.

Attempting to use any forwarder created with NTON will fail to launch. Currently using the latest versions of NTON and Moonlight-Switch on 18.1.0 Atmosphere

The crash happens before I even see a UI, when the Switch logo is still spinning in the bottom right corner.

I have tested with both a blank forwarder to the application, and --host=censored --appid=1093255277 --appname=Steam

Forwarders I make for other applications such as Goldleaf and mGBA work without issue.

image
image

@XITRIX
Copy link
Owner

XITRIX commented Aug 1, 2024

Previously there was someone who had the same issue, and the problem was that he wrote host in incorrect format, with --host="censored" I cannot confirm that you are writing everything correct, could you at least replacing some characters show how you white it?

Up.
Ah, wait, you have crash even with blank forwarder? That's weird ...
Empty forwarder should work like a homebrew launcher

@Avellea
Copy link
Author

Avellea commented Aug 1, 2024

could you at least replacing some characters show how you white it?

Sure, it ended up being formatted as ab:cd:ef:01:23:45

Ah, wait, you have crash even with blank forwarder? That's weird ...

Could this possibly be due to firmware 18.1.0? I made sure to redump my prod.keys, as well as make sure all sigpatches and sys-patch were updated.

@XITRIX
Copy link
Owner

XITRIX commented Aug 2, 2024

Not sure to be honest, I still not updated from 17.x

@Avellea
Copy link
Author

Avellea commented Aug 2, 2024

Understandable. I didn't have moonlight installed to test on a previous firmware sadly, so that's still up in the air.

Is there any way to get a crash log of some sort for you? I haven't touched the development side of the Switch nearly as much as I have the PSVita.

@XITRIX
Copy link
Owner

XITRIX commented Aug 2, 2024

Crash logs from Switch was always a problem for me, I developed the app on Mac, tested in xCode and launched on Switch as it is, debugging Switch specific issues with console logs :D

@Avellea
Copy link
Author

Avellea commented Aug 2, 2024

So what exactly can be done?

@XITRIX
Copy link
Owner

XITRIX commented Aug 3, 2024

Let me try to create forwarder on my device, I'll double check if it works or not.
Also I could try to release my own tool to generate forwarder, which thought to implement inside Moonlight-Switch itself, but Switch failed to generate working forwarders probably because of incorrectly working SSL lib

@Avellea
Copy link
Author

Avellea commented Aug 3, 2024

Sounds good. I'm available to provide any information or test anything if needed. Thanks for taking the time to look into this!

@XITRIX
Copy link
Owner

XITRIX commented Aug 4, 2024

Moonlight by XITRIX [01D434D98213E000][v0].zip

Could you try to install this one? NRO should be in the path: /switch/Moonlight-Switch/Moonlight-Switch.nro
It should just launch the app, I checked, it works for me

@Avellea
Copy link
Author

Avellea commented Aug 4, 2024

Loads right up without issue.

@XITRIX
Copy link
Owner

XITRIX commented Aug 4, 2024

I created it with NTON, copy-pasted arguments from ReadMe, looks like it could be something wrong with your NTON installation or ... I don't know.

Also, if you cannot run forwarder without any arguments, so it's definitely something wrong with your NTON

Btw, even wrong arguments should not lead to crash. App should just launch into menu

@Avellea
Copy link
Author

Avellea commented Aug 5, 2024

That's what I'm confused about... It's a fresh install of NTON (even redownloaded and tried again) and fresh dumped keys as well.

EDIT: Tried again one more time, with another download of NTON and a fresh prod.keys dump... no dice.

@XITRIX
Copy link
Owner

XITRIX commented Aug 5, 2024

Do you click "Create ROM forwarder" or "Build NSP forwarder"?

@Avellea
Copy link
Author

Avellea commented Aug 5, 2024

Build NSP Forwarder.

@XITRIX
Copy link
Owner

XITRIX commented Aug 5, 2024

Btw, if my forwarder works for you, so it's definitely something wrong on your side, not sure how I could help you here

@Avellea
Copy link
Author

Avellea commented Aug 5, 2024

I've checked for typos, incorrect paths, everything. It's just Switch-Moonlight

I even recreated my mGBA forwarder to test. I'm not really sure what the issue could be at this point.

@XITRIX
Copy link
Owner

XITRIX commented Aug 5, 2024

Once again, you cannot create forwarder even without arguments, it will still crash, yes?

@Avellea
Copy link
Author

Avellea commented Aug 5, 2024

That is correct. That does not mean it is guaranteed to be something on my end though, as the exact same setup works for any other .nro I throw at it.

@XITRIX
Copy link
Owner

XITRIX commented Aug 5, 2024

Just one thing, have no idea if it could be the reason, I've enabled video capture in my forwarder, in the app I also have a piece of code, that tries to enable it. MAYBE if forwarder not allows it (no idea how) and app tries to enable it with no result it crash? But it's just a pure theory, I did not tried it on practice, but it is the only possible difference between our forwarders

@Avellea
Copy link
Author

Avellea commented Aug 5, 2024

I'll try this and let you know.

EDIT: Tried. Setting to Manual and Enabled both result in the same crash.

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

2 participants