Jump to content

[PSV] Storm Lover 2nd .bin files


Go to solution Solved by Rabatini,

Recommended Posts

Hi, I'm having problems trying to extract Storm Lover 2nd's images.

I manage to extract the contents of the game's union.cpk file and here I hit a road block.

All images were stored inside .bin files, but they have no header. To make matters worse, some have a different beginning hex values (Some files start with 0xC8 0xC3 0x01 0x00, while others start with a random 0x values, followed by 3 0x00). 

Here some of the .bin files. Any help to extract the game's images would be appreciated.

SL2bin.rar

Link to comment
Share on other sites

  • Engineer
Posted (edited)
4 hours ago, BloodRaynare said:

Not compressed but the images was swizzled.
With these parameters in Kuriimu2, I was able to decode the images.
Screenshot2024-08-06125855.png.5c467826f7877d4b3aa627d3d75ac72f.pngScreenshot2024-08-06125905.png.1ed45552bb1fd862126860f4194229dc.png

*The height was wrong actually. It's should be 512.

Actually, it is compressed, the first file he uploaded uses gzip compression, you just can see the images in kurimii2 if you decompressed it.
 

Edited by Rabatini
Link to comment
Share on other sites

  • Engineer
7 hours ago, ScreamSkyPop39 said:

I opened the files with Noesis's TextureFinder tool and it gave me no result.

Changing width, offset and format didn't work so it seem like these images were compressed.

SL2binrar.PNG

Not compressed, you just look in wrong way.

Link to comment
Share on other sites

23 hours ago, Rabatini said:

Actually, it is compressed, the first file he uploaded uses gzip compression, you just can see the images in kurimii2 if you decompressed it.
 

@Rabatini Hi! I'm curious, which of the files is compressed with gzip? None of the files seem to have a valid GZ header. When you say 'the first 2', do you mean 01 00 00 00.bin and 02 00 00 00.bin?

Link to comment
Share on other sites

  • Engineer
42 minutes ago, applecuckoo said:

@Rabatini Hi! I'm curious, which of the files is compressed with gzip? None of the files seem to have a valid GZ header. When you say 'the first 2', do you mean 01 00 00 00.bin and 02 00 00 00.bin?

Yes.

image.png.42e9117ba04fc7701d79b8e516fffc8d.png

  • Like 1
Link to comment
Share on other sites

  • Engineer
Posted (edited)

Actually this 2 files are containers with bunch of gzip compressed images.
so, you cant just uses winwar, because it will just decompress the first image.

Edited by Rabatini
Link to comment
Share on other sites

2 hours ago, Rabatini said:

in 2.bin have 15 gzip files.

contain images.

I made a simple script in python, to unpack all gzip files from the bin, you can downloaded.


image.png.d728075a5d59208a09980021b6bcfcc3.png

Cock lover.py 1.7 kB · 2 downloads

Thank you, the script works really great! On an urelated note, it's also work with Bad Apple Wars (PSV).

Still no palette data of CG and sprites.

Here's unextracted .bin files that contained CG and sprites, maybe there are seperated palette data inside these files?

SL2CGbin.rar

Link to comment
Share on other sites

  • Engineer
  • Solution
Posted (edited)

The pallet is inside .bin file at offset 0x90
and the order to read is bgra

from other file, chooice the bin file, and put these configs.

image.png.5cf7e4fd0cb457454dbf98ca66760dac.png

Edited by Rabatini
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...