Homebrew 3DSControllerPlus - PC-->3DS video and input streaming

  • Thread starter Sono
  • Start date
  • Views 86,153
  • Replies 381
  • Likes 49

Masonuch

New Member
Newbie
Joined
Nov 25, 2019
Messages
1
Trophies
0
Age
29
XP
44
Country
Russia
Hello! Thanks, I was able to configure this. But I had a question, is it possible to somehow display the image on the top screen?
 
Joined
Jun 1, 2019
Messages
5
Trophies
0
XP
71
Sorry for the question, but has anybody gotten this to work with PCSX2? I'm having a little difficulty setting up keybinds in that emulator and actually getting it to function in a game through the 3DS. The installation of 3DSControllerPlus is fine though, it's able to connect! (talking through conversations/dms might be easier, don't want to spam this forum too much.)
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
Sorry for the question, but has anybody gotten this to work with PCSX2? I'm having a little difficulty setting up keybinds in that emulator and actually getting it to function in a game through the 3DS. The installation of 3DSControllerPlus is fine though, it's able to connect! (talking through conversations/dms might be easier, don't want to spam this forum too much.)

I have an unreleased project which makes the 3DS act as an xbox360 controller, if you'd prefer that instead (considering PS2 games make use of the analog sticks).

As for kebinds not functioning, I didn't really make it user-friendly... You need to put the key(s) in "key pressed", and put the key(s) in reverse order inverted (key down becomes key up, etc.) to "key released" (the "key pressed" thing is actually a dropdown box).
 
Joined
Jun 1, 2019
Messages
5
Trophies
0
XP
71
I have an unreleased project which makes the 3DS act as an xbox360 controller, if you'd prefer that instead (considering PS2 games make use of the analog sticks).

As for kebinds not functioning, I didn't really make it user-friendly... You need to put the key(s) in "key pressed", and put the key(s) in reverse order inverted (key down becomes key up, etc.) to "key released" (the "key pressed" thing is actually a dropdown box).

You do have a project like that? Would you ever consider publishing it in the future? It sounds useful and definitely would be worth a shot to try out if or when it releases!

Didn't see that it was a drop down that makes a lot more sense now! Thank you for explaining that part of the program. Going to do some tests right now and see if adding keys to the key released setting will fix it :D
 
  • Like
Reactions: Sono

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
You do have a project like that? Would you ever consider publishing it in the future? It sounds useful and definitely would be worth a shot to try out if or when it releases!

Didn't see that it was a drop down that makes a lot more sense now! Thank you for explaining that part of the program. Going to do some tests right now and see if adding keys to the key released setting will fix it :D

There are two reasons I didn't post it:
1) Even though it requires no config (other than entering the IP address, which is visible on the 3DS' screen), I don't want to play tech support because it's really difficult to install an exact version of ScpVbus in a way which makes this work at all.
2) I still need to make a custom build of vxbox, because the latest version just crashes, or doesn't work at all. And while making a custom version, I'd just add my own changes.

As for 3DSCPlusDummy, please note that some apps just either can't/don't accept the input (most of the times not on purpose, like direct input systems), or they refuse non-real input (the ones 3DSCPlusDummy generates), so it's a hit-or-miss. Most games work in my experience.
 
Joined
Jun 1, 2019
Messages
5
Trophies
0
XP
71
There are two reasons I didn't post it:
1) Even though it requires no config (other than entering the IP address, which is visible on the 3DS' screen), I don't want to play tech support because it's really difficult to install an exact version of ScpVbus in a way which makes this work at all.
2) I still need to make a custom build of vxbox, because the latest version just crashes, or doesn't work at all. And while making a custom version, I'd just add my own changes.

As for 3DSCPlusDummy, please note that some apps just either can't/don't accept the input (most of the times not on purpose, like direct input systems), or they refuse non-real input (the ones 3DSCPlusDummy generates), so it's a hit-or-miss. Most games work in my experience.

That's true, you must be really busy maintaining the project(s), this thread, and a personal life. Really appreciate your help though and all the time you spend here in the thread helping others.

Was noticing that a little before posting the response for help. The emulator seemed to accept the Dummy controls at first, but after a few seconds it stopped responding. To be honest with you, can't tell if the game itself is difficult to control (never played it before on an actual console) or if it's the issue you said; more inclined to believe your reasoning though! The game is Shadow of the Colossus. But it's entirely be possible that it doesn't want to accept the non-real input. Have a question, but I'll post it in the DM you sent.
 
Last edited by Deleted member 491287,
  • Like
Reactions: Sono

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
Apart from that, I would like to know how can I enable the "alternate input".

You need to save your current key setup to a file, open it, and in [general] find altkey, and change that to the key mask you want.

You can use calculator's developer mode. Switch the display to hex, flip the bits you want for the keys as given on 3dbrew, then copy the hex value, and paste that as both the altkey and altk value (due to a bug you need to set both).
 

Deleted member 446461

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
265
Trophies
0
XP
485
You need to save your current key setup to a file, open it, and in [general] find altkey, and change that to the key mask you want.

You can use calculator's developer mode. Switch the display to hex, flip the bits you want for the keys as given on 3dbrew, then copy the hex value, and paste that as both the altkey and altk value (due to a bug you need to set both).

And how do I save a configuration file for 3DSControllerPlus?

Also, would there be a way to use the program with vJoy 2.0.0? That version seems to be the only one I can install correctly on my computer, and DummyJoy doesn't seem to accept it, spitting out a "vJoy alloc fail" error.

To top it off, the program doesn't seem to stream the mouse. Would there be a way to make the program stream the mouse?
 
Last edited by Deleted member 446461,

placebo_yue

Well-Known Member
Member
Joined
Aug 7, 2019
Messages
739
Trophies
0
Age
33
XP
1,264
Country
Argentina
I managed to stream the image successfully but when i run Dummyjoy the screen goes black, and as far as i can tell im not getting any inputs anywhere whatsoever.

How should i be using the two at the same time so i can play the streamed games on the 3DS and not with keyboard or joysticks?

edit: the stream stops after a few minutes saying
"failed to recvbuf: (11) No more processes
Listenig on...."
and i have to reset the app on 3DS to be able to restart the stream on CMD (apparently it's stuck until i do this?)
 
Last edited by placebo_yue,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
And how do I save a configuration file for 3DSControllerPlus?

Also, would there be a way to use the program with vJoy 2.0.0? That version seems to be the only one I can install correctly on my computer, and DummyJoy doesn't seem to accept it, spitting out a "vJoy alloc fail" error.

To top it off, the program doesn't seem to stream the mouse. Would there be a way to make the program stream the mouse?

You save the keyconfig by clicking the "Save keyconfig" button.

For DummyJoy you need to allocate both controller 1 and controller 2 as seen here:
upload_2020-5-14_10-13-26.png


As for mouse movement, I can see in the source code that there is a "TODO config option", so you'll have to edit the mouse mode manually.
Similar to altkey, mmode is also in the [general] section in the keyconfig. 0 is touch, 1 is CPad, 2 is CStick.

I managed to stream the image successfully but when i run Dummyjoy the screen goes black, and as far as i can tell im not getting any inputs anywhere whatsoever.

How should i be using the two at the same time so i can play the streamed games on the 3DS and not with keyboard or joysticks?

edit: the stream stops after a few minutes saying
"failed to recvbuf: (11) No more processes
Listenig on...."
and i have to reset the app on 3DS to be able to restart the stream on CMD (apparently it's stuck until i do this?)

Yeah, it's a known bug. You have to time the streaming and the connection within two seconds for the screen to not to go black, and even then it's really difficult to do so.
Basically the bug is that when connecting for screen streaming, the screen is not turned on. There is actually code preventing the screen from sleeping while the screen streaming is active, but due to this oversight it just stays black.

A slightly easier workaround is to connect 3DSCPlusDummy to the 3DS first, then disconnect, then connect the video, and then connect the buttons. Not sure if that should work, but based on the source code this is how to work around this bug.

You can't use more than one 3DS due to some weird bug in the networking. I haven't figured out how to use more than one 3DS.

As for that issue, reboot your 3DS, and start the homebrew directly.
 
Last edited by Sono,
  • Like
Reactions: Zense

Deleted member 446461

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
265
Trophies
0
XP
485
Do you have a build where I can activate alternate input by touching the screen, then press L+R+X to disable it?

About the vJoy thing; thanks. I will install Windows 8 to use it.

I got a modified version of Windows 7 Ultimate which doesn't like external drivers.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
Do you have a build where I can activate alternate input by touching the screen, then press L+R+X to disable it?

About the vJoy thing; thanks. I will install Windows 8 to use it.

I got a modified version of Windows 7 Ultimate which doesn't like external drivers.

No, it's a hold-style button by design, I can't make it a toggle.

As for the drivers, you might need to selectively install some updates, because very early unupdated Windows 7 versions have some bugs which affect drivers, like driver load failure for no reason, all the way to straight up kernel crashes. Don't install the Windows 10 related updates!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I liked the cameo the original cast did
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, I heard a member of the original cast died
  • K3Nv2 @ K3Nv2:
    Rest of the plot was just average
  • K3Nv2 @ K3Nv2:
    Egon was the best character
    +1
  • BigOnYa @ BigOnYa:
    My favorite was the Key master in the first one, "Ok, who brought the dog?" - Rick Moranis
  • K3Nv2 @ K3Nv2:
    Was way better than that ghostbusters: frozen in women power one
    +1
  • K3Nv2 @ K3Nv2:
    It was kind of a passing the torch idea which I didn't hate finally
  • BigOnYa @ BigOnYa:
    The old Ghostbuster video game was pretty good also, newer one is just ok.
  • K3Nv2 @ K3Nv2:
    Gotta be more specific nes one was garbage 360 was decent
  • BigOnYa @ BigOnYa:
    Yea 360/ps3 one I meant, I don't remember the Nes one tbh
  • BigOnYa @ BigOnYa:
    Yea I never played that one.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, me neither
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 gotta be more specific, there were 2 on the NES and one of them was pretty decent
  • K3Nv2 @ K3Nv2:
    Well it's probably the one youtube link I posted
    +1
  • Xdqwerty @ Xdqwerty:
    deleted my newgrounds account
  • Xdqwerty @ Xdqwerty:
    bc of shame
  • K3Nv2 @ K3Nv2:
    You have shame?
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, made a new one
  • Xdqwerty @ Xdqwerty:
    yawn
  • BakerMan @ BakerMan:
    guys, who would win
  • BakerMan @ BakerMan:
    Every character from HH/HB (hazbin hotel/helluva boss) VS Dante (devil may cry), Doom Guy (doom) and V1(ultrakill)
  • K3Nv2 @ K3Nv2:
    Fairly odd parents
    K3Nv2 @ K3Nv2: Fairly odd parents