Guest User

Untitled

a guest
Sep 5th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. echo $SolutionDir: %1
  3. echo $OutDir: %2
  4.  
  5. IF NOT EXIST %1..\..\external (
  6. echo ----------------------------------
  7. echo FEHLER:
  8. echo external ordner nicht gefunden,
  9. echo Ressourcenerstellung abgebrochen!
  10. echo ----------------------------------
  11. exit
  12. )
  13.  
  14. echo "Deleting old target resources..."
  15. del "%2terrain.ptf"
  16. rmdir \s \q "%2resources_pc"
  17. echo "Building target resources..."
  18. mkdir "%2resources_pc"
  19. cd "%1"
  20.  
  21. set t3d="%1..\..\external\mesh_tools\obj2t3d.exe" -i
  22. set ntx="%1..\..\external\terrain_tools\ged-texture-converter\nBuildDrv.exe" -verbose -2 -p
  23. set col=-p "Input-Type=Color" BuildTools.TextureImporter
  24. set nor=-p "Input-Type=Normal" BuildTools.TextureImporter
  25. set art=%1..\..\external\art\
  26.  
  27. %t3d% "%art%01-Cockpit\cockpit\final\cockpit_o_low.obj" -o "%2cockpit_o_low.t3d" -y
  28. %ntx% "Input=%art%01-Cockpit\cockpit\final\cockpit_m_diffuse.png" -p "Output=%2cockpit_m_diffuse.ntx" %col%
  29. %ntx% "Input=%art%01-Cockpit\cockpit\final\cockpit_m_specular.png" -p "Output=%2cockpit_m_specular.ntx" %col%
  30. %ntx% "Input=%art%01-Cockpit\cockpit\final\cockpit_m_glow.png" -p "Output=%2cockpit_m_glow.ntx" %col%
  31.  
  32. *snip*
Add Comment
Please, Sign In to add comment