Mbuilder error

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
medic frazier
Lance Corporal
Posts: 16
Joined: Sun Aug 12, 2007 6:39 pm
Contact:

Mbuilder error

Post 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
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

Post 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.
User avatar
NaotoKhan
Corporal
Posts: 45
Joined: Sat Jan 20, 2007 12:05 am
Location: South Carolina
Contact:

Post 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.
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

mymap.map

Post by tltrude »

Make sure your map name is all one word -- no spaces allowed.

my_map.map
Tom Trude,

Image
medic frazier
Lance Corporal
Posts: 16
Joined: Sun Aug 12, 2007 6:39 pm
Contact:

Post by medic frazier »

i am using vista and it sucks so i guess it is the problem :(
Runt
First Lieutenant
Posts: 188
Joined: Wed Feb 11, 2004 5:03 pm
Location: The Netherlands
Contact:

Post by Runt »

Maybe run the program in XP mode? Dunno how since i don't have vista, but i know it is possible.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

user mode

Post 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!
Tom Trude,

Image
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Post 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?
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

Post 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.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

My advice is to drop that vista crap altogether and switch to a decent OS, such as Ubuntu. :P
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

Post by erick »

Its not bad, you just need to learn how to use it. :wink:
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post 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. ;)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
*GCC*Nigel
Second Lieutenant
Posts: 169
Joined: Sun Dec 04, 2005 5:13 am

Post 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?
Stein Auf
dietje_schietje
Corporal
Posts: 29
Joined: Wed Nov 19, 2008 8:20 pm

Post by dietje_schietje »

you must run Mbuilder with administrator than its works
Post Reply