Question Request tinfoil 0.2.1 patched for latest firmware

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

  1. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    It may stop working in a future Atmosphère update when the HID mitm is no longer being applied.

    It may be possible that there is a memory leak. This issue can't really be fixed easily because ubsan or Valgrind is not available.
     
    Last edited by uyjulian, Sep 16, 2019
  2. garco

    garco Advanced Member

    Newcomer
    5
    Jun 28, 2006
    Italy
    The "original" works well but if you notice, there are some glitch in text when install something. It works beacuse Atmosphere now provides a temporary hid-mitm that will cause homebrew to continue to work as expected, but it will be necessary to update the homebrew to the new libraries when the Atmos support will be not available
     
    skins20 likes this.
  3. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    5
    Jan 28, 2017
    United Kingdom
    Well as it’s working, I can conclude that you’re not doing anything wrong;)

    It’s working because of the tempory workaround that ams has added to allow homebrew to still work with input.

    The issue that ogfoil was having was that it could not be compiled because it was still using an old graphics lib and libnx had added another arg to pass for fs. It’s an incredibly easy fix as you just gut out all the old graphics lib functions and add the extra arg needed for fs.

    Hope that explains it.
     
  4. FanNintendo

    FanNintendo GBAtemp Advanced Fan

    Member
    5
    Apr 16, 2018
    United States
    Is New Nintendo Switch still hackable?
     
  5. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    No

    Also your post is not related to this topic
     
  6. xenon

    xenon GBAtemp Regular

    Member
    3
    May 19, 2006
    Italy
    Thanks guy, understood. So it's the HID issue - I assumed it was just broken.
     
    GnK23 likes this.
  7. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    @TotalJustice your new build makes everything better. Less crash on dlc but crashes on updates
     
    Last edited by GnK23, Sep 16, 2019
    TotalJustice likes this.
  8. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
  9. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
  10. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    Thank you everyone for helping me find and build an updated tinfoil. :yayswitch: Im happy to finally make it work. Its not perfect but does the job better than the other installers.
     
    garco likes this.
  11. garco

    garco Advanced Member

    Newcomer
    5
    Jun 28, 2006
    Italy
  12. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    I guess the ultimate version would be @blawar 's updated OG Tinfoil fork which has fixed SD installs and can be built with latest libnx (although someone said it disables nsp verification?), plus the fixes from this version from @satelliteseeker https://github.com/satelliteseeker/Tinfoil/releases/tag/v0.2.1-USB-fix which adds ignore firmware requirement option for usb installations and a more stable buffer size.

    The above version from satelliteseeker is still included with fluffy! satelliteseeker's newer "5.x USB fix2" should not be forked however as it has some weird nca padding added.
     
    Last edited by UnT7oh, Sep 16, 2019
  13. ModderFokker619

    ModderFokker619 GBAtemp Advanced Fan

    Member
    6
    Oct 2, 2015
    United States
    California
    9.0
    Kosmos
    Emunand

    Most games install fine with the exception of a few - Dead cells and Cadence to hyrule so far have issues - I can install them but error on launch. This has been happening with all installers that actually install them on 9.0
     
  14. blawar

    blawar Developer

    pip Developer
    11
    Nov 21, 2016
    United States
    buffer sizes are about performance not stability, I can add ignore firmware to USB install. you are right baout the weird padding stuff, i will not be adding that.

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

    your issue does not appear to be related to title installers.
     
  15. ModderFokker619

    ModderFokker619 GBAtemp Advanced Fan

    Member
    6
    Oct 2, 2015
    United States
    California

    Just tried on sysnand and same issue - Some games wont load after install and some do

    This user cannot play this software message

    Tried with atmo and kosmos both with new updated patches

    8.1.0 switch same nsp no issues

    Just tried same games on atmo 9.0 sysnand and same issue. Need another 9.0 switch to test out nsps

    Did a system initialize and fixed my issue - Sorry for being offtopic and hope this helps anyone ever having this problem.
     
    Last edited by ModderFokker619, Sep 16, 2019
  16. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    I changed buffer to 8MB and made the changes to replace GetCNMTNCAInfo with CreateNSPCNMTContentRecord.

    https://github.com/blawar/OG_Tinfoil/releases/download/v0.3.0/ogtinfoil.nro

    Differences from upstream:

    USB install only; all other features stripped
    Toggle between internal memory and TF card with X
    Toggle between enforcing and ignoring required firmware version with Y
    All files sent are installed; there is no menu selection for files to be installed
    Threading is removed
    USB packet padding is added for the drivers that require it to function properly
     
    Last edited by uyjulian, Nov 7, 2019
    GnK23 likes this.
  17. GnK23
    OP

    GnK23 GBAtemp Regular

    Member
    3
    Apr 6, 2016
    United States
    This so far is the king of all builds. It does not send the atmosphere to the blue screen when crashes. Simply exiting the app and restarting the transfer makes it work. No more going to the menu to install via usb. Just plug and transfer. Exits on its own after the transfer. Excellent Work! Very Stable!

    Edit:
    This has resolved the question on how to fix tinfoil's random crashes
     
    Last edited by GnK23, Sep 16, 2019
  18. Ericthegreat

    Ericthegreat Not New Member

    Member
    10
    Nov 8, 2008
    United States
    Vana'diel
    Yea, I have too, last few releases were fine though.
     
  19. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    Stability in terms of an issue people were having at the time- installations used to always fail on 5x firmware (I think) at 99% until the buffer size was reduced to 1MB in satelliteseeker's first build. I don't know and can't really remember if that issue persisted after 5x. Maybe you would know what would cause that problem in the first place? Since you're forking Adubbz original rather than the usbfix version it could be important.

    The second build he released with the padding was to fix some apparent corrupt installations, I don't really remember the details but obviously it wasn't a good solution. I've never had a corrupt installation with his first build anyway and that's why it's the one everyone has been using this entire time and is provided with fluffy.

    I see you have already added ignore firmware option to your build so that's great!

    By the way, someone said this in ReiSwitched discord:

    Is this correct?
     
    Last edited by UnT7oh, Sep 16, 2019
  20. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Last edited by uyjulian, Nov 7, 2019
    one-piece and GnK23 like this.
Quick Reply
Draft saved Draft deleted
Loading...