Hacking NTRCFW 3.4 Preview1(Support video output on New 3DS)

CrispyYoshi

Well-Known Member
Member
Joined
Mar 20, 2010
Messages
1,542
Trophies
1
XP
1,145
Country
United States
Hmm, I seem to have trouble with this too.

I have my Windows Firewall disabled (running Windows 10) and I type in the IP/port given in FTP-3ds, using the latest NTR and bootntr.cia in aureinand with the 10.2 NTR firmware.bin from FIRMS.7z

I launch NTR Debugger and Viewer as admin and then I type the connect('3dsip',port) and remoteplay() functions after enabling NTR Debug, but it doesn't seem to work properly (the syntax is correct, but it won't let me in)

Incidentally, trying to connect() while FTP-3ds is running seems to work just moments after sending the command, but remoteplay() doesn't work. Does this mean that NTR CFW itself is failing to host the server properly, or am I doing something wrong?

Here's the debugger log:

//This is where I hosted with FTP-3DS, NTR Debug Enabled
> connect('[redacted]', 5000)
null
Server connected.
Server disconnected.

//This is where I was sitting on my home menu, NTR Debug Enabled
> connect('[redacted]', 5000)
No connection could be made because the target machine actively refused it [redacted]:5000
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at ntrclient.NtrClient.connectToServer()
at ntrclient.ScriptHelper.connect(String host, Int32 port)
at Microsoft.Scripting.Interpreter.ActionCallInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
at Microsoft.Scripting.Interpreter.DynamicInstruction`5.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at ntrclient.CmdWindow.runCmd(String cmd)
> remoteplay()
Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at ntrclient.NtrClient.sendPacket(UInt32 type, UInt32 cmd, UInt32[] args, UInt32 dataLen)
at ntrclient.NtrClient.sendEmptyPacket(UInt32 cmd, UInt32 arg0, UInt32 arg1, UInt32 arg2)
at ntrclient.ScriptHelper.remoteplay()
at Microsoft.Scripting.Interpreter.ActionCallInstruction`1.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run3[T0,T1,T2,TRet](T0 arg0, T1 arg1, T2 arg2)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at ntrclient.CmdWindow.runCmd(String cmd)
 
Last edited by CrispyYoshi,

mungry

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
322
Trophies
0
Age
25
XP
476
Country
United States
Here's some more tests:
Basically any "2D" game will stream very nicely: Isaac, Shovel Knight, Terraria, etc. but the "3D" games stream at the rate of slideshows (exaggerating here). So, honestly, you could very well stream 2D games as of this initial public preview! Hopefully "3D" based games will come along nicely as development progresses! I tried launching the Homebrew launcher but it didn't go to well, oh well!

 

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,481
Country
Here's some more tests:
Basically any "2D" game will stream very nicely: Isaac, Shovel Knight, Terraria, etc. but the "3D" games stream at the rate of slideshows (exaggerating here). So, honestly, you could very well stream 2D games as of this initial public preview! Hopefully "3D" based games will come along nicely as development progresses! I tried launching the Homebrew launcher but it didn't go to well, oh well!


Your 3D video is still amazing compared to most other tests. Currently I'm getting less than 1FPS with 3D games and some don't even display. It also looks like most homebrew apps don't mirror their video either for some reason (I tested several RetroArch cores, none of them show up in the viewer, although switching to the Home Menu does cause their image to appear as a frozen frame).
 
  • Like
Reactions: mungry

mungry

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
322
Trophies
0
Age
25
XP
476
Country
United States
Your 3D video is still amazing compared to most other tests. Currently I'm getting less than 1FPS with 3D games and some don't even display. It also looks like most homebrew apps don't mirror their video either for some reason (I tested several RetroArch cores, none of them show up in the viewer, although switching to the Home Menu does cause their image to appear as a frozen frame).

Interesting. I have a ~150 dollar router so maybe that's why i'm getting such good results.... *shrug* haha. Really cool stuff!
 

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,481
Country
Interesting. I have a ~150 dollar router so maybe that's why i'm getting such good results.... *shrug* haha. Really cool stuff!
Possibly, router is definitely a factor here. I'm also running Windows as a virtual machine under OS X, not sure if that's another factor.

Side note: Any chance someone could port NTR debugger and ntrviewer to OS X?
 

Kibido

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
641
Trophies
0
Age
31
XP
692
Country
Italy
Can we use the other BootNTR.cia which auto exited? Don't understand what the one in the download has that the other one doesn't aside from brightness and power features.
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,749
Country
United States
This has probably been asked in this thread but im not reading the whole thing.

How many FPS can i get when streaming on MK7 to my PC? I have a netgear router that supports 5G with 90Mb/s download and 15Mb/s upload (if that matters)

My PC, 3DS and router are all in the same room.

if someone can do a video of mario kart 7 that would be great
 

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,481
Country
Wait so does this mean we don't have to have a capture card anymore?!
Not quite, it still has a lot of issues such as stability and performance. But it's a huge leap in that direction.

Edit:
It might be worth people putting their router speed/hardware configurations down when posting recordings as this could affect the video performance too. For example, I'm using a max 54Mbps 802.11b/g/n router, which might be why I'm getting about 0.4FPS when launching 3D games.
 
Last edited by NekoMichi,

Mistie

Legit Furry Trash
Member
Joined
Jan 20, 2016
Messages
181
Trophies
0
Age
25
Location
Alberta
XP
298
Country
Canada
I seem to be having issues with this. When I run the remoteplay command it fails.

Here's the console output:

Code:
NTR debugger by cell9

import sys;sys.path.append('.\python\Lib')
null
for n in [n for n in dir(nc) if not n.startswith('')]: globals()[n] = getattr(nc,n)

null
Commands available:
repr([n for n in dir(nc) if not n.startswith('')])
['attachprocess', 'bpadd', 'bpdis', 'bpena', 'connect', 'data', 'disconnect', 'listprocess', 'listthread', 'memlayout', 'queryhandle', 'reload', 'remoteplay', 'resume', 'sayhello', 'sendfile', 'write']
connect('192.168.1.52', 8000)
null
Server connected.
remoteplay()
null
Will be disconnected in 10 seconds to enhance performance.
cpu was locked on 804MHz, L2 Enabled
starting remoteplay...
buf: 07001000, size: 00022000
remotePC: 001231d0
disconnect()
null
Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
Server disconnected.

No idea what it means but streaming doesn't work.
 

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,481
Country
I switched to a much better wireless network and was able to get a solid 30FPS... for about 5 seconds, and then streaming froze and crashed. Now NTR debugger is semi-permanently broken and refuses to detect my 3DS. I've restarted everything and verified that all devices are connected to the same network. After starting up NTR and enabling debugger on the console, I tried to connect to the 3DS via the debugger but it now throws up the same error as if the 3DS isn't connected to the same network. I'm using the exact same configurations as when it was working, but for some reason now the debugger isn't detecting my 3DS at all. Any ideas why, or should I just throw in the towel?
 

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,749
Trophies
1
XP
3,400
Country
United States
I switched to a much better wireless network and was able to get a solid 30FPS... for about 5 seconds, and then streaming froze and crashed. Now NTR debugger is semi-permanently broken and refuses to detect my 3DS. I've restarted everything and verified that all devices are connected to the same network. After starting up NTR and enabling debugger on the console, I tried to connect to the 3DS via the debugger but it now throws up the same error as if the 3DS isn't connected to the same network. I'm using the exact same configurations as when it was working, but for some reason now the debugger isn't detecting my 3DS at all. Any ideas why, or should I just throw in the towel?
I'd sometimes get a few errors or so. I usually just closed out of all of the programs, reset the 3ds, and tried again. It always worked after doing that stuff.
 
  • Like
Reactions: NekoMichi

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,481
Country
I'd sometimes get a few errors or so. I usually just closed out of all of the programs, reset the 3ds, and tried again. It always worked after doing that stuff.
Turns out it was because of the "router" I was using. Or rather, the tethering app on my phone. For some reason, it would boot all devices off after 5 minutes but still display them as connected, which explains why they couldn't talk wth each other. I had to install another tweak to bypass this.

But thanks for your help anyway :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=hke2YUirpf4 +1