quickbms kl4e compression support

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Bogus
Posts: 8
Joined: Mon Jun 25, 2018 6:40 pm

quickbms kl4e compression support

Post by Bogus »

Hello aluigi, can you add kl4e compression to quickbms?
Jpcsp emulator in newest revisions can install 6.61 firmware update, eboot.pbp file and even decrypt some prx files with prxdecrypter but not decompress.
Code for kl4e compression is in prxdecrypter and psardumper source code.
I not have own psp, i cannot share file publicly, only via pm, because is part firmware and is copyrighted.
Sorry if topic is in wrong place.
edit:
here is link to prxdecrypter source code, contain kl4e compression
https://github.com/smiky/psptools/tree/ ... XDecrypter
aluigi, can you enable allow users to send you private messages?
I want send file to you for analysing.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: quickbms kl4e compression support

Post by aluigi »

As far as I know all the compressions used there are just wrappers for sceKernelExtendKernelStack which is part of pspsdk (closed source?).

Regarding the private messages, eh no sorry I have no time to handle them.
If it's something urgent you can use the email but for this type of stuff I ever tell people to use zenhax.
Bogus
Posts: 8
Joined: Mon Jun 25, 2018 6:40 pm

Re: quickbms kl4e compression support

Post by Bogus »

I checked on google, this system call is in open source pspsdk.
File i can send via email, only i not know, whether you understand this file format.
Jpcsp support kl4e, but with other attribute.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: quickbms kl4e compression support

Post by aluigi »

Are you really sure that pspsdk is open source?
If that's true it would be easy for you to find the compression source code and share it with the forum.
Bogus
Posts: 8
Joined: Mon Jun 25, 2018 6:40 pm

Re: quickbms kl4e compression support

Post by Bogus »

yes:
https://github.com/smiky/psptools
PRXDecrypter folder
Unofficial pspsdk is open source, only official sony is proprietary.
eg. Minimalist PSPSDK, devkitPro.
Kl4e is part kirk encryption
What you have email, me@aluigi.org not working?
edit:
I already know, aluigi@autistici.org
Last edited by Bogus on Wed Jun 05, 2019 4:06 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: quickbms kl4e compression support

Post by aluigi »

That's only a wrapper. No compression code.

Email works well and I received your files.
kirk is already available in quickbms but now you are talking about encryption, and not compression.

Sorry but I have no time so if you have the full source code of the function to share I have no problem to implement it in quickbms.
Bogus
Posts: 8
Joined: Mon Jun 25, 2018 6:40 pm

Re: quickbms kl4e compression support

Post by Bogus »

pspsdk source code:
https://github.com/pspdev/pspsdk
Maybe this?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: quickbms kl4e compression support

Post by aluigi »

Again... that's a wrapper because kl4e and lzrc are closed source built inside the PSP firmware.

Feel free to search 0x6C6887EE online.

There is an open source reverse engineered firmware which is in MIPS assembly:
https://github.com/uofw/uofw/blob/maste ... em/start.S

Feel free to make a working C code from that assembly.
Bogus
Posts: 8
Joined: Mon Jun 25, 2018 6:40 pm

Re: quickbms kl4e compression support

Post by Bogus »

I know, this functions are only, what psp kernel do.
I'm not good in programming.