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.

[help] gzipped .tabb file from DHBM

Featured Replies

  • Author
  • Localization

xixeworoj, posted Thu Dec 13, 2018 12:27 am (41336)


Hello,

I've been trying to get content of a few data files from Disney Heroes: Battle Mode. I found this forum by googling internet for anyone who could face a similar issue and I found this thread viewtopic.php?f=9&t=8588 I was not able to contact the author nor proceed further and I doubt that the author was successful.

About the problem:

The game has several data files in a plaintext tab format. From a certain version a game developer gzipped a few important files which I'm trying to read. I know that those files are a gzip and I was even able to partially gunzip one with a message about "trailing garbage". The output was not clean plain text but it looked as a corrupted half binary, half plaintext file.

I attached both files (plaintext original and a new gzipped version). I'm not a compression expert so I tried decompressing this file in different languages (c , java) or with different programs in a hope that something does an additional step - no luck, always trailing garbage warning. I re-compiled game source code to add a few logs and there seems to be no additional conversion step. From a game code standpoint, everything ends up at java InputStream and ByteBuffer with this exact file. There are also various checks that file is really valid but I was not lucky enough to modify smali code to get the content of these gzipped files.

Would anyone happen to have a tip what additional step I should take to get a clean plaintext file?
  • Author
  • Localization

aluigi, posted Thu Dec 13, 2018 8:13 am (41351)


This script for quickbms decompresses the tabb file and parses its content:
http://aluigi.org/bms/disney_heroes_tabb.bms

You can't reimport the edited strings in case you want to mod it (it would be possible but requires more steps).
  • Author
  • Localization

xixeworoj, posted Thu Dec 13, 2018 8:56 pm (41370)


Thank you for giving it a shot but I'm not able to produce a clean output visible in unit_abilities.tab when I run your script on unit_abilities.tabb. I'm getting the exact output which I get by running gunzip shell in terminal and then removing all unreadable characters:
Code:
gunzip -c unit_abilities.tabb > unit_abilities.tab


The problem is that output is messed up, some text is missing and for a different *.tabb file it will fail completely with zero readable content. For example, this is an error message from a different https://www.dropbox.com/s/6p82id8mhmmyhe1/friendship_campaign.tabb?dl=1 file that will not produce any readable output:
Image

This is a head of friendship_campaign.tabb file in hex:
Image
  • Author
  • Localization

aluigi, posted Sat Dec 15, 2018 7:18 pm (41425)


It's not a fault of the script, the format is different in this file.

unit_abilities.tabb:
Code:
  b5 7a 75 00 b1 02 00 00 01 01 01 01 01 01 01 01   .zu.............
  01 01 01 02 02 02 02 03 03 03 03 03 03 03 03 03   ................


friendship_campaign.tabb:
Code:
  b5 7a 75 00 03 00 00 00 a8 0c 00 00 01 01 01 01   .zu.............
  01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01   ................
  • Author
  • Localization

xixeworoj, posted Sun Dec 16, 2018 12:02 pm (41444)


What could game dev do with the file content to make it impossible to cleanly gunzip?
  • Author
  • Localization

wilc0, posted Thu Feb 14, 2019 2:51 pm (43495)


aluigi wrote:
This script for quickbms decompresses the tabb file and parses its content:
http://aluigi.org/bms/disney_heroes_tabb.bms


hi aluigi, i've been trying to solve the .tabb issue for a couple of days now. it seems the .bms file you have is producing inaccurate output when the (before compression) approach by perblue versus compressed format now for the unit_abilities.tabb file. I am curious if you know of a simple way to identify if the gunzipped .tabb file is in some particular binary format i could import or if there is an encryption applied to it to jumble up the table of data. at first I thought it was an excel output but now I'm not so sure.

your thoughts?

you'll note in the example data file above, the problem is presented wuite well. the unzipped output of the .tabb file should looke similar to the .tab file but does not.
  • Author
  • Localization

aluigi, posted Fri Feb 22, 2019 11:10 am (45127)


Unfortunately I didn't continue to work on this but I trust the analysis I did weeks ago, so I have no other ideas.
  • Author
  • Localization

wilc0, posted Thu Feb 28, 2019 4:58 pm (45405)


thanks. I'll take a look and see if there might be another approach. It seems the information should be rendered into four columns, yet only two seem to be happening and not as columns but rather as separate sections, which makes it challenging to rebuild into a simple text file.
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.