Jump to content

Dying Light The Beast


Go to solution Solved by id-daemon,

Recommended Posts

Posted

The Dying Light 2 tool works on the textures (common_textures_0_pc.rpack) just fine, but not the models (common_meshes_pc.rpack) it fails and closes immediately on the first mesh. I don't know if ID-D has interest in an updated version for The Beast, but I'm posting to make it known >_>

Posted (edited)
2 hours ago, id-daemon said:

The format is not very different. So i expect the tool to be finished today.

168071781_.png.3075ad0b35013e471be7ce9b532147c1.png

I've been trying to reverse engineer the msh format myself, but I haven't gotten anywhere.

I've gotten a pretty good texture extractor, but not much other then that currently. 

Do you have a bt for the msh parts or anything that could help? 

 

Attached is a copy of my projects source code, could be useful to someone, I'll upload it on github at some point. 

ChromEd_RP6.zip

Edited by 12brendon34
words no go good
  • Engineers
  • Solution
Posted
4 hours ago, 12brendon34 said:

I've been trying to reverse engineer the msh format myself, but I haven't gotten anywhere.

Do you have a bt for the msh parts or anything that could help?

No, i dont use bt

Tool posted: 

 

  • Like 1
  • Thanks 1
Posted
1 hour ago, id-daemon said:

No, i dont use bt

Tool posted: 

 

Thank you daemon. The tool works fine. After extracting the files using your tool, ascii and smd files were created. the problem is, could you tell us how to import these formats like you with blender? I have tried various plug-ins, but the bone and mesh of the model are not imported into a blender like you. can't you tell us the add-on or plug-in you use?

  • Engineers
Posted
1 hour ago, natsuki said:

could you tell us how to import these formats like you with blender? I have tried various plug-ins, but the bone and mesh of the model are not imported into a blender like you. can't you tell us the add-on or plug-in you use?

john zero plugin, but it only works for blender 3.6 or below. There is some version for new blender, but i dont remember who forked it

  • Like 1
Posted

I've still been working on my own implementation. I don't necessarily want to dump the MSH into a usable model, I'm more focused on reversing the compilation process of the MSH.
The compiled compact mesh format is split into roughly five parts, indexed 0–4, and I've been looking at them a bit.

Fairly sure of the following:
Part 0 is the main mesh descriptor.
Part 1 is the skin.
Part 2 is mesh fix-ups, for which I did manage to figure out the struct.

Not sure if this is useful, but the more accurate the better in my opinion
RawMSH_2.bt
And a random engine mesh from The Beast I've been using for testing
0003_bsphere_part0-4.zip

  • Members
Posted (edited)

This BMS script works to extract the audio/.aesp files into .wem files

(works on the big ones example SFX.aesp and Streams.aesp. Not on ones like meta_en.aesp and init.asep as these are secondary files like localisation etc)

Use tools like foobar or any .wem audio converter!

 

# Dying Light: The Beast (.aesp) extractor
# QuickBMS script
# Forces .wem extension on all extracted files

endian little
goto 0x90
get FILES long
goto 0xA0
get TABLE_OFFSET long
goto TABLE_OFFSET

for i = 0 < FILES
    getdstring NAME 0x80
    get CRC long
    get DUMMY long
    get OFFSET longlong
    get SIZE longlong

    if NAME == ""
        string NAME p= "%08d" i
    endif

    string NAME += ".wem"

    log NAME OFFSET SIZE
next i
Edited by Hazza12555
Posted

Some of the models weights are all messed up when importing into Blender, is there a fix for this without having to manually repaint the whole model?

  • Engineers
Posted
43 minutes ago, Velcro said:

Some of the models weights are all messed up when importing into Blender, is there a fix for this without having to manually repaint the whole model?

Never heard of any issues.

Do you have names of such models?

Posted (edited)
On 9/30/2025 at 12:57 AM, id-daemon said:

Never heard of any issues.

Do you have names of such models?

For example dlc_ft_zmb_spitter_body has the issue I am talking about when rotating the neck bone it only moves some of the mesh, but there are other models that also have this issue.

Screenshot_1.png

Edited by Velcro
  • Engineers
Posted
1 hour ago, Velcro said:

For example dlc_ft_zmb_spitter_body has the issue I am talking about when rotating the neck bone it only moves some of the mesh, but there are other models that also have this issue.

must be you are using some broken plugin or your files are corrupted.
dlc_ft_zmb_spitter_body works fine with neck:

256581176_.png.24ca53244f1ec14d1aa79e895e1e1d6f.png

Posted (edited)
11 hours ago, id-daemon said:

must be you are using some broken plugin or your files are corrupted.
dlc_ft_zmb_spitter_body works fine with neck:

256581176_.png.24ca53244f1ec14d1aa79e895e1e1d6f.png

Hm interesting thanks for having a look for me, what plugin do you recommend for importing the files into Blender?

Edited by Velcro
Posted

Unless there's something in the process that I'm missing, the program seems to be having some trouble exporting normal maps.  The files don't throw any errors when exporting, but when opened or used, there are a noticeable amount of artifacts around sharper/smaller details.  For example, with this axe (wpn_1hs_axe_02_fpp), you can see the larger pixels around the scratches on the bottom curve.  I have issues with all the non-sRGB textures (nrm, rgh, spc, ocl, etc) and can only use them by manually converting them with gimp (compared to the sRGB ones which can be converted with ImageMagick), but the nrm textures are the only ones with noticeable artifacts like this.  Is that expected, or is there something that needs fixed in the texture exporting code for this?

Axe_Normals.thumb.png.f9d273d8ddad86362486ea29fc92563c.png

wpn_1hs_axe_02_fpp_nrm.thumb.png.ac18e864dbe74120e87c764dcfd9ab1c.png

wpn_1hs_axe_02_fpp_nrm.dds

  • Engineers
Posted
1 hour ago, DeveloperChipmunk said:

Unless there's something in the process that I'm missing, the program seems to be having some trouble exporting normal maps.  The files don't throw any errors when exporting, but when opened or used, there are a noticeable amount of artifacts around sharper/smaller details.  For example, with this axe (wpn_1hs_axe_02_fpp), you can see the larger pixels around the scratches on the bottom curve.  I have issues with all the non-sRGB textures (nrm, rgh, spc, ocl, etc) and can only use them by manually converting them with gimp (compared to the sRGB ones which can be converted with ImageMagick), but the nrm textures are the only ones with noticeable artifacts like this.  Is that expected, or is there something that needs fixed in the texture exporting code for this?

No, nothing needs to be fixed in code.

I dont know how did you get that distorted image above, but this texture is fine:

 

wpn_1hs_axe_02_fpp_nrm.jpg

11 hours ago, Velcro said:

Hm interesting thanks for having a look for me, what plugin do you recommend for importing the files into Blender?

I'm using John Zero plugin.

Posted
1 hour ago, id-daemon said:

I dont know how did you get that distorted image above, but this texture is fine

Found the issue, GIMP's built in .dds importer doesn't support the compression type (BC5?) that these textures use so it was trying to open them with the wrong format.  Sorry about that!

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...