No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NukeFarm.bat 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @echo off
  2. echo SUBST drives o: and p:
  3. subst p: \\hades\p
  4. subst o: \\calculon\o
  5. rem CUSTOM_VARIABLES
  6. set NUKE_INSTALL_PATH=C:\Program Files\Nuke%NUKE_VER%
  7. set NUKE_PLUGINS=%NUKE_PATH%
  8. set OFX_PLUGIN_PATH=%NUKE_PATH%\ofx
  9. rem set OCIO=\\hades\p\env\ocio\aces_1.0.3\config.ocio
  10. rem Licensing
  11. set foundry_LICENSE=5053@192.168.0.223
  12. set peregrinel_LICENSE=5053@192.168.0.223
  13. set keller_LICENSE=5053@192.168.0.223
  14. set QUALM_LICENSE=\\hades\p\env\qualm\licenses
  15. rem Disable Stuff
  16. set FN_NUKE_DISABLE_GPU_ACCELERATION=1
  17. set FN_DISABLE_LICENSE_DIALOG=1
  18. @call :GetGuid NewGuid
  19. @set GUID=%NewGuid%
  20. @echo %NewGuid%
  21. set NUKE_TEMP_DIR_BASE=c:\tempnuke
  22. mkdir %NUKE_TEMP_DIR_BASE%
  23. set NUKE_TEMP_DIR=%NUKE_TEMP_DIR_BASE%\%GUID%
  24. @echo %NUKE_TEMP_DIR%
  25. "\\hades\p\env\nuke\_run\Nuke\Nuke12.2v5\Nuke12.2.exe" -V 2 %*
  26. rmdir /q /s %NUKE_TEMP_DIR%
  27. @goto :eof
  28. :GetGuid
  29. @set _guid=%computername%%date%%time%
  30. @set _guid=%_guid:/=%
  31. @set _guid=%_guid:.=%
  32. @set _guid=%_guid: =%
  33. @set _guid=%_guid:,=%
  34. @set _guid=%_guid::=%
  35. @set _guid=%_guid:-=%
  36. @set %1=%_guid%