Mbuilder error
Moderator: Moderators
-
medic frazier
- Lance Corporal
- Posts: 16
- Joined: Sun Aug 12, 2007 6:39 pm
- Contact:
Mbuilder error
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
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.
-
medic frazier
- Lance Corporal
- Posts: 16
- Joined: Sun Aug 12, 2007 6:39 pm
- Contact:
user mode
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!
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!
-
mffpetergriffin
- Sergeant
- Posts: 64
- Joined: Sat Jan 26, 2008 4:53 pm
- Contact:
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
My advice is to drop that vista crap altogether and switch to a decent OS, such as Ubuntu. 
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
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.
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.
-
*GCC*Nigel
- Second Lieutenant
- Posts: 169
- Joined: Sun Dec 04, 2005 5:13 am
I had to just make .bat's for each map to compile them...
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?
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."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
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



