XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Dec 10, 2018 9:00 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: The Crew 1/2 map tool (Dunia engine)
PostPosted: Mon Nov 12, 2018 5:51 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1720
Has thanked: 38 times
Have thanks: 1174 times














You can make the ads go away by registering

The Crew 1/2 map tool will be published here soon

Note: you DONT need to extract ANY files before using the tool, it exports all data right from FAT/DAT files

Whole USA map is split into 20x12 areas (0,0 is south west corner). Each area is square 8x8 sectors.

Notes before using the tool:
- this 1st version only works with The Crew 2, other games will be supported later
- you need oo2core_5_win64.dll from the game, place it next to the tool
- edit crew.ini with your paths

Usage: thecrew2map ax ay sx sy type
ax ay - area coordinates ( x = 0..19, y = 0..11 )
sx sy - sector coordinates ( 0..7 )
(if you set sx=8, sy=8, that will export ALL 64 sectors of an area)
(if you set sy=8, that will export 8 sectors of an area row )
type - with this you can export only one type of objects:
- terrain - terrain mesh (exported separately as .OBJ)
- road - main road
- t1, t2, t3, t4 - four main map object types
- grass - lots of small objects and points (global for the area) - not recommended for extraction
- area - low LOD objects of area (global for the area) - not recommended for extraction
If you dont use type parameter, these will be exported: terrain,road,t1,t2,t3,t4
If you use one of global types (grass or area), sx and sy will be ignored (because these types are for whole area)

Examples:
thecrew2map 1 3 5 7 t1
thecrew2map 1 3 5 7 road
thecrew2map 1 3 5 7

After export, tool will generate:
- ascii files with all map objects (split in 50MB parts)
- obj file with terrain
- materials and textures lists
- all textures used in selected map part in DX10 format

ASCII file will only have the first texture applied for each object. Its usually diffuse map, but sometimes not. This will be fixed later. For auto-loading of textures, you need to replace .XBT extensions to the format you convert them, for example, .PNG

Image

Image

Image


Attachments:


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



Last edited by daemon1 on Mon Nov 12, 2018 6:41 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Mon Nov 12, 2018 6:36 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1720
Has thanked: 38 times
Have thanks: 1174 times
Tool requires res2.bin file, which will later be generated automatically, but now you need to place it next to the EXE.
Its bigger than 256k, so get it here: https://zenhax.com/viewtopic.php?f=5&t=8879


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Tue Nov 27, 2018 8:05 pm 
Offline
advanced

Joined: Sat Apr 16, 2016 7:30 am
Posts: 40
Has thanked: 2 times
Have thanks: 2 times
Thanks so much for your effort, please keep working on tools like this!

Are the map geometry files in XBG format?
I'm hoping we can somehow do the same with the map from Watch Dogs, assuming the file format is the same.


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Thu Nov 29, 2018 1:51 am 
Offline
mega-veteran
mega-veteran

Joined: Sat Nov 06, 2010 12:27 am
Posts: 248
Has thanked: 87 times
Have thanks: 33 times
CobraGamer wrote:
Are the map geometry files in XBG format?

As usual just like many, never bother to read anything, it clearly states above what this is about and what the tool does.


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Thu Nov 29, 2018 4:39 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1720
Has thanked: 38 times
Have thanks: 1174 times
CobraGamer wrote:
I'm hoping we can somehow do the same with the map from Watch Dogs, assuming the file format is the same.


The map format includes reading a lot of different info from game archives. Its possible that it can be done with Watch Dogs, but it may require a lot of additional work


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Fri Nov 30, 2018 10:58 pm 
Offline
advanced

Joined: Sat Apr 16, 2016 7:30 am
Posts: 40
Has thanked: 2 times
Have thanks: 2 times
@mono24: Does the post contain anything about the map geometry format? No, only that the tool extracts the necessary data directly from the *.dat archives.


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Sat Dec 01, 2018 1:34 pm 
Offline
advanced
User avatar

Joined: Mon Nov 28, 2016 9:12 am
Posts: 46
Has thanked: 24 times
Have thanks: 2 times
CobraGamer wrote:
@mono24: Does the post contain anything about the map geometry format? No, only that the tool extracts the necessary data directly from the *.dat archives.


After export, tool will generate:
- ascii files with all map objects (split in 50MB parts)
- obj file with terrain
- materials and textures lists
- all textures used in selected map part in DX10 format


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Thu Dec 06, 2018 2:00 am 
Offline
ultra-n00b

Joined: Sat Jun 23, 2018 4:09 pm
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
Does this also work for vehicles? I mean, could this tool convert vehicles to obj automatically?


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Thu Dec 06, 2018 3:26 am 
Offline
mega-veteran
mega-veteran

Joined: Sat Nov 06, 2010 12:27 am
Posts: 248
Has thanked: 87 times
Have thanks: 33 times
ShadyDub wrote:
Does this also work for vehicles? I mean, could this tool convert vehicles to obj automatically?

As the title and description says, it is MAP tool, no vehicle support, maybe in the future.


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Thu Dec 06, 2018 10:47 pm 
Offline
ultra-n00b

Joined: Sat Jun 23, 2018 4:09 pm
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
Thanks, this would be great!


Top
 Profile  
 
 Post subject: Re: The Crew 1/2 map tool (Dunia engine)
PostPosted: Fri Dec 07, 2018 8:39 pm 
Offline
advanced

Joined: Sat Apr 16, 2016 7:30 am
Posts: 40
Has thanked: 2 times
Have thanks: 2 times
So how can the *.obj and *.ascii files be merged together? There's probably a really obvious way, but I still fail to see it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group