Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Extracting a d3dbsp file
#1
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.


.rar   mp_rust.d3dbsp.rar (Size: 6.06 KB / Downloads: 356)
Reply

#2
(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
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#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.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#4
dont quote the fucking post
[Image: MaEIQ.png]
Reply

#5
(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?
Reply

#6
@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
Reply

#7
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)
[Image: b_560_95_1.png]
Reply

#8
d3dbsp != ents
Reply

#9
(10-16-2011, 14:55)xetal Wrote: d3dbsp != ents

Error: Bad syntax
[Image: azuw.jpg]
Reply

#10
Nice but sloppy once you paste it on notepad tho Sad
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 19,929 06-09-2013, 16:01
Last Post: dylankrajewski
  [Release] Modern Warfare 3 Fast File Sounds master131 5 18,373 05-21-2013, 16:46
Last Post: ZURA.
Question Help change single file lzma maker to multiple in c# raminr63 1 3,071 05-12-2013, 19:31
Last Post: raminr63
  [Release] Black Ops II Fast File Explorer master131 19 26,913 03-28-2013, 16:16
Last Post: kokole
  i want change mod to .iwd file ABDULMAILK 7 6,296 03-10-2013, 05:24
Last Post: DidUknowiPwn
  Black Ops II PC Fast File Key master131 19 18,556 12-08-2012, 13:53
Last Post: Gagarin
  iwi file structure Gagarin 5 4,775 12-07-2012, 16:07
Last Post: kokole
  Help how to save a weapon_camo_menu<weapon name>.iwi file? Slow 0 2,016 11-14-2012, 03:19
Last Post: Slow
  [Release] Modern Warfare 2 Fast File Sounds master131 3 15,843 11-13-2012, 07:19
Last Post: DidUknowiPwn
  Help writing text to file (VB2008) dylankrajewski 2 3,128 11-05-2012, 14:32
Last Post: dylankrajewski

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.