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

PSP CSO feature is broken #11

Open
RadicalR opened this issue Dec 8, 2017 · 6 comments
Open

PSP CSO feature is broken #11

RadicalR opened this issue Dec 8, 2017 · 6 comments

Comments

@RadicalR
Copy link

RadicalR commented Dec 8, 2017

Any game created with the CSO feature hangs on Adrenaline, but works fine on PPSSPP.
To confirm it was the feature, I manually uncompressed the file and ran it successfully in Adrenaline. I used a third party tool to compress it to a CSO (level 9 compression) again, and that worked fine as well.

For some reason, any CSO created by this program just hangs on Adrenaline-6 fix (the version that fixed the CSO hang bug.)

@mmozeiko
Copy link
Owner

mmozeiko commented Dec 8, 2017

This is what I see also on my Vita.
Although some users, for example TheRadziu, has said that cso files work fine for him on Vita. That's where I am confused.

It almost looks like a bug in Adrenaline. I have tried multiple cso decompression programs, and they all decompress pkg2zip created cso files just fine. The format is pretty simple, I have looked, but not found any issues in produced files...

@RadicalR
Copy link
Author

RadicalR commented Dec 9, 2017

Don't know if this matters, but I noticed that when using your program, it's slightly larger than when a 3rd party compressor compresses it. Is it possible that there's "junk" left over and the PSP mode is hanging on that?

@mmozeiko
Copy link
Owner

mmozeiko commented Dec 9, 2017

Yes, size difference is expected and is normal behavior.
I used different library to do compression that zlib. miniz deflate compression code is much smaller, a bit faster (especially for "fast" modes), and does compress good enough. And it is under public domain license. It actually compresses better for "fast" modes. But the result it produces is 100% compatible with zlib compression. Its written by the spec.

@RadicalR
Copy link
Author

RadicalR commented Dec 9, 2017

Hm, also, I did talk with TheRadziu (we know each other), and he updates his statement that they do not work for him. I wonder if I try reverting to an older version of Adrenaline, if that will have any change?

@tomazzz369
Copy link

tomazzz369 commented Dec 10, 2017

i can confirm that, even single game converted to cso with pkg2zip not working for me. tested 6-7 games. iso working fine

@soweliniko
Copy link

They don't work for me either on a hardware PSP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants