feat: boot PPSA04263 to the main menu #144
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/144"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by STL1te on 2026-09-29T05:02:11Z.
feat: boot PPSA04263 to the main menu (depth/stencil, mip-chain targets, AJM MP3, direct memory, system services)
What
Brings PPSA04263 (version
01.010.002, master01.00) from its main thread to a working main menu. The intro movie plays with sound. The legal and calibration screens, the landing page with its artwork, and Settings all render. The branch has one commit per area, on top of the two commits of #83.AGC driver
APS5_DUMP_FRAMES_EVERY=<k>debug switch.DepthStencilTests.Shader recompiler
image_sample_*_aaliases._clLOD clamp maps to MinLod (shaderResourceMinLod).v_add/sub/subrev_co_ci_u32take their carry-in from src2's SGPR pair. It used to be taken from VCC, which made UI text stippled.libkernel / libc
sceKernelDirectMemoryQueryanswers from tracked allocations.fsync/pread/pwrite. Directories open as descriptors on Windows.sceKernelCheckReachability,getpeername,shutdown.0x2_0000_0000, so they no longer collide with fixed mappings at0x10_0000_0000./app0.sscanfon Windows; a null%sprints(null).localeconv,_FNan,_FDtest,_FExp,__udivti3,wcsncpy_s, alignedoperator new,_Throw_Cpp_error.libSceAgc
Audio
ffmpeg-coresubmodule as in Kyty.sceAjmBatchJobDecodeand the Run job.System libraries
anyps5-entitlements.ininext to the executable, or from the fileANYPS5_ENTITLEMENTSnames.param.json. Content export, search and delete.ulobjmgr,libScePlayerInvitationDialog,libScePlayerSelectionDialog,libSceVideoRecordingP.Relinker
--exclude-sce-module <file>(repeatable).Not done yet
Tested
01.010.002: runs through the intro movie with sound, the legal and calibration screens, then the main menu and Settings. Story mode is not reached (see above).guest_memory_testsandguest_formatting_testspass.agc_driver_graphics_testsruns through the state tests, including the newDepthStencilTests, then stops on a resource-test expectation that predates sampled and storage images (not touched here). Fullctestnot run.Checklist
main(fe1935e). No other open PR implements the same functions: not verified. These PRs touch the same files: #81 (DirectMemory/MemoryPool), #84 (libScePad), #98 (libc formatting, relinker guest image), #141 (ControlFlowInstructions), #142 and #143 (AGC driver).NotImplemented_nid_no_patch). No silent stubs were added: the lifecycles for a console without a feature report that feature as absent..mdfiles or images added to the repository3rdparty/ffmpeg-core(Kyty's) downloads prebuilt FFmpeg for its commit.Imported from boykopovar/AnyPS5. Originally posted by DenizSAHIN570 on 2026-09-29T08:37:46Z.
By any chance did you tried all the graphics settings? Performance mode might be easier to get it running first compared to Fidelity.
Imported from boykopovar/AnyPS5. Originally posted by STL1te on 2026-09-29T08:39:40Z.
Thanks for the idea! I actually haven’t tried changing the graphics settings yet. I’ll give Performance mode a shot first and see if that helps.
Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-29T13:25:18Z.
Wow! It looks very cool!
However, by the time I got to this PR, there were a lot of conflicts. I also have a question about using the
--skip-sce-moduleflag. In general, this is a bad sign that it needs to be used. Have you tried without it? The game expects customized ones (suitable only for this game) prx from this sce_module folder. If the game started after--skip-sce-module, it means that you have implemented custom guest functions in libs/prx. But the problem is that different games may have these functions implemented in different ways. In general, this is the point of the sce_module folder in ps5 games - to enable game developers to replace common functions with their own. Tell me, have you tried to run without a flag, if it crashes, then with what error? The priority now is to teach relinker how to work with the sce_module folder of this game.Imported from boykopovar/AnyPS5. Originally posted by STL1te on 2026-09-29T13:37:46Z.
Thanks!
Conflicts. I'll rebase onto current
mainand resolve them.--skip-sce-module. It was used only at the very start of the bring-up, following the README note of that time (9325ac0: titles that ship their ownlibc.prxare relinked with--skip-sce-module). The build tested in this PR does not use it.sce_moduleprocessing is on, and the title'slibSceJobManager.prxandlibSceNpCppWebApi.prxrun as guest modules. The one file left out is the title'slibc.prx, excluded with--exclude-sce-module libc.prx, which this PR adds. The--skip-sce-modulelines in the diff are unchanged context around the new option inCliArgs.cpp.Without any flag. I hadn't tried the title's own
libc.prxbefore, so I tried it today. The relink succeeds and produces three guest modules (libc,libSceJobManager,libSceNpCppWebApi). Startup then stops in the import binder:cfwBSQyr5YsissceKernelDebugWriteCppExceptionInfo, a libkernel function the title'slibc.prximports. It is the only gap. The title's libc brings 63 imports that the executable alone does not have, and ourlibs/*.prxalready export the other 62. Next I'll implement that function and run the title with its own libc. If it runs, I'll drop the exclusion.Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-29T15:01:00Z.
Will you be able to make the game run without --skip-sce-module or --exclude-sce-module? If any symbols are missing from the relinker after running this, it means they are common to all applications and should be implemented in libs/prx. I assume that many of the libc.prx functions you implemented and modified will no longer be needed, and their changes can be reverted to their original form, suitable for the general case (since they call functions from sce_module\libc.prx.guest.prx). Currently, only Dreaming Sarah works this way (it calls its sce_module\libc.prx.guest.prx, although we initially hardcoded its format for functions in libs/prx). If this works for you, it will essentially mean a completely correct native launch without a single workaround, suitable for the general case.
Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-29T15:15:29Z.
Perhaps, according to my previous post, it is not clear: the game takes customized libc functions from libc.guest.prx, and the rest from our general libc.prx - that is, both are used.
Imported from boykopovar/AnyPS5. Originally posted by STL1te on 2026-09-29T18:34:34Z.
Created new PR here https://github.com/boykopovar/AnyPS5/pull/153
Pull request closed