Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Granstream saga psx .Bin files

Featured Replies

  • Author
  • Localization

josekenshin, posted Mon Aug 13, 2018 5:48 pm (37478)


Hi,

I'm looking for the game script to do the Spanish translation. I found the secondary text and the graphics but the main script is in the folders: 1S, 2S, 3S, 4S and 5S.

The files seem to be compressed. I can't find text with relative searches.

Image

I'm sure that it is possible to do the translation because there is a Russian translation but I can't find the romhacker.

Any idea of ??file compression?

Files:
http://www.mediafire.com/file/ofm5w0s0p ... n.rar/file


Thanks!
  • Author
  • Localization

aluigi, posted Tue Aug 14, 2018 1:52 pm (37509)


Since there is no decompressed size I guess it's a chunk based format where each chunk has probably a size of 0x10000 bytes (usual size).
I didn't check the compression with the comtype scanner (sorry) but I made a script on the fly for covering the format, when the algorithm will be found it's enough to set it (so do not use the script):
Code:
comtype ???
get CHUNKS long
for i = 0 < CHUNKS
    get OFFSET long
    putarray 0 i OFFSET
next i
    get OFFSET asize
    putarray 0 i OFFSET

get NAME basename
append
for i = 0 < CHUNKS
    getarray OFFSET 0 i
    math i 1
    getarray SIZE   0 i
    math SIZE - OFFSET
    clog NAME OFFSET SIZE 0x10000
next
append
Instead the sx*.bin files are not compressed
  • Author
  • Localization

josekenshin, posted Thu Aug 16, 2018 12:25 pm (37584)


Hi!

I tried to check the compression with the comtype scanner and I found some text in the 499.dmp. But the text does't look correct on some lines.

I'm not sure I checked it correctly. I'll wait for someone to help me and find the algorithm ;)

Thanks!
  • Author
  • Localization

aluigi, posted Fri Aug 17, 2018 1:24 am (37603)


This format is a good example of candidate for the comptype scanner since you have the offset, compressed size and decompressed size (ok this 3rd argument is not sure) of the compressed data, but have you used it correctly on the right part of data? :)

I did a quick test scanning only some algorithms and there were no good results.
  • Author
  • Localization

ViT, posted Thu Oct 13, 2022 9:41 am (73799)


aluigi, after 4 years, an unpacking algorithm for these files appeared in your tool, this is "TDCB_lzss" 8-) . But, as I understand it, there is no compression algorithm?
I was asked to translate this game, I found the font, unpacked the files with your tool, it remains only to pack them back. Can you share information about the unpacking algorithm? I'll try to do the compression tool myself.

Just in case
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.