Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

[PSV] Storm Lover 2nd .bin files

Featured Replies

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

Solved by Rabatini

  • Author

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

  • Supporter

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.

Edited by BloodRaynare

  • Author

While using Kuriimu2 gave me some UI assets, I have no luck with CG and sprites assets.

Luckily, using AnimeED's raw image tool gave me some results.

The problem is the palette offset. I have no idea where the offset is.

AETool.PNG.8c61ec39fa537696198da4dbd3ebcc79.PNG

Below are rar file contains sample CG and sprites.

 

SL2SampleCGSp.rar

  • Supporter
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

  • Supporter
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.

  • Author

No palette so far. I'm starting to think there are some image formats inside the uncompressed file (TGA? DDS?).

  • Localization
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?

  • Supporter
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

  • Supporter

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

  • Author
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

  • Author
8 minutes ago, Rabatini said:

Is this the right pallet?

file_0@0000000000.thumb.png.dde8d31973c4ecdcba23f4a3694a12b7.png

Yes, it is. It's there a seperated palette files?

Edited by ScreamSkyPop39

  • Supporter
  • Solution

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.