Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPU/PPU Loader: Implement linker/PS3 compiler executable files loading #11892

Merged
merged 1 commit into from
May 3, 2022

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Apr 28, 2022

These are compiler-used file responsible for inserting functions or inlined SPU/PPU libs. (so called .a and .o files, .a files can be extracted using 7z and similar tools and contains many .o files)
This is important for reversing or optimizing SPU/PPU libraries with the possibility of HLE them.

@Nekotekina
Copy link
Member

I'm not sure, are you trying to RE them inside rpcs3? Is there any advantage over using external tools?

@elad335
Copy link
Contributor Author

elad335 commented Apr 28, 2022

Yes, with minor code modifications you can even step through some alongside external tools.

@Megamouse Megamouse added the Loader Involving the load of PS3 file formats label Apr 29, 2022
@Nekotekina Nekotekina merged commit f9a6266 into RPCS3:master May 3, 2022
@nitroos-ai
Copy link

Game freezes with this message while compiling PPU.
F {PPU[0x1000000] Thread (main_thread) [0x003acca8]} SIG: Thread terminated due to fatal error: PPU Trap! Sometimes tweaking the setting "Stub PPU Traps" can be a workaround to this crash. Best values depend on game code, if unsure try 1. (in file ../rpcs3/Emu/Cell/PPUThread.cpp:1579, in function ppu_trap) (errno=17=File exists)

Spider-Man: Shattered Dimensions
RPCS3.log

@elad335
Copy link
Contributor Author

elad335 commented May 4, 2022

@nitroos-ai #11924

@nitroos-ai
Copy link

Fixed with #11924.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Loader Involving the load of PS3 file formats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants