Jump to content

[SOLVED] Problem with upgradescript


photo

Recommended Posts

Posted

Hi!

When I use a script to convert the terrain, it is not converted, the log is not created. In what may be the Problem?

Posted

To upgrade the terrain you should launch terrain.usc script through the USC Interpreter and point it to the terrain.ter0000, terrain.ter0001... files.

 

You can copy usc_x64/x86 binary from <SDK>/bin direcrory and terrain.usc script to the folder with terrains and launch following command in terminal:

  • usc_x64 terrain.usc terrain.ter0000
    usc_x64 terrain.usc terrain.ter0001
    ...

    if you are using x86 machine:
     
  • usc_x86 terrain.usc terrain.ter0000
    usc_x86 terrain.usc terrain.ter0001
    ...

Old terrain files will be renamed to terrain.ter0000-, terrain.ter0001-...

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Thanks for the answer, but I get an error

Interpreter::load(): cant open "terrain.usc" file. 

file is in the correct folder.

  • 2 weeks later...
Posted

Hi,

 

What OS are you using? It seems that USC is stored in PATH (actually, <SDK>/bin folder is added to PATH variable).

 

If you have USC in PATH, you should call terrain.usc from folder with terrain files:

  • cd /d path/to/the/terrain/folder/with/terrain.usc
  • usc_x86/x64 terrain.usc terrain.ter0000

Or you can remove <SDK>/bin folder from PATH or remove/rename usc_x64/x86 files from that folder and try again.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...