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,169
Trophies
1
XP
2,525
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: 22

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.
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    Psionic Roshambo @ Psionic Roshambo: Monster truck Lawn Mower extreme