Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo $SolutionDir: %1
- echo $OutDir: %2
- IF NOT EXIST %1..\..\external (
- echo ----------------------------------
- echo FEHLER:
- echo external ordner nicht gefunden,
- echo Ressourcenerstellung abgebrochen!
- echo ----------------------------------
- exit
- )
- echo "Deleting old target resources..."
- del "%2terrain.ptf"
- rmdir \s \q "%2resources_pc"
- echo "Building target resources..."
- mkdir "%2resources_pc"
- cd "%1"
- set t3d="%1..\..\external\mesh_tools\obj2t3d.exe" -i
- set ntx="%1..\..\external\terrain_tools\ged-texture-converter\nBuildDrv.exe" -verbose -2 -p
- set col=-p "Input-Type=Color" BuildTools.TextureImporter
- set nor=-p "Input-Type=Normal" BuildTools.TextureImporter
- set art=%1..\..\external\art\
- %t3d% "%art%01-Cockpit\cockpit\final\cockpit_o_low.obj" -o "%2cockpit_o_low.t3d" -y
- %ntx% "Input=%art%01-Cockpit\cockpit\final\cockpit_m_diffuse.png" -p "Output=%2cockpit_m_diffuse.ntx" %col%
- %ntx% "Input=%art%01-Cockpit\cockpit\final\cockpit_m_specular.png" -p "Output=%2cockpit_m_specular.ntx" %col%
- %ntx% "Input=%art%01-Cockpit\cockpit\final\cockpit_m_glow.png" -p "Output=%2cockpit_m_glow.ntx" %col%
- *snip*
Add Comment
Please, Sign In to add comment