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.

Diablo Immortal textures

Featured Replies

  • Author
  • Localization

Immortal, posted Tue Nov 16, 2021 10:58 pm (67551)


Hello!

I am trying to uncompress the Diablo Immortal textures that come with the game. It uses the Netease Messiah engine.

It looks like they are compressed all in the same file with different mipmap levels. Luckily, I managed to extract the bytes from the compression part and it looks like it is ZZZ4 (LZ4?).

However, when I used the Dishonored Messiah LZ4 script it creates a file that I don't know how to open :(

I uploaded one example (it should be a coin image) on each step:

Step 1, original file: https://www.mediafire.com/file/3x7yw9mp ... ure2D/file
Step 2, compression section: https://www.mediafire.com/file/8a181w2e ... 2.lz4/file
Step 3, LZ4 uncompression: https://www.mediafire.com/file/bi3jbcks ... 1.lz4/file

Could you please help me out with this? All texture files seem to have the same format, so with this example I should be able to get all of them.

Thanks!!
  • Author
  • Localization

stevecam, posted Fri Nov 26, 2021 4:15 am (67698)


Do you still have the original game files? It appears all the names have been obfuscated in the recent update
  • Author
  • Localization

aluigi, posted Fri Dec 03, 2021 3:32 pm (67851)


@Immortal
Probably even in the Graphics section you wouldn't have much luck because this format (textures?) looks weird, a sort of 16 bytes block but it doesn't seem xored with any key (despite the recurring 0x34 0x03 bytes at the beginning). No idea.
  • Author
  • Localization

zaramot, posted Fri Feb 18, 2022 10:37 am (69958)


Well, if there was a script to extract - decompress those data chunk, that would help. Because looks like textures are using astc texture compression and it's possible to do something with them in order to convert into more common format. There's also template for the original compressed .texture files
https://github.com/CucFlavius/Zee-010-T ... Texture.bt
  • Author
  • Localization

Immortal, posted Wed Mar 09, 2022 11:14 pm (70393)


Sorry I never replied! The ZZZ4 uncompressed files can be opened as ASTC textures and transformed to PNG from there. I had to download the iOS version to do this, I never figured out what the Android files are compressed with, ASTC was easier.
  • Author
  • Localization

spiritovod, posted Mon Jun 06, 2022 11:40 pm (71884)


Here is updated script for converting texture2D files into dds (only BC7 for now) and astc (6x6, 8x6, 8x8, 10x10, 12x12) files. Based on the template above. Support for other formats can be added as well.
Update: Script is updated with support for uncompressed data chunks.

Also, fixed version of netease_mpk script is in the attachment as well. There was issue with chunk size, for lz4 chunks it should be reduced by chunk's header length (magic uncompressed size) to get actual size.
Update: Now this script also supports updated mpk format with hashes instead of filenames.

This script has additional commented lines, uncomment them if you want to experiment with output names, for further usage with DIDT (Diablo Immortal data tool). It allows you to rename extracted files based on contents of resource.repository file. For PC version it can be done by creating "Data_BetaROW_Android" folder in the tool's folder, moving extracted files there, then select respective options in the tool (beta android) and start renaming at extra tab. Though due to minor differences in PC version, tool can crash at some point.

diablo_texture_convert_v2.bms

netease_mpk_v2.bms

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.