Commit Graph
333 Commits
Author SHA1 Message Date
Dean 420b6a064e Merge pull request #12621 from Ragbie/fix/windows-defer-needed-runtime-modules
fix(relinker): defer the runtime modules another deferred module needs on Windows
2026-10-30 08:49:48 +13:00
Adrià 5454cd2e45 Merge pull request #11130 from imellag/perf/macos-mimalloc
feat(libs): let relinked macOS games opt into mimalloc
2026-10-29 12:58:23 +01:00
Dean 59d7cff571 Merge pull request #12263 from WhiteAssassins/feat/patch-catalog-validator
feat(tools): validate complete patch catalogs offline
2026-10-29 23:52:34 +13:00
Adrià f88c86bf6c Merge pull request #12262 from tkcm01/test/agc-overlay-commit-macos
test(agc): expect no commit charge on macOS
2026-10-29 07:45:08 +01:00
dantdmdarealguy df6354b0a8 docs(usage): drop the Linux execute permission sentence from --autorun
The relinker writes every Linux and macOS output with execute permission since ab94ee21d7, as the running section already says, so the --autorun row no longer attributes it to --autorun.
2026-10-28 21:19:30 -05:00
Evrim Cicek 74abb8ce1c fix(relinker): defer the runtime modules another deferred module needs on Windows 2026-10-29 02:09:01 +03:00
Dean d0e4b8a9dc Merge pull request #11623 from dantdmdarealguy/docs/usage-windows-base-0x400000
docs(usage): give 0x400000 as the Windows executable's preferred base
2026-10-29 12:07:48 +13:00
WhiteAssassins c6c35d1a53 fix(tools): reject duplicate catalog keys and nested patches 2026-10-28 12:54:06 -04:00
Emanuele 4c75091972 feat(libs): let relinked macOS games opt into mimalloc 2026-10-28 14:50:31 +01:00
Adrià 3b24c4739e Merge pull request #12092 from MarcZX10/docs/usage-macos-crash-report-import-audit
docs: correct the macOS modules, crash report threads and import_audit module statements in the usage guide
2026-10-28 14:47:27 +01:00
WhiteAssassins 1d7bdd81ca fix(tools): gate catalog validator test on Python 3.11 2026-10-28 02:18:26 -04:00
WhiteAssassins 9765806d88 feat(tools): validate complete patch catalogs offline 2026-10-28 01:50:51 -04:00
tkcm01andClaude Opus 5.5 c3814cb7a4 test(agc): expect no commit charge on macOS
ReadCommitCharge reads /proc/meminfo outside Windows, and macOS has no
/proc, so it returns nothing there and page 2 leaves the commit part of
its COMMIT line out, as it does for any source the run doesn't have.
The statistics test required a reading on every system, and the page 2
sampler test required the first sample to hold one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 01:47:29 -04:00
Dean Galvin 97f1d41a2c Revert "Merge pull request #10809 from frankea/fix/direct-memory-12gib"
This reverts commit 780b33aea3, restoring the 13824 MiB direct memory pool.

With the pool at 12288 MiB, Astro Bot (PPSA21564) can no longer load its
level: DirectMemoryAllocator asserts "Can't allocate direct memory" for a
64 MB VideoPlayerTexture with 12228 of 12288 MB in use, then the process
faults about 26 s in (2 of 2 runs, RTX 4090, Linux, main cccdaa2734).
The same tree with only this merge reverted runs the full 150 s with no
direct memory assert (2 of 2 runs).
2026-10-28 15:45:26 +13:00
Dean 780b33aea3 Merge pull request #10809 from frankea/fix/direct-memory-12gib
fix(libkernel): report 12 GiB of direct memory, as a PS5 does
2026-10-28 13:49:57 +13:00
Dean a36e9b2442 Merge pull request #11489 from WhiteAssassins/feat/patch-catalog-metadata
feat(tools): add optional patch catalog metadata
2026-10-28 12:58:25 +13:00
Dean 8b68c5a465 Merge pull request #11457 from MarcZX10/marc/docs-usage-sync
docs: bring USAGE, INPUT_MAPPING and GAME_TESTING in line with the tools
2026-10-28 12:05:26 +13:00
MarcZX10 13da724480 docs: say import_audit accepts converted guest.prx modules
module_files yields a PE file whose name ends in .guest.prx and reads its
exports; every other MZ file still raises an AuditError.
2026-10-27 20:18:12 +00:00
MarcZX10 13019ed1f6 docs: state the thread limit of the Windows crash report
ReportAllThreads captures at most 128 other threads and prints how many
further threads were left out; the report did not list every thread of a
larger process.
2026-10-27 20:18:12 +00:00
MarcZX10 91730a4f1e docs: say where --macos puts the bundled modules
GuestModuleBuilder keeps each module's directory relative to the module
parent under app0, as the Linux and Windows outputs do, so modules from
sce_modules, prx or a --module-dir do not land in app0/sce_module.
2026-10-27 20:18:12 +00:00
Adrià 2222bae20b Merge pull request #11225 from ebosido444-ai/feat/relinker-version
feat(relinker): report the build revision with --version
2026-10-27 16:16:57 +01:00
Adrià f2f759ae31 Merge pull request #10712 from roboterspinne/fix/relinker-macos-reject-lazy-binding
fix(relinker): reject --lazy-binding for macOS output
2026-10-27 15:35:26 +01:00
Dean 570002610e Merge pull request #11084 from roboterspinne/fix/relinker-output-directory-paths
fix(relinker): reject an existing directory at any output path before writing
2026-10-27 18:31:47 +13:00
roboterspinne 3123f92e7b fix(relinker): reject --lazy-binding for macOS output
MacOsMachOPatcher::Patch discarded its lazyBinding argument, so a
module-free `--macos --lazy-binding` conversion exited 0 and wrote the
same eagerly bound Mach-O as a run without the flag. The Mach-O writer
puts every import in the LC_DYLD_INFO_ONLY bind stream and leaves the
lazy_bind stream empty, with no __la_symbol_ptr or stub helper, so the
macOS target cannot honour the flag. The patcher now throws "macOS
target does not support --lazy-binding", in the form of its
--windows-diagnostics check, so such a conversion exits 2 and writes no
output. Conversions with bundled modules were already refused by the
guest module builder.
2026-10-27 05:59:10 +01:00
cabreira97 887d6bc760 docs(readme): sync translations with current README
Compatibility now points only to the Game bring-up discussions, and Disclaimer gains the paragraph on Sony affiliation and trademarks.
2026-10-26 21:53:10 -03:00
cabreira97 f589a5c5ec docs(readme): add pt-BR, es, zh-CN and ru translations
Translations live in docs/user/ and the English README links to them with a language selector at the top.
2026-10-26 21:51:44 -03:00
MarcZX10 5dfc20dcf2 docs(usage): link late storage image stores to the AGC driver debt file 2026-10-26 23:24:24 +00:00
MarcZX10 aa461c1219 docs(usage): note that ANYPS5_OVERLAY=0 is accepted 2026-10-26 23:24:24 +00:00
MarcZX10 04ebed4090 docs(usage): update the storage texture cache cap 2026-10-26 23:24:10 +00:00
MarcZX10 e74c19d2c6 docs(usage): say that the reward icon call returns an error instead of stopping 2026-10-26 23:24:10 +00:00
MarcZX10 57b58fabf0 docs(usage): describe the param.sfo fallback for title metadata 2026-10-26 23:24:10 +00:00
MarcZX10 0ccda196c9 docs(input): say that an invalid mapping file stops the game 2026-10-26 23:24:10 +00:00
MarcZX10 cc2dc0a952 docs(input): note that the example's ToggleMouse line replaces F7 2026-10-26 23:24:10 +00:00
MarcZX10 ef824756df docs(usage): list every condition that makes the import audit exit 1 2026-10-26 23:24:10 +00:00
MarcZX10 c19c8658dc docs(usage): list the partial class of the import audit 2026-10-26 23:24:10 +00:00
dantdmdarealguy 658abfc096 docs(usage): give 0x400000 as the Windows executable's preferred base
Since 39df8e081c (fix(relinker): prefer 0x400000 for Windows
executables) the Windows main executable puts its lowest ELF load page
at 0x400000 (PE ImageBase 0x3f0000), as the runtime layout section and
the --windows-fixed-base row already say. The sandbox paragraph still
named 0x140000000, and the --trace-imports report example still showed
app.exe+0x10006 at 0x140010006.
2026-10-26 18:12:03 -05:00
WhiteAssassins 6ad4710217 docs(tools): clarify patch catalog metadata compatibility 2026-10-26 19:01:46 -04:00
WhiteAssassins 5c9af08324 feat(tools): add optional patch catalog metadata 2026-10-26 19:01:46 -04:00
Dean 6df35a4f58 Merge pull request #10997 from SandstromPL/fix/relinker-backup-copies-in-conversion
fix(relinker): skip backup copies of guest modules in the online converter too
2026-10-27 10:58:32 +13:00
Dean 1748d26517 Merge pull request #10871 from Chronyyx/feat/relinker-frame-short-exits
feat(relinker): frame red-zone leaves whose prologue or exit is shorter than a jump
2026-10-27 10:55:26 +13:00
Dean b7cfbf0115 Merge pull request #9346 from Techx3/feat/fullscreen-env
feat(libSceVideoOut): open the display window fullscreen with ANYPS5_FULLSCREEN
2026-10-27 10:29:49 +13:00
Adrià ad6a8e646e Merge pull request #10487 from EagleBearerYS/feat/agc-overlay-detail-page
feat(agc): add a detailed second page to the performance overlay
2026-10-26 22:24:46 +01:00
Adrià c7b4878fa8 Merge pull request #10577 from Contemplating-Rain/docs/usage-sandbox
docs(usage): state that converted titles run without a sandbox
2026-10-26 22:07:38 +01:00
Yunus Shaikh b2d870962b docs: describe the performance overlay's second page
USAGE.md's performance overlay section now gives F10's cycle (off, page
1, page 2, off) and ANYPS5_OVERLAY=2, a table with one row per line of
page 2 that names each source and the system it comes from, and what the
page costs: the trace totals it turns on while it shows, and the checks
and counters that run while the overlay is hidden or on page 1.
ENVIRONMENT.md's ANYPS5_OVERLAY row lists page 2.
2026-10-26 20:42:30 +01:00
Adrià cbf76e7a6e Merge pull request #9408 from rursache/feat/macos-trace-imports
feat(relinker): trace function imports on macOS
2026-10-26 11:27:51 +01:00
Dean 74974a3d68 Merge pull request #3456 from AMRYB/feat/web-input-mapper
feat(input): add browser-based input mapping configurator
2026-10-26 20:01:17 +13:00
Dean 2bdd30ebe6 Merge pull request #10719 from WhiteAssassins/feat/patch-advisor-list-verified
feat(tools): list verified patch catalog entries
2026-10-26 20:00:41 +13:00
ebosido444-ai e48781e8fe feat(relinker): report the build revision with --version
The relinker binary carried no build identity: a release build and a
checkout of main were indistinguishable, so a report could not name the
build it came from. --version prints the revision git describe reports,
falling back to "unknown" when the tree has no git metadata, and needs
no input or output paths. The usage line and USAGE.md list the option.
2026-10-26 09:57:41 +03:00
Dean dbf4f6aa3f Merge pull request #10607 from roboterspinne/fix/relinker-linux-run-path
fix(relinker): validate every entry of the Linux run path
2026-10-26 14:26:39 +13:00
frankea b5c6010f80 Merge remote-tracking branch 'origin/main' into fix/direct-memory-12gib 2026-10-25 20:21:28 -04:00