Q3map2 Toolz error [Solved]

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Infernis
Posts: 616
Joined: Thu Feb 17, 2005 12:00 pm

Q3map2 Toolz error [Solved]

Post 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?
Last edited by Infernis on Sun Oct 17, 2010 10:01 am, edited 1 time in total.
Inf - Leaving in it's torturous wake nothing but vicious, cannabalistic, mutated, radiated and horribly disfigured hordes of satanic killers!
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Q3map2 Toolz error

Post by ^misantropia^ »

Run q3map2 directly?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q3map2 Toolz error

Post by obsidian »

... or use a batch file.
[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]
Infernis
Posts: 616
Joined: Thu Feb 17, 2005 12:00 pm

Re: Q3map2 Toolz error

Post 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.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q3map2 Toolz error

Post 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.
[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]
Infernis
Posts: 616
Joined: Thu Feb 17, 2005 12:00 pm

Re: Q3map2 Toolz error

Post 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].
Inf - Leaving in it's torturous wake nothing but vicious, cannabalistic, mutated, radiated and horribly disfigured hordes of satanic killers!
Infernis
Posts: 616
Joined: Thu Feb 17, 2005 12:00 pm

Re: Q3map2 Toolz error

Post by Infernis »

I fixed it by reinstalling everything. Quake, Radiant, Q3Map2.

Don't know what caused it but I'm happy it works.
Inf - Leaving in it's torturous wake nothing but vicious, cannabalistic, mutated, radiated and horribly disfigured hordes of satanic killers!
User avatar
roughrider
Posts: 355
Joined: Mon Jul 22, 2002 7:00 am

Re: Q3map2 Toolz error [Solved]

Post 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.
Team *A51* Q3 & QL
User avatar
roughrider
Posts: 355
Joined: Mon Jul 22, 2002 7:00 am

Re: Q3map2 Toolz error [Solved]

Post 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.
Team *A51* Q3 & QL
Post Reply