Hacking Steins;Gate Hiyoku Renri no Darling for the PSP

monokuma77

New Member
OP
Newbie
Joined
Aug 18, 2014
Messages
4
Trophies
0
Age
46
XP
56
Country
Hi,
I am having a problem discovering some assets of the game Steins;Gate Hiyoku renri no Darling for the PSP and I would like to request some help.

I have found almost everything from the game (visual novel) like text, CGs, background images, character sprites, videos, audio (wav, hca etc) BUT I cannot find the images used in the menu and settings.

The game packs its resources in two big files data0.cpk and data1.cpk which can be easily unpacked. The files they contain can also be easily unpacked and I get the following file tree:

DATA0.CPK
--BGL00.CPK (Large background images TIM2 format)
--BGS00.CPK (Small background images TIM2 format)
--CHL00.CPK (Large character images TIM2 format)
--CHS00.CPK (Small character images TIM2 format)
--CONFIG.CPK (6 very small files!)
--DATA0.CLS (list of the files in this archive)
--FONTS.CPK (font files)
--ICON.CPK (2 png images)
--OBJSY.cpk (UNKNOWN)
--SCENE00.cpk (game text)
--SE00.CPK (sound effects audio files)
--VO00.CPK (voices audio files)
--VO01.CPK (voices audio files)

DATA1.CPK
--DATA1.CLS (list of the files in this archive)
--SE01.CPK (wav audio files, sound effects)
--SE02.CPK (wav audio files, sound effects and pmf video files)

I've identified almost everything, so where can those images be?
For example, in the main menu->System->Manual there is an image explaining the controls. This image is actually composed of three different images one on top of the other and with the use of alpha channel it displays like this. I deduced this with the help of the PPSSPP emulator's debug GE mode, but I can't understand the memory addresses in order to find where those textures come from.

Obviously I checked the uncompressed elf of the eboot.bin but no luck.

Any help would be really really appreciated!
Thank you.
 

thexyz

Active Member
Newcomer
Joined
Jan 8, 2014
Messages
40
Trophies
0
Age
54
XP
180
Country
Serbia, Republic of
Can't you just attach the .exe? I mean, if you're looking for help it'd make more sense to provide all information you have so that other people don't spend their time researching what's already known.
 

monokuma77

New Member
OP
Newbie
Joined
Aug 18, 2014
Messages
4
Trophies
0
Age
46
XP
56
Country
Can't you just attach the .exe? I mean, if you're looking for help it'd make more sense to provide all information you have so that other people don't spend their time researching what's already known.

Of course. But I don't have the code for them. Just the executables.
I've included both.
 

Attachments

  • cpk utils.rar
    108.5 KB · Views: 255

thexyz

Active Member
Newcomer
Joined
Jan 8, 2014
Messages
40
Trophies
0
Age
54
XP
180
Country
Serbia, Republic of
Looks like textures are stored in OBJSY.CPK inside 03.bin or 08.bin for the manual, I'm not sure. sub_B4164 does the decompression, $a0 is output buffer and $a1 is input. Dunno what compression they use since I haven't worked with that stuff, but it's probably some variation of LZ/LZSS (I mean, it's always LZ).
 

monokuma77

New Member
OP
Newbie
Joined
Aug 18, 2014
Messages
4
Trophies
0
Age
46
XP
56
Country
Thank you very much.

Riku Since you've actually managed to get a picture out of OBJSY.CPK (was it in the 08.bin?) can you please tell me exactly what you did and what utilities you used?

Is there a specific utility that can use this LZ/LZSS algorithm to decompress these files?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: https://youtu.be/z9E_uv5IT-o?si=0qMdVEnRK8mmclzS