Hacking [Rel] Improved (hopefully) NTR streamer for N3DS (XL/LL)

zbash92

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2022
Messages
59
Trophies
0
Age
32
Location
NB
XP
311
Country
Canada
@theninjagamer for some reason when I use the wifi hotspot feature from windows 11 there's the periodic lag spike every minute. Using shared ethernet connection to an r-pi with wifi dongle doesn't have this problem..
Post automatically merged:

For some reason after running 3.6-HR and streaming, then putting it to sleep causing it to never wake up? Blue light keeps flashing after opening console lid.

I'm not sure sleeping the n3ds while ntr is running is supported. I would suggest trying to force the console to shut down by holding the power button for like 10 seconds.
 
Last edited by zbash92,
  • Like
Reactions: rick_ff

rick_ff

Active Member
Newcomer
Joined
Nov 21, 2018
Messages
27
Trophies
0
Age
34
XP
154
Country
New Caledonia
@theninjagamer for some reason when I use the wifi hotspot feature from windows 11 there's the periodic lag spike every minute. Using shared ethernet connection to an r-pi with wifi dongle doesn't have this problem..
Post automatically merged:



I'm not sure sleeping the n3ds while ntr is running is supported. I would suggest trying to force the console to shut down by holding the power button for like 10 seconds.
Okay, that is fine, other than that it works pretty good. And I like your snickerstream replacement too.
 

PigletTubeYT

Well-Known Member
Member
Joined
May 19, 2022
Messages
116
Trophies
0
Location
This information is private
XP
609
Country
United Kingdom
Not the best way to stream your 3DS games but sometimes it's the only good option available.

This updated NTR streamer home brew is backward compatible with all existing NTR viewers that I've tested on PC. Should in theory also work with Xbox/Wii U/etc viewers.
If there's any problem please let me know in this thread.

How to use:

Follow the guide here (not written by me):
https://wiki.hacks.guide/wiki/3DS:Wireless_streaming

Then download the CIA file from release page below, or from the zip file in attachment. Install the CIA file with FBI and rest of the guide follows.

Features:

  • Improved performance (and reduced battery life due to more CPU utilization; why would you stream your 3DS without plugging it in though ha ha)
  • Stability improvements


Changes:

  • Use up to three cores for encoding (around 80% ~ 120% increased frame rate)
  • Ability to switch between games and keep streaming
  • Removed green tint when streaming games with RGB565 output
  • Can now update quality setting etc while streaming
  • Added a menu for changing Remote Play settings on the fly (accessible from the NTR menu which is accessed by pressing X + Y), can be used to change viewer's port
  • Better frame pacing: do not encode frame when encoder is faster than actual frame rate
  • Various optimizations and updated dependencies
  • Should no longer crash on startup or when starting remote play (worked around race conditions in startup hook restore code).


Known issues:

  • Screenshot/debugger commands/night color are removed. They are available in Luma3DS' rosalina menu in better forms.
  • Real-time save/load removed. (The feature doesn't work very well though I can add it back in if needed.)
  • Can no longer send NFC patch due to removed debugger command. Use the NFC patch function in NTR's remote play menu instead. (Press X+Y after starting NTR-HR, then choose remote play menu)
  • CPU state is locked to high clock and L2 cache enabled when remote play is started. The option to change this may be added back in.


Source:

https://github.com/xzn/ntr-hr/tree/oxide

Downloads:

https://github.com/xzn/ntr-hr/releases


QR Code for FBI install:

View attachment 413368

( Thanks @Flanter )


Credit:

cell9
Nanquitas
PabloMK7 (for 3.6.1)

Thanks especially cell9 for releasing the source of NTR 3.6 making this mod possible


Tips:

Set your WiFi device used for hot spot to be 2.4 GHz only to maximize 3DS WiFi connection speed:

View attachment 413909
View attachment 413910

There should be similar options in routers where you can disable 5 GHz radio or similar.

If you don't want to change your router setting, it's recommended to get a WiFi dongle that support AP mode and set it to 2.4 GHz only in device manager, then connect your 3DS to the hot spot from that WiFi dongle.

Extras:

A bare bone viewer that I wrote:

View attachment 413912

It's missing some features: no NFC patching, no integer upscaling etc.

Also really likes to crash sometimes.

It does have an optional NN filter for reducing JPEG artifacts, leading to an overly sharpened/denoised/cartoonish image and makes small text look funny ha ha.

Download link for viewer: https://github.com/xzn/ntrviewer-hr/releases (Note: this is for viewer. The CIA homebrew is linked above, as well as in attachment)
I recomend displaying 1FPS when there is no motion instead of 0FPS because the ntr viewer stays frozen for a few seconds.
 

Jonas43

New Member
Newbie
Joined
May 25, 2017
Messages
4
Trophies
0
Age
22
XP
65
Country
Gambia, The
Just wanted to thank you for developing this! The performance I was able to get with NTR HR is almost like if I were to use a real 3DS Capture Card! Both screens running smooth while playing mk7 and other system applications.
Keep up the great work!
 

pistonfish

Well-Known Member
Newcomer
Joined
Apr 30, 2021
Messages
91
Trophies
0
Age
25
XP
898
Country
Germany
I recomend displaying 1FPS when there is no motion instead of 0FPS because the ntr viewer stays frozen for a few seconds.
That sounds pretty odd. I don't see how the display of 0 fps should affect ntr viewer at all. It also sounds like a problem with ntr viewer itself, because displaying 0fps when there are, indeed, zero frames per second, is intended behaviour.
Post automatically merged:

Is there a way I can do that?
That honestly looks like a ntr viewer problem. Displaying 0 fps when there are, indeed, 0 frames per second is expected behavior.
 

Catzzye

Member
Newcomer
Joined
Mar 29, 2016
Messages
11
Trophies
0
XP
69
Country
Croatia
Insanely impressive work, the Viewer deserves credit as well. It's super nifty and with an upscaling function to the boot. Huge props!!
 

Zackcog

Member
Newcomer
Joined
Aug 18, 2020
Messages
6
Trophies
0
Age
67
XP
158
Country
United Kingdom
Is there a way to permanently set Encoder priority in the remote play section of the NTR (X + Y) menu? To run Metroid Samus Returns without audio distortion I have to set encoder priority to 35 or greater but every time I restart my 3DS it goes back to 16.
 

zbash92

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2022
Messages
59
Trophies
0
Age
32
Location
NB
XP
311
Country
Canada
Is there a way to permanently set Encoder priority in the remote play section of the NTR (X + Y) menu? To run Metroid Samus Returns without audio distortion I have to set encoder priority to 35 or greater but every time I restart my 3DS it goes back to 16.
Currently there's no way to save the setting. I'm considering changing the default priority to 63 for the next release since there seems to be no downside. (In the mean time, I've uploaded a version with the default changed to 63 in this post, you can try using that. Note that I did not include the regular NTR 3.6.1 with this one, but it will be included for the next release)


how does it work tho every time i open it it just closes

( i have python installed btw)

Which viewer are you trying to open? Snickerstream doesn't require Python iirc.


I also have the same problem

Hmm I thought I fixed this in 0.2.1.2 (Released in June 19). Let me know if this is the version you are using, and if so, what game is causing the problem..

Thanks!
 

Attachments

  • NTR-HR.zip
    1,007.3 KB · Views: 22

blaze_3ds

New Member
Newbie
Joined
May 27, 2024
Messages
3
Trophies
0
Age
22
XP
21
Country
United States
Currently there's no way to save the setting. I'm considering changing the default priority to 63 for the next release since there seems to be no downside. (In the mean time, I've uploaded a version with the default changed to 63 in this post, you can try using that. Note that I did not include the regular NTR 3.6.1 with this one, but it will be included for the next release)




Which viewer are you trying to open? Snickerstream doesn't require Python iirc.




Hmm I thought I fixed this in 0.2.1.2 (Released in June 19). Let me know if this is the version you are using, and if so, what game is causing the problem..

Thanks!
ntr hr viewer
 

blaze_3ds

New Member
Newbie
Joined
May 27, 2024
Messages
3
Trophies
0
Age
22
XP
21
Country
United States
@blaze_3ds Do you mean this one?

Could you try running the program from command line and copy the command line output in case there's some info there?

Thanks.
how do i do that?

edit: dosent work
Post automatically merged:

@blaze_3ds Do you mean this one?

Could you try running the program from command line and copy the command line output in case there's some info there?

Thanks.
here is a recording of the problem
 

Attachments

  • 9106353a-1132-47db-918c-c2f93c00c822.webm
    641.1 KB
Last edited by blaze_3ds,

zbash92

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2022
Messages
59
Trophies
0
Age
32
Location
NB
XP
311
Country
Canada
@blaze_3ds Thanks for the recording! Could you try the following steps so that we can see it in case there's output from the command line?

1. Open command line (Win-Key -> type "cmd" -> Enter)

2. Drag the ntrviewer.exe file from explorer into your command line window

3. Focus on your command line window, press Enter

4. See if there's output in the command line window, if so, select them, then press Enter

5. Paste the output here
 

Attachments

  • Recording 2024-07-20 190602.mp4
    10.3 MB

zbash92

Well-Known Member
OP
Newcomer
Joined
Mar 2, 2022
Messages
59
Trophies
0
Age
32
Location
NB
XP
311
Country
Canada
Test release in case any one want to try.

Source code:
https://github.com/xzn/ntr-hr/tree/rs0_test1

Download in attachment.

Changelog:
https://github.com/xzn/ntr-hr/releases/tag/v0.3.0.0

To try Reliable Stream mode, you need the test release for NTRViewer-HR:
https://github.com/xzn/ntrviewer-hr/releases/tag/v0.2.0.4
(Update: actually uploaded binaries this time, sorry!)

The main new feature is an option to disable head tracking on New 3DS to improve remote play frame rate. (So it's now close to New 2DS.) The patch isn't perfect so there's still some performance gap but it's close.

The other feature is Reliable Stream mode, where arq is used to minimize dropped frames. (This is a new protocol so unfortunately not backward compatible with other viewers if you enable this, use the version of NTRViewer-HR linked above to try this.)

The main draw for Reliable Stream is possible future extension with, e.g. delta encoding, or transferring audio capture data if implemented.

@Maxwellp

Audio capture isn't implemented but should technically be possible according to the docs by other's reversing effort online. Both DSP and CSND hardware have ways of saving mixed audio back to memory for capture. So maybe patching the DSP and CSND software process and automatically set things up for capture would work. However, at least with my current reversing skill, it'll take quite a long time..
Post automatically merged:

Screenshot for prosperity:

Screenshot 2024-09-06 002931.png
 

Attachments

  • BootNTR-HR-v0.3.0.0.zip
    1.2 MB · Views: 12
Last edited by zbash92,

TwistedTempest

Member
Newcomer
Joined
May 10, 2024
Messages
7
Trophies
0
Age
25
XP
84
Country
Canada
Cool news!

Just a quick question, do you see NTR-HR Viewer ever supporting NFC patching for games like Pokémon? If so it'll probably become my go-to client :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Block heads! +2