Skip to content

12.6.31: package rename, helper prompt, stream reach check, archive freeing, audits, site refresh - #943

Merged
phantomptr merged 93 commits into
mainfrom
release-12.6.31
Nov 26, 2026
Merged

phantomptr merged 93 commits into
mainfrom
release-12.6.31

Conversation

@phantomptr

Copy link
Copy Markdown
Owner

12.6.31. Full notes are in CHANGELOG.md under Unreleased.

Local gates green (fmt, clippy, engine nextest, payload tests, tsc, lint, vitest, i18n, apidoc, helper version, embedded pages, no-ftx2). Not tried on a console or on Windows.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT

phantomptr and others added 30 commits November 25, 2026 11:41
The image has real "." and ".." entries, so "sce_sys/.." resolved to the
root and was written as <folder>/.., beside the folder that was chosen
(code scanning alert 338). Names inside the walk were already checked; the
path that starts it now is too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…n size (#940)

Renaming a user in Accounts > Users failed every time with registry error
0x800D0208. That code is a size rejection: the helper wrote the account
slot's name with size 32 (the size of the buffer names are read into), but
the registry's user_name field is 17 bytes (16 of name and the end mark).

- The helper passes 17, and refuses a name longer than 16 bytes without
  writing anything. It never cuts a name, which could split a letter.
- The same limit everywhere: helper (slot name and local user name), engine
  (checked before anything is sent, answered 400), and both name boxes in
  the app. The limit is bytes, so the app says when a name with accented or
  non-Latin letters is too long even though it is 16 letters or fewer.
- The error no longer blames missing privileges. Known registry codes get
  plain words (size refused, no such entry, name too long, call missing on
  this firmware); any other code is shown as a number with no guess.

The other registry writes in profile.c already use their field's size
(type 17, account id 8, the sign-in restore's own table). The online ID
entry is left alone: a rename does not write it.

Tests: payload/tests/profile_name_selftest.c (a registry that answers
0x800D0208 to any other size), engine profile tests, client userName test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
On the PS5's own browser a save backed up at 07:25:59 in Recife (UTC-3) was
listed as 10:25:59. The page named and showed backups on the browser's
clock, and the PS5's browser reads UTC whatever zone the console is set to.

- The helper adds the console's zone to /api/status (tz_min: minutes ahead
  of UTC, from the registry's zone offset plus an hour while summer time is
  on; null when it cannot tell). Read at most every 5 minutes, and never
  waits for the Sony lock.
- The page shows every date through one place (console/time.ts): the
  browser's own zone on a phone or PC, the console's zone on the PS5's
  browser when that browser has none. Same fix for a file's "modified" time
  and a game's "last played" date, which had the same mistake.
- New backups are named in UTC and marked with "Z", so the name means the
  same moment on every device. Older names still read as before, so the
  backups already made on the PS5 now show the right time too.

Tests: vitest with the clock fixed to UTC (the PS5's browser) and to
America/Recife (a phone), a browser test with the PS5's user agent, and the
helper's zone rule in the codec self-test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…ll More menu (#936)

On a phone the app's top bar is now as short as its bell is comfortable to
tap and has no Back and Forward arrows: the phone's own Back goes back.
In Files the bell sits in the Files header and the app's bar is gone, so
there is one bar at the top instead of two. An iPhone has no Back button,
so it keeps the arrows and the app's bar. Tablets and computers are as
they were.

Selecting in Files on a phone no longer moves the rows: the box shows at
the end of the row, where the row's menu button was, so icons and names
stay put.

More in the bar of selection actions now offers what the row's own menu
offers when exactly one item is selected (What takes space?, Properties,
Install and so on), and only the actions for a selection when several are.

The join and pad pages are rebuilt for the stylesheet change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
A package picked on Upload & Install now shows the name it gives its game in
a "Name on the PS5" field. Changing it rewrites the name inside the package
file, so the installed game carries the new name. Languages that held the old
name get the new one; a box applies it to every language.

How it works:
- PS5 packages: the name is in the container's param.json. PS4 packages: in
  param.sfo (TITLE, TITLE_xx). The change keeps every offset and the file's
  length, and recomputes every digest over the name, the header signature
  (made from public values in a fake package), the block CRCs and the
  manifest in the ZIP that ends a PS5 package.
- Nothing is copied: a few KiB are written in place through the undo journal
  image edits use. The result is read back from disk and checked; anything
  short of that puts the file back as it was. A rename a crash interrupted is
  undone the next time the package is opened or installed.
- Refused, with the reason: official packages, a package whose digests don't
  hold as they are, a name that doesn't fit, a split package, a package on a
  server or the PS5, and a package that an install, upload or build is using.

New engine routes: GET and POST /api/pkg/name.

Not checked on a console: that the home screen shows the new name after an
install. The game image's own copy of param.json is left as it is.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Two people asked on Discord whether ".pkg" in Convert is the fake package
(FPKG), and where that option is. Under "What to make" the choice is now
"A fake package (FPKG, .pkg)", and its description starts with "A fake
package (FPKG)." before saying how it installs on the PS5. The PS4 choice is
"A PS4 fake package (FPKG, .pkg)".

The four texts have new keys in every language; the old keys are gone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
A new, off-by-default choice for unpacking a game archive on a drive with
no room for the archive and the unpacked game side by side. It destroys
the archive, so it has to be asked for (free_archive on /api/fpkg/extract)
and can be checked first (/api/fpkg/extract/free-check).

What each kind of archive gets:
- .zip: files are unpacked from the end of the archive backwards and the
  archive is cut short behind each one.
- multi-part .rar: a part is deleted once every file that starts in it is
  unpacked and the reader has moved to a later part.
- .7z, one-file .rar, tar, .zst: nothing can be freed while it unpacks;
  the archive is deleted the moment the unpack is finished and checked.

Safety:
- Everything that can be checked is checked before anything is deleted:
  the place (no network or read-only drive, no link, no second name), the
  listing, exactly one game, all parts, room on the output drive, and
  that nothing else is using the archive. A refusal changes nothing.
- An archive freed as it goes is first read through once, so damage is
  found while it is still whole.
- Nothing is cut or deleted until what it held is written, compared with
  the archive's size and checksum, and flushed to the drive.
- A cut .zip is renamed .partial-deleted before its first bytes go; a
  set's remaining parts are renamed when the unpack stops early.
- When it stops part way, what was unpacked is kept and the job says
  where it is and what is left of the archive.
- The game is unpacked into <archive>.unpacked, a folder no sweep or
  failed build removes.

Uploads from an archive and the usual unpack now register as reading the
archive, so the two can't run on one archive at the same time.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
For a game that comes as an archive on a drive too small for the archive
and the unpacked game together. Under Options, for an archive on this
computer: "Free the archive's space while it unpacks", marked Dangerous.

- Off for every game. Turning it on first asks the engine whether and how
  it can be done, then asks the user with what is lost if anything goes
  wrong. The answer is for that one archive, in this window only: it is
  never saved, and it is off again once the game has run or been queued.
- A .zip is freed file by file, a multi-part .rar part by part. A .7z, a
  one-file .rar and a tar can only be deleted once unpacking has finished
  and been checked, and the question and the card say so.
- Offered where the run unpacks the archive to disk: always for a package.
  An image or folder is made straight from most archives with nothing
  unpacked, so there the option says it is not needed.
- If the run fails or is stopped with the archive gone, the unpacked game
  is kept and the result says where it is. It is removed only after
  something was made from it.
- The queue row shows a "deletes archive" tag, and a waiting game's own
  options can turn it on (with the same question) or off.

Translated into all 20 other languages.

Also: on Windows the unpack no longer locks the archive it reads through
a second handle (which would have refused its own reads); it asks there
whether another program has the archive open.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
A .7z packs its files in blocks, each a stream of its own, with the list
at the end. One with more than one block is now unpacked from its last
block backwards and cut short behind each, like a .zip is behind each
file. How many blocks there are is the packer's choice: one per file when
it was packed "non-solid", a few large ones otherwise. A .7z in a single
block still can't be freed until it is fully unpacked, and says so.

A layout the plan is not sure of (blocks out of order, packed bytes that
reach into the file list) falls back to deleting at the end, never to a
refusal or a guess.

The vendored 7z reader gains Archive::block_pack_range, which reads
nothing and changes no behaviour (third_party/sevenz-rust2/README.md).

Freeing an archive as it unpacks is refused on a phone or tablet, where
it has not been tried.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
On Windows the check for another program using the archive is an open
that shares the file with nobody. It ran after the unpack had opened the
archive to read it, so it would have refused every .zip and .7z there.
It now runs first, and asks a few times, since a scanner or the indexer
often holds a file for a moment.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
mgmt_audit.py (all checks) ended with two findings and exit 1: vinput_dev.c
makes Sony calls without the helper's Sony lock. That file is built into the
companion's own ELF and runs in its own process, where the helper's lock does
not exist. Both functions are now listed as allowed, with the reason, so a
real finding is not lost among them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…ak comes back whole

After a helper restart the saved notifications are read back from their
file. The entry header was read with a scanf format ending in a newline,
which in scanf means any run of whitespace: it also ate the spaces, tabs
and line breaks a message began with. The message was then read too far,
into the next entry's header, so that message came back wrong and the
ones after it were wrong or missing.

Exactly one byte now ends the header line. The file format is the same.

Test: notif_selftest saves messages starting with a space, a tab and a
line break, restarts and compares every one (fails on the old code).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
When the saved notifications did not fit the 32 KiB reply (many long
messages of quotes or control bytes, which grow when escaped), the list
was cut in the middle of an entry and then closed: the app could not
parse it, and the notifications stayed unreadable until they were
cleared. A message could also be cut short without a word.

Each entry is now built apart and added only when it fits whole, with
the room for the end of the reply kept from the start. A buffer too
small for even an empty list answers an empty string instead of
uninitialised bytes.

Test: notif_selftest checks every reply from 1 byte to 2.6 KiB, and the
helper's own 32 KiB with 64 worst-case messages, is one whole JSON
object (fails on the old code).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
The reply to a cheat switch that was refused carries the reason, escaped
for JSON. The reason can be 255 bytes and doubles when it is all quotes
or backslashes, but the reply buffer was 512 bytes: such a reply did not
fit, and the length sent was the one it would have had, so up to 23 bytes
from past the end of the buffer went out with it. No reason the helper
writes today is that long (the longest text taken from a cheat file is
160 bytes), so this is a guard, not a fix for something seen.

The buffer now holds the longest reason, and a reply that still does not
fit is answered with a short error instead.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…an be unmounted

Each mounted image has a small tracker file, named after the folder it
is mounted at with every byte that is not a letter or digit written as
three. A folder with about 24 or more Japanese or Chinese letters in its
path made a name longer than a file name can be (255 bytes), so the
tracker was never written. The image was mounted all the same, but the
Volumes list did not show it and Unmount answered that it was not our
mount, until the console was restarted. Two such folders that began the
same way also shared one tracker name.

A name that would be too long now keeps its start and ends in a hash of
the whole folder path, and the temporary file the tracker is written
through no longer has the long name in it. Every name that could be
written before is unchanged, so mounts made by an earlier helper are
still found.

Test: image_mount_selftest checks the old names stay the same, a long
name fits a file name, is stable, and differs between two long folders.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
A mount request names the folder to mount at. The helper kept that text
as it was sent and compared it with the name the console's mount table
gives the mount, which never has a doubled slash or a "/./" in it. For
"/data//games/foo" nothing matched: the check that something is mounted
there already let a second image be stacked on the first, the mount was
not in the Volumes list, and unmounting it left its disk unit attached
(one lost for every mount and unmount, until a restart).

The folder is now rewritten the way the mount table names it before it
is used, and the reply carries that form. A path that ends in a slash or
has ".." in it is refused, as the trailing slash already was.

Not covered: a folder reached through a symbolic link, which needs a
console to check what the mount table then says.

Test: image_mount_selftest (the rewritten forms and the refused ones).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…d for another

A mount request can name the folder to mount at (up to 255 bytes) or a
short name (up to 127). A longer one was read as if none had been sent,
so the image was mounted at /mnt/ps5upload/<a name made from the image
file's name> instead of where the caller asked, and the request was
answered as a success. It is now refused before anything is attached
(fs_mount_bad_mount_point, fs_mount_name_too_long).

No host test: the request handler lives in runtime.c, which has no host
harness. Checked by reading: a missing field, null and "" are still
"none given".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
When neither way of attaching an image works, the error names why each
one refused ("lvd=... md=..."). Both texts came from strerror in one
call, which answers from a single buffer of its own, so the same text
was printed twice and one of the two reasons was lost. The first is now
copied out before the second is asked for, and both error numbers are
added. The apps match this error by its first word only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…le a second time

The tile thread ends when it has nothing left to do and a new one is
started for the next job. A new one did not know what the one before it
had done: started to tidy up after Minion was turned off (the tile
already off for a couple of minutes), it took the earlier "remove the
tile" as not done yet. It ran the whole removal again, which on a
console that keeps the tile's record registers the tile once more and
uninstalls it again, could end in a "removal incomplete" for a tile
that was gone, and skipped the tidy-up it was started for.

What was last applied is now kept outside the thread.

No host test: the thread's loop runs Sony calls and has no host harness;
checked by reading every path that starts a tile thread (a request, the
start-up sweep, the turn-off sweep, a thread that failed to start).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…ot a shorter list

Saving or removing a network share reads the saved shares, changes the
list and writes it back. A read that failed partway through the file was
taken for its end: the shares read so far counted as all of them, and
the file was written back without the rest, with no error.

The file is now read to its end or the change is refused (io_error), and
an interrupted read is tried again.

Test: webui_smb_selftest puts a folder where the file is (it opens, then
every read fails) and expects the error (fails on the old code).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…the console's own apps

A folder is registered under the title id its own param.json or
param.sfo gives, which can be any text. Two things went through:

- An id of a system app (NPXS...: the browser is NPXS20001). The user's
  folder was bound over that app's real system folder and Sony's
  installer was asked to install that id; unregistering it later asked
  Sony to uninstall the system app. The helper already refuses to
  uninstall or hide system apps everywhere else.
- Text that is no title id at all (not 4 letters and 5 digits). The
  check that protects a game the console installed itself answers "not
  installed" for such an id, and paths were built from it.

Both are now refused before anything is written, for a register and for
a re-bind (register_system_title, register_title_id_unsafe). The apps
show these codes as they are; no translated text was added.

Read from the code, not seen on a console.

Test: install_guard_selftest (the rule, and that register.c applies it
before the install check and before any write).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
The built-in shell's "chmod -R" walked a folder and changed every entry
it found, links too. Changing a link changes the file it points at,
which is somewhere else: another game's files, or the helper's own key
store. The store is refused when it is named in the command, but a link
to it inside the folder was not seen, and its key file was changed (a
"chmod -R 000" made it unreadable).

Links found in the folder are now skipped, as the app's own recursive
permission change already does.

Test: shell_protected_selftest puts links to a file outside and to the
key into a folder and checks chmod -R changes neither (fails on the old
code); grep -r, cp -r and rm -r are checked the same way and were fine.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
… even when the next request cannot start

Asking for a new pairing PIN first gives up the old one on the console.
When the new request could not start (Remote Play could not be made
ready), that step was skipped and the note that it was still owed was
dropped too: a PIN the app showed as cancelled, or had just replaced,
stayed good on the console until Sony's own time limit.

The old PIN now stays owed and is given up by the next status poll.

Test: two cases in the pairing state tests (ps5upload-ctest rp_pair).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…re removing its output

A converter that does not stop within 10 seconds of Stop is killed, and
its unfinished output is then removed. The helper waited a fixed half
second in between. A converter in the middle of a long write to a slow
drive ends only when that write returns, so the output was removed while
it was still being written and part of it stayed on the drive, with
nothing left to clear it later.

The helper now waits until the converter is really gone (10 seconds at
most), the way Extract already does. The host test's own converter is a
child process that stays listed until the test collects it, so the test
build uses a 1 second wait.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
The list of tracked games and the play-time list are written title by
title into a fixed buffer. When the buffer filled up between a title's
first half and its name, the list was closed as it stood, with an open
entry inside it, and the app could not read any of it. It takes hundreds
of titles with long names to fill 128 KiB, so nobody has seen this, but
the reply was wrong when it happened.

A title is now taken back out when it does not fit whole, and room for
the end of the list is kept.

Test: activity_json_selftest asks for the list with every buffer size up
to the full reply and checks each answer is whole (fails on the old
code).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
The shell's sysctl read a value into a 1024-byte buffer and printed it
as text. A value of exactly 1024 bytes with no ending zero filled the
buffer, and printing it read on past its end. One byte is now kept for
the ending zero. No such value is known on the console; found by reading.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…me could not be undone

Changing only the letter case of a name goes through an in-between name.
When the second step fails, the file is put back under its old name;
when that fails as well (a drive that stopped answering), the file stays
under the in-between name, which starts with a dot, and nothing said so.
The helper's log now names it. The answer to the page is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Restoring a 'before restore' backup keeps the current save as another backup of that kind, and the pruning that follows could delete the one being restored when it was the oldest. If the restore then failed, that save was gone from everywhere. The backup being restored is now never pruned.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Putting a save in place lists its folder first, and a folder that is not there made the listing fail, so the copy stopped before anything was sent. For an emulator's save (plain files in an ordinary folder the upload makes) a missing folder now counts as an empty one. A PS5 or PS4 save folder still has to exist, and any other listing failure still stops the copy.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
phantomptr and others added 26 commits November 25, 2026 14:57
Allow and No were cut off under the picture (both, in German). On a computer the request
no longer sits on top of the keyboard-and-mouse card: that card waits until it is answered.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
… move too

And the game page no longer retries with the DRM-type patch a title ID the helper will
never register.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…s and styles

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
The drive chips read "GiB 250" and the console picker cut a Latin name at
its start.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…ction says how many it lists

With 20 payloads saved in Payload Manager the list is long. Past eight payloads a box above it
narrows it by name, file name or path (Esc clears it), and says "5 of 20". "Found on this PS5"
and "Also running" now show their own counts, so the number at the top can be added up from
the three sections. A very long file name wraps instead of pushing the row wider, keeps its
order in Arabic and Persian, and the two boot-order arrows have names for a screen reader.

New e2e spec for 20 saved + 4 found + 1 running at desktop, tablet and phone sizes, in the
light theme, German, Russian and Arabic, with LZ4 Compression's leftover data folder on the
console (no card, nothing "Installed").

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…en so the direction check passes

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…ator

"Unpack the asset packs" lived in the engine, so the converter that runs on the PS5 could not
use it. It moves to ps5upload-convert-core (unpack_packs), which both already build on; it needs
nothing the console build did not link already. The engine re-exports it and keeps its tests as
they were; its behaviour does not change.

New for the console, which downloads nothing: open_with_own_emulator keeps the game's own AMPR
emulator only where the unpack rule keeps it (an ampr_emu as new as the one the app installs,
or whatever a game that does not read through libSceAmpr has) and refuses the unpack where the
rule would add or replace one, so plain files never end up beside an emulator the rule does not
keep. assess says which it will be, and the plain size, from the pack indexes alone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…nd leave out the AMPR emulator

For a .pkg of a game in LZ4 or zstd asset packs, the page now has the app's two options, in the
app's words: "Unpack the asset packs (plain files again)", on unless turned off, and "Leave out
the AMPR emulator". They show only when the game that was read is in packs and the converter
said what it unpacks to; an older helper's answer has neither, and the page then sends what it
always did.

The console downloads no emulator. When the game reads its files through AMPR and has no
emulator that works with plain files, the page says so and holds Convert until the emulator is
left out or the packs are kept; the converter refuses the same request with the same sentence.
The free-space note counts the plain files when the packs are unpacked.

Six strings in all 21 languages; three of them are the app's own texts and translations.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…thout its emulator

A build request for a .pkg takes "unpack_packs" and, with it, "leave_out_ampr_emu" (both false
when absent, so an older request builds what it always did). The packed game is read as its
plain files through the code the engine uses, decoded as the package is written, nothing
spooled.

What becomes of the emulator follows the app's rule, minus the download the console can't make:
the game's own stays where the rule keeps it; where the rule would put another in, the build
ends with convert_unpack_needs_emulator before anything is written, and leaving the emulator
out builds. A game that is not in packs ends with convert_not_packed.

The space check before the first byte counts the plain files, not the packs. An inspection of
a packed game now also says its plain size and whether its emulator can stay
(unpacked_bytes, unpack_keeps_emulator), read from the pack indexes, the eboot's imports and
the emulator's file.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
/api/convert/start and the CONSOLE_CONVERT operation read "unpack_packs" and
"leave_out_ampr_emu" for a .pkg and write them into the converter's request, each only when it
is on. Both are false when absent, and neither is read with any other output, so a page from
before them (and a request that never names them) builds what it always did. The emulator left
out of a game that stays in its packs, or a value that is neither true nor false, is refused
with convert_bad_unpack before a converter is started.

The selftest covers the request, the route's body, the operation, and the converter's own
refusal reaching the page as its cause. HARDWARE.md lists the runs a console still has to make.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…per button (#941)

Since 12.6.15 the bar that said "the PS5 helper is v… but this app is v…" was
gone: the automatic helper update replaced it, and when that was switched off
after #903 nothing took its place. An older helper showed only on the console's
card under Manage connection.

Now, when a console answers with a helper older than this app:
- one toast and one entry in the bell, once per console per app version;
- a notice on Home with Update helper, until the helper is updated or the
  notice is dismissed (the next app version says it again);
- the console card's main button reads Update helper.

Nothing is sent by itself. Update helper does what Resend helper does (the same
questions, the same engine checks), and sends nothing while this app has a
transfer, an install, a game start, a stream or a bring-up running on that
console: it says which, and is pressed again afterwards. Nothing is said about
a console that is asleep, unreachable, waiting to pair or whose helper was
stopped.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…942)

Stream & install has the PS5 fetch the package from this computer. When the
PS5 could not connect (a firewall is the usual cause), the engine handed the
link to the PS5's installer and waited for its answer for up to 15 minutes.
Nothing was logged after "DPI daemon will pull", and the queue row said "The
PS5 is installing the package — 0%" the whole time. The check that used to
catch this before the handover was removed in 6.2.0.

Engine:
- Before a stream is handed over, the helper is asked to connect to the
  address the PS5 would be given. If it can't, this computer's other addresses
  on the PS5's network are tried (a second adapter on the same LAN) and the
  one the PS5 reaches is used. If none answers (asked twice), the install
  fails in seconds, before anything is sent to the PS5, so Upload & install
  can run straight away. A check that can't be made never stops an install.
- Once the link is handed over, a PS5 that has made no request after 60 s
  ends the wait: the job fails with the reason and its session is released.
- The call left on the PS5 is followed to its end in the background. The next
  install to that PS5 waits for it (the installer makes one call at a time)
  and says so; the installer is restarted when its network state is spoilt.
  The same goes for a Stop pressed during the handover.
- The address lookup for a PS5 given by name prefers IPv4, and no longer
  fails for an IPv6 address.

App:
- The failed row says the PS5 can't connect to this computer, names the
  firewall and its fix, and offers Retry and Retry via upload, in every
  language (it used to show the engine's English).
- A running row says what it waits for instead of "installing — 0%".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…fore giving up

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
A package made by Convert declared all 31 languages whenever the game folder
had no PlayGo scenario file of its own, which is nearly every dump. The PS5
then listed a language pack for each one when managing the game's content,
none of which the game has.

Now a package declares what the game declares and nothing more:
- its own playgo-scenario.json languages, as before;
- else the languages in its own playgo-chunk.dat (the language mask there);
- else only its default language from param.json, or en-US.

Game language in Convert's options is now "The game's own languages" by
default, with "Every language" to get the old 31 back, and each language as
before. One language chosen is still that one alone. The package's chunk
table is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Checking a game under Convert's step 1 compares the game's own
ampr_emu.index with its files, before anything is chosen. A game in zstd
packs with an out-of-date index showed "ampr_emu.index is stale (7 listed
missing, 10 sizes differ ...)" even when the package unpacks the packs and
gets a fresh index, and the package installed and played.

The finding now says where it matters: for a game in packs, only in a
package, image or folder that keeps the packs (that one carries the index as
it is); for any other game, in nothing made from it. Convert shows it as a
warning only then, and otherwise lists it with the other checks. A build's
own report drops it the same way. The message says what writes a fresh index.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Checking a damaged package on the Games page showed "4 problem(s) found
(verified against its own digests)" and raw lines such as "failed: outer
blocks match their imagedigs entry (56116 of 1529208 failed)". A user asked
what that means and whether to download it again.

The result now starts with one line that says which of these it is:
- the file's data is damaged: how many blocks of how many, the share, and
  about how much data, with "copy or download it again";
- the file is cut short: how long it is and has to be;
- only the package's own header information doesn't match: the game's data
  is intact, it may still install;
- the file's own tables are damaged.
What to do follows, and the check's own lines are under Details for a bug
report. Counts are worded "Problems found: 7", never "(s)".

The engine's check result gains `damage` (kind and counts) and a `kind` on
each package problem; the existing fields are as they were. A package cut
short before its container is now reported as cut short instead of being
read as some other kind of file.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
"Unpack the asset packs" and "Leave out the AMPR emulator" only showed for a
game that had been checked and was in asset packs, under the output folder
and the compression tiles. Someone looking for a package without AMPR on a
phone found nothing.

For a package, Convert's Options now start with "Asset packs and AMPR":
- before a game is checked, one line says that checking it shows the options
  to unpack the packs and to leave out the AMPR emulator;
- for a game in asset packs, the two options are there, first in the card;
- for any other game, one line says it has no asset packs.

A game waiting in the queue shows the same two options in its own choices.
A game added to the queue without being checked is looked at when its turn
comes, and one in asset packs is unpacked into its package, as a game made
from step 1 is by default; before, it went in with its packs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Declaring only the default language for such a game would lock a game that
asks PlayGo for its languages to that one, which can't be told from the
files and wasn't tried on a console. A package follows the game's own
PlayGo data when it has any; one language can still be chosen (#939).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
The app, website, FAQ and README said fake PS5 games on firmware 11.61 to
13.60 need "the November 2026 kstuff". That build now has a version, so
the text says "kstuff 1.15 or newer" in all 21 languages.

The catalog's kstuff may be an older version without this support. The
kstuff description, the fake-package note on Upload & Install and the hint
after a failed launch now say so: get kstuff 1.15 from its author and send
it with Send payload.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
…no list; a test path is no secret

Bottom tab names size themselves to their tab and the Files selection bar
takes a third line, so nothing is cut in the wider letters of Linux and some
Android phones (the specs now also run in a wide font). A network reply
without an interface list crashed the Console screen. The secret scan read
an escaped mount path in a helper self-test as a key.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT
@phantomptr
phantomptr merged commit e8adcde into main Nov 26, 2026
49 checks passed
@phantomptr
phantomptr deleted the release-12.6.31 branch November 26, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants