The-Chinese-Room / Inkpot

Inkpot - a container for Ink
MIT License
168 stars 18 forks source link

Unable to import ink files that INCLUDE other files #40

Closed kzuhn closed 11 months ago

kzuhn commented 12 months ago

I'm trying to create a master ink file that includes my other files for the sake of making it possible to communicate between all of them (and to avoid having all text stored in one massive story file).

image

However, any time I try to import it into Unreal, it fails with the following message. {"issues":["ERROR: 'TempInkFile.ink' line 1: Failed to load: 'Sheriff.ink'","ERROR: 'TempInkFile.ink' line 2: Failed to load: 'TestFile.ink'"]}:

My assumption so far is that it can't load the files because they aren't present in the temp folder where the compile is happening. Trying to place the files in the temp folder doesn't resolve it, since they just get deleted when the compile begins. Is there any way around this?

TCR-Nick commented 11 months ago

This is now fixed. The copy step has been removed and the files are compiled in situ, output is captured in scratch folder.