BSP HELP

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
ANIMAL1988
Posts: 75
Joined: Tue Jan 16, 2007 10:37 pm

BSP HELP

Post by ANIMAL1988 »

does anybody know how i can decompile a BSP file. I have matchstick BSP compiler and q3map2. but am having problems getting it to work.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Maybe elaborate a little more on 'problems'.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
maz0r
Posts: 157
Joined: Wed Apr 21, 2004 7:00 am

Post by maz0r »

Just read thru the q3map2 manual. There is a swith for decompiling .BSP files into .map files. But be warned, all texture placement data is lost in this process and maybe there were other limitations as well (entities?).

Edit: oh and also DO NOT FORGET about the copyright issue!
ANIMAL1988
Posts: 75
Joined: Tue Jan 16, 2007 10:37 pm

Post by ANIMAL1988 »

c:\programfiles\quake 3 arena\q3map_2.5.11_win32_*86\q3dm15.map.bsp"

"c:\programfiles\quake 3 arena\q3map_2.5.11_win32_*86\q3dm15.map.bsp

The file cannot be copied onto itself.

0 file<s> copied.


c:\>C:programfiles\quake 3 arena\q3map_2.5.11_win32_*86\q3map2.exe -convert -format map -v c:\programfiles\quake 3 arena\q3map_2.5.11_win32_*86\q3dm15.map.bsp

'c:\program' is not recognised as an internal or external command, operable program or batch file.

c:\>pause
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

The first error: you have to specify a new filename for the output file. it has to be a different filename to the bsp you're converting.

The second error: the command prompt you're using has a problem with you using spaces in folder paths. Shorten any folder name with a space to the 8-character dos-compliant name i.e. \program files\ becomes \PROGRA~1\.

Your problems seems to stem from usage of the command prompt rather than problems with the decompiling process itself.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
ANIMAL1988
Posts: 75
Joined: Tue Jan 16, 2007 10:37 pm

Post by ANIMAL1988 »

how can i rename programfiles?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post by obsidian »

Not sure what all that other gibberish is, but you only need one line. You want to tell the batch file or command prompt where Q3map2 is located and execute it with the right switches, pointing to where your map is located:

[programpath]\q3map2.exe -convert -format map [bsppath]\mybsp.bsp

You don't need to rename program files to program~. Dos can't read anything longer than 8 characters, so "program files" is 5 characters too long. You need to abbreviate it when using DOS.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
ANIMAL1988
Posts: 75
Joined: Tue Jan 16, 2007 10:37 pm

Post by ANIMAL1988 »

i typethat in manually?
ANIMAL1988
Posts: 75
Joined: Tue Jan 16, 2007 10:37 pm

Post by ANIMAL1988 »

Thanks alot Obsidian. Worked first time round. :p
ANIMAL1988
Posts: 75
Joined: Tue Jan 16, 2007 10:37 pm

Post by ANIMAL1988 »

Can see there is alot of work to do on the map though :icon28:
dichtfux
Posts: 571
Joined: Thu Feb 02, 2006 10:51 pm

Post by dichtfux »

ANIMAL1988 wrote:how can i rename programfiles?
As Obsidian already said, no need to o that.

Instead of using the ~ character and shorten it, you could also enclose the command in "s like so :

Code: Select all

C:\> cd "Program Files"
C:\Program Files\> "Some Dir With Spaces in Name\A Subdir\somecommand"
[color=#FFFFFF][url=http://maps.rcmd.org]my FPS maps[/url][/color]
Post Reply