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.

Battlefield Hardline (PS3) unknown compression

Featured Replies

  • Author
  • Localization

Game Ripper, posted Mon Feb 04, 2019 7:49 pm (43163)


Hi, I'm not too experienced with this so that any help will be greatly appreciated!
Long story short: this BF game has both compressed & uncompressed files stored within *.SB/*.TOC pairs and it makes extraction pretty difficult. Almost every single SB archive contains at least 1 such file and the 1st occurrence of it immediately crashes an extractor with this report: "Exception: Unknown compression type 0x02 at OFFSET in NAME.sb".

These are screens of select archives, I highlighted offsets where troublesome compressed files are supposed to start - CommonChunks.sb, FrontEndChunks.sb, PrologueChunks.sb.

Best regards!
  • Author
  • Localization

cyberspeed, posted Mon Feb 04, 2019 11:55 pm (43166)


May I ask why are you struggling to use the PS3 version when PC version is far more easy to deal with, no errors, heck even PS4 is easy to dump same as PC.

Also what are you using for extraction?
  • Author
  • Localization

Game Ripper, posted Tue Feb 05, 2019 8:14 am (43174)


Both PC & PS4 versions are too big for me and I'm not even able to download those.
I'm using this.
So long!
  • Author
  • Localization

cyberspeed, posted Wed Feb 06, 2019 8:19 am (43199)


Thank you for response, well if you care for details in textures and high quality assets in general, over all, then go for PC versions of the games, PS4 too in some cases but PS3 definitely is low and bad in comparison.
All games are fairly easy to access online, just saying ;) I personally recommend retail to avoid errors/corruption and other crap.

BFH sizes:
PC=66.3GB (full game)
PS3=16.3GB (full game)
PS4=41.0GB (data folder only, cant find updates/patches/xpacks)
X360=11.1GB (data folder only, cant find updates/patches/xpacks)

PS, are you the maintainer/creator of those scripts?
  • Author
  • Localization

Game Ripper, posted Wed Feb 06, 2019 12:21 pm (43202)


Quote:
If you care for details in textures and high quality assets in general, over all, then go for PC versions of the games, PS4 too in some cases

I only care for sounds & audio from videos but still it depends on every game & its ports: next-gen ones might still use insanely low bitrates for audio; also audio itself might take just a few percents of game size audio tracks from videos might take only 2-3% of pre-rendered movie size.
Not to mention that bigger filesize doesn't necessarily mean higher quality: Frostbite VGs on PC typically use ADPCM while console versions normally use XMA or EALayer3 & I'd prefer the latter to the former.

Creator of those scripts is Nicknine, he has the same nickname @Discord, ZenHAX, HCS Forum & even Steamcommunity.

Goodbye!
  • Author
  • Localization

Nicknine, posted Fri Feb 08, 2019 8:00 pm (43286)


The goal here is to identify the compression method used. It *might* be zlib seeing how it was used in Frostbite 2 but that's just a blind guess. From looking at the screenshots, those areas look like correct FB3 payload block headers so 0x02 really is the compression type index and not something else. The reason it's unknown is because this index is not seen in any other game, even frostbite.bms doesn't support it.
  • Author
  • Localization

Nicknine, posted Sat Feb 09, 2019 10:01 am (43309)


Looks like this compression type is also encountered in Dragon Age: Inquisition and Plants vs Zombies: Garden Warfare.
  • Author
  • Localization

aluigi, posted Sat Feb 09, 2019 11:11 am (43312)


Frostbite uses the following compression algorithms: zlib, delfate, zstd, oodle and lz4.

They are all very easy to recognize and test.

(I have not checked the topic, I just noticed the "dragon age" and "frostbite" keywords)
  • Author
  • Localization

Nicknine, posted Sat Feb 09, 2019 2:07 pm (43316)


Yeah, it turned out to be zlib like I predicted. Will add support to the script soon, case closed.
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.