The Forum is up for sale: XeNTaX Forum looking for new owner
World racing 2(pc version) - extract 3d map and textures
World racing 2(pc version) - extract 3d map and textures
Hey guys. Anyone have script to extract the map files from this game?
What i want to do is to be able to open this map in 3dsmax 2012.
.vtx is the file ending of the biggest file but there are other files there. The biggest ones are the 3d files which i want to open but also the texture files.
I will post a link to mediafire with a folder from the map
Its called ct autobahn. Its not big in size maybe 30 mb.
Link to sample from mediafire : https://www.mediafire.com/file/ae56ba5x ... 1.zip/file
What i want to do is to be able to open this map in 3dsmax 2012.
.vtx is the file ending of the biggest file but there are other files there. The biggest ones are the 3d files which i want to open but also the texture files.
I will post a link to mediafire with a folder from the map
Its called ct autobahn. Its not big in size maybe 30 mb.
Link to sample from mediafire : https://www.mediafire.com/file/ae56ba5x ... 1.zip/file
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
I don't have access to 3dsmax atm (and most people/extractors don't care for maps, afai experienced.
rough view of the map: (mesh format uses floats, FVF size is 32 here).vtx is the file ending of the biggest file but there are other files there.
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
part of map level:
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: World racing 2(pc version) - extract 3d map and textures
Looking very good. Did you manage to extract the model and its textures? Could it be seen in 3dsmax now?shakotay2 wrote: ↑Tue Jun 18, 2019 10:57 amI don't have access to 3dsmax atm (and most people/extractors don't care for maps, afai experienced.)
rough view of the map:.vtx is the file ending of the biggest file but there are other files there.
Autobahn-vtx.jpg
(mesh format uses floats, FVF size is 32 here)
Thanks in advance. toab776.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
what I got is what you see (in my posts).
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: World racing 2(pc version) - extract 3d map and textures
To continue with what i managed to do here is a picture of my work right now through the mesh extractor program i am using.


The problem i am having is finding the face indices in the numbers. I have not yet made the UV's.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
face indices are in CT_Autobahn.idx
they are like such (you need some trick to get the output from hex2obj):
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
...
(Maximum face index was 62415 for the first submesh, iirc. FIs' count was 162415.)
-------------------------
2nd submesh:
. You need to copy .vtx and .idx into one file for such:
copy /b ct_autobahn.vtx + ct_autobahn.idx ct_all.vt_idx
Load ct_all.vt_idx into hex2obj.
Then save 20 different obj files with 20 different vertex start addresses and FI start addresses.
btw: UV pos is 16
they are like such (you need some trick to get the output from hex2obj):
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
...
(Maximum face index was 62415 for the first submesh, iirc. FIs' count was 162415.)
-------------------------
2nd submesh:
. You need to copy .vtx and .idx into one file for such:
copy /b ct_autobahn.vtx + ct_autobahn.idx ct_all.vt_idx
Load ct_all.vt_idx into hex2obj.
Then save 20 different obj files with 20 different vertex start addresses and FI start addresses.
btw: UV pos is 16
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: World racing 2(pc version) - extract 3d map and textures
When you say UV pos is 16. What does it mean?shakotay2 wrote: ↑Sat Jun 22, 2019 8:15 pm face indices are in CT_Autobahn.idx
they are like such (you need some trick to get the output from hex2obj):
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
...
(Maximum face index was 62415 for the first submesh, iirc. FIs' count was 162415.)
-------------------------
2nd submesh:
.
CT_Autobahn_part2.png
You need to copy .vtx and .idx into one file for such:
copy /b ct_autobahn.vtx + ct_autobahn.idx ct_all.vt_idx
Load ct_all.vt_idx into hex2obj.
Then save 20 different obj files with 20 different vertex start addresses and FI start addresses.
btw: UV pos is 16
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
It means that you have to replace the 99 in the screenshot in my previous post by 16.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: World racing 2(pc version) - extract 3d map and textures
After i do this can i extract the mesh with materials assigned now?
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
You can extract the mesh with uvs using File/SaveAs mesh in hex2obj.
Google how to create materials/.mtl files for blender then you can simply insert a line
mtllib my_materials.mtl into the obj file.
Each submesh needs a usemtl line in the face indices block, for example:
g SM_1
usemtl material1
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: World racing 2(pc version) - extract 3d map and textures
If i wanted to extract the materials that the games makers made in the qad file. How would this be done? I am aware that i will have to manually apply textures later one by one but i mean like all roads have same material assigned so i only have to apply textures once and the grass has same materials etc etc.shakotay2 wrote: ↑Sun Jun 30, 2019 10:26 amYou can extract the mesh with uvs using File/SaveAs mesh in hex2obj.
Google how to create materials/.mtl files for blender then you can simply insert a line
mtllib my_materials.mtl into the obj file.
Each submesh needs a usemtl line in the face indices block, for example:
g SM_1
usemtl material1
... in short to extract the material names and position and size from the qad or vtx file.
And also. What exactly is this testUV.obj? What is it used for?
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
I have no idea and time to check for it.
It's just a helper file for displaying uvs - you can ignore it.And also. What exactly is this testUV.obj? What is it used for?
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: World racing 2(pc version) - extract 3d map and textures
Alright man. Thank you. Appreciate it anyways. I will keep on messing around with the code. I will finish it eventually.
You can reply when you have time?
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: World racing 2(pc version) - extract 3d map and textures
textures are ptx - you need to play around with TextureFinder for example.
. IrfanView, Raw file, 16 bit, 6 5 5
(dunno why it reads 24 BPP, a bug in IV? cause I selected 16 BPP)
. IrfanView, Raw file, 16 bit, 6 5 5
(dunno why it reads 24 BPP, a bug in IV? cause I selected 16 BPP)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
