It is currently Wed Dec 19, 2018 12:11 pm

 All times are UTC + 1 hour

### Forum rules

 Page 9 of 10 [ 144 posts ] Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
 Print view Previous topic | Next topic
Author Message
 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Sun Dec 10, 2017 2:01 pm
 beginner

Joined: Wed Nov 25, 2015 8:43 pm
Posts: 26
Location: Russia
Has thanked: 10 times
Have thanks: 17 times

```

```

You can make the ads go away by registering

Feregorn, thank you for this information. It helps understand, how render works, but I don't know, how data packed. BTW, it help me later.

If somebody need, this is the blender script for loading Tomb Raider hair files (don't need to enter numbers by himself)
Code:
import bpy
from mathutils import Vector
import struct

#w = 1 # weight
listOfVectors = []
model = open("C:\\Users\\User\\Documents\\test1.hair", "rb")
for i in range(1500):
arr = []
for i in range(3):
arr.append(Vector((list(struct.unpack("19f", buf))[:3])))

listOfVectors.append(arr)
model.close()

def MakePolyLine(objname, curvename, cList):
curvedata = bpy.data.curves.new(name=curvename, type='CURVE')
curvedata.dimensions = '3D'

objectdata = bpy.data.objects.new(objname, curvedata)
objectdata.location = (0,0,0) #object origin

polyline = curvedata.splines.new('NURBS')
for num in range(len(cList)):
x, y, z = cList[num]
polyline.points[num].co = (x, y, z, 1)

polyline.order_u = len(polyline.points)-1
polyline.use_endpoint_u = True

for stred in listOfVectors:
MakePolyLine("NameOfMyCurveObject", "NameOfMyCurve", stred)

Unfortunately, it don't work with DEMD, but I hope, that I can understand file structure

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Mon Dec 11, 2017 3:40 pm
 ultra-n00b

Joined: Tue Dec 05, 2017 10:59 pm
Posts: 6
Has thanked: 4 times
Have thanks: 0 time
Feregorn, thank you for this information. It helps understand, how render works, but I don't know, how data packed. BTW, it help me later.

If somebody need, this is the blender script for loading Tomb Raider hair files (don't need to enter numbers by himself)

what happens when you import a model, the hair mesh is missing or not correctly laid out?

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 12:36 pm
 ultra-n00b

Joined: Tue Oct 17, 2017 2:40 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Hi, im a bit of a noob to this but i want to get the 3d models for adams augmentations from the aug menu but im having trouble getting the DEMD database.exe to unpack all the runtime folders, it gets to around half way then comes up with the error "looks like the base conversion failed". im not sure if there is something im doing wrong but im following the help_en.html. is there something im missing and could you explain if there is? Thanks

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 12:53 pm
 beginner

Joined: Wed Nov 25, 2015 8:43 pm
Posts: 26
Location: Russia
Has thanked: 10 times
Have thanks: 17 times
My program show this message when converter (Sir Kaine's DEMDextractor) return non-zero code or if it not create "NameMap.txt".
Looks like converter have some troubles with archives from the latest version of game. I use very old version (~month from first release in steam) and it works well.

You can extract game files using Sir Kaine's program manually, and open unpacked database in my program after that.

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 1:20 pm
 ultra-n00b

Joined: Sun Dec 03, 2017 10:42 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
Hi

I used "DEMD Databse" to extract all data, but it failed after a few minutes (1476 folders extracted for almost 7650 available).
So i extracted the whole 7650 with QuickBMS, but i can't read data with DEMD (for OBJ and texture extraction) because of no "NameMap.txt" "ExternalResources.txt" "ContainerNameMap.txt" "ResMap.bin".

is there any way to generate them from actual extracted data ?

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 1:31 pm
 beginner

Joined: Wed Nov 25, 2015 8:43 pm
Posts: 26
Location: Russia
Has thanked: 10 times
Have thanks: 17 times
QuickBMS script not give names for extracted files + it decompress some types wrong.

You can try to unpack files using Sir Kane's extractor, and if (when) error occure just remove file that cause error and restart extractor (of cource, some data will be missed in my app).

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 4:04 pm
 ultra-n00b

Joined: Sun Dec 03, 2017 10:42 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
The problem is that it seems QuickBMS extract data from .archive (from runtime folder) which is larger and contain the whole obj and textures files, while "DEMD Database" seems extracting data from the ".pc_headerlib" folders (data extracted from DEMD Databse is the exact content from those folders).

Am i right ?

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 4:16 pm
 beginner

Joined: Wed Nov 25, 2015 8:43 pm
Posts: 26
Location: Russia
Has thanked: 10 times
Have thanks: 17 times
Firstly, my app don't extract anything, it's just run 3rd party console program (DEMDextract by Sir Kane)

Secondly, all variants unpack files from .archive, it need about 23gb. But Sir Kane's extractor also use .pc_headerlib files to create index with names (NameMap.txt) which is used in my program.

QuickBMS script unpack some files incorrectly, I saw it by myself when writing texture converter. It cut or make files too long.

P.S.
There are piece of code that runs convertion

Code:
// unpacker - full path to DXMDExtract.exe
// game_folder - user input, runtime folder
// path - user input, folder for storing extracted base
res = subprocess.call([unpacker, game_folder, path], shell=False)
if res != 0 or not os.path.isfile(path+"NameMap.txt"):
error_mess = QMessageBox.critical(
None, app.translate("ConvertError", "Convertion error"),
app.translate("ConvertErrorText",

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 4:29 pm
 ultra-n00b

Joined: Tue Oct 17, 2017 2:40 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
does this mean the DEMD database.exe wont work with the new version of mankind divided unless sir kane makes it or is there a work around because i tried to open the extractor from the tools folder but it closes straight away.

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Fri Dec 22, 2017 4:35 pm
 beginner

Joined: Wed Nov 25, 2015 8:43 pm
Posts: 26
Location: Russia
Has thanked: 10 times
Have thanks: 17 times
Gaffers wrote:
does this mean the DEMD database.exe wont work with the new version of mankind divided unless sir kane makes it or is there a work around because i tried to open the extractor from the tools folder but it closes straight away.

First one. If Sir Kane fix DEMDextract, my app will be work again

Window closes because you need to open program in console (shift + rmb in folder with program, after that type: DEMDextract.exe "full path to runtime folder" "full path to export folder")

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Sat Dec 23, 2017 1:33 pm
 ultra-n00b

Joined: Tue Oct 17, 2017 2:40 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
I messaged Sir Kane to see if he can fix it but ive used the extractor manually through command prompt and have been able to get all the files and name tree on your Deus ex Database.exe. Thanks guys

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Sat Jan 20, 2018 8:55 pm
 beginner

Joined: Wed Nov 25, 2015 8:43 pm
Posts: 26
Location: Russia
Has thanked: 10 times
Have thanks: 17 times
Ok guys, looks like .linkedprim files now with working UVs

Updated version below

If you use my DEMD Database, you need to replace "__init__.py" and "import_DeusExMD.py" files in folder "tools\Blender\2.78\scripts\addons\io_scene_DeusEx-MD" by new version. Closing the program is not necessary, the update will work right away.

If nothing change, I'll look at rig data.

Last edited by aspadm on Sun Jan 21, 2018 7:27 pm, edited 1 time in total.

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Sun Jan 21, 2018 7:22 pm
 ultra-veteran

Joined: Sun Jul 06, 2014 6:30 am
Posts: 414
Has thanked: 99 times
Have thanks: 260 times
Aspadm came to me with the idea for his fix, but I wanted to implement it in the right way. I guess in his enthusiasm, He went ahead and released his version. I however recommend you use this version, as it integrates the fix so as to not break other existing formats.

I thank Aspadm for his efforts in finding a solution.

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Wed Feb 14, 2018 6:36 pm
 ultra-n00b

Joined: Wed Feb 14, 2018 6:14 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
You guys are doing really neato work

Top

 Post subject: Re: Deus EX: Mankind Divided .archivePosted: Tue Feb 20, 2018 12:10 pm
 ultra-n00b

Joined: Mon Apr 17, 2017 7:46 pm
Posts: 3
Has thanked: 2 times
Have thanks: 0 time
Hello friends.
I don't know English, so I'm using an online translator to communicate with you.
I'll try to be brief.
I know that this thread has not been answered for a long time, but I think it is the most suitable for receiving help.
I'm trying to understand everything they say, but it's impossible.
What I try to do is NOT extract 3d models and then edit them.
I would be interested in extracting the load animation, and saved from games. Yes, the one that is a triangle that turns on itself, and makes like mini triangles, in a loop.
Since I can't do it, because I don't know what tools I have to use either, I hope you'll help me, at least tell me which tools, and I'll find them myself.
I have managed to extract an animation from the bk2 videos, but it doesn't work for me, it has very little definition, I imagine that in the pc_headerlib files should be the other 2 or 3 animations remaining.
Thank you, and a greeting.

Translated with www.DeepL.com/Translator

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 9 of 10 [ 144 posts ] Go to page Previous  1 ... 6, 7, 8, 9, 10  Next

 All times are UTC + 1 hour

#### Who is online

Users browsing this forum: Google [Bot] and 4 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ General Discussion    Holy Cow!    Game news    Game Tech Tips    Cool mods    Website Game Modding    Tutorials    3D/2D models    Audio file formats    Graphic file formats    Video file formats    Game Archive    Compressed files and methods    Code Talk    Game Localization    Savegames    Old posts    Retro games MultiEx Commander Tools & Programs    Game specific tools    General game tools