ScreamSkyPop39 Posted August 5 Share Posted August 5 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 More sharing options...
Engineer Rabatini Posted August 5 Engineer Share Posted August 5 The first 2, is gzip compression, you can open it with winrar. Link to comment Share on other sites More sharing options...
ScreamSkyPop39 Posted August 6 Author Share Posted August 6 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. Link to comment Share on other sites More sharing options...
BloodRaynare Posted August 6 Share Posted August 6 (edited) Not compressed but the images was swizzled. With these parameters in Kuriimu2, I was able to decode the images. *The height was wrong actually. It's should be 512. Edited August 6 by BloodRaynare 2 Link to comment Share on other sites More sharing options...
ScreamSkyPop39 Posted August 6 Author Share Posted August 6 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. Below are rar file contains sample CG and sprites. SL2SampleCGSp.rar Link to comment Share on other sites More sharing options...
BloodRaynare Posted August 6 Share Posted August 6 You won't find any palette datas because your sample lacks it. Link to comment Share on other sites More sharing options...
piken Posted August 6 Share Posted August 6 1 hour ago, ScreamSkyPop39 said: Luckily, using AnimeED's raw image tool gave me some results. That viewer is not in our texture viewer/finder list (https://reshax.com/topic/170-graphicstexture-finders-and-viewers/), and I'm not finding any active links to it 🤔 (just this nearly empty match https://github.com/AnimeEd). Do you have a link to it? TY. Link to comment Share on other sites More sharing options...
ScreamSkyPop39 Posted August 6 Author Share Posted August 6 4 minutes ago, piken said: That viewer is not in our texture viewer/finder list (https://reshax.com/topic/170-graphicstexture-finders-and-viewers/), and I'm not finding any active links to it 🤔 (just this nearly empty match https://github.com/AnimeEd). Do you have a link to it? TY. Sure, here's the link: http://wks.arai-kibou.ru/ae.php 1 Link to comment Share on other sites More sharing options...
Engineer Rabatini Posted August 6 Engineer Share Posted August 6 (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. *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 August 6 by Rabatini Link to comment Share on other sites More sharing options...
Engineer Rabatini Posted August 6 Engineer Share Posted August 6 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. Not compressed, you just look in wrong way. Link to comment Share on other sites More sharing options...
ScreamSkyPop39 Posted August 7 Author Share Posted August 7 No palette so far. I'm starting to think there are some image formats inside the uncompressed file (TGA? DDS?). Link to comment Share on other sites More sharing options...
applecuckoo Posted August 7 Share Posted August 7 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 More sharing options...
Engineer Rabatini Posted August 7 Engineer Share Posted August 7 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. 1 Link to comment Share on other sites More sharing options...
Engineer Rabatini Posted August 7 Engineer Share Posted August 7 (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 August 7 by Rabatini Link to comment Share on other sites More sharing options...
Engineer Rabatini Posted August 7 Engineer Share Posted August 7 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. Cock lover.py 1 Link to comment Share on other sites More sharing options...
ScreamSkyPop39 Posted August 7 Author Share Posted August 7 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. 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 More sharing options...
Engineer Rabatini Posted August 7 Engineer Share Posted August 7 Is this the right pallet? Link to comment Share on other sites More sharing options...
ScreamSkyPop39 Posted August 7 Author Share Posted August 7 (edited) 8 minutes ago, Rabatini said: Is this the right pallet? Yes, it is. It's there a seperated palette files? Edited August 7 by ScreamSkyPop39 Link to comment Share on other sites More sharing options...
Engineer Solution Rabatini Posted August 7 Engineer Solution Share Posted August 7 (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. Edited August 7 by Rabatini 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now