READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

[Request] Sleeping Dogs Model Files

Post questions about game models here, or help out others!
Post Reply
SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

[Request] Sleeping Dogs Model Files

Post by SergeantJoe » Fri Aug 30, 2013 8:07 pm

Hello all!

I am one of the few people interested in modding the game Sleeping Dogs. I have already figured out sounds, but I need assistance with the rest.
All of the game's art assets are packed into .big files. The models for this game are in the format .perm.bin, with accompanying .temp.bin files.

A few fellows made a .big extractor a while back, but they all promptly abandoned the project for reasons unknown. They also managed to open textures from the .temp.bin files, but as far as I know nobody has tried to decompile the actual models. There is also a supposed .bin decompressor from the same guys but it doesn't seem to work completely.

I would like to ask if anyone here has any info on or could make an extractor for the actual models. It would really help the community and breath new life into the game.

Here's some sample files.

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 7:10 am

Aha, apparently I was incorrect.

.perm.bin

Image
Image
Image

Are in fact model model files, but

_TS0.perm.bin

Image

Contain the textures.



Unfortunately though that's the extent of my knowledge. Is anyone here capable of assisting?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 5:14 pm

SergeantJoe wrote:Is anyone here capable of assisting?
hmm, "capable"? Don't know this word. :D
Image
At the bottom the normal map?
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 6:13 pm

Seems so, but how exactly did you get it? I tried that program with those settings, but for some reason it's not opening properly for me.
Which file did you open? Did you run it through the decompressor first?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 7:03 pm

I just open ElectroWeapon001_TS001.temp.bin from your Props_new samples folder in TextureFinder. No decompression. (I think texture files are not compressed because it does not make much sense to compress a DXT1 compressed file again - but that's just a guess).

(The name "SDDecompressor" appears in the image because I copied the samples into that folder. Sry for misleading you.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 7:58 pm

Woah, you're right! First there's the specular, then the diffuse, then the normal, just like the _TS0.perm.bin says. Although for the specular and diffuse you need to have "a" checked, and to get the normal you need to switch it to DXT5.
This is awesome! At least we finally have some progress. While it would be nice to have a batch texture extractor it's not really necessary if we have this.

However, even if textures are now possible it's only half the battle. The most important part is the model itself.

Do you know someone who's good at model extraction?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 8:16 pm

SergeantJoe wrote:Do you know someone who's good at model extraction?
There are about 2 or 3 handful of guys in this forums who are. Don't know them personally - just have a look around. Not difficult to find them.

I myself had a try and what I can say so far: it's as difficult as it has been with the mafia2 models. It's easy to get vertices and faces but in blender it's a whole mess. Two possible reasons: the vertices might have to be sorted in another way or they have to be calculated in another way than I did. I tried half floats and the mafia2 formulas. At no avail.

The faceindices look quite "normal" although some uncommon beginning:
f 175 176 177
f 178 179 180
f 546 547 548
f 555 556 557
f 811 812 813
f 3 4 1
f 1 2 3
f 39 3 2
f 38 41 39
f 2 40 39

Image
(Since I don't owe this game I don't think I will bother any more.)
Last edited by shakotay2 on Wed Sep 04, 2013 8:27 pm, edited 1 time in total.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 8:19 pm

Hm... well thanks for the help anyways.

I've tried asking in various places but it seems like nobody cares about this game anymore. It's a shame really. It has some pretty amazing models.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 8:35 pm

SergeantJoe wrote:It's a shame really. It has some pretty amazing models.
They were ripping models at http://forums.sleepingdogs.net afaik. Maybe you could present some (or at least a link to them) to arise some/more interest here? (Although it might be politically incorrect I dare to say: some nice babe's pic could sometimes cause miracles... :D )
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 8:39 pm

That was me. I used Ninja Ripper for those, and you saw how it turned out.

All the models have giant holes in them, no t-poses, and all UV maps are utterly destroyed. I have here two models where the UV was redone from scratch, but that's it.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 8:54 pm

If I had a very simple model, let's say a cube, a chest, a bench or a table I could give it another try. (But they should not have any decorations/ornaments. Because that would increase the verts count.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 9:05 pm

Here's a book. That should be pretty low-poly.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 9:48 pm

Thx. This is a book (should be): Image

But that was simple because the vertices are common.

So another model won't help I guess because I had a former try on Klienod01_CopLight.perm.bin which is a very small model, too. What I got you can see some posts above.

Maybe you can tell me what a Klienod CopLight is or what it should look like. Is it the signal light on a police car?

edit: yes. it is: Image

Do you have a model that's as small as a CopLight but not of glass? Maybe the modelling of this glass structure made the vertices complicate (just a wild guess).
Last edited by shakotay2 on Wed Sep 04, 2013 10:06 pm, edited 1 time in total.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SergeantJoe
mega-veteran
mega-veteran
Posts: 239
Joined: Fri Aug 30, 2013 5:39 am
Has thanked: 56 times
Been thanked: 19 times

Re: [Request] Sleeping Dogs Model Files

Post by SergeantJoe » Wed Sep 04, 2013 10:02 pm

The Klienod is the base vehicle, the CopLights are the sirens and a computer next to the steering wheel. (this model was ripped with Ninja Ripper, and as you can see it has some... defects)

EDIT: Here's one that's a bit bigger, a briefcase.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [Request] Sleeping Dogs Model Files

Post by shakotay2 » Wed Sep 04, 2013 10:11 pm

SergeantJoe wrote:EDIT: Here's one that's a bit bigger, a briefcase.
Perfect! Thx again. Seems to contain half floats.
But I'm a little bit tired now - will try it tomorrow. Good night. :)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply