Hacking Translation Viewing .gim file error "index was outside the bounds of the array"

Ririvee

New Member
OP
Newbie
Joined
Oct 26, 2023
Messages
2
Trophies
0
Age
23
XP
10
Country
United States
(This is my first time posting here so I'm sorry if this is in the wrong place)

I've been digging through the files of "Bara no Ki ni Bara no Hanasaku" due to someone else's mention of it recently and have been going through the process of trying to find where the text data is located. So far I've been able to unpack the bgms and voice lines, along with the cgs and backgrounds. The game's data is stored primarily within two .afs files and the 1st is where I believe the text data has to be located. (The 2nd is just the bgm and seiyuu data) The 1st is filled with compressed .gim files, and I've been using Puyo Tools to unpack and view them. My issue is that any file I think could possibly contain dialogue in some form gives me the same error of "index was outside the bounds of the array" when attempting to view/unpack it. I've tried looking around for answers but most posts about this error don't seem to be made from similarly applicable situations.


I have experience with making PC and Vita TL patches but am a complete novice with the PSP, so I also don't even know if it would make sense for the dialogue to be stored in an image file format lol;; But it's the last place I could think of the text being and only getting this error on certain files named things like "dialog1" and not background image files makes me believe it more.
Any help would be appreciated! 💖

error.png
 

master801

Well-Known Member
Member
Joined
Feb 24, 2011
Messages
1,135
Trophies
1
XP
2,477
Country
United States
The .zp files are compressed with gzip

.gim files are texture files - nothing more, nothing less. I have seen other games mix gim files with scripts (as a different file format), but that's a rarity.

Compare the files from the PC version to the PSP port and work from there. They're usually about the same unless it's a remake.

I've attached a decompressed and converted gim file.
 

Attachments

  • dlgCFセーブ終了確認.png
    dlgCFセーブ終了確認.png
    46.3 KB · Views: 19

Ririvee

New Member
OP
Newbie
Joined
Oct 26, 2023
Messages
2
Trophies
0
Age
23
XP
10
Country
United States
The .zp files are compressed with gzip

.gim files are texture files - nothing more, nothing less. I have seen other games mix gim files with scripts (as a different file format), but that's a rarity.

Compare the files from the PC version to the PSP port and work from there. They're usually about the same unless it's a remake.

I've attached a decompressed and converted gim file.
Ah yes yes I've been using 7zip to decompress the .gim.zp files into just .gim files! I've been able to view .gim files containing cgs and backgrounds just fine so far, only larger ones with titles such as "dialog#" have given me issues.

I had originally been looking into the PC version as that's what I would prefer to work with, but I ran into a wall with a few of the file types used (specifically .vpk files) and being unable to find any tools available to extract them. I had thought maybe the PSP version would have more straightforward file types with documentation and tools available compared to the PC engine.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lol rappers still promoting crypto