celestiamobile/celestia.mobi

Trouble accessing CEL/CELX scripts installed from Add-on Categories

Closed this issue · 7 comments

A few days ago, I've added Tom's CEL scripts from the TTEC as an experiment to see how they work on mobile Celestia
Screenshot_2023-10-29-06-31-42-228_space celestia mobilecelestia
IMG_20231029_063309

However they are nowhere to be seen, not even the Script Control function:
Screenshot_2023-10-29-06-32-12-462_space celestia mobilecelestia

Since Android 11 doesn't grant access to data folders, I unfortunately cannot move the individual scripts manually to the main scripts folder itself

media folder is also read for scripts and this folder usually you have access even on Android 11+, so if you have scripts ready, you can move them (add-ons are installed to data folder so probably you cannot move from the add-on you downloaded):
https://celestia.mobi/resources/guide?guide=D1A96BFA-00BB-0089-F361-10DD886C8A4F

There are a couple issues here:
The submission system does not support Scripts. You'll see in https://celestia.mobi/resources/item?item=62C6E26B-D781-2C74-B0AF-74B0A06022AF which is a manually created Script, when you install it, the button changes to "Run" instead of "Go". I will work on that later.

Scripts are not installed to scripts folder. They are installed to "extras" folder, i still need to consider whether it should be installed to scripts folder instead. The intention of keeping them in extras instead of scripts folder comes from that i don't really plan for them to be run from Favorite -> Scripts

Script collection is not supported, there is only one "Run" button so there is not support for multiple scripts in a single script add-on.

Yeah, CEL/CELX scripts should be placed on the scripts folder. I just followed the format from the Sound Demo but did not work in this case somehow

Yeah, CEL/CELX scripts should be placed on the scripts folder. I just followed the format from the Sound Demo but did not work in this case somehow

yeah after some thought i agree that they should be put in scripts folder. well this would solve the "script collection" issue too. however this requires changes to the code, so this will be in the release after 1.6.0

for the submission issue i will add an option for script add-ons.

Added support for upload script add-ons.

You need to fill in Type and Main Script Name.

Screenshot 2023-10-31 at 22 33 27 Screenshot 2023-10-31 at 22 33 39

On existing script addons....do I need to resubmit them?

On existing script addons....do I need to resubmit them?

updating them, choose "Script" in Type

Fixed in 1.6.1. Scripts will show up in Favorites -> Scripts