professor_jonny 35 Posted June 10, 2018 Currently if you clone a hdd you have to rescrape asset data or edit the database to reuse the old asset data as I have done in the past using SQLite database editor. Could we use an LUA script to update the device id in the database should we clone our storage to another device? Quote Share this post Link to post Share on other sites
saywaking 289 Posted June 10, 2018 Yes, you can do that. İ dont know what you need to do exactly, but i think you can retrieve the current device id and do all the needed SQL operations. İ would cal it fix devideİd oder Fix Database or something. Quote Share this post Link to post Share on other sites
professor_jonny 35 Posted June 10, 2018 2 hours ago, saywaking said: Yes, you can do that. İ dont know what you need to do exactly, but i think you can retrieve the current device id and do all the needed SQL operations. İ would cal it fix devideİd oder Fix Database or something. Cool I know nothing about LUA scripting apart from a quick Wikipedia search but it seems to be an alternative to python. But I guess if it has access directly to the db you can see the current mounted device ID and update the content locations, some simple logic to check the content on the device and decide which device id needs updating. Quote Share this post Link to post Share on other sites
saywaking 289 Posted June 10, 2018 İts more an alternative to javascript, Yes, there is an APİ Documentation. Quote Share this post Link to post Share on other sites
Swizzy 2083 Posted June 11, 2018 17 hours ago, professor_jonny said: Cool I know nothing about LUA scripting apart from a quick Wikipedia search but it seems to be an alternative to python. But I guess if it has access directly to the db you can see the current mounted device ID and update the content locations, some simple logic to check the content on the device and decide which device id needs updating. Correct, you can find the Aurora API documentation here: https://github.com/XboxUnity/AuroraScripts Quote Share this post Link to post Share on other sites
saywaking 289 Posted June 11, 2018 You can also checkout available Scripts: https://www.realmodscene.com/index.php?/forum/66-aurora-scripts to learn, how things can work Quote Share this post Link to post Share on other sites
Achm3t 0 Posted November 24, 2021 On 6/10/2018 at 5:27 PM, professor_jonny said: Cool I know nothing about LUA scripting apart from a quick Wikipedia search but it seems to be an alternative to python. But I guess if it has access directly to the db you can see the current mounted device ID and update the content locations, some simple logic to check the content on the device and decide which device id needs updating. Any progress on this wonderful idea? Quote Share this post Link to post Share on other sites