All Projects → XorTroll → Goldleaf

XorTroll / Goldleaf

Licence: gpl-3.0
🍂 Multipurpose homebrew tool for Nintendo Switch

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Goldleaf

switch-cmake
CMake toolchain for Nintendo Switch homebrew development
Stars: ✭ 38 (-98.12%)
Mutual labels:  homebrew, nintendo, switch, nx, nintendo-switch, libnx
sys-clk-Overlay
Editor for your sys-clk configuration using ovl-loader!
Stars: ✭ 53 (-97.38%)
Mutual labels:  homebrew, nintendo, switch, nx, nintendo-switch
Vba M Nx
WIP full featured port of VBA-M for Nintendo Switch
Stars: ✭ 11 (-99.46%)
Mutual labels:  switch, homebrew, nintendo, nintendo-switch
Nx Shell
A multi-purpose file manager for the Nintendo Switch.
Stars: ✭ 639 (-68.46%)
Mutual labels:  switch, homebrew, nintendo, nintendo-switch
Homebrew-Guide
Guide for getting CFW setup on your Nintendo Switch (And Wii U)
Stars: ✭ 104 (-94.87%)
Mutual labels:  homebrew, nintendo, switch, nintendo-switch
Hydrosphere
Ocean beyond the Horizon
Stars: ✭ 17 (-99.16%)
Mutual labels:  switch, homebrew, nintendo, nintendo-switch
nx
Userland library for Nintendo Switch homebrew (and other potential purposes), written in pure Rust and some assembly bits
Stars: ✭ 67 (-96.69%)
Mutual labels:  homebrew, nintendo, switch, nintendo-switch
eBookReaderNX
A Nintendo Switch eBook Reader
Stars: ✭ 15 (-99.26%)
Mutual labels:  homebrew, nintendo, switch, nx
Switchthemeinjector
Create custom themes for the nintendo switch !
Stars: ✭ 436 (-78.48%)
Mutual labels:  switch, homebrew, nintendo-switch
Rekado
Payload launcher and serial number checker for Nintendo Switch
Stars: ✭ 455 (-77.54%)
Mutual labels:  switch, nintendo, nintendo-switch
Nintendo Switch Eshop
Crawler for Nintendo Switch eShop
Stars: ✭ 463 (-77.15%)
Mutual labels:  switch, nintendo, nintendo-switch
Capturesight
Applet and Overlay to view Pokemon, Raid seeds, Future shiny frames/IVs, and more!
Stars: ✭ 81 (-96%)
Mutual labels:  switch, homebrew, nintendo
Jksv
Data Tool For Switch
Stars: ✭ 388 (-80.85%)
Mutual labels:  homebrew, nintendo, nintendo-switch
Sys Clk Editor
Editor for your sys-clk configuration!
Stars: ✭ 89 (-95.61%)
Mutual labels:  homebrew, nintendo, nintendo-switch
Edizon cheatsconfigsandscripts
The official EdiZon Editor Config and Editor Script repository.
Stars: ✭ 271 (-86.62%)
Mutual labels:  switch, homebrew, nintendo
Sysdvr
Stream switch games to your PC via USB or network
Stars: ✭ 523 (-74.19%)
Mutual labels:  switch, homebrew, nintendo-switch
Road To Yuzu Without Switch
This Repo explains how to install the Yuzu Switch Emulator without a Switch
Stars: ✭ 267 (-86.82%)
Mutual labels:  switch, nintendo, nintendo-switch
Deepsea
The new All-in-One CFW package for the Nintendo Switch.
Stars: ✭ 488 (-75.91%)
Mutual labels:  switch, nintendo, nintendo-switch
Ghidra Switch Loader
Nintendo Switch loader for Ghidra
Stars: ✭ 146 (-92.79%)
Mutual labels:  switch, nintendo, nintendo-switch
Vba Next Switch
Libretro VBA-Next port for Switch. **Don't use this, see readme!**
Stars: ✭ 110 (-94.57%)
Mutual labels:  homebrew, nintendo, nintendo-switch

Goldleaf

LatestVer Releases License (thanks for 1M downloads 💜)

Goldleaf is multipurpose homebrew tool for Nintendo Switch.

drawing drawing drawing

drawing drawing drawing

drawing drawing

Table of contents

  1. Features
  2. Disclaimer
  3. Quark and remote browsing
  4. Settings
  5. Known bugs
  6. Building
  7. Contributing
  8. Credits and support

Having any issues? Check our FAQ for help!

Download it from here!


Do you like my work? Become a patron and support it!

Features

Goldleaf's concept is very similar to FBI's, a Nintendo 3DS homebrew tool.

  • Content explorer: An easy-to-use but fully featured filesystem browser.

    • Supported locations/devices:

      • SD card

      • Console memory (SAVE, SYSTEM, USER and PRODINFOF partitions)

      • Remote systems (via remote tools like Quark)

      • USB drives (thanks to libusbhsfs)

      • Game savedata (check below how to mount it)

      Note: game savedata will be automatically unmounted when Goldleaf is exited

    • Features:

      • Basic file operations: create, delete, copy, rename, view as hex/text, get size, etc.

      • Basic directory operations: create, delete, copy, rename, (un)set archive bit, get full size, etc.

      • Install NSP packages as applications/games, updates, etc. (Note: use this carefully and make sure you know what you're doing)

      • Launch other NRO homebrews

      • Execute .bin files as RCM payloads

      • Set JPG/JPEG files as user icons (Note: use this carefully and make sure you know what you're doing)

      • // TODO: more

  • Content manager: an easy-to-use but fully featured content manager:

    • Basic content (application/title, update, DLC, etc.) operations:

      • View content information (ID, size, version, play stats...)

      • Uninstall/completely remove the content (won't remove savedata)

      • Export to NSP package

      • Mount savedata to navigate it (check the Content explorer above)

      • Remove ticket if present (Note: use this carefully and make sure you know what you're doing)

      • Reset launch version (useful to be able to play a base game after an update has been removed)

      Note: some of this operations are not available with system titles or gamecart titles.

    • Check unused tickets, and remove them (Note: use this carefully and make sure you know what you're doing)

  • Web browser: makes use of the console's web applet:

    • Browse user-submitted URLs

    • Create and save bookmarks

  • Account manager: select a user (or uses the selected one) and manage it:

    • Change nickname

    • Delete user (only if there is more than one in the system)

    Note: to change the user's icon, check the Content explorer above

  • Amiibo dump: create a virtual amiibo (for emuiibo) from a real amiibo figure.

  • Settings: check both system and Goldleaf settings:

    • Firmware and updates:

      • Check current firmware information (version, hash, key generation)

      • Check for pending updates, and remove them if present

      • Export current firmware or pending update data

    • Memory: check free and total space on different locations

    • Goldleaf settings: check settings present in settings.json

  • Updates: check for latest Goldleaf updates, and if a new release is out, update to it

  • About: check Goldleaf's version and how it was launched (as an applet or an application)

Goldleaf currently supports 8 different languages: English, Spanish, German, French, Italian, Dutch, Japanese, Portuguese and simplified Chinese.

Controls

  • Common:

    • (LR-stick / R-stick / D-pad): Move through the current menu

    • (ZL / ZR): Show a dialog to shut down or reboot the console.

    • (Minus / -): Show a dialog with this control information.

    • (Plus / +): Exit the application in order to return to hbmenu.

  • Content explorer:

    • (X): Unmount the selected location (only when a savedata location is selected)

    • (Y): Select folder (might take some time with folders with many sub-items)

Disclaimer

NSP installs

Always keep in mind that installing NSP packages can be a very easy way to get banned. If you use airplane mode and special DNSs like 90DNS, there is a smaller chance to get banned.

NEVER install untrusted NSPs. Goldleaf doesn't do any special verification, so please be very careful about installing untrusted packages.

Tickets

Tickets represent a game purchase - technically speaking, you can't launch a title if the ticket isn't present and the title requires it (official titles require them). NSP packages which don't have (nor require) a ticket are standard-crypto.

Goldleaf will display whether a ticket is present or not, and if so, it's titlekey. Titlekeys are required to decrypt and access a title's content. Otherwise, they are undecryptable, hence unlaunchable by the system.

Quark and remote browsing

Quark is a PC tool, with a fancy UI and made in Java, in order to help Goldleaf with the remote PC option. It supports Windows, Linux and Mac.

For details about how to properly setup Quark and USB, check this small guide.

Settings

Goldleaf supports the customization of colors, assets and other options via a JSON file located at Goldleaf's folder: sd:/switch/Goldleaf/settings.json.

Sample

This is an example JSON for Goldleaf settings:

{
    "general": {
        "customLanguage": "es",
        "externalRomFs": "/switch/Goldleaf/theme/rom"
    },
    "ui": {
        "background": "#aabbccdd",
        "base": "#aabbccdd",
        "baseFocus": "#aabbccdd",
        "text": "#aabbccdd",
        "menuItemSize": 80
    },
    "installs": {
        "ignoreRequiredFwVersion": false
    },
    "web": {
        "bookmarks": [
            {
                "name": "Google",
                "url": "https://www.google.com"
            },
            {
                "name": "GitHub",
                "url": "https://www.github.com"
            }
        ]
    }
}

If a certain attribute isn't present Goldleaf will use default values. For colors, Goldleaf will initially load default light/dark themes according to the console's theme color, and later, colors present in the JSON will be used instead of default theme ones.

Notes

Via RomFs replacement, when Goldleaf tries to locate, for instance, romfs:/FileSystem/FileDataFont.ttf resource font, if romfsReplace is true and romfsReplacePath is, for instance, /switch/Goldleaf/testromfs, Goldleaf will look if sd:/switch/Goldleaf/testromfs/FileSystem/FileDataFont.ttf exists and use it if so, otherwise will use RomFs's one.

So, via this configurations, UI's images, resources, element sizes and even translations (using custom JSON translations) can be used, plus some more assets which will be added in future updates.

Known bugs

  • Exiting Goldleaf via HOME menu (as a NRO) seems to crash the system on 7.x firmwares due to a weird USB bug present on those specific versions. Any non-7.x firmware doesn't have this issue.

  • Apparently, after browsing (more than 4 directories?) and then browsing (specific?) empty directories crashes Goldleaf. This issue is strangely common and needs to be looked into.

Building

In order to build Goldleaf, you will need the following:

  • devkitA64

  • JDK 9 or higher (needed for Quark)

  • Maven (needed for Quark)

You will also need to install the following packages with devkitPro's pacman:

  • switch-sdl2, switch-freetype, switch-glad, switch-libdrm_nouveau, switch-sdl2_gfx, switch-sdl2_image, switch-sdl2_ttf, switch-sdl2_mixer

Remember to clone this repository recursively (git clone --recurse-submodules) since Goldleaf makes use of submodules.

In order to build Goldleaf, just type make and wait for it to finish building.

In order to build Quark, just execute the build.sh scripts depending on the version you'd like to build (Java 8 and Java 9 versions are separately built)

Contributing

If you would like to contribute with new features, you are free to fork Goldleaf and open pull requests showcasing your additions.

If you just would like to suggest new ideas, but without actual code implementations, you're free to open an issue. Please try not to duplicate those, if the idea or problem is already reported in another issue.

You can always contact me on my Discord server (invite link below) as an easier way to suggest ideas or directly report issues.

Translations

Read this before making any new translations:

  • Goldleaf's aim is to, mainly, support languages supported by the console itself, so those not yet supported by Goldleaf and which aren't supported by consoles should have less priority and won't be probably accepted.

Credits and support

Credits

The main concepts of Goldleaf are and have been developed by me (XorTroll), but without the effort and support of many others, this project wouldn't have been a thing:

  • Adubbz and all the (old) Tinfoil contributors, for their huge work with title installing.

  • C4Phoenix, for his awesome work doing this project's logo, and the GIF displayed when launching the installed forwarder.

  • All the graphics except Goldleaf's logo (see credit above) were grabbed from Icons8.

  • 2767mr, for all the support given in Goldtree (former Quark tool).

  • developer.su for NS-USBloader, which helped a lot on the development of Quark, mainly on the usage of usb4java and the base of a multi-platform JavaFX Java project.

  • Simon for his libusbK implementation for C#, which has made Goldtree client possible.

  • shchmue for the system to get tickets from system save data without breaking anything, found in Lockpick.

  • WerWolv for the help with custom exception handling, avoiding those frustrating fatals.

  • Translators: unbranched and exelix for Italian, tiliarou, FuryBaguette and GOffrier#9688 for French, and LoOkYe and C4Phoenix for German.

  • All the testers, for reporting bugs and helping a lot with the project's development.

Discord and beta testing

If you would like to be more informed about my projects' status and support, you should check my Discord server. It's a simple server for Nintendo hacking and homebrew, mainly focused on my projects. If you would like to be a beta-tester, then this is what you're looking for.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].