Created
December 21, 2013 16:08
-
-
Save anonymous/8071341 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Configuring MESA environment variables for Dota 2. | |
echo Credits http://puppet-master.net by Nicolas.Kirsch | |
call "..\..\config\mesa_check_env.bat" | |
SET SOURCE_BIN_PATH=%STEAMDIR%\steamapps\common\dota 2 beta\bin | |
SET GAME_PROJECT=%STEAMDIR%\steamapps\common\Dota 2 beta\dota | |
SET GAME_PROJECT_SRC=%MESADIR%\projects\Dota_2_src | |
SET GAME_PROJECT_NAME="dota" | |
SET VPROJECT=%STEAMDIR%\steamapps\common\Dota 2 beta\dota | |
echo "Set Bin directory path, where Studiomdl.exe and "vtex.exe" are located." | |
echo ... | |
SETX SOURCE_BIN_PATH "%SOURCE_BIN_PATH%" | |
echo SOURCE_BIN_PATH=%SOURCE_BIN_PATH% | |
echo Set the Game Project Directory, it must be the same path than VPROJECT. | |
SETX GAME_PROJECT "%GAME_PROJECT%" | |
echo GAME_PROJECT=%GAME_PROJECT% | |
echo Maya Project Workspace directory. | |
echo ... | |
SETX GAME_PROJECT_SRC %GAME_PROJECT_SRC% | |
echo GAME_PROJECT_SRC=%GAME_PROJECT_SRC% | |
echo Set the name of your Game project here | |
echo ... | |
SETX GAME_PROJECT_NAME %GAME_PROJECT_NAME% | |
echo GAME_PROJECT_NAME=%GAME_PROJECT_NAME% | |
echo Set the VPROJECT Directory, it must be the same path than GAME_PROJECT. | |
echo ... | |
SETX VPROJECT "%VPROJECT%" | |
echo VPROJECT=%VPROJECT% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Configuring MESA environment variables for Source Engine powered by ValveSoftware. | |
echo NOTE : for source 2006, 2007, and 2009, you must to set the STEAMUSER | |
echo Credits http://puppet-master.net by Nicolas.Kirsch | |
:: Set mesa Root Directory path on the disk. | |
:: Example: | |
::SET MESADIR=C:\MESA | |
SET MESADIR=D:\Program Files (x86)\Steam\SteamApps\sourcemods\MESA | |
SETX MESADIR "%MESADIR%" | |
echo MESADIR=%MESADIR% | |
:: WARNING ! | |
:: The " is only at the beginning of the path, and there is not quote at the end and no whitespace. | |
:: Example : | |
::SET STEAMDIR="C:\Program Files (x86)\Steam | |
SET STEAMDIR=D:\Program Files (x86)\Steam | |
SETX STEAMDIR "%STEAMDIR%" | |
echo STEAMDIR=%STEAMDIR% | |
:: WARNING ! | |
:: This is the username profile create on steam, and refer to the steam\steamapps\<USERNAME>\ directory to find the Binaries tools for source 2006, 2007 and 2009 tools. | |
SET STEAMUSER=common | |
SETX STEAMUSER "%STEAMUSER%" | |
echo STEAMUSER=%STEAMUSER% | |
:: This is required to copy the MESA shelf into the proper place in maya user folders. | |
:: Refer to the Suggested list of version of maya. | |
SET MAYAVERSION=2014-x64 | |
SETX MAYAVERSION "%MAYAVERSION%" | |
echo MAYAVERSION=%MAYAVERSION% | |
:: MESA Icons Path | |
SET XBMLANGPATH=%MESADIR%\icons; | |
SETX XBMLANGPATH "%XBMLANGPATH%" | |
echo XBMLANGPATH=%XBMLANGPATH% | |
:: Mesa Script path | |
SET MAYA_SCRIPT_PATH=%MESADIR%\scripts; | |
SETX MAYA_SCRIPT_PATH "%MAYA_SCRIPT_PATH%" | |
echo MAYA_SCRIPT_PATH=%MAYA_SCRIPT_PATH% | |
pause | |
:: Maya VERSION Syntax examples: | |
::: MAYA 2014 | |
:::: 2014-x64 | |
::: MAYA 2013 | |
:::: 2013-x64 | |
:::: 2013 | |
::: MAYA 2012 | |
:::: 2012-x64 | |
:::: 2012 | |
::: MAYA 2011 | |
:::: 2011-x64 | |
:::: 2011 | |
::: ETC... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment