RELEASE SwitchGuide-Updater

Ev1l0rd Oct 30, 2018.

  1. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    This is an updater for Atmosphere + Hekate + Homebrew Launcher.

    icon.

    It does not install Atmosphere or Hekate. To do that, you should follow switchguide.xyz. This program instead updates the following files:

    • fusee-primary and fusee-secondary. (The main components of Atmosphere containing the bootloader and KIP files.)
    • bundled atmosphere exefs replacements. (creport, FW version string, fatal are amongst these.)
    • update.bin (Hekate 4.x+ loads update.bin if it exists.)

    Written using pyNX.

    To use this:
    1. Install pyNX using the Homebrew browser.
    2. Download switchguideupdater.py from the URL below.
    3. Copy it to your SD to the switch/pyNX folder
    4. Run pyNX from the HBL and select switchguideupdater.py.

    You'll need to run the updater at least once for both Hekate and Atmosphere to make it save the current version.

    Download(switchbru) (GBATemp download center) | Source code | Serverside source code

    Credits:
    • pyNX discord for helping me out with using pyNX/imgui.

    Screenshot
     
    Last edited by Ev1l0rd, Dec 2, 2018
  2. Draxzelex

    Draxzelex GBAtemp Legend

    Member
    18
    Aug 6, 2017
    United States
    New York City
    Actually creport is not enabled through LayeredFS but through the loader sysmodule. It reads the exefs from the SD card and replaces it on the console. In case you don't believe me, try loading creport without fs_mitm.kip with V1.0 of kezplez-nx; the crash report will still redirect to the SD card. Its also why SX OS does not support creport because they're loader sysmodule is not designed to do so.
     
    XxShalevElimelechxX likes this.
  3. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    Removed, my mistake.
     
    Draxzelex likes this.
  4. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Nice, i was thinking we need one of these.

    I'm assuming "3ds/pyNX folder" in op is meant to be "switch/pyNX folder".

    The files you mention for atmosphere, are they the only ones that get updated, or if not would you consider adding others as necessary? I haven't looked at the source yet but I assume your server code is grabbing & unzipping the latest atmosphere release so it can serve the individual files to the client.
     
  5. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    Pretty much, yeah. And that mistake was corrected, thanks.

    It downloads and extracts the Atmosphere and Hekate release (from Hekate it only extracts hekate_ctcaer.bin and from Atmosphere it extracts fusee-primary, fusee-secondary and creport).

    Only reason I'm not using the GitHub API directly rn is because libssl doesn't work yet on PyNX. Once that is available, I'll get rid of the server component entirely.
     
    Last edited by Ev1l0rd, Oct 30, 2018
    hippy dave likes this.
  6. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    1.1.0 released.

    Changelog:
    • self-updater added, script can now properly accomodate for changes between releases without being reliant on updating the script manually. (Note: ServerScripts have been changed to accomodate.)
    • Tracebacks are now fully printed to the screen, instead of just the Exception. This should make troubleshooting slightly easier.

    It's highly advised to update to this version as it permits me to easily update/change the script to accommodate for new files that might need updating in future Atmosphere/Hekate releases.
     
    hippy dave likes this.
  7. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    1.1.1 released.

    Changelog:
    • Add the boot2 exefs kip from the 0.7.4 release.
      • This fixes a minor issue where users that updated to Atmosphere 0.7.4 would no longer be able to see that they launched Atmosphere in the settings. Users who already updated should update again to get this kip.
    This release is why I added the self-updater. The program will prompt you if you want to update on start.
     
    n0v317y and hippy dave like this.
  8. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    New update kindof not really:
    • Program is on the https://www.switchbru.com/appstore/#/app/SwitchGuide-Updater now. Also theres now a logo for it (kindof, my GIMP skills aren't the best, if anyone can make something better, I'll gladly take it). You can see it to at the top of the thread.
    • Added a screenshot to the thread for anyone who wants to see how it looks before downloading.
    Not really any program changes, but this is still worth adding.
     
    n0v317y and hippy dave like this.
  9. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    New update:
    • Added fatal module (new in Atmosphere 0.8.0) to the list of updated files.
    • Functionized the file downloading since code repetition be bad.
    If you want to update to 6.2, update first with this updater, then update through system settings or however you update your system.
     
    hippy dave likes this.
  10. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    New update (I'm on a roll!):
    • Added updating nx-hbloader.
    • Added updating nx-hbmenu.
     
    hippy dave likes this.
  11. Ev1l0rd
    OP

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    10
    Oct 26, 2015
    Netherlands
    Site 19
    Update 1.4.0 released.

    This changes some stuff for a couple of undocumented changes in file locations for Atmosphere 0.8.2.

    Changelog:
    • Remove BCT.ini from sdroot if it exists
    • Remove fusee-primary.bin from sdroot if it exists
    • Remove fusee-secondary.bin from sdroot if it exists
    • Update hekate_ipl if fusee primary was changed.
    • Change file locations of fusee-primary and fusee-secondary.
     
    hippy dave likes this.
Quick Reply
Draft saved Draft deleted
Loading...