timur.omelchak Posted September 17, 2013 Share Posted September 17, 2013 There is a project on the old version UnigineSDK_source_2013-11-xx need to update it to a newer version UnigineSDK_source_2013-08-16. There is no time to start it from the scratch. How to upgrade the engine of the project on a new release? Link to comment
ivan.cuevas Posted September 17, 2013 Share Posted September 17, 2013 https://developer.unigine.com/en/docs/1.0/tools/upgrade/ Link to comment
timur.omelchak Posted September 17, 2013 Author Share Posted September 17, 2013 Thank you. It helped Link to comment
and Posted September 18, 2013 Share Posted September 18, 2013 I'm trying to update the project with upgrade.py to the new version of the SDK (2013-08-16). In the console window I see a lot of errors such as Starting upgrade, ignored list: ['.svn', '.cvs', 'core'] upgrading E:\Bagram\/bin/Bagram.world [world] Error: can't upgrade E:\Bagram\/bin/Bagram.world upgrading E:\Bagram\/data/.world [world] Error: can't upgrade E:\Bagram\/data/.world upgrading E:\Bagram\/data/project_afg/afg_test.world [world] Error: can't upgrade E:\Bagram\/data/project_afg/afg_test.world upgrading E:\Bagram\/data/project_afg/layers/aircrafts.node [world] Error: can't upgrade E:\Bagram\/data/project_afg/layers/aircrafts.node and so on. The file errors.log is not generated! I used a search that would find it. Help me to upgrade the project to the new version of the SDK. Link to comment
silent Posted September 18, 2013 Share Posted September 18, 2013 Hi, From which version are you trying to upgrade? Could you please sent us couple of your project files, such as afg_test.world, aircrafts.node for reproduction? 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
and Posted September 18, 2013 Share Posted September 18, 2013 In the console says: ---- Editor ---- Version: 0.69 See errors.txt file. This is the console output to a file. files.rar Link to comment
silent Posted September 18, 2013 Share Posted September 18, 2013 Hi, Please try to specify different path (without backslash at the end) in --target: upgrade.py --target E:\Bagram\data 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
silent Posted September 18, 2013 Share Posted September 18, 2013 Hi, Could you please tell us what kind of troubles are you experiencing when you trying to open your project with new version of SDK? Engine log file from <SDK>/bin/log.html will surely help us to get to the root of the problem faster. 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
and Posted September 19, 2013 Share Posted September 19, 2013 I installed the new sdk in folder "D:\Unigine source SDK". My project is located in a separate folder "E:\Bagram". Accordingly, the files in the E:\Bagram\bin refer to the old version SDK.I need to update my separate project to the new version of SDK. How can I do this correctly? Now the project is working without any problems, but the editor version 0.69. I need version 0.70 with new features. Thanks! Link to comment
silent Posted September 19, 2013 Share Posted September 19, 2013 Hi, First of all, backup the old project files (All directory E:\Bagram). After that you can just copy files from new SDK to your old location with overwrite option. Or you can copy your project into the new SDK folder and launch it from the new location. Unfortunately, if you have modified Unigine core scripts inside <SDK>/data/core and <SDK>/data/scripts directory they will not work or can be incompatible with new versions. Also, if you have modified engine sources it would be hard to port your changes to the new versions. 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
and Posted September 19, 2013 Share Posted September 19, 2013 I have solved my problem! I did not immediately find this manual: https://developer.unigine.com/en/docs/1.0/code/prototypes/scratch/scratch_customize#update Sorry to bother you. But I do not understand for what the script upgrade.py? Do I need to run it after the upgrade bin files? Link to comment
silent Posted September 19, 2013 Share Posted September 19, 2013 Ok, that's great :) for what the script upgrade.py? It needed if internal format of files were changed (*.node *.mat *.world, etc). This kind of updates are always highlighed in the release notes. 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
Recommended Posts