Code Monkey home page Code Monkey logo

hiyacfw-helper's Introduction

HiyaCFW-Helper

In order to make things easier for me, and because I don't have Windows, I edited the HiyaCFW Helper Python script by jerbear64 and LmN in order to add a graphical user interface to it.

Screenshot

What it does:

  • Allows you to browse for your NAND backup, no need to place it at the same folder.
  • Shows the option to choose the output destination, which should be a (preferably empty) FAT formatted SD card or any other folder.
  • Downloads the latest HiyaCFW release and decompress it.
  • Autodetects the console region from the NAND dump, downloads and decrypts its v512 launcher.
  • Creates the patched 00000002.app and bootloader.nds for the custom firmware.
  • Uses your platform's twltool (binaries for Linux and MacOS included) to decrypt the NAND.
  • Mounts the decrypted NAND (OSFMount required for Windows) and extracts it to the chosen output destination.
  • Installs the HiyaCFW and the patched files on the chosen output destination.
  • (Optional) installs the latest release of TWiLightMenu++ on the chosen output destination.

NAND mode:

Clicking on the integrated circuit button will give you a NAND mode, where you can uninstall unlaunch or install its v1.4 stable release, remove the No$GBA footer or add it. Recommended only for those with a hardmod.

Requirements:

Windows:

  • OSFMount.
  • You will need to run the HiyaCFW_Helper.exe file as administrator in order to mount the decrypted NAND.

Linux:

  • Python >3.5 with the Tk library (I had to do sudo apt-get install python3-tk -y in my LUbuntu virtual machine; sudo dnf install python3-tkinter in Fedora).
  • You will need to run the script as sudo in order to mount the decrypted NAND.

MacOS:

  • Python >3.5, you can install it with homebrew (install homebrew by running /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" in a terminal window, then brew install python).
  • Go to Applications > Python 3.<version> and run Install Certificates.command. This will avoid the "Could not get HiyaCFW" error.

What it includes:

  • 7za binaries for Windows, Linux and MacOS. It's used to decompress the HiyaCFW latest release as @RocketRobz uploaded it as a 7z archive. Compiled from the kornelski's GitHub repo.
  • twltool binaries for Windows, Linux and MacOS. Compiled from the WinterMute's GitHub repo.
  • NDS bootloader creator binaries for Linux and MacOS (based off devkitPro's ndstool v1.27). Compiled from my GitHub repo. For Windows the ndstool included with HiyaCFW is used.
  • fatattr binary for Linux. It's used for setting FAT attributes when writing to the FAT formatted SD card or in NAND mode. Compiled from the Terseus' GitHub repo.

How to use it:

Windows:

  • Go to the helper's folder.
  • Right-click on the HiyaCFW_Helper.exe file and click Run as administrator.

Linux:

  • Open a terminal.
  • cd to the helper's folder (cd ~/Downloads/HiyaCFW-Helper or whatever).
  • Run sudo ./HiyaCFW_Helper.py.

MacOS:

  • Open a Terminal (โŒ˜+Space and write terminal).
  • cd to the helper's folder (cd ~/Downloads/HiyaCFW-Helper or whatever).
  • Run ./HiyaCFW_Helper.py.

Thanks to:

Download it from the releases page.

hiyacfw-helper's People

Contributors

epicpkmn11 avatar lito773 avatar mondul avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.