Skip to content

Conversation

@hrydgard
Copy link
Owner

@hrydgard hrydgard commented Apr 1, 2025

  • Adds a new developer feature to individually disable HLE of certain modules. When disabling HLE of sceAtrac, some games manage to load a sceAtrac library and starts talking to the underlying sceAudiocodec library to decode frames, which currently fails, but that's still good. (The real goal here though is to remove our HLE of Psmf/PsmfPlayer - they are just a big ugly wrapper around sceMpeg, it turns out, and unlike sceAtrac they are always shipped on disc). Also sceFont - see Allow load sceLibFont module #19115

  • Adds a new module viewer in ImDebugger, which lets you inspect imports/exports

  • Corrects PRX dumping to actually dump the whole files even if compressed (oops)

@hrydgard hrydgard added this to the v1.19.0 milestone Apr 1, 2025
@sum2012
Copy link
Collaborator

sum2012 commented Apr 1, 2025

So it related to #19115 ?
How to show up ImDebugger \disable HLE of certain modules ?

@hrydgard
Copy link
Owner Author

hrydgard commented Apr 2, 2025

Yes, sorry, I forgot about that one. This will replace that.

Also, imdebugger is currently in-game only, so can't use it to change this as this is not safe to change at runtime. There are regular checkboxes in developer settings though.

…hem to be loaded properly.

Some games survive with a loaded sceAtrac, and start talking to
sceAudioCodec instead, the underlying library, though unsuccessfully
since it's not properly implemented yet.
@hrydgard hrydgard merged commit dba18e8 into master Apr 2, 2025
19 checks passed
@hrydgard hrydgard deleted the module-cleanup-2 branch April 2, 2025 08:55
@sum2012
Copy link
Collaborator

sum2012 commented Apr 2, 2025

World Neverland: The Nalulu Kingdom Stories (NPJH00054) doesn't show font with disable HLE scefont
1

@sum2012
Copy link
Collaborator

sum2012 commented Apr 2, 2025

edit: Jeanne_Darc._JPN ( JCJS10048) Black screen with disable HLE scefont
43:24:536 user_main I[PRINTF]: HLE\sceIo.cpp:1202 stdout: Error sceFontGetFontInfo: 0x80460003 (maybe missing sceReg support)

Can add support of kernel module such as sceReg, SystemCtrlForKernel, sceCtrl_driver , sceGe_driver ?

@hrydgard
Copy link
Owner Author

hrydgard commented Apr 2, 2025

Yeah once we peel off one layer of HLE, we have to implement the next layer below it. Hopefully the next layer is easier, in which case this is worth it, but maybe it's not, it'll depend...

That's why I'm trying to make this easy to experiment with, heh. But I think there are only a few ones that really make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants