ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Implement sceMp4 by miniMax AI

Open sum2012 opened this issue 2 months ago • 3 comments

https://agent.minimax.io/share/330497129132280?chat_type=0 https://agent.minimax.io/share/330498550046838?chat_type=0 #1755 Speedball 2 - Evolution have sound now. Audiotorium in-game now with sound not full test Speedball 2 - Evolution log: https://gist.github.com/sum2012/27dc0a61d7a43fb91d097c9eb1dca6c8

sum2012 avatar Nov 04 '25 13:11 sum2012

The links don't work, I think you need to make "Share"-links, your own URLs are private.

This looks really impressive actually! It's translated JPCSP stuff well and even managed to hook into PPSSPP's callback mechanisms.

But what confuses me is that actual audio decoding isn't hooked up, as far as I can tell? So what's actually happening in Speedball is that this better implementation allows us to pass more checks during startup (maybe it's using this to play a video?), and the background music starts playing through some other means?

I'll look closer at this later.

hrydgard avatar Nov 04 '25 13:11 hrydgard

Fixed share link https://agent.minimax.io/share/330497129132280?chat_type=0 https://agent.minimax.io/share/330498550046838?chat_type=0

sum2012 avatar Nov 04 '25 13:11 sum2012

Oh no , JPCSP data is not same as PPSSPP in sceMp4Create of readBufferAddr. JPCSP: 0x08E9FA00 70 06 BD FF EB 06 1D 01 20 07 58 02 26 07 83 03 >p....... .X.&...< 0x08E9FA10 2F 07 CE 04 6D 07 50 06 E2 07 E4 07 51 08 40 09 >/...m.P.....Q.@.< PPSSPP: 54:51:219 user_main I[ME]: HLE\sceMp4.cpp:1290 00000000=sceMp4Init() 54:51:219 user_main D[ME]: HLE\sceMp4.cpp:1310 MP4: readBufferAddr data (32 bytes): 54:51:219 user_main D[ME]: HLE\sceMp4.cpp:1321 MP4: F9 E4 C3 E4 7B DE 48 DF 06 D9 B5 DA 5F D4 DA D6 54:51:219 user_main D[ME]: HLE\sceMp4.cpp:1321 MP4: 73 D0 AB D3 63 CD 36 D1 66 CB 9E CF BB CA 08 CF 54:51:219 user_main I[ME]: HLE\sceMp4.cpp:1334 sceMp4Create: callbacks at 0x08ac46d0, readBuffer=0x08e9fc00, size=4096

sum2012 avatar Nov 09 '25 12:11 sum2012