RELEASE mtp-server-nx - Open Source USB file transfer for Switch

m4xw Sep 2, 2019.

  1. Digi_Ohhh

    Digi_Ohhh Advanced Member

    Newcomer
    3
    Feb 27, 2017
    Italy
    Well, you're supposed to use a MTP client along with it or it wouldn't be a MTP server.
    In other terms, connect the Switch to a USB port of your PC and it will be detected as any other mass storage device.
     
    leon315 likes this.
  2. goncalodoom

    goncalodoom GBAtemp Fan

    Member
    3
    Sep 12, 2009
    Portugal
    portugal
    I have the same issue and the previous app "nxmtp" is still working, this one just blackscreens and nothing is detected on my PC.

    Btw, whY is this trying to access my prodinfo??? :unsure:
     

    Attached Files:

    Last edited by goncalodoom, Sep 3, 2019
  3. seeWood

    seeWood Member

    Newcomer
    2
    Jul 11, 2019
    Germany
    @leon315 and @goncalodoom you have to start the mtp-server-nx.nro first, wait til the Error Message I/O shown up on Screen and the plug in the USB Cable to your Computer

    @m4xw great Tool and Good Job! This will give the Switch a lot more Freedom to play wit.

    i have some Infos for you:
    - a Friend of mine tested the Tool on FW 5.1.0 AMS, works great!
    - i'm using AMS too and want to know if its working on SXOS? So i can easily upgrade AMS with the next release over MTP when it is working with the Free Version of SXOS.
    - is it possible to report issues here or you check that on github?
     
    leon315 likes this.
  4. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    Is there some insight or possible way for the Switch to not scan the whole files on SD?
    I feel like a possible fix for this could also benefit other Switch homebrew apps that take too long to launch.
    One clear example is GZDoom, the same thing happens, so that's why I was wondering what progress there is on that frontend.
     
    Last edited by ShadowOne333, Sep 3, 2019
  5. bandithedoge

    bandithedoge GBAtemp Regular

    Member
    5
    Aug 23, 2018
    Poland
    Is this more stable than FTP?
     
  6. seeWood

    seeWood Member

    Newcomer
    2
    Jul 11, 2019
    Germany
    mtp-server-nx is checking some files on the sd card, but these files only have read rights! There no write rights and this causes the Error. So when you get that Error you can plug in the usb cable to your computer
     
  7. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    You don't make sense.
     
    SaulFemm likes this.
  8. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    Oh sorry, I was referring to this known issue:
    Other homebrew apps seem to have this very same problem as well.
    Do you guys know what could be causing it and what could be a possible fix for that (if there is)?
     
  9. designgears

    designgears GBAtemp Regular

    Member
    4
    Aug 8, 2016
    United States
    I think I get where he was going with this.

    Something like NX-Shell can list files very quickly as you drill down instead of trying to aggregate everything all at once and list only what you're looking at.

    Would it possible to "lazy load" things as you go into the directories?

    Also, does horizon keep track of what's on the sdcard? If so, would it be possible to query that info instead of scanning the file system?
    Assuming no for that bit.

    Pretty sure the bottleneck comes from the speed of the sdcard and the switch processing power.
     
    Last edited by designgears, Sep 3, 2019
    ShadowOne333 likes this.
  10. KuranKu

    KuranKu I am KranK

    Member
    6
    Jan 13, 2019
    Israel
    Israel
    well you assume correct , but in this case the issues are different , games/apps you talk about does have this issues caused by reasons like "assets being too big" or some memory leaks in the app gui or performance

    but in this case the issue is the way things being read, the whole sdcard at ones.

    this is not the same
     
    ShadowOne333 likes this.
  11. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    That depends entirely on the application lol.
    hence I said it makes no sense.

    ye, //TODO

    Nope
     
    designgears likes this.
  12. Crazystato

    Crazystato GBAtemp Regular

    Member
    5
    Oct 24, 2016
    Australia
    Zukov and Storm21 like this.
  13. ecesar

    ecesar Newbie

    Newcomer
    2
    Oct 18, 2018
    Brazil
    Thank you, @m4xw !

    I hope it gets improved with file sizes up to 4GB.

    In recent months, @liuervehc 's closed source nxmtp has been incredible useful for me and many others.

    And new solutions are always welcome.
     
  14. Crimson Cuttlefish

    Crimson Cuttlefish GBAtemp Regular

    Member
    5
    Aug 15, 2016
    United States
    Difference between this and nxmtp?
     
  15. DrNeroCF

    DrNeroCF Advanced Member

    Newcomer
    3
    Oct 12, 2016
    United States
    The other one didn't work on Mac (I couldn't get it to work with AFT or OpenMTP, at least), I'm just getting a black screen on here, is that normal? Not sure if it's the program not working for me or just my Mac not seeing it.
     
  16. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Look for my post in the nxmtp thread about disabling a MacOS background service to get it working. Not sure if it still works with latest MacOS.
     
  17. proffk

    proffk GBAtemp Fan

    Member
    5
    Aug 14, 2013
    United States
    @m4xw great work as always. Heres hoping your todo list is getting smaller.
     
    NoNAND likes this.
  18. Dust2dust

    Dust2dust GBAtemp Maniac

    Member
    8
    Jun 17, 2010
    Canada
    Nice to have an open source option for MTP transfers, but seeing as this doesn't seem to improve on any of the features of nxmtp, I think I'll pass for now and keep using good old nxmtp, which served me well since its release. I'm kind of old fashioned like that, and never try to fix something that isn't broken. I will still watch how this develops to see if it eventually improves upon the closed source one.
     
    ecesar and uvwl like this.
  19. NoNAND

    NoNAND GBAtemp Advanced Maniac

    Member
    12
    Aug 22, 2015
    Albania
    The Adriatic Sea
    I take a break off GBAtemp and all of the exciting things happen whilst I'm gone.
    Thanks @m4xw for your work.

    Copying files over to the switch/from it is made easier due to this app thankfully. Don't have to go through the hassle of unplugging cables, removing SD cards and whatnot anymore. :D
     
    MicmasH_W likes this.
  20. Sticker

    Sticker Advanced Member

    Newcomer
    3
    Oct 1, 2018
    Vietnam
    Not working, Im using MacOS
     
Quick Reply
Draft saved Draft deleted
Loading...