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,171
Trophies
1
XP
2,529
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: 23

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
  • S @ salazarcosplay:
    the author has the final aproval
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
    K3Nv2 @ K3Nv2: Canada: America's Russia