Question Request tinfoil 0.2.1 patched for latest firmware

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by GnK23, Sep 15, 2019.

  1. KnightRiderX420

    KnightRiderX420 GBAtemp Regular

    Member
    3
    GBAtemp Patron
    KnightRiderX420 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 24, 2018
    United States
    if i need a stripped down ver i use either lythium or goldleaf i have instaled nsps both old and fairly nee i.e. "astral" is an example. via nut and it works fine for me as i have wireless ac so speed aint the issue....
     
    GnK23 likes this.
  2. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    okay...

    not related to the thread though is it?
     
    Garou likes this.
  3. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    any idea how to fix this error during compile?
    error: 'gfxInitDefault' was not declared in this scope
    gfxInitDefault();
     
  4. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Wrong branch. Try "git checkout origin/thinfoil"
     
    GnK23 likes this.
  5. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    Last edited by TotalJustice, Sep 16, 2019
    hippy dave and GnK23 like this.
  6. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    edit. duplicate
     
  7. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    Thanks but a new error
    Tinfoil-thinfoil/source/nx/fs.cpp:23:67: error: too few arguments to function 'Result fsFileRead(FsFile*, u64, void*, size_t, u32, size_t*)'
    ASSERT_OK(fsFileRead(&m_file, offset, buf, size, &sizeRead), "Failed to read file");
     
  8. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    ... yeah, that's an issue on my side. It's been fixed.
     
    Last edited by uyjulian, Sep 16, 2019
  9. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    Change the line to
    ASSERT_OK(fsFileRead(&m_file, offset, buf, size, FS_READOPTION_NONE, &sizeRead), "Failed to read file");
     
  10. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    Thanks will test later after charging my switch
     
  11. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    I tested your version of tinfoil. It runs but sadly slow transfer rate. only 0.49mbps.
     
  12. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Internal memory or TF card?
     
  13. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    @TotalJustice I tested your build and it's working. No information however was shown on the switch screen of the installtion progress.. Just hangs on the destinaton selection until it is finished. The build was able to install nsp.

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

    Both. I'm not really sure because I tried it twice. The second time I pressed X to change the destination but still same speed. By the way is there a way to know which destination is chosen?
     
    Last edited by GnK23, Sep 16, 2019
    TotalJustice likes this.
  14. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Yeah I noticed when I browsed the commit that it was missing a consoleUpdate command during install. Was that deliberate, is that what stops it from breaking? Or is there another change I didn't spot?
     
    TotalJustice likes this.
  15. Ericthegreat

    Ericthegreat Not New Member

    Member
    10
    Nov 8, 2008
    United States
    Vana'diel
    Goldleaf/GoldTree for USB installs guys....
     
  16. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Yeah that's already been suggested, thanks... I'll try the latest build again sometime, but I've always had problems with past builds I've tried, whereas the build of real tinfoil I've been using has worked flawlessly since its release.
     
  17. OrGoN3

    OrGoN3 GBAtemp Addict

    Member
    9
    Apr 23, 2007
    United States
    Which one have you been using?
     
  18. sj33

    sj33 GBAtemp Psycho!

    Member
    13
    Oct 22, 2013
    Japan
    More than a few people just prefer classic tinfoil without all the extra bells and whistles.
     
    Garou and GnK23 like this.
  19. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    Perhaps the key to a stable tinfoil 0.2.1 is the buffer or speed of transfer. Fastest transfer I saw before was 36mbps maybe if we could somehow force it to stay on 20-25mbps then it will be stable. Still relatively faster than goldleaf's 16mbs. I also notice that all the builds crash if there is DLC in the que

    @uyjulian @hippy dave @TotalJustice @8BitWonder
     
    Last edited by GnK23, Sep 16, 2019
  20. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    Good find! I was sure that I added all consoleUpdates that needed to be there, well looks like missed one haha.

    Thank you for letting me know, I’ll add it in a few mins.
     
    hippy dave likes this.
  21. xenon

    xenon GBAtemp Regular

    Member
    3
    May 19, 2006
    Italy
    Guys, I just updated to atmo 0.9.4 (clean) and then to firmware 9.0.0, but Tinfoil 0.2.1 (USB fix) still works for me. Am I doing something wrong/right? :)
     
Quick Reply
Draft saved Draft deleted
Loading...