decompiling prob


(thiste) #1

Ok I tried decompiling an old map of mine but it seems q3map2 crashes a few secs after I start every time I try. Here’s my line :

C:\Quake lll arena\GtkRadiant-1.4\q3map2\q3map2.exe -convert -format map -v -fs_basepath C:\Quake lll arena\GtkRadiant-1.4\q3map2\return8.bsp

Both paths are ok.

I tried modifying the line a bit but it does the same.
I tried decompiling other maps but it does the same.

I’m using win XP, q3map2 v2.5.13, gtk 1.5.0 16 feb 2004.
The error message gives no information, it’s a normal win XP error message : “q3map2.exe has encountered a problem and needs to close. We are sorry for the inconvenience.”

Thx by advance for any help I might get,

thiste

P.-S.: I know it’s not nice to steal other people’s work and know that I don’t intend to do that at all.


(phobos) #2

Your command line isn’t quite right. Try this as a .bat file in your q3map2 directory:


q3map2.exe -v -convert -format map -fs_basepath "c:/quake iii arena/baseq3" return8.bsp


Notice I only had to specify a relative path, so long as you save this as something like “convert.bat” in your q3map2 directory (c:\quake iii arena\gtkradiant-1.4\q3map2), also since your bsp appears to be in the same directory, just the bsp name is needed.

basepath is set as the location of your baseq3 directory, and not the string to your map file. Finally, Q3map2 uses unix style forward slashes in arguments, so if it’s a long file name (longer than 8 characters), use quotes to contain it.


(ydnar) #3

You need to quote any paths with spaces in them, ie:


"C:\Quake lll arena\GtkRadiant-1.4\q3map2\q3map2.exe" -convert -format map -v -fs_basepath "C:\Quake III arena" "C:\Quake III arena\GtkRadiant-1.4\q3map2\return8.bsp"

You probably want to put the bsp in the baseq3/maps/ directory:


"C:\Quake lll arena\GtkRadiant-1.4\q3map2\q3map2.exe" -convert -format map -v -fs_basepath "C:\Quake III arena" "C:/Quake III arena/baseq3/maps\return8.bsp"


(thiste) #4

Thx guys,

Actually phobos’ solution fixed it, as I said I tried different things & syntaxes, had already tried with quotes (removed them to follow your example in another thread, ydnar) and with the map in the /maps folder, I just ended with the line I posted.
But thanks anyway, it works now, didn’t know that a simple synthax problem could crash q3map2 :[ and still didn’t figure out how it works :stuck_out_tongue: