RELEASE SysDVR - Stream gameplay directly to a pc

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by exelix11, Oct 21, 2019.

  1. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    19
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Mar 17, 2010
    Norway
    Alola
    Now this is useful. Got a capture card myself but even so there are a few games that can only be played in handheld mode or that are much better played in handheld mode so it's still useful for those and most other people probably won't have a capture card laying around.
    720p@30 isn't great but really any Switch game with advanced enough graphics that would benefit from a higher resolution are probably locked to 720p (or less) anyway. It's mostly simpler indie games and such that get the full 1080p@60. And 720p seems to be the standard for Twitch streaming still anyway.
    Now, how long do you reckon until someone uses this to make a shiny hunting bot for Sword/Shield once they release? A week? 2 weeks? Probably not much more than that TBH :P
     
    Last edited by The Real Jdbye, Oct 21, 2019
  2. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Kepp getting this

    C:\Users\X\Desktop\UsbStream>UsbStream video C:\Users\X\Desktop\mpv-x86_64-20181002\mpv audio C:\Users\\Desktop\mpv-x86_64-20181002\mpv
    UsbStream - 1.0 by exelix
    https://github.com/exelix11/SysDVR

    Unhandled exception. System.Exception: C:\Users\\Desktop\mpv-x86_64-20181002\mpv is not a valid video mode
    at UsbStream.Program.<>c__DisplayClass16_0.<Main>g__ParseTargetArgs|0(Int32 baseIndex, IOutTarget& t)
    at UsbStream.Program.Main(String[] args)
     
  3. Asia81

    Asia81 In my Ecchi World <3

    Member
    14
    Nov 15, 2014
    France
    Ok I managed to use it.
    Now as I installed libusb-win32 and it probably replaced the previous driver, if I use nxmtp, it crash my switch :unsure:

    That's not possible to keep both driver?
     
  4. KuranKu

    KuranKu I am KranK

    pip Developer
    6
    Jan 13, 2019
    Israel
    Israel
  5. leon315

    leon315 POWERLIFTER

    Member
    10
    Nov 27, 2013
    Italy
    The twitch streamer saved 200bucks for Elgato.....
     
  6. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    C:\Users\x\Desktop\UsbStream>UsbStream video mpv C:\Users\x\Desktop\UsbStream/mpv.com audio mpv C:\Users\x\Desktop\UsbStream/mpv.com
    UsbStream - 1.0 by exelix
    https://github.com/exelix11/SysDVR

    Unhandled exception. LibUsbDotNet.LibUsb.UsbException: Operation not supported or unimplemented on this platform
    at LibUsbDotNet.LibUsb.ErrorExtensions.ThrowOnError(Error error)
    at LibUsbDotNet.LibUsb.UsbDevice.Open()
    at UsbStream.Program.GetDevice()
    at UsbStream.Program.Main(String[] args)
     
  7. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Haven't tried nxmtp but In theory this shouldn't happen as i changed the device id. Will make some tests and let you know.
    Did you try to launch nxmtp while the sysmodule was running ? That could have been the issue.

    Windows version ? 64 or 32 bits ? Did you install the correct driver ?
     
    ELY_M likes this.
  8. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Was my bad, had the network atmosphere files instead of usb...


    but now I get
    Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    It sometimes pops up on the pc for a few seconds then exits
     
  9. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Error from the usb lib, not sure what could be the issue, did you follow the driver setup guide ? Do you have some other sysmodule that could be using the usb port ?
     
  10. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Yeah installed libusb win32, and dont think anything else is using it
     
  11. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Just tested goldleaf and exploring pc files via usb works fine, it also shows as a different device so ig it's working as expected, could be that nxmtp uses the same id ? that would be really lol.
    You did not say if the sysmodule was running at the same time as nxmtp, in case it was try removing it and launching just nxmtp.

    Tbh not sure at this point, can you check in device management if this is what you see: https://gbatemp.net/threads/sysdvr-stream-gameplay-directly-to-a-pc.550616/#post-8832896
    Also do a clean install of atmosphere to make sure you don't have other sysmodules using usb.
     
  12. yyoossk

    yyoossk GBAtemp Regular

    Member
    5
    Oct 18, 2017
    Japan
    This issue was fixed by reintroducing the CFW file
    thx!
     
    exelix11 likes this.
  13. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Named the sane as yours, I have nothing else that's using usb

    — Posts automatically merged - Please don't double post! —

    zadzig keeps saying that the switch's current driver is libusb0 no matter how many times i install libusb win32
     
  14. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Is the sysmodule running while you do the zadig process ? If it isn't zadig will apply the driver to the default switch os descriptor rather than SysDVR's.
    The sysmodule should launch around 20 seconds after boot, you can make sure it's the right one cause the PID is 3006
     
  15. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    How do you tell?
     
  16. PineappleGod

    PineappleGod Advanced Member

    Newcomer
    2
    Oct 2, 2019
    United States
    Now in GhostLatte's van!
    I gotta say this is a pretty big brain idea.
     
  17. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Just updated the readme, you could have installed the driver to the wrong device, do again the setup with zadig and check if the device id is correct this time.
     
  18. blubber987

    blubber987 GBAtemp Regular

    Member
    3
    Apr 13, 2017
    United Kingdom
    Super useful, thanks exelix!
     
  19. luk_pop

    luk_pop GBAtemp Regular

    Member
    5
    Apr 30, 2017
    Poland
    mytown
    Gr8 tool, but not working at my PC :(

     
  20. Jonhy

    Jonhy GBAtemp Regular

    Member
    5
    May 22, 2016
    United States
    Excellent work!
     
Quick Reply
Draft saved Draft deleted
Loading...