Giter Site home page Giter Site logo

xortroll / goldleaf Goto Github PK

View Code? Open in Web Editor NEW
2.6K 110.0 350.0 29 MB

๐Ÿ‚ Multipurpose homebrew tool for Nintendo Switch

License: GNU General Public License v3.0

Makefile 0.25% C++ 37.25% C 60.92% Shell 0.01% Java 1.57% CSS 0.01%
nx switch title nsp libnx homebrew tool nintendo nintendo-switch hacktoberfest

goldleaf's Issues

Title won't disappear after failed installation

When trying to install a nsp - I recieve this error - well I received an error I don't think it was this one this was what i got when running the command again.

2018082119430100-db1426d1dfd034027cecde9c2dd914b8

Which is fine, the application is in development and if it can't install an nsp thats completely understandable. The issue is that the console now has this weird game place holder that has a continuous spinning circle - which can't be deleted by pressing the + button. I've tried rebooting into stock and also using the clear logs feature in hekate (which I knew wasn't going to work but I thought I'd give it a shot)

2018082119481500-57b4628d2267231d57e0fc1078c0596d

Let me know if you needed any more information.

Builds after b6b0fd4 on Aug 16 not ignoring required system version

Tested with:

OS version 4.1.0, SXOS 1.8

Autobuild tinfoil-d3c12b1.zip, September 4th: FAIL
Autobuild tinfoil-9aad7a6.zip, September 2nd: FAIL
Autobuild tinfoil-b6b0fd4.zip, August 16th: SUCCESS

Victor Vran Overkill Edition [0100e81007a06000][v0].nsp (MasterKey 3, sysreq 5.1.0, 3.25Gb)
VSR Void Space Racing [0100c7c00ae6c000][v0].nsp (MasterKey 3, sysreq 5.0.2, 621Mb)
VSR Void Space Racing [UPD][0100c7c00ae6c800][v131072].nsp (MasterKey 3, sysreq 5.1.0, 83.8Mb)

I only found out because I had installed VSR before and had it working fine.

NCA name generation error

There's a small bug in the "NSPInstallTask::InstallNCA" function, name generation is lacking the 0 padding:

It currently has "%lx%lx" instead of "%016lx%016lx"

Split file support for fat32 file system?

So we all know that fat32 has a file size limit, meaning installing from one single nsp thats larger than 4gb is impossible. This brings us to an unfortunate impasse with sd card formats, since fat32 has no access to larger games, while exfat corrupts files when using homebrews. While network install is somewhat of a solution, slow install speeds and wonky networks prevent it from being very practical.

There are several ways to split larger files into several smaller ones to abide fat32's filesize limits, both compressed like using winrar or uncompressed like with hjsplit(and probably more).

Since nsp installing over network basically takes the data in small chunks of a large file already, shouldn't this also work if the nsp file is already split up on the sd card, as long as the program knows that say, the five 2gb sized files inside folder X are to be continuously read like one file?

enhancement: folder browser and list jump

Hello,
I'd like to suggest three useful features (if possibile)

  • show masterkey version of nsp, if install fails
  • possibility to browse folders inside nsp directory
  • possibility 'paging' files faster inside a folder with r and l buttons (for example)
    Thanks

Increase speed of the network installation

At this moment it's so slow, it's just useless...
No matter what WiFi spot is used with ac/n, etc...
It takes minutes just to send a couple of megabytes
The same package of 8GB can be installed within 5 minutes locally

Error Code 0x00000202

Was only able to get Octopath Traveler to install but I can't get anything else to install, have tried renaming to simple names such as octopatchupdate.nsp or octupd.nsp, also tried network install and it says it can't find the cnmt. I have plenty of space on my SD card (23gb)

Cannot install updates for card based games

Reported by Girtana1 in Discord on firmware 4.0.1 and Mario Kart 8 deluxe (US Version)

Installing updates using Tinfoil works for games from E-Shop (NSP), but not so for card based games.

NS freeze on Ticket Managment sub-menus

In the latest version of Tinfoil, when you go to [Ticket Managment > Delete Personalized Ticket] or [Ticket Managment > Delete Common Ticket], if you have a very long list of games/titles and you current selection is the first entry, if you press the up button, switch will get freezed and you will have to reboot it.
It's the same issue if you do it with the last displayed game/title by pressing the down button (not the last entry but last displayed entry on screen) and the selector at the bottom of the screen will select a blank empty entry instead of the next entry.

Error code : 0x00234a02

Hi,

Everytime i try to install any NSP, i got the error code : 0x00234a02
Tinfoil 0.2.0
5.1.0 reiNX
20gb free on SD card
12 gb free on NAND.

Any clue ?
Thx

Add network installs

This will involve sending over the entire CNMT NCA, creating and installing records, and then streaming over data and writing it to placeholders.

sort of a issue i guess

any way you could add the command for hactool to get FS.kip1, I'm not very good at using hactool so just wanted to see if you could add it for idiots like me XD

Add XCI installation

For a rough outline of what this entails:

NCAs need to be decrypted, the npdm in the program NCA must be fixed, the cnmt in the meta NCA must be updated, hashes must be fixed, all NCA headers must be fixed, NCA signatures must be 0ed out and then the NCAs must be re-encrypted.

After this, normal installation can proceed, assuming FS patches are installed

Downgrade update versions for games

Can only be done with dev menu atm, but in order to install older update versions of games you have to reset the required version number or the Switch won't let you play without updating. Super useful especially for speedrunning games that lose glitches in newer patches like Mario Odyssey etc.

[SUGGESTION] Have switch libusbk drivers as a standalone download instead of directing to Zadig

The official release of LibUSBK (http://libusbk.sourceforge.net/UsbK3/index.html) includes a wizard to create drivers packages.

With that wizard tool ("Inf-Wizard") I created a driver package for the switch. (although you could make it again easily if you don't trust my files.)
InstallDriver.zip

Here is the documentation and tutorial to use the Inf-Wizard to create drivers packages: http://libusbk.sourceforge.net/UsbK3/usbk_installers.html

Broken pipe during network install

Install worked and NSP is ok, but constant errors during network install

`Exception happened during processing of request from ('192.168.4.111', 64906)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 654, in init
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 713, in finish
self.wfile.close()
File "/usr/lib/python2.7/socket.py", line 283, in close
self.flush()
File "/usr/lib/python2.7/socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe

Shutting down HTTP server...
โžœ NSP 192.168.4.111 - - [16/Sep/2018 10:43:47] "GET /AnotherWorld.nsp HTTP/1.1" 206 -
zsh: bad pattern: [16/Sep/2018
โžœ NSP ----------------------------------------
zsh: command not found: ----------------------------------------
โžœ NSP Exception happened during processing of request from ('192.168.4.111', 31068)
zsh: unknown file attribute:
โžœ NSP Traceback (most recent call last):
zsh: no matches found: (most recent call last):
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
zsh: command not found: File
โžœ NSP self.process_request(request, client_address)
zsh: missing end of string
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
zsh: command not found: File
โžœ NSP self.finish_request(request, client_address)
zsh: missing end of string
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
zsh: command not found: File
โžœ NSP self.RequestHandlerClass(request, client_address, self)
zsh: missing end of string
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 654, in init
zsh: command not found: File
โžœ NSP self.finish()
function> File "/usr/lib/python2.7/SocketServer.py", line 713, in finish
โžœ NSP self.wfile.close()
function> File "/usr/lib/python2.7/socket.py", line 283, in close
โžœ NSP self.flush()
function> File "/usr/lib/python2.7/socket.py", line 307, in flush
โžœ NSP self._sock.sendall(view[write_offset:write_offset+buffer_size])
zsh: unknown file attribute: v
โžœ NSP error: [Errno 32] Broken pipe
zsh: bad pattern: [Errno
โžœ NSP ----------------------------------------
zsh: command not found: ----------------------------------------
โžœ NSP 192.168.4.111 - - [16/Sep/2018 10:43:47] "GET /AnotherWorld.nsp HTTP/1.1" 206 -
zsh: bad pattern: [16/Sep/2018
โžœ NSP ----------------------------------------
zsh: command not found: ----------------------------------------
โžœ NSP Exception happened during processing of request from ('192.168.4.111', 63044)
zsh: unknown file attribute:
โžœ NSP Traceback (most recent call last):
zsh: no matches found: (most recent call last):
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
zsh: command not found: File
โžœ NSP self.process_request(request, client_address)
zsh: missing end of string
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
zsh: command not found: File
โžœ NSP self.finish_request(request, client_address)
zsh: missing end of string
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
zsh: command not found: File
โžœ NSP self.RequestHandlerClass(request, client_address, self)
zsh: missing end of string
โžœ NSP File "/usr/lib/python2.7/SocketServer.py", line 654, in init
zsh: command not found: File
โžœ NSP self.finish()
function> File "/usr/lib/python2.7/SocketServer.py", line 713, in finish
โžœ NSP self.wfile.close()
function> File "/usr/lib/python2.7/socket.py", line 283, in close
โžœ NSP self.flush()
function> File "/usr/lib/python2.7/socket.py", line 307, in flush
โžœ NSP self._sock.sendall(view[write_offset:write_offset+buffer_size])
zsh: unknown file attribute: v
โžœ NSP error: [Errno 32] Broken pipe`

Network Install: "URL size 0x1002e296 is too large!"

I'm attempting to install Minecraft: Story Mode, but the file is too big to just move to the sd card (FAT32), so I tried Network Install and it gave me:

Accepted client connection
Received url buf size: 0x1002e296
Failed to perform remote install!
OnSelected:165: URL size 0x1002e296 is too large!

Am I doing something wrong or does file size still matter?

Empty title on home screen after installation error

Hi there!

I got this empty title on my home screen after getting an error when trying to install an NSP.

empty_title

I can't do anything with this empty title: can't open, can't see options, can't remove, etc.

In the following record, I show that it is not possible to open the title options: https://youtu.be/VPO7VB8HpdU

The error code might be irrelevant because the same happens with different errors. However, I managed to solve when the error was due to no space left (don't remember the error code). All I had to to do was to free some space and try to install again. On the other hand, when I got an error because of the file name (0x00000202), after removing accent chars from the NSP filename, it installed but the empty title was still there.

Did anyone have the same problem? Since the home screen titles are somehow managed by the Switch itself and not by the folder content, I have no idea on how to fix it.

Console freezes when installing NCAs

When setting Tinfoil's applet type to AppletType_SystemApplication, before Installing NCAs appears, the console freezes. The placeholder is pushed however.

Add titlekey management options

Including:

  • Installing tik + cert pairs
  • Deleting both personalized and common tickets
    This is separate from NSP installation.

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.