Jump to content

Recommended Posts

Posted
2 hours ago, Blass said:

 

You mean hours? Because I tried again and it's been more than 1 hour and nothing has changed, not a single folder/file has been created.

 

Edit 1: Well, after 1.5 hours I just pressed "Enter" and it started extracting some folders and files (.archive extension) but I got this error:

 

stopped at Resources2.mpk

I am totally new on this, maybe It takes so many hours and I really don't know

error 02.png

Can you provide mpk and info files? I need to check the specific structure

Posted (edited)

 I tried like 4 times with "netease_mpk_v3" script but never works for me, I got this error: 

- error in src\extra\xalloc.c line 703: xdbg_realloc()

Error: memory allocation problem

 

So I tested with "netease_mpk_v2" posted on another thread and It works, but there is no ui/gui folder, most of the files are:

.6 archive  (random names like "27a1df23-aad7-425a-856f-d6da14b071a0.6")

.bnk

.anim

.skeleton

 

I need access to .PNG files, there is a .json file in \UIScript folder called single_textures.json and it has everything single names for .PNG files (and you can see start with gui/img/ as if it were a folder) but I don't know how to access to it.

Any idea?

 

json.png

 

 

In the past I already tried using DIDT (Diablo Immortal Data Tool) and It works, but only for Mobile Beta version iOS/Android and it creates ui/gui/ folder with these names as .Texture2D extension, but I have no idea how to make DIDT works with the current version of the game from PC, now I'm trying using this bms scripts with your help guys

Edited by Blass
Posted
1 hour ago, Blass said:

single_textures.json is a list that stores the original file name about the ui file. The ui file and the texture file themselves are stored in the .6 and .1 files.

You can restore the original name of the .6 or .1 file through the resource library for example

75/75629b0d-6953-4d14-8d0c-4afc731e7fa2.6-gui_img_123456.png

DIDT can restore file names through the resource library, but this tool is too early to know whether it is outdated.

I checked the index you provided, and there is no problem with the index. You try this python version to see if there is any problem. In addition, if you can provide the resource library file, I think I will also take time to update the rename script for you.

mpkfile.py

Posted
On 9/9/2025 at 7:40 AM, ky123 said:

single_textures.json is a list that stores the original file name about the ui file. The ui file and the texture file themselves are stored in the .6 and .1 files.

You can restore the original name of the .6 or .1 file through the resource library for example

75/75629b0d-6953-4d14-8d0c-4afc731e7fa2.6-gui_img_123456.png

DIDT can restore file names through the resource library, but this tool is too early to know whether it is outdated.

I checked the index you provided, and there is no problem with the index. You try this python version to see if there is any problem. In addition, if you can provide the resource library file, I think I will also take time to update the rename script for you.

mpkfile.py 4.99 kB · 4 downloads

 

Thanks for the python script, to be honest I'm new on this and I don't know how to run that script in python, but I will check some videos tutorials or something.

For some reason "netease_mpk_v2" the older version script only worked for me.

After extracting the files with "netease_mpk_v2" BMS script (output folder) I noticed resource.repository had different file size compared to the original folder (1 MB difference), I don't know if this matter, I will upload the Output folder file resource.repository. If you need the original file let me know.

Also, there was an update 2 days ago and the file was modified. 

 

 

repository.png

resource_repository (output folder).rar

Posted
12 hours ago, Blass said:

 

Thanks for the python script, to be honest I'm new on this and I don't know how to run that script in python, but I will check some videos tutorials or something.

For some reason "netease_mpk_v2" the older version script only worked for me.

After extracting the files with "netease_mpk_v2" BMS script (output folder) I noticed resource.repository had different file size compared to the original folder (1 MB difference), I don't know if this matter, I will upload the Output folder file resource.repository. If you need the original file let me know.

Also, there was an update 2 days ago and the file was modified. 

 

 

repository.png

resource_repository (output folder).rar 17.29 MB · 0 downloads

Try this script, please give me feedback if you have any questions

resource.py

Posted (edited)
4 hours ago, ky123 said:

Try this script, please give me feedback if you have any questions

resource.py 7.16 kB · 1 download

Thanks for the script.

I run it with command prompt (I don't know if it's the right way, but I've seen it in some video tutorials).

Maybe I need to do something that I don't know how to do.

I get the following error:

error script.png

 

lz4 module is already installed

image.png.2db5b637c6c2d45c8d5240aa7eda90e9.png

Edited by Blass
  • Moderators
Posted
5 hours ago, Blass said:

I get the following error:

I just took a quick look out of curiosity and it seems to be custom function which is undefined in this script 😄 
Here's example on how to handle LZ4 compression correctly using ReverseBox dependency:
https://github.com/bartlomiejduda/ReverseBox/blob/main/tests/tests_compression/test_compression_lz4.py

 

Direct usage of LZ4 dependency would look somehting like this:
 

lz4.frame.decompress(compressed_data)

 

Posted
16 hours ago, Blass said:

Thanks for the script.

I run it with command prompt (I don't know if it's the right way, but I've seen it in some video tutorials).

Maybe I need to do something that I don't know how to do.

I get the following error:

error script.png

 

lz4 module is already installed

image.png.2db5b637c6c2d45c8d5240aa7eda90e9.png

Updated, please remember to feedback if you have any questions

resource.py

  • Thanks 1
Posted (edited)
17 hours ago, ky123 said:

Updated, please remember to feedback if you have any questions

resource.py 9.88 kB · 1 download

Thank you, seems it's working. I'm trying it out right now 

It going to take a while. I will update the post when the script finishes 

image.png

Edited by Blass
Posted (edited)
1 hour ago, Blass said:

Thank you, seems it's working. I'm trying it out right now 

I selected the option "1. Export the mapping table of all files in the folder"

Now cmd is extracting a lot of files, the file paths.txt it says it will create a folder but there is no new folders yet.

I guess I need wait for the script to finish to have access to the extracted folders.

It seems like it's going to take a while. I will update the post when the script finishes 

image.png

 

Edit 1. Finally it finished, there are a lot of new files.

is there a way to convert .texture2d files to .PNG files?

Thank you very much.

Edited by Blass

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...