[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116998":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":9,"trendingCount":14,"starSnapshotCount":14,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},116998,"GarlicTransfer","earthonion\u002FGarlicTransfer","earthonion","PS5 save download and upload tool",null,"JavaScript",78,12,3,0,13,22,48,76.32,"GNU General Public License v3.0",false,"main",true,[],"2026-11-23 03:55:34","2026-11-23 18:35:37","# GarlicTransfer\n\nUpload and Download PS5 saves to a latest firmware console. Without a jailbreak.\n\n**Alpha release — 0.3.36**\n\nGarlicTransfer is an Electron application for downloading PS5 save containers to a PC and uploading selected saves back to a console through Sony's Data Transfer protocol. It supports local PPR oracles on a jailbroken PS5 and volunteer workers through HTOS.\n\nThis is research software. Back up your saves before using Upload. Upload can overwrite or remove console save data, and the workflow intentionally asks you to delete the original saves first.\n\n## Features\n\n- Console discovery over DDP (`SRCH`) with firmware display and an optional manual-IP drawer.\n- Per-console profiles keyed by host ID; each profile has separate metadata, manifests, and saves.\n- Offline PS4\u002FPS5 title names from [PlayStation-Titles](https:\u002F\u002Fgithub.com\u002Fandshrew\u002FPlayStation-Titles).\n- A persistent console-to-PC session: browse once, then download one or more saves without re-entering Data Transfer mode.\n- Multi-save upload selection with filtered metadata and selectable destination users.\n- External single-save and multi-file folder uploads for one PPSA title, with per-file transfer metadata and fresh staging.\n- A local-save library with per-file export and confirmed import replacement.\n- Filtered upload metadata and save-only transfer behavior based on a captured working transfer.\n- Automatic source power signal and optional clean `DisconnectPS5` reboot after downloading.\n- Local or volunteer PPR oracle support.\n\nConsole-to-PC downloading has been exercised on 13.60. On one tested 14.22 console, browsing from the home screen and downloading the save list worked with the decimal PSN account ID. GarlicTransfer accepts that ID directly or reads it from a standard PS4 USB backup folder. The one-time Data Transfer menu pairing alternative is experimental: its listener has automated protocol tests but has not yet completed a live PS5 pairing. Other firmware versions use the inferred major-version mapping and remain unverified.\n\n## Requirements\n\n- Node.js 18 or newer and npm.\n- Python 3.10 or newer.\n- The Python packages in `requirements.txt`.\n- A PS5 and PC on the same local network.\n- An HTOS worker\u002FAPI key for the volunteer oracle, or a jailbroken PS5 for a local oracle.\n- On Linux, `pkexec`\u002FPolicyKit for the Upload backend to bind TCP ports 1004\u002F1005 and UDP port 1006. Only the backend requests elevation; Electron runs as the normal user. On Debian\u002FUbuntu, the package is `policykit-1`.\n\n## Install\n\n```bash\ngit clone https:\u002F\u002Fgit.etawen.dev\u002Fearthonion\u002FGarlicTransfer.git\ncd GarlicTransfer\nnpm install\npython3 -m venv .venv\n. .venv\u002Fbin\u002Factivate\npip install -r requirements.txt\n```\n\nActivate the Python environment before starting the app so its `python3` can import `cryptography`:\n\n```bash\n. .venv\u002Fbin\u002Factivate\nnpm start\n```\n\nOn Linux, if `pkexec` is missing:\n\n```bash\nsudo apt install policykit-1\n```\n\nDo not run the whole Electron application as root. Upload will display a PolicyKit authentication prompt when privileged ports are required.\n\n## Configuration\n\nOpen **Settings** in the app and choose **Save settings** to create `config.ini`. This file may contain your worker key and is deliberately excluded from git. `config.example.ini` documents the available settings.\n\nOracle choices:\n\n- **Volunteer workers:** enter the HTOS server URL and a worker\u002FAPI key from the server's Contribute page. The server must support `ppr_derive`; the corresponding worker implementation is in garlic-worker 1.1.7 or newer.\n- **Local oracle:** disable volunteer workers and enter the jailbroken PS5's IPv4 address. GarlicTransfer deploys `poc\u002Flocal_worker\u002Fgarlic-local-worker.elf` through the console's payload listener on port 9021 when needed. The combined helper provides transfer keys on port 9022 and local decrypt, encrypt and resign jobs on port 9023. See [LOCAL-WORKER.md](LOCAL-WORKER.md) for setup.\n\n### Get a volunteer worker token\n\n1. Create an account at [garlicsaves.com\u002Fregister](https:\u002F\u002Fgarlicsaves.com\u002Fregister), or sign in at [garlicsaves.com\u002Flogin](https:\u002F\u002Fgarlicsaves.com\u002Flogin).\n2. Open [garlicsaves.com\u002Fcontribute](https:\u002F\u002Fgarlicsaves.com\u002Fcontribute).\n3. Under **Generate Key**, enter a recognizable name such as `GarlicTransfer`, then click **Generate**.\n4. Copy the new worker key immediately. HTOS shows it only once.\n5. In GarlicTransfer, open **Settings**, keep **Use volunteer workers** enabled, paste the key into **Worker\u002FAPI key**, and click **Save settings**.\n\nThis is an HTOS worker key, not a Forgejo token or a PSN credential. You do not need to run a worker console yourself to submit jobs to the volunteer oracle. The key is stored locally in `config.ini`, which is excluded from git.\n\nThe profile root defaults to `dt_downloads`. Downloads are separated as:\n\n```text\ndt_downloads\u002F\u003Cconsole-host-id>\u002F\n  Saves\u002F\u003Cuser-id>\u002F\u003CPPSA-or-CUSA-title-id>\u002F\u003Cencrypted-save-files>\n  Transfer-Metadata\u002F\n    metadata.db\n    manifest.json\n    \u003Centry-id>\u002Fmanifest.json\n    generated-metadata.db\n    generated-upload-manifest.json\n    dt-source.log\n  Other Needed Data\u002F\n    \u003Centry-id>\u002F\u003Cnon-save-files>\n    Backups\u002F\u003Centry-id>\u002F\u003Ceditor-backups>\n    external-save-\u003Ctimestamp>\u002F\u003Cupload-staging>\n```\n\nSave folders contain payloads only. New download manifests are stored separately\nunder `Transfer-Metadata`. Existing numeric entry folders are still supported\nand are not automatically moved. My Saves, Import\u002FExport, the save editor,\nuploads, and FTP resolve both layouts. Nested console save directories are\npreserved.\n\nFolder lookup is shared by the renderer\u002Fmain-process helpers and the Python\nlayout helper. Manifest lookup prefers the organized index and entry, then\nthe legacy index and entry. Missing index entries fall back to individual\nmanifests. New downloads always write to the organized layout. Folder-related\nfunctions include short purpose notes.\n\n## Skins and tree layout\n\nSelect a skin in the **left sidebar below USER · source saves** for the CMP sidebar, source-user\nfilter and expandable User → Game → Files trees. The selection saves automatically;\nClassic remains available. Tree actions use the existing Garlic transfer and save\nworkflows. Source filters do not change the selected upload destination.\nTree data uses exact user\u002Ftitle\u002Fentry matching and shared indexed adapters.\nSelection-only updates keep existing rows. Inventory changes restore scroll,\nexpanded branches and matching focus, while stale local refreshes are ignored.\n\nSpicy Garlic, Chill Onion, Onion, Green Onion and Evil Onion use one shared\nlayout. External add-ins contain only `skin.json` and PNG artwork. Click\n**Open** in the sidebar, copy in a skin folder, then click **Reload**.\nExternal skins live in `%root%\u002FSkins` beside `GarlicTransfer.exe`.\nSee [SKINS.md](SKINS.md) for the format and fallback behavior.\n\n## Download saves\n\n1. Start GarlicTransfer and click **Discover consoles**.\n2. Select the source console. The verified first browse on 14.22 used a decimal PSN account ID. Enter that ID, or click **Find in PS4 USB backup** to derive it from the USB drive, its `PS4` or `SAVEDATA` folder, or the 16-hex-digit account folder inside `SAVEDATA`. The USB picker has not been live-tested end to end. GarlicTransfer only reads folder names; it does not import or modify the PS4 save. After a successful browse, the per-console `metadata.db` supplies the ID automatically.\n   On Windows, **Pair this PS5 once (experimental)** offers a menu-based alternative that has not yet been verified on a live PS5. Start its listener, then open **Settings → System → System Software → Data Transfer** on the PS5 and select **GarlicTransfer Pairing**. The PS5 may say **Can't transfer data**; no save migration starts. If GarlicTransfer confirms pairing, return to the home screen. The captured identifier stays in the app's private user-data folder for this console and firmware. If pairing does not complete, use the account-ID or USB route. Linux and macOS use those routes as well.\n3. Click **Browse console saves** while the PS5 is at its home screen; you do not need to open Data Transfer on the PS5 first.\n4. If asked, briefly press the console power button until it beeps and release.\n5. Select one or more saves and click **Download selected**, or use the per-save Download button.\n6. Keep the session open for more selections, or choose **Finish and reboot console**.\n\nThe account ID is used to construct the local Data Transfer approval request. It is not a password or PSN login. The app passes it to the Python backend over standard input, rather than placing it in the process command line. Enter it as a decimal string: JavaScript numbers cannot preserve every 64-bit account ID. If `PS4\u002FSAVEDATA` contains several account folders, select the account folder for the same PSN user as the PS5 profile being browsed.\n\nIf the PS5 rejects a stored pairing with result `0x11`, it may belong to a different PSN user. Pair this PS5 again on Windows or enter the correct decimal account ID.\n\nDownloaded save folders contain the encrypted containers. Separate manifests under Transfer-Metadata record paths, sizes, SHA-256 hashes, and GFP5 headers.\n\n## Upload saves\n\n1. Download metadata and the save containers first. Upload selections come from the selected console's existing metadata profile.\n2. Click **Upload selected saves**.\n3. Select one user and one or more downloaded saves.\n4. Delete **all selected original saves** on the client console.\n5. Confirm in GarlicTransfer and authenticate the backend if prompted.\n6. On the console, open **Settings → System → System Software → Data Transfer**, press **Continue**, select **GarlicTransfer**, then **Start transfer**.\n\nThe source power signal is sent automatically after one second. If the PS5 asks you to press the **source console** power button during upload, wait for GarlicTransfer to acknowledge it; do not press the destination PS5 power button. This differs from downloading, where you may need to press the physical PS5 power button. Upload generates a filtered metadata database containing one user and only the selected save entries.\n\n## Local saves\n\nClick **Browse local saves** to list files downloaded from the selected console profile. **Export** copies a file to a directory of your choice. **Import** replaces the selected local file after a backup confirmation and regenerates its size, SHA-256, GFP5 header, and local manifests for the next upload.\n\nA [macOS \u002F PS5 14.22 field report](docs\u002Fmacos-ps5-14.22-report.md) records a tested\nbackend workflow and its validation limits.\n\n## Development checks\n\n```bash\nnpm run check\npython3 -m py_compile poc\u002Fdt_backend.py poc\u002Fdt_download.py poc\u002Fdt_metadata.py poc\u002Fdt_source.py poc\u002Fdt_discovery.py poc\u002Fdt_local_saves.py\nnode --test tests\u002F*.test.cjs\npython3 -m unittest discover -s tests -p 'test_*.py'\n```\n\n## Title data\n\nPS4 and PS5 title data is bundled from [andshrew\u002FPlayStation-Titles](https:\u002F\u002Fgithub.com\u002Fandshrew\u002FPlayStation-Titles) under the MIT license. Its license and source notice are in `data\u002FPlayStation-Titles-LICENSE.txt`.\n",2,"2026-11-24 04:54:49","CREATED_QUERY"]