Page 1 of 1

Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 1:27 am
by errur
So I looked around and stumbled upon this old thread. It seemed to have provided a .umap file. I'm however interested in grabbing models from it's .upk files.
Due to custom encryption umodel is unable to load the meshes, while it loads textures and materials just fine.
While I've seen evidence of umodel loading the meshes I was never able to replicate that.

That old thread showed usage of hex2obj but I'm unsure how am I supposed to load a model in it if it's inside a .upk. Any help is appreciated.

Here's a sample .upk file.

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 8:14 am
by shakotay2
errur wrote:That old thread showed usage of hex2obj but I'm unsure how am I supposed to load a model in it if it's inside a .upk
use of hex2obj requires the "raw" model data (as .umap is). It has no unpack/decompression feature.

gildor spent years to create umodel but it claims: "ERROR: Unknown ItemSize 6"
when trying to unpack the upk file you've provided.

You might ask gildor to have a look at.
http://www.gildor.org/en/projects/umodel

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 8:50 am
by zaramot
I've made maxscript for Dirty Bomb models a long time ago (more than a half-year ago for sure). I'm certain they changed a lot since then, or maybe no, who knows? I'm totally agreed with Shakotay, if you have evidences that someone managed to load Dirty Bomb into umodel, Gildor's forums will be the best place to ask about it

Image

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 9:11 pm
by errur
zaramot wrote:I've made maxscript for Dirty Bomb models a long time ago (more than a half-year ago for sure). I'm certain they changed a lot since then, or maybe no, who knows? I'm totally agreed with Shakotay, if you have evidences that someone managed to load Dirty Bomb into umodel, Gildor's forums will be the best place to ask about it
The art has certainly changed a lot since then, but I can't say about the files. Gildor mentioned (long ago) that he doesn't want to work with it since the game uses custom compression. Here's some info on what can be done.

It says there UEskeltalMeshViewer is able to load the character models, which works. And the decompress and unpack exes work as well but they output files with the engine class as the the file extension so I'm not sure what to do with them after.

Any ideas?

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 9:33 pm
by shakotay2
I won't bother but where's the UE SkelMesh Viewer from?
Virustotal says:
check.jpg
I used it in a VM, which I reinstall all 4..6 weeks, so I'm safe.
(and 'yes', it displays this amazing girl...)

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 10:15 pm
by zaramot
Well, that's correct, you can extract files from .upk with some Unreal tools. That's how I did it, extracted package and made script for models (they have .SkeletalMesh extension after extraction, if I remember right). Static meshes have .StaticMesh extension, though for them I didn't actually finish my import part, because I'm mostly interested in skinned meshes. I'm personally also interested in evidence you provided, that Dirty Bomb files can be opened in Umodel. That would be cool, since it could mean we can get animation too?

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 10:25 pm
by errur
zaramot wrote:Well, that's correct, you can extract files from .upk with some Unreal tools. That's how I did it, extracted package and made script for models (they have .SkeletalMesh extension after extraction, if I remember right). Static meshes have .StaticMesh extension, though for them I didn't actually finish my import part, because I'm mostly interested in skinned meshes. I'm personally also interested in evidence you provided, that Dirty Bomb files can be opened in Umodel. That would be cool, since it could mean we can get animation too?
I was wrong, it wasn't actually Umodel from the out of context screenshot but it was the UESkelMeshViewer above. I just assumed it was Umodel since it had the exact same interface. I don't actually know where it originated from as I got it from the reddit post, and searching around hasn't really provided any sort of clue.

This is probably as close as I saw anyone get to getting the models from the game.

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 10:58 pm
by zaramot
.upk from first post, the one you uploaded, is it from latest game client? My script seams to work, not sure how with other files

Image

Re: Extracting models from Dirty Bomb

Posted: Sun May 01, 2016 11:06 pm
by errur
zaramot wrote:.upk from first post, the one you uploaded, is it from latest game client? My script seams to work, not sure how with other files

Image
Yep, it's from the latest client but it's only a single .upk. The reference pose model is old though (still used for founders who played the game in alpha) but the one on the left is up to date and with all the parts that are usually missing on the reference models (like glasses, hair etc).

Are the UV's retained? As you can get the textures and materials with umodel.
I can provide a few more, since the game is f2p and the files are readily available.

Edit:
Here's a player character, a weapon and an animation set.

Re: Extracting models from Dirty Bomb

Posted: Wed May 18, 2016 4:16 pm
by errur
zaramot wrote:Well, that's correct, you can extract files from .upk with some Unreal tools. That's how I did it, extracted package and made script for models (they have .SkeletalMesh extension after extraction, if I remember right). Static meshes have .StaticMesh extension, though for them I didn't actually finish my import part, because I'm mostly interested in skinned meshes. I'm personally also interested in evidence you provided, that Dirty Bomb files can be opened in Umodel. That would be cool, since it could mean we can get animation too?
It'd be nice if you could share your maxscript sometime...

Meanwhile there's new info coming from here. Some version of umodel that you can find in your temp folder when running UEskelmeshViewer.exe can indeed open the packages. I'm not sure about animations but if you look at my previous post you can get a whole character folder which should include a package with animations as well.
shakotay2 wrote:I won't bother but where's the UE SkelMesh Viewer from?
Virustotal says:

I used it in a VM, which I reinstall all 4..6 weeks, so I'm safe.
(and 'yes', it displays this amazing girl...)
Apparently it's from here, just for reference.

Re: Extracting models from Dirty Bomb

Posted: Wed Jun 15, 2016 8:51 am
by gildor
errur wrote:
shakotay2 wrote:I won't bother but where's the UE SkelMesh Viewer from?
Virustotal says:

I used it in a VM, which I reinstall all 4..6 weeks, so I'm safe.
(and 'yes', it displays this amazing girl...)
Apparently it's from here, just for reference.
Hi guys. This is just a very first attempt to create a kind of GUI for UModel, with an old UModel version bundled into it.