Repository navigation
Releases
Grapnel 0.2.1: the extension disk, the shaders kept compressed
Grapnel 0.2.1: the extension disk, the shaders kept compressed
English · Français
Downloads
- Windows:
Grapnel-Builder-0.2.1-windows-x64.zip(168 MB). SHA-256:5658a7c72bd343ac5ad07ab5c8fd9455f998099694f2d0a408605b5d9d88f3a6.
A portable folder: unpack it into a new folder and startGrapnel.exe. Your output folder of 0.2.0 can be kept. - Linux:
grapnel-toolchain-0.3.1-linux-x64.tar.xz(18 MB), the console toolchain for the command-line builder.
SHA-256:f2925f49922bdaf053c5e0d5b6b8ff46adf1b4dae0b128ea740980a02af8a7dc. The same parts as 0.3; its shaders' preparation is made again for this release.
What is new
- Install on the console's extension disk. Step 6 now offers the internal storage or the extension disk
(/mnt/ext1, found by itself):- the title goes to
/mnt/ext1/homebrew/GRPN00001and the game file to/mnt/ext1/grapnel/game.nup; - your saves, settings and logs stay in
/data/grapnel, and the settings file sent there says where the game file is
(HOOKSHOT_PS5_NUP=/mnt/ext1/grapnel/game.nup); - the disk's other games are never touched; a title or game file left at the other place is removed only if you say
yes, once the send is read back; the game file is not sent again when it is already there; - this needs ShadowMountPlus 1.7beta4 or newer, which lets the title see the disk.
- the title goes to
- More memory for long sessions. The shaders the console reads from its cache are kept compressed, and the driver's
copies are given back after use (lazy shader modules and freed packed SPIR-V, from
Longshot Oberon by rimidalv333): about 290 MB more free memory (the
SPIR-V kept in 105 MB instead of 396). On a player's console a session ran 36 minutes without closing, against about
25 before. - A sturdier shaders' preparation on Windows. A fault in the preparation's own memory now ends the run, with the fault
written in its log, and the builder goes on where it stopped; before, such a fault could leave a program out, or the run
could wait for ever.
Updating from 0.2.0
Unpack the new zip into a new folder and keep your output folder. The game is built again (the code changed), with what
has not changed taken back from grapnel-work. The shaders are prepared again too: the preparation's tool is new.
Then send with step 6, to the place you choose. On a player's PC this update took 2 min of translation, 1 min 18 s of
compile and 22 min of shaders' preparation, for the same eboot and the same cache as a Linux build.
Français
Téléchargements
- Windows :
Grapnel-Builder-0.2.1-windows-x64.zip(168 Mo). SHA-256 :5658a7c72bd343ac5ad07ab5c8fd9455f998099694f2d0a408605b5d9d88f3a6.
Un dossier portable : décompressez-le dans un nouveau dossier, puis lancezGrapnel.exe. Votre dossier de sortie de la
0.2.0 peut être gardé. - Linux :
grapnel-toolchain-0.3.1-linux-x64.tar.xz(18 Mo), la chaîne d'outils console du constructeur en ligne de
commande. SHA-256 :f2925f49922bdaf053c5e0d5b6b8ff46adf1b4dae0b128ea740980a02af8a7dc. Les mêmes pièces que la 0.3 ; sa préparation des shaders est refaite pour cette version.
Ce qui change
- Installer sur le disque d'extension de la console. L'étape 6 propose maintenant le stockage interne ou le disque
d'extension (/mnt/ext1, trouvé tout seul) :- le titre va dans
/mnt/ext1/homebrew/GRPN00001et le fichier du jeu dans/mnt/ext1/grapnel/game.nup; - vos parties, réglages et journaux restent dans
/data/grapnel, et le fichier de réglages envoyé là dit où est le
fichier du jeu (HOOKSHOT_PS5_NUP=/mnt/ext1/grapnel/game.nup) ; - les autres jeux du disque ne sont jamais touchés ; un titre ou un fichier du jeu laissé à l'autre endroit n'est retiré
que si vous dites oui, une fois l'envoi relu ; le fichier du jeu n'est pas renvoyé s'il y est déjà ; - il faut ShadowMountPlus 1.7beta4 ou plus récent, qui rend le disque visible au titre.
- le titre va dans
- Plus de mémoire pour les longues parties. Les shaders que la console lit dans son cache sont gardés compressés, et
les copies du pilote sont rendues après usage (modules de shaders paresseux et SPIR-V compressé libéré, repris de
Longshot Oberon de rimidalv333) : environ 290 Mo de mémoire libre en plus
(le SPIR-V tient en 105 Mo au lieu de 396). Sur la console d'un joueur, une partie a duré 36 minutes sans fermeture,
contre 25 environ avant. - Une préparation des shaders plus solide sous Windows. Une faute dans la mémoire de la préparation elle-même arrête
maintenant l'exécution, la faute écrite dans son journal, et le constructeur reprend là où il en était ; avant, une telle
faute pouvait laisser un programme de côté, ou faire attendre sans fin.
Mettre à jour depuis la 0.2.0
Décompressez le nouveau zip dans un nouveau dossier et gardez votre dossier de sortie. Le jeu est construit de nouveau (le
code a changé), en reprenant de grapnel-work ce qui n'a pas changé. Les shaders sont préparés de nouveau aussi : l'outil de
préparation est neuf. Puis envoyez avec l'étape 6, à l'endroit de votre choix. Sur le PC d'un joueur, cette mise à jour a pris 2 min de traduction,
1 min 18 de compilation et 22 min de préparation des shaders, pour le même eboot et le même cache qu'en construction Linux.
Grapnel 0.2.0: the builder on Windows, the ocarina at the microphone
Grapnel 0.2.0: the builder on Windows, the ocarina at the microphone
English · Français
Grapnel's builder now runs on Windows 10 and 11 (64-bit), in a step-by-step window, as well as on Linux. It makes the PS5
title Grapnel (GRPN00001) from your own copy of the game, on your PC. Neither download holds a game file.
Downloads
- Windows:
Grapnel-Builder-0.2.0-windows-x64.zip(168 MB). SHA-256:ff43bb2cdd93f8aa38a66db828865355f896dcb465d44ed6d7b816ef7d4c1060.
This is a portable folder: unpack it and startGrapnel.exe. LLVM, Python and the console toolchain are in it. - Linux:
grapnel-toolchain-0.3-linux-x64.tar.xz(18 MB), the console toolchain for the command-line builder.
SHA-256:3aea4e20d2c0c1e843dd6dc2fd7b6493ca654e08112a29763666b7e406c5b400.
What is new
- The builder on Windows, in a window with six steps: your game, the options, the check of your PC, the game's build,
the shaders and the console. "Copy the report" gives what to send with a problem.Grapnel-console.cmdruns the same
build without the window. - The same eboot as on Linux. Windows and Linux compile the game to the same
eboot.bin, byte for byte. A player's
Windows PC gave the CRC32 that the Linux builder gives. - The shaders prepared on Windows too. The shader cache made on Windows is the one Linux makes: the same 57,210 keys and
contents, checked on a player's PC and played on the console (no compile in play). - Step 6 sends the title to the console (optional), over FTP:
- It uses the console's FTP server if one answers (port 2121). Otherwise it sends
ftpsrv (GPL-3.0) to the console's ELF loader (port 9021). - Before replacing anything, it copies your saves to the PC and asks for confirmation.
- It touches only
/data/homebrew/GRPN00001and/data/grapnel. - It sends the game file only when the console does not have it, and carries on a cut send where it stopped.
- At the end it reads the sizes and the eboot's CRC32 back. ShadowMountPlus then registers the title.
- It uses the console's FTP server if one answers (port 2121). Otherwise it sends
- A faster compiler on Windows. The package's LLVM 19.1.7 is built for Grapnel: static, and on the same C++ library as
Linux's, so its code is Linux's. It compiles the game's files 22 to 31 % faster than WinLibs' build. - The ocarina can be played into the DualSense's microphone (player 1's, on by default), when the game's own
microphone option is on. The voice never leaves the console: nothing is sent or recorded, and the controller's mute button
cuts it. Tried on firmware 12.60;HOOKSHOT_PS5_MIC=0in/data/grapnel/hookshot_env.txtturns it off. - A shaders' time left you can trust, worked out step by step from the preparation's own pace.
- A build in another output folder is offered back. A game built by an older package is built again.
- Fixes for Linux too:
- a PC without git no longer stops the build before its first step;
- the shaders' preparation is built for any x86-64-v3 processor, not for the PC that made it;
- a preparation silent for 15 minutes is ended and goes on where it stopped.
Measured on a player's PC
Ryzen 5 3600X, 16 GB, Windows 11, two builds:
| Step | Time |
|---|---|
| The translation | 155 and 266 s |
| The compile | 1,980 and 2,066 s (33 and 34 min) |
| The shaders' preparation | 1,318 and 2,839 s (22 and 47 min, its check included) |
The eboot and the shader cache were identical to Linux's. Ten minutes of play followed on the console with the cache made on
Windows: no shader compiled in play.
Windows SmartScreen and antivirus
Grapnel.exe is not signed. Windows may say "Windows protected your PC": click More info, then Run anyway.
An antivirus may scan or block the builder's programs (clang.exe, ld.lld.exe, zbic_unpack.exe, ps5-native-tool.exe),
which compile the game for the console. If it removes one, step 3 says the tools are incomplete: restore it or exclude the
folder, and unpack again.
What your PC needs
- Windows 10 or 11 (64-bit), or Linux on x86-64, with a processor that has AVX2.
- 8 GB of memory at the least (16 GB is much faster).
- About 12 GB of free disk space besides your game file (25.6 GB).
Sources and licences
- Grapnel is GPL-3.0-or-later.
- The four changes the Windows preparation's driver needs are in
ps5/mesa-patches/windows/, with the recipe that builds it
(scripts/grapnel-builder/make_prepare_driver.sh). - The static LLVM's recipe is
scripts/grapnel-builder/make_windows_llvm.sh. - Every part's licence is in the zip (
NOTICE.txt,LICENSES\,llvm\LICENSES\,toolchain\NOTICE.md) and in the toolchain
(NOTICE.md).
Français
Le constructeur de Grapnel tourne maintenant sous Windows 10 et 11 (64 bits), dans une fenêtre pas à pas, en plus de
Linux. Il fabrique le titre PS5 Grapnel (GRPN00001) à partir de votre propre copie du jeu, sur votre PC. Aucun des deux
téléchargements ne contient de fichier du jeu.
Téléchargements
- Windows :
Grapnel-Builder-0.2.0-windows-x64.zip(168 Mo). SHA-256 :ff43bb2cdd93f8aa38a66db828865355f896dcb465d44ed6d7b816ef7d4c1060.
C'est un dossier portable : décompressez-le, puis lancezGrapnel.exe. LLVM, Python et la chaîne d'outils console sont
dedans. - Linux :
grapnel-toolchain-0.3-linux-x64.tar.xz(18 Mo), la chaîne d'outils console du constructeur en ligne de
commande. SHA-256 :3aea4e20d2c0c1e843dd6dc2fd7b6493ca654e08112a29763666b7e406c5b400.
Ce qui change
- Le constructeur sous Windows, dans une fenêtre en six étapes : votre jeu, les options, la vérification du PC, la
construction du jeu, les shaders et la console. « Copier le rapport » donne ce qu'il faut envoyer en cas de problème.
Grapnel-console.cmdfait la même construction sans la fenêtre. - Le même eboot que sous Linux. Windows et Linux compilent le jeu en un même
eboot.bin, octet pour octet. Le PC Windows
d'un joueur a donné le CRC32 que donne le constructeur Linux. - Les shaders préparés sous Windows aussi. Le cache des shaders fait sous Windows est celui que fait Linux : les mêmes
57 210 clés et contenus, vérifiés sur le PC d'un joueur, puis joués sur la console (aucune compilation en jouant). - L'étape 6 envoie le titre à la console (facultative), par FTP :
- elle passe par le serveur FTP de la console s'il répond (port 2121), sinon elle envoie
ftpsrv (GPL-3.0) au chargeur d'ELF de la console (port 9021) ; - avant de remplacer quoi que ce soit, elle copie vos parties sur le PC et demande confirmation ;
- elle ne touche que
/data/homebrew/GRPN00001et/data/grapnel; - elle n'envoie le fichier du jeu que si la console ne l'a pas, et reprend un envoi coupé là où il en était ;
- à la fin, elle relit les tailles et le CRC32 de l'eboot. ShadowMountPlus enregistre ensuite le titre.
- elle passe par le serveur FTP de la console s'il répond (port 2121), sinon elle envoie
- Un compilateur plus rapide sous Windows. Le LLVM 19.1.7 du paquet est construit pour Grapnel : statique, sur la même
bibliothèque C++ que celui de Linux, donc son code est celui de Linux. Il compile les fichiers du jeu 22 à 31 % plus vite que
celui de WinLibs. - L'ocarina peut se jouer au micro de la DualSense (celle du joueur 1, allumé par défaut), quand l'option micro du jeu
est activée. La voix ne quitte jamais la console : rien n'est envoyé ni enregistré, et le bouton muet de la manette coupe
tout. Essayé en firmware 12.60 ;HOOKSHOT_PS5_MIC=0dans/data/grapnel/hookshot_env.txtl'éteint. - Un temps restant des shaders juste, calculé étape par étape d'après le rythme de la préparation.
- Une construction dans un autre dossier de sortie est proposée. Un jeu fait par un ancien paquet est reconstruit.
- Des corrections utiles sous Linux aussi :
- un PC sans git n'arrête plus la construction avant sa première étape ;
- la préparation des shaders est construite pour tout processeur x86-64-v3, plus pour le PC qui l'a faite ;
- une préparation muette pendant 15 minutes est arrêtée puis reprend là où elle en était.
Mesuré sur le PC d'un joueur
Ryzen 5 3600X, 16 Go, Windows 11, deux constructions :
| Étape | Durée |
|---|---|
| La traduction | 155 et 266 s |
| La compilation | 1 980 et 2 066 s (33 et 34 min) |
| La préparation des shaders | 1 318 et 2 839 s (22 et 47 min, contrôle compris) |
L'eboot et le cache des shaders étaient identiques à ceux de Linux. Dix minutes de jeu ont suivi sur la console avec le cache
fait sous Windows : aucun shader compilé en jouant.
SmartScreen et antivirus
Grapnel.exe n'est pas signé. Windows peut afficher « Windows a protégé votre ordinateur » : cliquez sur Informations
complémentaires, puis Exécuter quand même.
Un antivirus peut examiner ou bloquer les programmes du constructeur (clang.exe, ld.lld.exe, zbic_unpack.exe,
ps5-native-tool.exe), qui compilent le jeu pour la console. S'il en retire un, l'étape 3 dit que les outils sont
incomplets : rétablissez-le ou excluez le dossier, puis décompressez à nouveau.
Ce qu'il faut sur le PC
- Windows 10 ou 11 (64 bits), ou Linux x86-64, avec un processeur qui a l'AVX2.
- 8 Go de mémoire au moins (16 Go, c'est bien plus rapide).
- Environ 12 Go libres, en plus du fichier du jeu (25,6 Go).
Sources et licences
- Grapnel est sous GPL-3.0-or-later.
- Les quatre changements dont le pilote de la préparation a besoin sous Windows sont dans
ps5/mesa-patches/windows/, avec la
recette qui le construit (scripts/grapnel-builder/make_prepare_driver.sh). - La recette du LLVM statique est
scripts/grapnel-builder/make_windows_llvm.sh. - La licence de chaque partie est dans le zip (
NOTICE.txt,LICENSES\,llvm\LICENSES\,toolchain\NOTICE.md) et dans la
chaîne d'outils (NOTICE.md).
Grapnel 0.1 (preview)
English
The first public version of Grapnel: Longshot's recompilation of The Legend of Zelda: Ocarina of Time (Switch 2), running natively on a jailbroken base PS5. It is published before it is finished, so that others can help.
What you need: a jailbroken PS5 (firmware 12.60 is the only one tried) with kstuff, an ELF loader on port 9021 and ShadowMountPlus; your own copy of the game as a .nup (version 131072); a Linux x86-64 PC with LLVM 19.1.7 and Python 3.12. A Windows builder is in the works.
Download grapnel-toolchain-0.2-linux-x64.tar.xz below. It holds the console toolchain the builder needs: the PS5 payload SDK, the link parts and our build of the console's RADV driver, and the PC shader preparation. It holds no game file. Its SHA-256 is:
28fe7916b6862f6782e364765e524791f69d19b5b26d4d83bf363d8e0ea83bd0.
Then follow the builder's guide. A build takes about 45 minutes on an 8-core PC, shader preparation included.
Known limits
- Not yet a steady 30 fps in Castle Town's market: about 32 fps there with the frame rate unlocked, with some stutter.
- After 20 to 25 minutes of play, entering a crowded place can make the title close itself (low memory). Your save is safe: start it again.
- The PS5 Pro has never been tried.
Everything the builder makes from your copy (eboot.bin, image.bin, the caches) contains the game: keep it for your own console, and never attach it to an issue. Report problems in this repository's issues, with the end of /data/grapnel/hookshot_log.txt and the builder's manifest.json.
Français
La première version publique de Grapnel : la recompilation par Longshot de The Legend of Zelda: Ocarina of Time (Switch 2), qui tourne nativement sur une PS5 standard débridée. Elle est publiée avant d'être finie, pour que d'autres puissent aider.
Ce qu'il faut : une PS5 débridée (firmware 12.60, le seul essayé) avec kstuff, un chargeur d'ELF sur le port 9021 et ShadowMountPlus ; votre propre copie du jeu en .nup (version 131072) ; un PC Linux x86-64 avec LLVM 19.1.7 et Python 3.12. Un constructeur pour Windows est en préparation.
Téléchargez grapnel-toolchain-0.2-linux-x64.tar.xz ci-dessous. C'est la chaîne d'outils console dont le constructeur a besoin : le SDK de charges PS5, les pièces de lien et notre construction du pilote RADV de la console, et la préparation des shaders sur PC. Elle ne contient aucun fichier du jeu. Son SHA-256 :
28fe7916b6862f6782e364765e524791f69d19b5b26d4d83bf363d8e0ea83bd0.
Suivez ensuite le guide du constructeur. Une construction prend environ 45 minutes sur un PC à 8 cœurs, préparation des shaders comprise.
Limites connues
- Pas encore 30 images/s stables sur la place du marché de la citadelle : environ 32 images/s, cadence débloquée, avec des saccades.
- Après 20 à 25 minutes de jeu, l'entrée dans un lieu chargé peut fermer le titre (mémoire basse). Votre sauvegarde ne risque rien : relancez-le.
- La PS5 Pro n'a jamais été essayée.
Tout ce que le constructeur fabrique à partir de votre copie (eboot.bin, image.bin, les caches) contient le jeu : gardez-le pour votre console, et ne le joignez jamais à une issue. Signalez les problèmes dans les issues de ce dépôt, avec la fin de /data/grapnel/hookshot_log.txt et le manifest.json du constructeur.