WIP Nx-USB

Sigma_Guy Nov 13, 2018.

  1. Sigma_Guy
    OP

    Sigma_Guy Member

    Newcomer
    2
    Nov 13, 2018
    United States
    Releases: https://github.com/ischeinkman/Nx-Usb/releases
    Repository: https://github.com/ischeinkman/Nx-Usb

    A program for transferring files to/from the SD card via USB.

    Changelog


    Version 0.1.0 (Initial Proof-of-Concept):
    • Slowly transfers files a kilobyte at a time between the Switch and computer.
    • Supports pulling a file from the Switch's SD card or pushing a file to the Switch's SD card.
    • UNTESTED whether it can even TOUCH any other file system; don't try if you don't want a possible brick.
    • WAY to many debug statements.
     
    Last edited by Sigma_Guy, Nov 16, 2018
  2. Sigma_Guy
    OP

    Sigma_Guy Member

    Newcomer
    2
    Nov 13, 2018
    United States
    Huh; seems GBAtemp isn't letting me post the repo right now. Weird.

    Should be easy to find if you search for ischeinkman/Nx-USB on Github though.
     
    Last edited by Sigma_Guy, Nov 13, 2018
    Red1Reaper likes this.
  3. iCEQB

    iCEQB GBAtemp Advanced Fan

    Member
    8
    Nov 2, 2013
    United States
    Very nice !
    What are the chances to implement it as a kip so it's always running ?
     
  4. lordelan

    lordelan GBAtemp Psycho!

    Member
    12
    Jan 4, 2015
    Germany
    We already have memloader but it sounds like your solution is usable while Horizon is booted?
     
  5. Sigma_Guy
    OP

    Sigma_Guy Member

    Newcomer
    2
    Nov 13, 2018
    United States
    Yup. The Switch component is just an NRO. I specifically made this to push homebrew builds to the Switch without WiFi or rebooting.
     
  6. TR_mahmutpek

    TR_mahmutpek medic

    Member
    7
    Jul 28, 2015
    Turkey
    We need this! I'm done with ejecting sd cards..
     
  7. Sigma_Guy
    OP

    Sigma_Guy Member

    Newcomer
    2
    Nov 13, 2018
    United States
    To be honest, I don't know the first think about KIP implementation. Not to mention the entire thing is written in Rust using the normal Standard Library, which assumes a whole lot of things that I don't know if a kip is allowed to assume.
     
    Seelbreaker and Red1Reaper like this.
  8. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Seelbreaker and HoTsHoTz79 like this.
  9. Ty_

    Ty_ GBAtemp Fan

    Member
    6
    May 22, 2018
    United Kingdom
    Nice, I shall be keeping an eye on this.
     
    Seelbreaker likes this.
  10. proffk

    proffk GBAtemp Fan

    Member
    5
    Aug 14, 2013
    United States
    I second that.
     
    Seelbreaker, Ty_ and TR_mahmutpek like this.
  11. PatrickD85

    PatrickD85 GBAtemp Advanced Fan

    Member
    6
    Jul 4, 2012
    Netherlands
    in front of a screen...
    Hmm this is focused on the micro sd right?
    I would love to see something which goes beyond that ... and can check the different partitions of the Nand.(While not having to dump the Nand etc)
     
  12. TamarindoJuice

    TamarindoJuice GBAtemp Regular

    Member
    5
    Jan 30, 2016
    Brazil
    Theres any chance of a brick or anything like that? If i'm not wrong i saw some guy having trouble with memloader some months ago, is it secure to use?
     
  13. HoTsHoTz79

    HoTsHoTz79 GBAtemp Regular

    Member
    4
    May 9, 2018
    Canada
    I was looking into the Tinfoil (Goldleaf) USB installer python code... and it basically does the same thing 'transfer files over Horizon OS via USB'... but you cant pick and choose files (like roms etc) ... instead it extracts the NSP and transfers. Not sure if you want to look into that code and see if it helps you? i had a solid 16MB/sec transfer rate

    But this is exactly what we all need... so looking for it
     
    Assasin1990 likes this.
  14. 0reo

    0reo Member

    Newcomer
    4
    Jul 30, 2012
    United States
    If you are looking for rock-solid reliability, I'd wait for a later release. As with any unrefined software you are taking risk in running it.
     
    TamarindoJuice likes this.
  15. Sigma_Guy
    OP

    Sigma_Guy Member

    Newcomer
    2
    Nov 13, 2018
    United States
    In theory if you are not doing anything weird like going out of your way to overwrite the NAND or anything like that it should not be possible to brick.

    In practice this thing is completely untested so who knows ¯\_(ツ)_/¯.

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

    Thanks! From what I understand I can't post links until I hit 10 other posts, right?
     
    Red1Reaper and hippy dave like this.
  16. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    10
    Oct 22, 2011
    Gambia, The
    Correct
     
  17. iriez

    iriez GBAtemp Fan

    Member
    8
    Oct 27, 2016
    United States
    Thanks Sigma_Guy. I've added your repo into xbins tracker, so as soon as you post a release we will propagate the info/files for you :) Thank you for working on this, we need more basic usb functionality outside of what xecuter has done for their OS.

    Thanks for doing this!
     
  18. Sigma_Guy
    OP

    Sigma_Guy Member

    Newcomer
    2
    Nov 13, 2018
    United States
    I've never heard of xbins-- is that an alternative app store repo?

    Either way, there's already an alpha release posted on the Github -- I just can't link it here yet because of my GBAtemp account status.
     
    Red1Reaper likes this.
  19. Codiox

    Codiox GBAtemp Regular

    Member
    5
    Jan 19, 2016
    South Africa
    Keep up the good work! This is the stuff we need!

    Thank you very much!
     
  20. iriez

    iriez GBAtemp Fan

    Member
    8
    Oct 27, 2016
    United States
    Yup been around long before the app store ;) I've thought about making a app linking to our server like the app store, but really can't be bothered atm. We have ran a file distribution center since the early 2000's, popular primarly for xbox, but we do other consoles as well. The switch is the best console of all time IMO so it gets lots of TLC.
     
    cpasjuste likes this.
Quick Reply
Draft saved Draft deleted