RELEASE Awoo Installer - A No-Bullshit NSP/NSZ/XCI/XCZ Installer Based on Tinfoil

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Huntereb, Nov 10, 2019.

  1. Huntereb
    OP

    Huntereb GBAtemp Psycho!

    Member
    10
    Sep 1, 2013
    United States
  2. whateverg1012

    whateverg1012 Fringe Weaver

    Member
    7
    Sep 23, 2016
    United States
    VA-11 Hall-A
    A stable implementation of USB install? I can't believe it.
     
  3. tivanh

    tivanh GBAtemp Regular

    Member
    3
    Sep 14, 2009
    .nsz files are having issues. Some work others do not. All of those tested do however work when decompressed on the pc first. I haven’t dug into it but I think the ticket is being missed on those failing.
     
  4. terraplen

    terraplen Member

    Newcomer
    1
    Nov 1, 2019
    Brazil
    just use tinfoil instead
     
  5. anhminh

    anhminh Pirate since 2010

    Member
    9
    Sep 30, 2010
    Vietnam
    What program is used to install .nsz over network?
     
  6. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
    Are you implying that the existing title installers dont have stable USB? Only goldleaf, afaik has unstable USB.
     
    TotalJustice likes this.
  7. kongsnutz

    kongsnutz QuickTimeEvent

    Member
    6
    Jul 19, 2008
    This is great @Huntereb just waiting on USB installs now :P
     
  8. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    11
    Oct 10, 2015
    Mexico
    Blaware is unsupported
     
  9. wizra

    wizra GBAtemp Regular

    Member
    5
    Mar 7, 2009
    Installing at 15-20mb/s has been around for ages. When I copy an NSP or XCI to my SD card with laptop, it copes at 45mb/s. Why can't we install at that speed over USB? Especially with USB 3.0 being extremely common nowadays.
     
  10. duckbill007

    duckbill007 Advanced Member

    Newcomer
    5
    May 5, 2011
    Russia
    Why so slow? I am installing xci via nsusbloader+dbi at 50-55 mb/sec
     
    wizra likes this.
  11. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    I know right?
     
  12. Huntereb
    OP

    Huntereb GBAtemp Psycho!

    Member
    10
    Sep 1, 2013
    United States
    Believe it or not, my machines don't have USB 3.0!

    I use LAN installations with an ethernet adapter primarily. Less issues on my end, and the only thing inhibiting speed is my SD card controller.
     
  13. duckbill007

    duckbill007 Advanced Member

    Newcomer
    5
    May 5, 2011
    Russia
    USB 2.0 bandwidth is 480 mbit/sec ~60MB/sec

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

    If you implement correct 2 thread read/write with sync via mutexes and locks and not inf.loops with polling variable as in OGTinfoil you'll get 45-50 Mb/sec even on USB2.0
     
  14. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
    No you do not, you are capped right around 40 MB/sec even if you just free wheel the usb transfer. 60 MB/sec is the theoretical max that not even a full fledged PC will hit.

    You may or may not actually be aware of this, but your method of using mutexes to block is just polling with extra steps, and is not superior from a performance standpoint.

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

    I suspect your issue is you are calculating the speed incorrectly.

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

    This is not true, your ethernet card will be the bottleneck well before the SD card controller. This is for a variety of reasons, but one of the big ones is due to the polling nature of USB / cpu interrupts, coupled with the fact that network packets are generally not as consistent as we would like.

    Your SD card can write 70 MB/sec with a fast SD card, Ethernet is lucky to hit 30 MB/sec, most people get 15 - 25MB depending on their network equipment.

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

    You can install at ~40 MB/sec, using either Tinfoil (except OG Tinfoil that was modified by brainlets to remove the threading).
     
  15. tinkle
    This message by tinkle has been removed from public view by linuxares, Dec 4, 2019, Reason: off-topic.
    Dec 3, 2019
  16. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
    it doesn’t support anything but Nut because i was not confident existing gold leaf usb installers would add the minimal changes for nsz files. The switch scene has a way to be very political, and i was purely trying to solve a very specific problem.

    Nut protocol is open source, i can submit a PR to you to support it if you wish. It’s a very stable api, this scene really should standardize this stuff, but politics you know.

    -removed for reply to deleted post-
     
    Last edited by linuxares, Dec 4, 2019 - Reason: Just edited the removed post
  17. wurstpistole
    This message by wurstpistole has been removed from public view by linuxares, Dec 4, 2019, Reason: off-topic.
    Dec 3, 2019
  18. blawar
    This message by blawar has been removed from public view by linuxares, Dec 4, 2019, Reason: off-topic.
    Dec 3, 2019
  19. intellettuanale

    intellettuanale GBAtemp Regular

    Member
    4
    Feb 25, 2017
    Italy
    How to download from a gdrive link?
     
  20. tinkle
    This message by tinkle has been removed from public view by linuxares, Dec 4, 2019, Reason: off-topic.
    Dec 4, 2019
  21. wurstpistole
    This message by wurstpistole has been removed from public view by linuxares, Dec 4, 2019, Reason: off-topic.
    Dec 4, 2019
  22. tinkle
    This message by tinkle has been removed from public view by linuxares, Dec 4, 2019, Reason: off-topic.
    Dec 4, 2019
  23. linuxares
    This message by linuxares has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  24. tinkle
    This message by tinkle has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  25. linuxares
    This message by linuxares has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  26. tivanh
    This message by tivanh has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  27. johnma2
    This message by johnma2 has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  28. wurstpistole
    This message by wurstpistole has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  29. blawar
    This message by blawar has been removed from public view by Foxi4, Dec 4, 2019, Reason: Off-topic.
    Dec 4, 2019
  30. Foxi4

    Foxi4 On the hunt...

    Supervisor
    28
    Sep 13, 2009
    Poland
    Gaming Grotto
    Of all the things people could possibly be offended by you choose a meme picture that you can't even *see* in the application at all and had to go out of your way to discover? Okay.

    I've nuked every single post that's off-topic, I urge users to stick to the topic going forward. @blawar offered a compelling explanation of the origin of the meme and doesn't seem bothered by it - he made a mistake and people are clowning on him, this is a story as old as time. Hopefully it will be a learning experience as far as sharing personal pictures online is concerned.

    @Huntereb can choose to remove the picture from the code base or not, it's not up to us to decide. Either way, the offending picture is not hosted on our site. This is far beyond our purview.

    That is all. I don't want to hear one more word about the issue - if people are unable to just close the tab when they see something that gets their panties in a bunch, I am more than happy to give them a little vacation if that's what they need to relax. Decisions made by the moderation staff are *final* and not up to debate.
     
  31. yikkyon

    yikkyon GBAtemp Regular

    Member
    5
    Sep 20, 2008
    United States
    I like this app. It does a good job.
     
  32. johnma2

    johnma2 Advanced Member

    Newcomer
    1
    Apr 14, 2018
    United States
    Thank you for doing that. I really appreciate it.
     
  33. duckbill007

    duckbill007 Advanced Member

    Newcomer
    5
    May 5, 2011
    Russia
    install code has casting from NcmContentId to NcmPlaceholderId. Note that these structs has different alignment. You can get troubles.
     
Quick Reply
Draft saved Draft deleted
Loading...