How can I save elf file back to a sprx file?

ThisIsMe_NoBody

Forum Noob
So I have SCETOOL on my Windows and I want to save my elf back to sprx file but how? Please help

I tried to just write a simple command but I see a lot of options for LV0,LV1 etc to save SELF so what I have to do for saving a game sprx?
 
Last edited by a moderator:
I'm not exactly sure how to do it from command line except for simple stuff, as you need to either use another file as a template, or give SCETOOL all the parameters like version and keys.

I just use PS3 Tools by aldostools, it adds new options to your right click menu, this allows you decrypt/unpack and encrypt/repack sprx/self/pkg files with just a few clicks. IMO Its the best solution if you intend to be using SCETOOL a lot. If you decrypt a sprx, then it will automatically use the original as a template when encrypting it, copying its parameters, keys etc.

upload_2021-2-7_16-40-45.png
 
I'm not exactly sure how to do it from command line except for simple stuff, as you need to either use another file as a template, or give SCETOOL all the parameters like version and keys.

I just use PS3 Tools by aldostools, it adds new options to your right click menu, this allows you decrypt/unpack and encrypt/repack sprx/self/pkg files with just a few clicks. IMO Its the best solution if you intend to be using SCETOOL a lot. If you decrypt a sprx, then it will automatically use the original as a template when encrypting it, copying its parameters, keys etc.

View attachment 30785
Hello DeViL303 thanks for answer. I tried aldos PS3Tools but I dont see mouse right click options when I set up on my Windows 10 pc. I were already installed vb runtime but still unable to see mouse options.
 
Go into the ps3tools folder, it is probably in your user folder on the C drive (for me that's C:\Users\DeViL303\ps3tools\ps3tools\tools), in there find the exe called PKG_ContentID.exe and set it up to run as admin and open it once.. Then reboot, this should hopefully add the right click options. If that does not help there are more things you can do with reg files.

Read the ps3tools thread for more info.
 
Thanks DeViL303 its worked. I got options now and avalibe to get prx file and resign in back now. I will write again if I get any error while running it back on my hen ps3 as sprx

So I tried Cutter disassembler but I dont see classic PPC assembly things like "bne" for example. Why? Or any suggestion as a disassembler for prx or elfs?

Lots of invalids and lots of unknown things for me. No jumps, ifs etc. What the hell? Yea there is some jumps but what about Invalid's. Do you guys know a disassembler for ppc sony elfs?
 
Last edited by a moderator:
Ok so I found some scripts on GitHub to use with Ghidra and now Im be able to see PS3's Assembly very clean. All visible but the new problem is Ghidra always fails to save ELF files even I dont do any changes on them. Do you know guys why? I think its about my ghidra version so maybe i need to download old versions of ghidra to fix it?

I were doing patches in raw binary format but PS3 raw binaries unable to analyze with that plugin so it must ve load in elf.

Alll done finally. I found a script for saving elf files without corruption on ghidra. Oh here we go. I patched a sprx file and now gonna try on my hen.


Edit:
I got a black screen and all my ps3 lights close wft?
I think the problem is my save patch try. I do somethings wrong

No the problem is aldotools elf resign nice but fails on hen? Why? What I have to do? Why aldotools resign not worked? Its not about my patch because i tried original elf too and it failed
 
Last edited by a moderator:

Similar threads

Back
Top