Full Expansions Included Scripts
-
Hi Everyone, Im Testing the Full Expansions Feature but im having an issue with the Included files inside the actual expansion, when I export the Project as a Full Expansion and I try to load it into the Player I got an error
Interface:! Line 1, column 1: File not found {SW50ZXJmYWNlfG9uSW5pdCgpfDB8MXwx} Interface:! Line 1, column 1: File not found {SW50ZXJmYWNlfG9uSW5pdCgpfDB8MXwx}If I comment the includes in the Expansion it loads but i lost everything in the scripts, the Scripts are actually the same inside the Players Project, so i don't know if im missing something.

-
@Soundavid Your expansion project also contains the scripts in its scripts folder?
-
@David-Healey Yes, everything is there, the approach im using is this:
Create the Player that is more like a template that let the user load the Expansions through a Viewport (That works great)
In a Completely different Project im creating the Expansion (Using the same scripts from the Player) but changing images and Samples (that works fine)
Exporting the Project as a Full Expansion (Using the same encryption key)
Copy the HXI and Samples into the Expansions Folder in the Player.
The Player recognizes the Expansion and attempts to load the Expansion, The Expansion type is set to Full in the Player and when I export the Expansion without scripts everything works fine.
But obviously I lost the scripts that is just LAF and some Paths for now...
Im doing everything inside HISE, do I have to compile the Player?
-
@David-Healey Ok I think I was able to fix it putting the Scripts in a folder inside the ScriptProcessors folder but when the Scripts resides just in the Scripts folder like a normal Project won't work.
-
@Soundavid said in Full Expansions Included Scripts:
Exporting the Project as a Full Expansion (Using the same encryption key)
What did you set the Expansion Type to in the Expansion project?
@Soundavid said in Full Expansions Included Scripts:
do I have to compile the Player?
It should load inside HISE but it can get weird because HISE gets confused about which project it is. I always test in the compiled player.
-
@David-Healey Ive Put "Disabled", I think is an issue when the encoding process, it say Collecting scripts... 1 Script and there are 4 scripts, when I changed the path the player recognizes the scripts
-
@Soundavid What path are you putting in the include for the scripts?
-
First im just putting this
include("InitFunctions.js"); include("Expansions.js");And that doesn't work
Then I moved the scripts to this path and worked
include("ScriptProcessors/Includes/InitFunctions.js"); include("ScriptProcessors/Includes/Expansions.js"); -
@Soundavid If they were in the Scripts folder then the first one is correct, I'd stick with that.
The issue is probably that you're loading it within HISE. Try it in the compile player and see if it works there.
-
@David-Healey Oh Surprise in the Exported Plugin neither of both works lol, I click in the Viewport that loads the Expansion and just rebuilds the UI and deletes the expansion from the list

-
@Soundavid What's in Expansions.js?
Did you test if it's either script or both that causes the issue?
-
@David-Healey The Problem was that I was including the same Expansions.js in the actual Expansion! Ive commented that and deleted the file and is working in the exported Plugin!