Jump to content
RealModScene

Recommended Posts

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?

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

 

 

 

Share this post


Link to post
Share on other sites

İts more an alternative to javascript, Yes, there is an APİ Documentation.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×