Trying to run the VM building bat files straight out of the box, you might have some horrible, nasty errors.
If you open the game.bat in the code/game directory, you will see the line 'set cc= blah blah'.
This format does not work!
Lukily, the solution is simple. Take everything after the =, except for the %1, and copy it over every instance of %cc% in the file below. IT IS VERY IMPORTANT THAT YOU DO NOT COPY THE %1!
Do this to the cgame.bat and ui.bat as well.
Now, right click the bat file, and goto 'properties'. Under the memory tab, set all the values to the max. Do this for all three bats, and for the buildvms bat in the code folder. Now you should be able to just run buildvms, and it will work.
There still appears to be a problem with compiling the UI vm. It seems to be a code issue and I haven't resolved it yet.
If it still doesn't compile, try replacing all the ../ with absolute paths to the file. Remember that ../ means 'up one level', and that game.bat runs itself from the code/game/vm/ directory. (cgame from cgame/vm/, etc.)
I am running windows millenium; millage may vary on other versions of Windows.
If you open the game.bat in the code/game directory, you will see the line 'set cc= blah blah'.
This format does not work!
Lukily, the solution is simple. Take everything after the =, except for the %1, and copy it over every instance of %cc% in the file below. IT IS VERY IMPORTANT THAT YOU DO NOT COPY THE %1!
Do this to the cgame.bat and ui.bat as well.
Now, right click the bat file, and goto 'properties'. Under the memory tab, set all the values to the max. Do this for all three bats, and for the buildvms bat in the code folder. Now you should be able to just run buildvms, and it will work.
There still appears to be a problem with compiling the UI vm. It seems to be a code issue and I haven't resolved it yet.
If it still doesn't compile, try replacing all the ../ with absolute paths to the file. Remember that ../ means 'up one level', and that game.bat runs itself from the code/game/vm/ directory. (cgame from cgame/vm/, etc.)
I am running windows millenium; millage may vary on other versions of Windows.
![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)