WIP nxmtp: access your SD Card over USB without rebooting

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by liuervehc, Jan 13, 2019.

  1. mrtzera

    mrtzera Member

    Newcomer
    2
    May 25, 2018
    Brazil
    I made this icon for nxmtp, feel free to use on your .nro or .nsp :D

    upload_2019-7-19_10-38-43.
     
    skinnyBIGGS, uvwl, Broduskii and 11 others like this.
  2. stick267

    stick267 GBAtemp Advanced Fan

    Member
    5
    Dec 17, 2018
    United States
    Dumb question I know, but how do we change the icon on an nro?
     
  3. mrtzera

    mrtzera Member

    Newcomer
    2
    May 25, 2018
    Brazil
  4. stick267

    stick267 GBAtemp Advanced Fan

    Member
    5
    Dec 17, 2018
    United States
  5. kornjaca200

    kornjaca200 Member

    Newcomer
    4
    Mar 2, 2017
    Netherlands
    Thats very cool made sir
     
  6. Lujke

    Lujke Newbie

    Newcomer
    1
    Jul 26, 2019
    United States
    This worked well transferring files from my computer to Switch. But when I try transferring files from my Android phone to Switch, Atmosphere crashes right before transfer is complete and file is not transferred. Anyone else encountered similar issue? Thanks in advance.
     
  7. Deobulakenyo

    Deobulakenyo GBAtemp Regular

    Member
    4
    Oct 8, 2018
    Philippines
    sorry for the late response. i attached the image of my windows version. It is version 1803 (Build 17134.885)

    my switch is on sxos beta 2.8 emunand

    tegra RCM works in pushing payload, even the mounting of the switch via UMTS tool in the tegra RCM app. I can use fluffy on PC to install games on switch via tinfoil over USB.

    i also uploade an image with explanation of what happens when the switch is connected via USB without any homebrew enabled and when i enable nxmtp.

    I was hoping to see switch under Other Devices so i can install MTP drivers for it but the switch only appears under Universal Serial Bus devices.

    Hope more technically oriented people here can help me.

    Thank you very much. Salamat

    Edit:
    *To add, if this is important, I am able to use my android phone connected as MTP to this same laptop I use.
    * I looked at the driver of the switch and it is not wpdmtp.inf but instead it is oem58.inf. i think this is key to the problem at hand.
    *final edit: I managed to solved the problem. I needed to delete the oem58.inf driver and the pc recognized the switch as MTP device
     

    Attached Files:

    Last edited by Deobulakenyo, Aug 9, 2019
  8. ganons

    ganons GBAtemp Addict

    Member
    7
    Jun 12, 2005
    @liuervehc Is it possible to prevent it from going to sleep (turning the screen off only) when games are being transferred as it disconnects the transfers.
     
  9. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    6
    May 30, 2016
    United States
    This used to always work well for me using Windows 10, but now all the suddenly transfers keep stopping and then cancelling it. I have to try like 10 times if it's above 1 gb, usually it'll make a noise and just cancel. Tried on two laptops. It's not because of sleep either I'm touching the screen to keep it awake during transfer.
     
    Last edited by EmulateLife, Aug 10, 2019
  10. sorabora

    sorabora GBAtemp Regular

    Member
    4
    Dec 8, 2016
    United States
    Works it macOS Catalina beta, fwiw.
     
  11. kornjaca200

    kornjaca200 Member

    Newcomer
    4
    Mar 2, 2017
    Netherlands
    I only use it for small files like savegames and homebrew apps, work like a charm.
     
    ELY_M likes this.
  12. toxic9

    toxic9 GBAtemp Advanced Fan

    Member
    4
    Dec 13, 2016
    does anyone knows when this will have >4Gb file support?
    I'm on exfat, and after 4Gb it crashes...
     
    Last edited by toxic9, Aug 12, 2019
  13. stick267

    stick267 GBAtemp Advanced Fan

    Member
    5
    Dec 17, 2018
    United States
    Never.
     
  14. toxic9

    toxic9 GBAtemp Advanced Fan

    Member
    4
    Dec 13, 2016
    Really?
    can we have access to the source code so we can finish it please?
     
  15. Draxzelex

    Draxzelex GBAtemp Legend

    Member
    18
    Aug 6, 2017
    United States
    New York City
    The >4 GB limitation is a limitation of MTP itself. You would need to port a different transfer system in order to be able to transfer files larger than 4 GB although I don't see what <4 GB files you would need to transfer.
     
    ELY_M likes this.
  16. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    The protocol it uses, mtp, doesn't support files over 4gb.
     
  17. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Try the Goldleaf/goldtree USB browser as it supports >4GB files.
     
    ELY_M likes this.
  18. JRoad

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    You're better off using bllawar's tinfoil with nut server for big transfers. The nutfs protocol allows transfers via usb of any file.
    You need to specifically add the nutfs protocol on the tinfoil side and you'll be able to see your pc folder on the switch.

    Is not exactly like that. Many misinformation is shared trough the internet about the mtp protocol. Is not an issue on the homebrew, the mtp protocol supports transfers bigger than 4GB but it must be handled pc side and is hard to handle, windows explorer for example doesn't handle it properly and sincerely i don't know any transfer utility that does. Maybe calibre, but i'm not sure.
    Bassicaly i attached the protocol documentation about how to handle transfers bigger than 4GB, which to be fair is pretty wonky to do.
    I read on a blog before how some dude implemented it using the 0xFFFFFFFF value in the containerlength field, as described on the protocol, and then he cut the transfer using the usb driver itself when all the file was transfered.
    Well, when i say pc side i mean on the senders side.

    MTP.PNG
     

    Attached Files:

    Last edited by JRoad, Aug 17, 2019
    hippy dave likes this.
  19. ELY_M

    ELY_M GBAtemp Regular

    Member
    5
    Dec 6, 2007
    United States
    any plans to release source code for this app?
     
  20. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
Loading...