Page 1 of 1

Q3map2 Toolz error [Solved]

Posted: Sat Oct 16, 2010 6:31 pm
by Infernis
Hello,

I installed the program several times, cleared everything [paths, registry,etc] and still I get the following error when trying to compile:
Failure run batch file: Invalide procedure call or argument
It doesn't matter which compiling options I choose. I also tried several different maps.

I work with:

Windows 7 Ultimate 64 Bits
GtkRadiant 1.4.0
Q3Map2 Toolz 0.6.015
Q3map2 2.5.16

I set Q3map2 Toolz to run as Administrator.

What more can I try?

Re: Q3map2 Toolz error

Posted: Sat Oct 16, 2010 6:55 pm
by ^misantropia^
Run q3map2 directly?

Re: Q3map2 Toolz error

Posted: Sat Oct 16, 2010 7:07 pm
by obsidian
... or use a batch file.

Re: Q3map2 Toolz error

Posted: Sat Oct 16, 2010 7:27 pm
by Infernis
How do you do that? I just quickly want to compile and fire up Quake 3 to test ingame without having to type commands and such.

I now tried a different program, Q3Map2 Build, it gives me the same error.

It looks like none of them can write the .bsp.

Re: Q3map2 Toolz error

Posted: Sat Oct 16, 2010 11:15 pm
by obsidian
Test with a new map file? Perhaps there is something wrong with the map file. Also check that the file you are trying to compile or replace has proper read/write permissions and is not sitting in a protect system directory (e.g. C:\windows, C:\Program Files, etc.).

Batch file:
Open Notepad.
Type something like the following:

Code: Select all

"path\to\q3map2.exe" -switches "path\to\mymap.map"
"path\to\q3map2.exe" -vis -switches "path\to\mymap.map"
"path\to\q3map2.exe" -light -switches "path\to\mymap.map"
Save as, mybatch.bat
Double click to run.

Re: Q3map2 Toolz error

Posted: Sun Oct 17, 2010 7:50 am
by Infernis
Ok, it writes the .bsp. The frontends do and the batchfile does as well. My Quake 3 directory is on a seperate drive, no restrictions. When I go to the maps folder I see that .bsp is written. However, when I start Quake 3 it can't load the .bsp because it's not found.

Plus I have to manually remove the .bsp file to be able to run another compile. Otherwise the same error comes back [Invalid argument].

Re: Q3map2 Toolz error

Posted: Sun Oct 17, 2010 10:01 am
by Infernis
I fixed it by reinstalling everything. Quake, Radiant, Q3Map2.

Don't know what caused it but I'm happy it works.

Re: Q3map2 Toolz error [Solved]

Posted: Sun Oct 17, 2010 9:52 pm
by roughrider
Glad you were able to fix the problem you were having. Hopefully in the future you wont have to do a complete re-install of stuff to get it to work right for you.

Re: Q3map2 Toolz error [Solved]

Posted: Sun Oct 17, 2010 9:54 pm
by roughrider
Also thinking of which, somewhat sounds like there was a registry problem with the paths, which is why it kept having the invalid argument errors.