RELEASE Thinfoil - stripped down fork of Tinfoil

uyjulian Sep 17, 2019.

  1. uyjulian
    OP

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Maybe 400mb buffer will increase the speed?

    I might release versions with threads just for the heck of it.

    I'm satisfied with my work right now since it is stable. I'm not really looking for speed since I can do other things anyway.
     
    Last edited by uyjulian, Sep 17, 2019
    GnK23 likes this.
  2. designgears

    designgears GBAtemp Regular

    Member
    4
    Aug 8, 2016
    United States
    6a0120a85dcdae970b0128776ff992970c-pi.

    Jokes aside, assuming you pulled the single threaded code from pabdulin's github, revert those bits and you'd get the speed back.
     
    Last edited by designgears, Sep 17, 2019
  3. duckbill007

    duckbill007 Advanced Member

    Newcomer
    4
    May 5, 2011
    Russia
    I already wrote many times that crashes caused by absence of synchronization in threaded code. Infinite loops in waiting for non-atomic vars is not a sync!
     
    GnK23 likes this.
  4. GnK23

    GnK23 Advanced Member

    Newcomer
    3
    Apr 6, 2016
    United States
    So the single thread really helps preventing crashes. Nice! :yayswitch: This proves a lot.
     
  5. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    I don't know what build of tinfoil you have been using but everyone has been using this one for a year and it never crashes, never has a corrupt installation and is fast: https://github.com/satelliteseeker/Tinfoil/releases/tag/v0.2.1-USB-fix

    Of course it can not be compiled with libnx 2.5 in its current state so it will stop working when Atmosphere removes the temporary hid-mitm in the future.
     
    Assasin1990 likes this.
  6. GnK23

    GnK23 Advanced Member

    Newcomer
    3
    Apr 6, 2016
    United States
    I have tested it extensively by installing dlc and updates. We have another thread about hid-mitm and the crashing issue. It was already resolved that's why we have the thinfoil.
     
  7. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    No, you seem to have no idea what you're talking about.
     
  8. GnK23

    GnK23 Advanced Member

    Newcomer
    3
    Apr 6, 2016
    United States
    Last edited by GnK23, Sep 17, 2019
  9. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    This matters only when reading from SD and writing to NAND.
    FS internally has all access to read/write for a given SDMMC device mutex locked anyway.
    If its only about that, there should be no real difference compared to the old ver on any emunand impl.
     
    SaulFemm likes this.
  10. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
    It is not about internal synchronization. It is about reads blocking writes and vice versa. any writing downtime while waiting for a usb read to complete cannot be recovered later, it manifests as slower transfer speed.
     
    designgears likes this.
  11. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Oh yea, didn't see this was about USB.
     
    designgears likes this.
  12. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Do you have a thinfoil build with unmodified networking, so I can use it with NS-USBloader? Would appreciate it if you do, save me the effort of fitting it together myself :)
     
  13. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
    isnt that just called tinfoil? This has to go up in #stupidshit
     
    designgears and Reecey like this.
  14. uyjulian
    OP

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Sorry, the networking code is deleted in my fork.
     
  15. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    No menus, dumbass.

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

    Oh I meant USB "networking", the buffers & threading, whatever.
     
    Last edited by hippy dave, Sep 18, 2019
  16. uyjulian
    OP

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    I may do that at a later time, but it isn't high in my priority list.
     
  17. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Ok no probs, thanks for the thinning anyway :)
     
  18. jammybudga777

    jammybudga777 GBAtemp Addict

    Member
    8
    Aug 23, 2013
    using aluminumfoil on tinfoil and tried goldleaf it just hangs. never had problems before now. even tried quarty but always hangs when its about to install the nsp
     
    Last edited by jammybudga777, Sep 18, 2019
  19. uyjulian
    OP

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    try NS-USBLoader
     
  20. jammybudga777

    jammybudga777 GBAtemp Addict

    Member
    8
    Aug 23, 2013
    thanks. works perfectly now.
     
    Last edited by jammybudga777, Sep 18, 2019
Quick Reply
Draft saved Draft deleted
Loading...