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
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power