Page 1 of 1

BSP HELP

Posted: Tue Jan 16, 2007 10:41 pm
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.

Posted: Tue Jan 16, 2007 10:43 pm
by Foo
Maybe elaborate a little more on 'problems'.

Posted: Tue Jan 16, 2007 11:18 pm
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!

Posted: Tue Jan 16, 2007 11:21 pm
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

Posted: Tue Jan 16, 2007 11:26 pm
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.

Posted: Tue Jan 16, 2007 11:42 pm
by ANIMAL1988
how can i rename programfiles?

Posted: Wed Jan 17, 2007 1:03 am
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.

Posted: Wed Jan 17, 2007 10:41 am
by ANIMAL1988
i typethat in manually?

Posted: Wed Jan 17, 2007 10:52 am
by ANIMAL1988
Thanks alot Obsidian. Worked first time round. :p

Posted: Wed Jan 17, 2007 11:11 am
by ANIMAL1988
Can see there is alot of work to do on the map though :icon28:

Posted: Wed Jan 17, 2007 2:02 pm
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"