Henrik Rydgård and Claude Opus 5
c80f3d33c2
Run the real libmp4.prx/mp4msv.prx instead of our sceMp4 HLE, when asked
...
The MP4 libraries turn out to be the easiest place to hand a game Sony's own
code: libmp4.prx needs only sceAudiocodecInit and sceAudiocodecDecode from us
plus ordinary kernel calls, and mp4msv.prx - where the 41 functions libmp4
leans on live - imports nothing at all. So with a firmware dump present the
pair can be loaded for real and left to decode through our sceAudiocodec.
Adds DisableHLEFlags::sceMp4, which loads and starts both modules when the
game asks sceUtility for the MP4 module, and a --disable-hle bitmask so a
headless run can ask for this without a config file.
Two things had to be fixed to make it work at all:
- ModuleMgrForUser 0xD2FBC957 was unimplemented, and libmp4 calls it to get
the gp of each callback it is handed. Implemented as
sceKernelGetModuleGPByAddress.
- Headless forced every module to HLE unconditionally, which silently undid
the flag, and it did so before ApplyToConfig() had even parsed it.
Tested with Speedball 2 - Evolution, which uses sceMp4 for its music: the game
goes from 255645 calls into our stubs and 39 unresolved imports, to zero of
each and 1943 AAC frames decoded through sceAudiocodec.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-08 09:44:26 -06:00
..
2026-08-20 00:40:41 +02:00
2026-06-12 12:19:31 +02:00
2025-07-22 17:48:20 +02:00
2026-09-07 12:17:16 -06:00
2025-07-22 17:48:20 +02:00
2026-08-12 14:06:16 +02:00
2025-07-22 17:48:20 +02:00
2026-01-08 22:02:08 +01:00
2026-08-12 14:06:16 +02:00
2026-09-08 09:44:26 -06:00
2026-08-15 19:14:13 +02:00
2026-08-16 16:59:52 +02:00
2026-08-16 16:59:52 +02:00
2026-08-24 12:15:31 +02:00
2026-08-11 10:28:36 +02:00
2026-09-05 10:09:46 +03:00
2026-09-04 18:10:10 -06:00
2025-03-31 11:17:50 +02:00
2025-07-02 00:02:33 +03:00
2025-07-02 01:30:21 +03:00
2026-08-10 10:04:21 +02:00
2025-08-06 17:44:54 +02:00
2026-05-02 11:07:34 +02:00
2025-06-13 23:29:49 +02:00
2026-09-06 14:11:18 +02:00
2026-09-04 13:10:54 -06:00
2026-01-18 23:40:13 +02:00
2025-03-31 10:24:03 +02:00
2026-08-16 16:59:52 +02:00
2026-02-17 09:40:27 +01:00
2026-08-11 09:08:52 +02:00
2025-07-20 19:30:35 +02:00
2025-03-31 11:17:50 +02:00
2026-08-12 14:06:16 +02:00
2025-06-25 11:34:07 +02:00
2026-09-04 18:12:31 -06:00
2026-09-04 18:12:31 -06:00
2026-09-07 12:20:18 -06:00
2026-09-07 12:20:18 -06:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2026-08-24 17:37:39 +02:00
2026-08-21 10:56:06 +02:00
2026-08-12 14:06:16 +02:00
2025-06-05 22:46:24 +02:00
2026-08-24 10:58:34 +02:00
2026-08-24 10:58:34 +02:00
2026-08-12 14:06:16 +02:00
2026-08-18 13:42:13 +02:00
2026-08-18 13:42:13 +02:00
2026-08-16 16:59:52 +02:00
2026-09-05 09:36:26 -06:00
2025-03-31 11:17:50 +02:00
2025-04-03 22:39:14 +02:00
2026-08-12 14:06:16 +02:00
2026-02-09 14:35:32 +01:00
2026-08-11 20:12:10 +02:00
2026-08-24 10:58:35 +02:00
2026-08-19 18:38:03 +02:00
2026-08-12 14:06:16 +02:00
2025-08-06 00:16:34 +02:00
2026-08-24 17:37:39 +02:00
2026-08-19 18:38:03 +02:00
2026-09-04 18:13:10 -06:00
2026-04-28 16:27:12 +02:00
2026-08-12 14:06:16 +02:00
2026-08-24 17:37:39 +02:00
2026-08-24 10:58:34 +02:00
2026-09-04 18:10:10 -06:00
2026-09-04 18:10:10 -06:00
2026-08-17 16:01:23 +02:00
2026-09-04 18:10:10 -06:00
2026-09-04 18:10:10 -06:00
2026-09-04 18:10:10 -06:00
2026-09-04 18:10:10 -06:00
2026-07-25 14:53:02 +02:00
2026-09-08 09:44:26 -06:00
2026-08-24 10:58:34 +02:00
2026-09-04 18:10:10 -06:00
2026-08-17 16:01:23 +02:00
2026-09-04 18:10:10 -06:00
2026-08-17 16:01:23 +02:00
2026-09-04 18:10:10 -06:00
2026-08-17 16:01:23 +02:00
2026-09-07 12:48:22 -06:00
2026-08-19 18:38:03 +02:00
2026-08-12 14:06:16 +02:00
2026-08-11 22:27:44 +02:00
2026-08-12 14:06:16 +02:00
2026-09-07 09:18:02 -06:00
2025-07-20 19:32:05 +02:00
2025-03-31 11:17:50 +02:00
2025-02-14 09:50:55 -06:00
2026-08-12 14:06:16 +02:00
2026-06-08 23:00:36 +08:00
2026-08-12 14:06:16 +02:00
2026-08-12 14:06:16 +02:00
2025-02-12 16:49:43 +03:00
2026-09-07 14:51:47 -04:00
2025-08-06 00:16:34 +02:00
2026-08-12 14:06:16 +02:00
2026-04-23 11:12:58 +02:00
2026-08-12 14:06:16 +02:00
2025-07-01 19:56:09 +03:00
2025-01-21 12:22:32 +01:00
2025-01-21 12:22:32 +01:00
2026-08-12 14:06:16 +02:00
2025-01-21 12:22:32 +01:00
2026-08-11 20:14:01 +02:00
2025-04-07 22:16:32 +02:00
2026-08-12 14:06:16 +02:00
2025-01-09 09:06:23 +01:00
2026-08-12 14:06:16 +02:00
2025-01-21 17:41:53 +01:00
2025-03-31 11:17:50 +02:00
2026-08-11 10:28:36 +02:00
2026-08-11 10:28:47 +02:00
2025-08-15 16:35:25 +02:00
2025-01-05 19:14:15 +01:00
2026-08-11 10:28:47 +02:00
2026-08-24 17:37:39 +02:00
2026-08-19 18:38:03 +02:00
2026-08-24 09:30:44 +02:00
2025-04-14 22:38:22 +02:00
2026-03-04 11:23:59 +01:00
2026-08-12 14:06:16 +02:00
2025-04-03 14:13:50 +02:00
2026-08-24 12:15:31 +02:00
2026-08-24 11:12:59 +02:00
2026-08-21 10:56:06 +02:00
2026-08-19 18:38:03 +02:00
2026-08-12 09:43:23 +02:00
2025-04-12 11:35:55 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2026-08-11 20:14:01 +02:00
2026-08-12 14:02:19 +02:00
2025-02-04 11:53:22 -06:00
2026-09-04 18:10:10 -06:00
2025-03-31 11:17:50 +02:00
2026-08-08 18:18:28 +02:00
2025-03-31 11:17:50 +02:00
2026-08-21 10:32:21 +02:00
2026-09-08 09:44:26 -06:00
2025-11-04 11:48:47 +01:00
2026-09-04 18:12:31 -06:00
2026-08-24 10:58:34 +02:00
2026-08-24 10:58:34 +02:00
2025-01-22 10:12:56 +01:00
2025-01-22 10:12:56 +01:00