Page 1 of 1

Mbuilder error

Posted: Tue Sep 04, 2007 11:21 pm
by medic frazier
when i click build map in mbuilder a message box comes up and it says error: cannot create file builder.bat i have no clue what it means i am also useing windows vista which could be the problem

Posted: Wed Sep 05, 2007 12:12 am
by erick
Are your paths set correctly? I have a builder.bat in my maps file. Maybe it is because you are using vista. If you're using vista then I am guessing it is something else.

Posted: Wed Sep 05, 2007 1:34 am
by NaotoKhan
As I recall MBuilder.exe creates a builder.bat in the map source directory. So make sure the directory you have set as your map source directory is not read-only. Maybe also try using a different folder if that doesn't work, like C:\Maps or something. Could be the current path name is too long for MBuilder.

mymap.map

Posted: Wed Sep 05, 2007 2:59 am
by tltrude
Make sure your map name is all one word -- no spaces allowed.

my_map.map

Posted: Fri Sep 07, 2007 9:42 pm
by medic frazier
i am using vista and it sucks so i guess it is the problem :(

Posted: Sat Sep 08, 2007 11:04 pm
by Runt
Maybe run the program in XP mode? Dunno how since i don't have vista, but i know it is possible.

user mode

Posted: Sun Sep 09, 2007 12:18 am
by tltrude
I don't have Vista, but I found this conversation about .bat files and Vista.

KAW - Hi, I have various batch files written up that I use all the time in XP (one's that install programs, output data, modify files, etc...) -- will I be able to use these batch files in Vista without having to modify them heavily? Is the Vista shell scripting the same?
----------------------------------------------------------------------------------------
Sir Subaru - By my experience yes, however you may encounter problems with Vistas User Account Control. Should be easily countered by opening the command prompt in Administrator mode.
I think you'd be able to change the properties of the batch file so that it always opens in Administrator mode but I don't have a Vista machine in front of me so can't confirm :)

----------------------------------------------------------------------------------------
KAW - So I take it you have ported over some batch files you used in XP and they worked fine in Vista?
----------------------------------------------------------------------------------------
Sir Subaru - Yeap, My post-imaging and login scripts are driven by batch files
----------------------------------------------------------------------------------------
KAW - Thanks for the info. I'll be crossing my fingers that all of mine will work.

Maybe creating batch files also requires being in Admin mode!

Posted: Thu Jan 31, 2008 6:47 pm
by mffpetergriffin
I am having the same problem with Vista and mBuilder. I don't have a builder file in my main/maps/dm folder. Everything stated above went way over my head. Could I just take the builder file that is on my desktop running XP and put it in my folder on my laptop running Vista?

Posted: Thu Jan 31, 2008 9:08 pm
by erick
You could try that but I don't have anymore problems with Vista (havent tried mbuilder). You could try a new compiler such as BdBodgers (don't know a link at the moment).
ps @Bd I never got that to work. I got a corrupt file error.

Posted: Thu Jan 31, 2008 9:30 pm
by Rookie One.pl
My advice is to drop that vista crap altogether and switch to a decent OS, such as Ubuntu. :P

Posted: Fri Feb 01, 2008 2:38 pm
by erick
Its not bad, you just need to learn how to use it. :wink:

Posted: Fri Feb 01, 2008 3:00 pm
by Rookie One.pl
It is bad. It's evil. It's slow, it's bloatware, it's insecure, unstable and unreliable. It's closed-source and close-minded.

Windows has done a lot evil to all computer users. For example by making people get used to the software failures and accepting them.

OK, enough FLOSS propaganda. ;)

Posted: Sun Feb 10, 2008 2:58 am
by *GCC*Nigel
I had to just make .bat's for each map to compile them...
"C:\PROGRA~1\MOHAAT~1\Q3map.exe" -gamedir C:\PROGRA~1\EAGAME~1\MOHAA C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\#####.map

"C:\PROGRA~1\MOHAAT~1\Q3map.exe" -vis -gamedir C:\PROGRA~1\EAGAME~1\MOHAA C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\#####.map

"C:\PROGRA~1\MOHAAT~1\MOHlight.exe" -gamedir C:\PROGRA~1\EAGAME~1\MOHAA C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\#####.map
Copy it into a text editor (notepad works best) and rename it a .bat (say yes when it decides to ask you a pointless question). Save down a sample if you intend to make multiple maps.

Every thing has to be in 8's. Use a ~1 in the last two places of any name over 8 letters/digits. Except the filename, use the FULL filename or get angry at errors.

Replace ##### with your map name and make sure all the paths are right and it should work, even in the heart of the Devil (Windows Vista). I UPGRADED back to XP since I discovered how terrible Vista is. Anyone know if SP1 did anything?

Posted: Thu Nov 20, 2008 7:00 pm
by dietje_schietje
you must run Mbuilder with administrator than its works