ItsMods

Full Version: Extracting a d3dbsp file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello

New tutorial, this tutorial is probably the uselest thing ever made, Tongue, is only usefull for modders that want to load sp maps in aiw2 and they dont have a d3dbsp file, I hope that @Nukem makes his OMA 1337 Maploader soon. A d3dbsp file is a file that contains the coordinates of stuff like paths, entities, some world setup and shit like that.

You need for this:
- Notepad
- FFViewer
- Hex Editor(I use HxD)
- OMA
- Patience

Lets extract it:

1-Open FFViewer.
2-Open with FFViewer the FF file of the map you want to extract the d3dbsp file of.
3-Now you will have in the folder where you had the map FF file a new file called: mp_mapname-extract.
4-Open the extracted file with a hex editor.
5-Search the word: skycolor , all d3dbsp files start with skycolor, I am taking the example of rust, you will find this(this is not cleaned yet), this is the start of the d3dbsp file:

Code:
{."skycolor" "0.87 0.94 1"."skylight" ".56"."_color" "0.960784 0.827451 0.647059"."ambient" ".01"."classname" "worldspawn"."sundirection" "-20 -12 0"."suncolor" "0.960784 0.827451 0.647059"."sunlight" "1.5".}

6-Now comes the loooooooong part, just click and start scrolling down until you see the last }, after it, will be all weird symbols without sense, there is where it ends.
7-Copy all the huge selected thing.
8-Create a new window in the hex editor(Control+N in HxD).
9-Paste it there, with paste write, it will say you if you want to modify the size of the new file, say yes. You will say all pasted there in red, but the text has lot of "...".
10-Click on Save As, select any place on your pc(whatever you want) and call the file like this: mp_mapname.d3dbsp.ents. My example will be rust, so: mp_rust.d3dbsp.ents. With SP maps, the names of the maps dont have mp_ before, so just called them like this: so_ghillies.d3dbsp.ents, oilrig.d3dbsp.ents or whatever.
11- OMA
12-Finished, you have your d3dbsp file extracted, it has no spaces, but you can add them if you need them, is not necesary.

Ill upload the d3dbsp file of the example: mp_rust

Thats it, in the d3dbsp file you can find many interesting info such as coordinates of stuff(bombs, spawnpoints...), targets(to make collisions), path nodes and other stuff. You can modify parametres, add and remove things.

[attachment=1133]
(10-09-2011, 11:41)Yamato Wrote: [ -> ]Hello

New tutorial, this tutorial is probably the uselest thing ever made, Tongue, is only usefull for modders that want to load sp maps in aiw2 and they dont have a d3dbsp file, I hope that @Nukem makes his OMA 1337 Maploader soon. A d3dbsp file is a file that contains the coordinates of stuff like paths, entities, some world setup and shit like that.

You need for this:
- Notepad
- FFViewer
- Hex Editor(I use HxD)
- OMA
- Patience

Lets extract it:

1-Open FFViewer.
2-Open with FFViewer the FF file of the map you want to extract the d3dbsp file of.
3-Now you will have in the folder where you had the map FF file a new file called: mp_mapname-extract.
4-Open the extracted file with a hex editor.
5-Search the word: skycolor , all d3dbsp files start with skycolor, I am taking the example of rust, you will find this(this is not cleaned yet), this is the start of the d3dbsp file:

Code:
{."skycolor" "0.87 0.94 1"."skylight" ".56"."_color" "0.960784 0.827451 0.647059"."ambient" ".01"."classname" "worldspawn"."sundirection" "-20 -12 0"."suncolor" "0.960784 0.827451 0.647059"."sunlight" "1.5".}

6-Now comes the loooooooong part, just click and start scrolling down until you see the last }, after it, will be all weird symbols without sense, there is where it ends.
7-Copy all the huge selected thing.
8-Create a new window in the hex editor(Control+N in HxD).
9-Paste it there, with paste write, it will say you if you want to modify the size of the new file, say yes. You will say all pasted there in red, but the text has lot of "...".
10-Click on Save As, select any place on your pc(whatever you want) and call the file like this: mp_mapname.d3dbsp.ents. My example will be rust, so: mp_rust.d3dbsp.ents. With SP maps, the names of the maps dont have mp_ before, so just called them like this: so_ghillies.d3dbsp.ents, oilrig.d3dbsp.ents or whatever.
11- OMA
12-Finished, you have your d3dbsp file extracted, it has no spaces, but you can add them if you need them, is not necesary.

Ill upload the d3dbsp file of the example: mp_rust

Thats it, in the d3dbsp file you can find many interesting info such as coordinates of stuff(bombs, spawnpoints...), targets(to make collisions), path nodes and other stuff. You can modify parametres, add and remove things.

OOOOOMGGGGG
U DA BEST ;3
Misleading title :< I thought it was like the actual map file, lol. Nice job anyway. To bad the same thing can be applied to Black Ops, seems the .d3dbsp data is compressed or stored somewhere else.
dont quote the fucking post
(10-09-2011, 12:23)master131 Wrote: [ -> ]Misleading title :< I thought it was like the actual map file, lol. Nice job anyway. To bad the same thing can be applied to Black Ops, seems the .d3dbsp data is compressed or stored somewhere else.

Isnt it in the FF file?
@Yamato that's the .ents, not the .d3dbsp file... (Aka mapname.d3dbsp.ents)


(10-09-2011, 12:23)master131 Wrote: [ -> ]Misleading title :< I thought it was like the actual map file, lol. Nice job anyway. To bad the same thing can be applied to Black Ops, seems the .d3dbsp data is compressed or stored somewhere else.

That's because BO has the "real" .d3dbsp, not the d3bsp.ent :p

Good job though! Awesome
Good post for finding this (although I can let the game do this for me :p)

You would have better luck with searching for the strings:
Code:
maps\mp\<mapname>.d3dbsp
maps\<mapname>.d3dbsp


And yes I've finished the loader except you can only use it if you have been banned (liberation does not like it for some reason)
d3dbsp != ents
(10-16-2011, 14:55)xetal Wrote: [ -> ]d3dbsp != ents

Error: Bad syntax
Nice but sloppy once you paste it on notepad tho Sad
Pages: 1 2