Page 1 of 1
inclusions problem
Posted: Sun Jan 23, 2022 10:59 pm
by Samuele
Hi, i have a problem with the 'inclusions' pane in the standalone settings, it's like there is a gray rectangular covering the options
any ideas on how to fix it? Thanks!
Re: inclusions problem
Posted: Sun Jan 23, 2022 11:04 pm
by prometheus
Have you installed a widget or library extension recently?
Maybe there is a widget generating an error and breaking the list
Does extension manager shows all widgets correctly?
It would be helpful if you specify which LC version are you running
Re: inclusions problem
Posted: Mon Jan 24, 2022 10:09 am
by Samuele
yes, the extension manager is showing allright,
i'm running livecode community 9.6.3
Re: inclusions problem
Posted: Mon Jan 24, 2022 12:57 pm
by richmond62
Make sure you ONLY have the extensions you need for your stack.
Then try things.
Re: inclusions problem
Posted: Mon Jan 24, 2022 1:11 pm
by Samuele
richmond62 wrote: ↑Mon Jan 24, 2022 12:57 pm
Make sure you ONLY have the extensions you need for your stack.
Then try things.
but as you can see here
Samuele wrote: ↑Sun Jan 23, 2022 10:59 pm
Immagine 2022-01-23 225629.png
i can't choose, that's my problem...
Re: inclusions problem
Posted: Mon Jan 24, 2022 1:12 pm
by richmond62
Unselect
everything: make a standalone and see what it looks like.
Certainly you do not need a LineGraph for your game.

Re: inclusions problem
Posted: Mon Jan 24, 2022 1:14 pm
by Samuele
how can i unselect everything?
Re: inclusions problem
Posted: Mon Jan 24, 2022 1:26 pm
by richmond62
This will make sure that the only inclusions are the ones your stack needs:
-
Re: inclusions problem
Posted: Mon Jan 24, 2022 7:09 pm
by jacque
The automatic inclusions scan isn't always reliable.
Did you choose "Select inclusions" in the General pane?
Re: inclusions problem
Posted: Mon Jan 24, 2022 7:20 pm
by Samuele
jacque wrote: ↑Mon Jan 24, 2022 7:09 pm
The automatic inclusions scan isn't always reliable.
Did you choose "Select inclusions" in the General pane?
yes i did, because i'm using a splash stack and that way it won't include the inclusions i need for the 'working' stack
Re: inclusions problem
Posted: Mon Jan 24, 2022 9:17 pm
by richmond62
There is another way to make a Splash stack that is actually a
substack . . .
-
Re: inclusions problem
Posted: Wed Feb 02, 2022 12:26 pm
by Samuele
richmond62 wrote: ↑Mon Jan 24, 2022 9:17 pm
There is another way to make a Splash stack that is actually a
substack . . .
-
SShot 2022-01-24 at 22.28.32.png
i tried like this and it didn't work
- Main.zip
- (882 Bytes) Downloaded 122 times
i made the Mainstack a splash stack and the substack the "main" but none of them is shown (you can use the project browser to open them)
so i still have this inclusions problem...
Re: inclusions problem
Posted: Wed Feb 02, 2022 12:38 pm
by richmond62
I would make a Splash Screen that is NOT another stack; but an image that covers your main stack.
Re: inclusions problem
Posted: Wed Feb 02, 2022 6:47 pm
by jacque
I would make a Splash Screen that is NOT another stack; but an image that covers your main stack.
He doesn't want a splash screen, he wants a loader app that will open the working stack so that it can be saved to disk. This method is often called a "splash stack" because it's common to include a splash image while the loader app opens the working stack.
Samuele, you need to add inclusions manually. If you use the automatic inclusions, LC will scan the scripts of the splash stack, which doesn't have much code, and it won't find anything. There's no way to tell the standalone builder to scan a stack that isn't the one used for the app. So you need to do the Inclusions yourself.
There is another way to make a Splash stack that is actually a substack . . .
Samuele, this won't work, you can't save a substack while it's attached to the app. It's easier to just include the working stack as a separate file. Either way you'll need to copy the working stack to the documents folder.
If your inclusions aren't working, it means they aren't seen by the working stack. Make sure they are all included in the standalone stack, the working stack doesn't need them. Then when your app opens, a preOpenStack handler or an openStack handler needs to start using the splash stack.
Re: inclusions problem
Posted: Wed Feb 02, 2022 7:02 pm
by Klaus
Hi friends,
please take a look at Samueles first posting with the screenshot!

I think that is the problem, that he cannot select any inclusion manually because they are just not shown.
Samuele, try this:
1. Delete the LC preferences
Enter this in the mesage box: put the filename of stack "revpreferences"
Then note the path to that file.
2. Quit LC and delete that file in #1.
3. Try again and see if you see more inclusions.
If that does not help, then delete the preferences and install LC again.
Best
Klaus