Full Instrument Expansions - how, what where....
-
@David-Healey said in Full Instrument Expansions - how, what where....:
for(e in eh.getExpansionList())
Console.print(e.getProperties().Name);done:
reg eh = Engine.createExpansionHandler(); reg expansionList = eh.getExpansionList(); for(e in eh.getExpansionList()) Console.print("we have found expansion:" + e.getProperties().Name);and the output is.....
Interface: USER SAMPLES LOCATION:D:\AudioContent\NomadSounds Interface: library panel repaint getting calledAs I say its not finding any expansions in the AppData folder structure...
-
@Lindon said in Full Instrument Expansions - how, what where....:
the app data folder is:C:\Users\Lindon\AppData\Roaming\NomadSounds\KeyEngine
What did you use to print this?
-
Console.print("the app data folder is:" + FileSystem.getFolder(FileSystem.AppData).toString(0)); -
@Lindon this is right yes?

-
@Lindon Looks correct. I just noticed I'm compiling HISE with the
HISE_ENABLE_EXPANSIONS=1andHI_ENABLE_EXPANSION_EDITING=1preprocessor definition2, I don't know if they are required though.In your expansion projects you should leave the Expansion Type set to Disabled.
-
@David-Healey looks like Im not - so let me go try that...(why was it working before tho?)
-
@Lindon Dunno, just trying to find any differences between our setups.
-
@David-Healey yeah...so doing this:

-
@David-Healey -- sadly no different. Still not finding any expansions...
-
..built an all new test loader - same problem - so its not the project, its something Im (not) doing...
-
@David-Healey how long has this been working for you? Im on a HISE from April last year....
-
@Lindon I've been using it for years
-
@David-Healey Im all out of ideas.....can I send you the test loader and the expansion?
-
-
@Lindon sigh..but not in the actual Player....
-
grrrr..nope cant get it to load in the compiled plugin either....
-
-
@Lindon yes, and sure send the project over
-
So this led me to the answer
Console.print(FileSystem.getFolder(FileSystem.Expansions).toString(0));It returns the folder inside the project folder instead of the App Data folder.
So I checked what I was doing in Rhapsody, and in my project folder's Expansions folder, I have a Link file with the path to the Expansions folder in AppData. It basically does the opposite of the "Link Expansions to Project" setting in project preferences.
-
@David-Healey said in Full Instrument Expansions - how, what where....:
So this led me to the answer
Console.print(FileSystem.getFolder(FileSystem.Expansions).toString(0));It returns the folder inside the project folder instead of the App Data folder.
So I checked what I was doing in Rhapsody, and in my project folder's Expansions folder, I have a Link file with the path to the Expansions folder in AppData. It basically does the opposite of the "Link Expansions to Project" setting in project preferences.
oh now Im in a nightmare of managing windows accounts and symlinks...

