Jump to content
RealModScene
Sign in to follow this  
professor_jonny

deviceid update script

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
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
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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...