Rob Posted June 25, 2013 Share Posted June 25, 2013 The terrain file format has been changed as well, please use the upgrade script: utils/Upgrade/terrain.usc. So how do I do this? The online documentation only says this: Running USC on WindowsTo use Interpreter on Windows, follow these steps: Create a script to be executed and save it with *.usc extension. Associate usc files with <UnigineSDK>/bin/usc_*.exe. Depending on the postfix, it can be either 32-bit (_86) or 64-bit, debug (d) or release (no postfix) version of the Interpreter. So could someone please explain me how to use the terrain.usc file Link to comment
binstream Posted June 25, 2013 Share Posted June 25, 2013 https://developer.unigine.com/forum/topic/2041-solved-problem-with-upgradescript/?hl=terrain.usc#entry11041 Link to comment
silent Posted June 25, 2013 Share Posted June 25, 2013 Hi Rob, Please, check this topic https://developer.unigine.com/forum/topic/2041-solved-problem-with-upgradescript/ In few words: Copy terrain.usc and usc interpreter tool to the folder with terrain.ter0000, terrain.ter0001 files; In terminal (command line) execute following commands:usc terrain.usc terrain.ter0000 usc terrain.usc terrain.ter0001 ... Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Rob Posted June 25, 2013 Author Share Posted June 25, 2013 I copied the usc_x64.exe and the terrain.usc files to the folder containing my terrain files (terrain.ter0000 etc) and when I open command line and type the following and execute it: usc_x64 terrain.usc TerrainGame.ter0000 Nothing happens not even an error or anything, when I only type usc_x64 it does find the script interpreter So what am I doing wrong? Link to comment
anton.stetz Posted June 25, 2013 Share Posted June 25, 2013 maybe usc_x64.exe terrain.usc TerrainGame.ter0000 Link to comment
Rob Posted June 25, 2013 Author Share Posted June 25, 2013 maybe usc_x64.exe terrain.usc TerrainGame.ter0000 Tried that too but same results as before Link to comment
anton.stetz Posted June 25, 2013 Share Posted June 25, 2013 Copy usc_x64 & terrain.usc to folder with terrain Open command line cd path/to/the/terrain/folder/with/terrain usc_x64.exe terrain.usc TerrainGame.ter0000 It's work for me Link to comment
Rob Posted June 25, 2013 Author Share Posted June 25, 2013 Copy usc_x64 & terrain.usc to folder with terrain Open command line cd path/to/the/terrain/folder/with/terrain usc_x64.exe terrain.usc TerrainGame.ter0000 It's work for me I do this but it doesnt seem to work, now I tried it on the Gameterrain.ter file the one without the numbers behind it and it works but as soon as I try to open the world the editor seems to crash So the script only works on the GameTerrain.ter file without the numbers but something corrupts and makes it impossible to open my environment Im lost here... Link to comment
silent Posted June 26, 2013 Share Posted June 26, 2013 Hi Rob, Please, try to use attached *.usc script. Thanks! terrain_usc.zip How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Rob Posted June 26, 2013 Author Share Posted June 26, 2013 Hi Rob, Please, try to use attached *.usc script. Thanks! That one does work but I converted all the files but still the terrain wont show ingame, I cant seem to convert the first .ter file without the numbers behind it. All the other ones are converted Is this why I dont see my terrain? Link to comment
silent Posted June 26, 2013 Share Posted June 26, 2013 Rob, You can use your previos .usc script to upgrade *.ter file. And attached one to upgrade *.ter000x files. This should do the trick. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Rob Posted June 26, 2013 Author Share Posted June 26, 2013 Rob, You can use your previos .usc script to upgrade *.ter file. And attached one to upgrade *.ter000x files. This should do the trick. I just tried this but the older file doesnt seem to work either, could you provide me with an older .usc script that does work on the .ter file? Link to comment
Rob Posted June 26, 2013 Author Share Posted June 26, 2013 Or how do I check which older version im using? Maybe im using a much older version or something? Link to comment
silent Posted June 26, 2013 Share Posted June 26, 2013 Rob, could you provide me with an older .usc script that does work on the .ter file? I'm afraid there is no other versions of this file. Attached one was added to the April SDK release. Could you please sent us your old terrain files? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Rob Posted June 26, 2013 Author Share Posted June 26, 2013 Here is the .ter file I cant seem to update using the script, if you need all the files, let me know because then I will find a way to upload them because they are 130mb in total TerrainGame.rar Link to comment
werner.poetzelberger Posted June 26, 2013 Share Posted June 26, 2013 Here is the .ter file I cant seem to update using the script, if you need all the files, let me know because then I will find a way to upload them because they are 130mb in total ---- https://www.wetransfer.com/ ;) Link to comment
Rob Posted June 26, 2013 Author Share Posted June 26, 2013 ---- https://www.wetransfer.com/ ;) Thanks for the tip Here is the url to the files: https://www.wetransfer.com/downloads/e397e955e3a9281780281feecfc07c4320130626101133/ca8dce0e550733be67a72dd967afa07620130626101133/a7add9 Link to comment
silent Posted June 26, 2013 Share Posted June 26, 2013 Hi Rob, There is short manual how to update your terrain files: From latest SDK run terrain.usc script via usc-interpreter on your *.ter file:usc_x64 terrain.usc TerrainGame.ter Copy terrain.usc to terrain_new.usc; Open terrain_new.usc in text editor and comment lines from 23 to 105 (via /* on line 23 and */ on line 105); Uncomment lines from 106 to 209 (delete /* 20130508 and * from lines 106 and 107; delete */ on line 209); Save file; Run terrain_new.usc script on your *.ter000x files:usc_x64 terrain_new.usc TerrainGame.ter0000 usc_x64 terrain_new.usc TerrainGame.ter0001 ... Run terrain.usc script on your *.ter000x files again:usc_x64 terrain.usc TerrainGame.ter0000 usc_x64 terrain.usc TerrainGame.ter0001 ... If it is hard to for you to comment and uncomment lines, I've made terrain_new.usc, you can find it in attachement. Thanks! terrain_new.zip How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Rob Posted June 27, 2013 Author Share Posted June 27, 2013 It worked! Thanks for all the help!Can you eloborate on what I did wrong so it wont happen to me again in the future? Link to comment
silent Posted June 27, 2013 Share Posted June 27, 2013 Rob, You did all correct :) I believe that it's my instructions could mislead you, sorry about that. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Rob Posted June 27, 2013 Author Share Posted June 27, 2013 Oke well thanks again for all the help! Link to comment
Recommended Posts