Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
182a497
Remove the above-13.60 fake-package warning: no public jailbreak goes…
phantomptr Nov 25, 2026
63003e1
Files: a phone held sideways keeps the phone row layout (#931)
phantomptr Nov 25, 2026
4ccaa64
verify-release --promote: refuse a version older than the latest
phantomptr Nov 25, 2026
c6377ba
fast-release: watch the release-tag run this dispatch started
phantomptr Nov 25, 2026
a7c82d6
publish: never make an older version the latest release
phantomptr Nov 25, 2026
b26cfd7
security scan: drop the picomatch allowance nothing needs any more
phantomptr Nov 25, 2026
287eb34
SDK Changer: a short module param is not patched past the file's end
phantomptr Nov 25, 2026
55532d9
Cheats: handle 0 is the game's module only when it is its executable
phantomptr Nov 25, 2026
76358dd
Cheats: an indented SHN value too long to hold is refused, not cut
phantomptr Nov 25, 2026
33eaedf
Install from the console page: no unlink of an uninitialised path whe…
phantomptr Nov 25, 2026
b5a2e93
SDK Changer: the folder walks stop 32 levels down
phantomptr Nov 25, 2026
4bfe09d
Cheats: a game patch that cannot be recorded is not left written
phantomptr Nov 25, 2026
75a3043
Backups: a restore reads only files inside the snapshot (a manifest n…
phantomptr Nov 25, 2026
709a786
Save backups: finalize and clean-up only work inside our own scratch …
phantomptr Nov 25, 2026
5b6cad8
Save backups: a failed zip no longer deletes the file the user picked…
phantomptr Nov 25, 2026
9e853e3
Save backups: a console deleted while the first list was on its way i…
phantomptr Nov 25, 2026
a88f3d2
Play Together: a friend's player opens no decoder after it was stopped
phantomptr Nov 25, 2026
94f17b9
Bug report: a console not probed yet no longer gets the selected cons…
phantomptr Nov 25, 2026
0b53937
Helper send: the new helper's status goes into the console's own record
phantomptr Nov 25, 2026
d05df35
Using a received save no longer deletes the received file
phantomptr Nov 25, 2026
692ef31
Remote Play keys with a non-hex character are refused, not a panic
phantomptr Nov 25, 2026
3c0e25e
A console read reply longer than asked is cut to the ask
phantomptr Nov 25, 2026
698b9ef
A game's content id names the package only when it is a plain name
phantomptr Nov 25, 2026
fde0e7f
WebDAV reads refuse a partial answer for another range
phantomptr Nov 25, 2026
4ea0fb7
12.6.29 release notes; catch up to 12.6.28
phantomptr Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 48 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,53 @@ jobs:
with:
subject-path: release/*

# prerelease=false makes this release GitHub's "latest", which the stable updater
# (releases/latest/download/latest.json), the iPhone source and the site all follow.
# release-tag.yml only ever asks that for a version newer than every tag, but a hand
# dispatch for an older tag would move all of them back: that one is published as a full
# release and latest stays where it is. A lookup that fails is not a "no".
- name: Never move latest to an older version
id: latest
env:
GH_TOKEN: ${{ github.token }}
FULL_RELEASE: ${{ github.event.inputs.prerelease == 'false' }}
TAG_VERSION: ${{ steps.tag.outputs.version }}
run: |
set -euo pipefail
if [ "$FULL_RELEASE" != true ]; then
echo "make_latest=legacy" >> "$GITHUB_OUTPUT"
exit 0
fi
err="$RUNNER_TEMP/latest-lookup.err"
latest_tag=""
found=0
for attempt in 1 2 3; do
if latest_tag="$(gh api "repos/$GITHUB_REPOSITORY/releases/latest" --jq .tag_name 2>"$err")"; then
found=1
break
fi
if grep -q 'HTTP 404' "$err"; then
latest_tag=""
found=1
break
fi
echo "latest release lookup failed (attempt $attempt):" >&2
cat "$err" >&2
sleep $((attempt * 10))
done
if [ "$found" -ne 1 ]; then
echo "::error::could not read the latest release (GitHub API error above); not publishing over it."
exit 1
fi
latest="${latest_tag#v}"
if [ -n "$latest" ] && [ "$latest" != "$TAG_VERSION" ] \
&& [ "$(printf '%s\n%s\n' "$TAG_VERSION" "$latest" | sort -V | head -n 1)" = "$TAG_VERSION" ]; then
echo "::warning::$TAG_VERSION is older than the latest release ($latest_tag): published as a full release, latest stays on $latest_tag"
echo "make_latest=false" >> "$GITHUB_OUTPUT"
else
echo "make_latest=true" >> "$GITHUB_OUTPUT"
fi

- name: Create GitHub release
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3
with:
Expand All @@ -1463,7 +1510,7 @@ jobs:
# having run it on a console. Only a dispatch that says
# prerelease=false (release-tag.yml, when asked) publishes it as the latest.
prerelease: ${{ github.event.inputs.prerelease != 'false' }}
make_latest: ${{ github.event.inputs.prerelease == 'false' && 'true' || 'legacy' }}
make_latest: ${{ steps.latest.outputs.make_latest }}
files: release/*

# The site's release snapshot and iPhone source (pages.yml) are rebuilt once the release is out.
Expand Down
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ What's new in ps5upload, written for humans.

## Unreleased

**Fake packages (FPKG)**
- **The "won't start" warning for fake PS5 games is gone.** Fake PS5 games now play up to firmware 13.60, the newest a public jailbreak reaches, so the warning could no longer appear anywhere. The fake-package note keeps its payload list, and a failed launch on 11.61 to 13.60 still says a fake package needs the November 2026 kstuff. Convert marks the package as the usual choice once a game is checked.

**Files**
- **Long names stay readable on a phone held sideways (#931).** In landscape, rows showed every action button and cut the name to nothing. A sideways phone now gets the same rows as upright: the name wraps, its type and size sit below, and the actions are behind ⋮. Computers keep one line per row.

**Saves**
- **Using a received save keeps the file.** "Use this save" on a save someone sent you deleted the received file, even when the save was refused. It now reads the file where it is.
- **A failed backup zip no longer deletes the file you chose to replace.** The new zip is written in full first, then put over the old one.
- **Backup clean-up only touches its own temporary folders.**
- **A console removed while the backup list was being sent is no longer backed up.**
- **Restoring a backup on the PS5 only reads files inside that backup.**

**Cheats and the PS5 helper**
- **Cheats never write into a system module mistaken for the game.** In some PS4 games another module sits where the game's own was expected; game patches no longer write there.
- **A game patch that can't be recorded is not left in the game**, so turning it off always takes it out. An over-long cheat value is refused instead of written cut short.
- **SDK Changer** no longer patches past the end of a short file, and stops 32 folders deep instead of running out of memory on a very deep game folder.

**Fixes found in an audit**
- Remote Play keys with a stray character are refused instead of crashing the engine.
- WebDAV servers that answer with the wrong part of a file are caught, so a copy or install never gets wrong bytes.
- A game whose content ID looks like a path can no longer place the built package outside the folder you chose.
- A Play Together friend's player opens no new video decoder after it stopped (phones have only a few).
- A bug report for a console that hasn't been checked yet no longer shows another console's details.
- After sending the helper, every console's own status updates right away, not after the next check.
- Release tooling never marks an older version as the latest.

## 12.6.28

**Fake packages (FPKG)**
- **Fake PS5 games play up to firmware 13.60.** A kstuff build with fake-package support up to 13.60 came out in November 2026. The app no longer warns that an installed fake PS5 game won't start on 11.61, 12.xx or 13.xx: the warning now appears only above 13.60. The fake-package note, Convert, the Payloads list, the FAQ and the README say that firmware above 11.60 needs that November 2026 kstuff (or newer). Convert again suggests a package, not an image, for a PS5 game on 13.60.
- **A fake PS5 game that won't start says why.** On 11.61 to 13.60, a launch that fails now adds that a game from a fake package needs the November 2026 kstuff, so load it and press Play again.
Expand Down
7 changes: 3 additions & 4 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ running.
**Q: Which firmware limits apply to what I install?**
- **PS5 fake *game* packages play on firmware up to 13.60.** Above 11.60 (11.61, 12.xx, 13.xx)
they need a kstuff build with fake-package support for that firmware, released in November
2026; with an older kstuff the package installs, but the game does not start. Above 13.60 they
install but do not start. PS4 fake packages work and PS5 homebrew apps launch. The note at the
2026; with an older kstuff the package installs, but the game does not start. PS4 fake packages work and PS5 homebrew apps launch. The note at the
top of **Upload & Install** says so before you send anything.
- On **13.60**, Stream & install is the dependable route.

Expand Down Expand Up @@ -2079,8 +2078,8 @@ refuses to start the title. Check these in order.
kstuff build that supports fake packages on that firmware, released in
November 2026. With an older kstuff the package installs, but the game does
not start: load the newer kstuff, reboot if an older one was running, and
launch again. Above 13.60 an installed PS5 fake package does not start, and
the app warns about that on Install and Convert. You can also mount the
launch again; when a launch fails on these firmware versions, the app says
so. You can also mount the
package with Kraken Mount instead: with Kraken Mount running on the PS5,
Upload & Install puts the `.pkg` in a folder it scans, and the game plays
straight from the package, with nothing installed. PS4 packages are fine,
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.6.27
12.6.28
70 changes: 67 additions & 3 deletions client/e2e/files-phone-long-names.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ import { expect, test, type Page, type Route } from "@playwright/test";

// #923: on a phone, long file names were cut off after a few characters because the tag, size and
// buttons share the name's line. There the name now wraps and the tag and size sit below it; wider
// windows keep one line per row.
// windows keep one line per row. #931: a phone held sideways is wider than `sm`, but it keeps the
// phone layout too (wrapped name, size below, actions behind ⋮), not the desktop row of buttons.

const HOST = "192.168.0.5";
const LONG = "Dead.or.Alive.5.Last.Round.CUSA01778.v1.19.All.DLC.Backport.Fixed.pkg";
const FILES = [LONG, "b-second.bin"];
// Too long for one line even across a phone held sideways.
const HUGE =
"Marvels.Spider-Man.2.Digital.Deluxe.Edition.PPSA03016.v1.004.000.All.DLC.Backport.Fixed.By.Somebody.With.A.Very.Long.Release.Group.Name.exfat";

async function openFiles(page: Page) {
async function openFiles(page: Page, files: string[] = FILES) {
await page.addInitScript((files) => {
const w = window as unknown as Record<string, unknown>;
const calls: string[] = [];
Expand Down Expand Up @@ -38,7 +42,7 @@ async function openFiles(page: Page) {
plugins: {},
};
w.__TAURI_EVENT_PLUGIN_INTERNALS__ = { unregisterListener: () => {} };
}, FILES);
}, files);
await page.addInitScript((host) => {
window.localStorage.setItem("ps5upload.host", host);
}, HOST);
Expand Down Expand Up @@ -80,6 +84,61 @@ test.describe("phone width", () => {
});
});

async function expectPhoneRow(page: Page, name: ReturnType<Page["getByRole"]>) {
const fits = await name.evaluate((el) => el.scrollWidth <= el.clientWidth + 1);
expect(fits).toBe(true);
const nameBox = await name.boundingBox();
const meta = name.locator("xpath=following-sibling::div[1]");
const metaBox = await meta.boundingBox();
if (!nameBox || !metaBox) throw new Error("no box");
expect(nameBox.height).toBeGreaterThan(24);
expect(metaBox.y).toBeGreaterThanOrEqual(nameBox.y + nameBox.height - 1);
await expect(meta).toContainText("1000 B");
// No inline action buttons in this row: only the ⋮, which holds them all.
const row = name.locator("xpath=ancestor::li[1]");
await expect(row.getByTestId("fs-row-actions")).toBeHidden();
const visibleButtons = await row
.locator("button:visible")
.evaluateAll((els) => els.map((el) => el.getAttribute("aria-label") ?? el.getAttribute("title") ?? ""));
expect(visibleButtons).toEqual([LONG, `Actions for ${LONG}`]);
const more = row.getByRole("button", { name: `Actions for ${LONG}` });
await more.click();
const menu = page.getByTestId("fs-row-menu");
await expect(menu.getByRole("menuitem", { name: "Rename", exact: true })).toBeVisible();
await expect(menu.getByRole("menuitem", { name: "Delete", exact: true })).toBeVisible();
await page.keyboard.press("Escape");
await expect(menu).toHaveCount(0);
}

for (const viewport of [
{ width: 915, height: 412 },
{ width: 844, height: 390 },
]) {
test.describe(`phone held sideways ${viewport.width}x${viewport.height}`, () => {
test.use({ viewport, hasTouch: true, isMobile: true });

test("keeps the phone row: the name wraps, size below, actions behind ⋮ (#931)", async ({ page }) => {
const name = await openFiles(page, [...FILES, HUGE]);
expect(await page.evaluate(() => matchMedia("(pointer: coarse)").matches)).toBe(true);
await expectPhoneRow(page, name);
// A name too long for one line really wraps (the 44 px touch height alone is not proof).
const huge = page.getByRole("main").getByRole("button", { name: HUGE, exact: true });
const lines = await huge.evaluate((el) => {
const style = getComputedStyle(el);
return {
lines: el.getBoundingClientRect().height / parseFloat(style.lineHeight),
fits: el.scrollWidth <= el.clientWidth + 1,
whiteSpace: style.whiteSpace,
};
});
expect(lines.fits).toBe(true);
expect(lines.whiteSpace).toBe("normal");
expect(lines.lines).toBeGreaterThanOrEqual(1.9);
if (process.env.FS_SHOT) await page.screenshot({ path: process.env.FS_SHOT });
});
});
}

test.describe("desktop width", () => {
test.use({ viewport: { width: 1280, height: 800 } });

Expand All @@ -91,5 +150,10 @@ test.describe("desktop width", () => {
if (!nameBox || !sizeBox) throw new Error("no box");
expect(nameBox.height).toBeLessThan(28);
expect(Math.abs(sizeBox.y + sizeBox.height / 2 - (nameBox.y + nameBox.height / 2))).toBeLessThan(6);
// The actions stay buttons on the row, and there is no ⋮.
const row = name.locator("xpath=ancestor::li[1]");
await expect(row.getByTestId("fs-row-actions")).toBeVisible();
await expect(row.getByRole("button", { name: "Rename", exact: true })).toBeVisible();
await expect(row.getByTestId("fs-row-more")).toBeHidden();
});
});
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ps5upload-client",
"private": true,
"type": "module",
"version": "12.6.27",
"version": "12.6.28",
"description": "The all-in-one PS5 companion app.",
"homepage": "https://github.com/phantomptr/ps5upload",
"author": "PhantomPtr <phantomptr@gmail.com>",
Expand Down
30 changes: 15 additions & 15 deletions client/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ps5upload-desktop"
version = "12.6.27"
version = "12.6.28"
description = "The all-in-one PS5 companion app."
license = "GPL-3.0-or-later"
edition = "2021"
Expand Down
Loading
Loading