Open Maxdg95 opened 7 years ago
Thanks for the report. We are looking into this as this part hasn't been implemented yet for Linux.
Shoot! Will it be implemented with the release in April or do I need to look for a workaround?
Not sure yet. Could you add those files in GameStudio instead of loading them at runtime?
Actually i can't. I'm working towards a texture packing system to allow the user to grab the texture packs from a folder adjacent to the executable so loading at runtime is essential.
I'm trying to load images from a directory besides executable found by using the VirtualFileSystem. However it keeps returning NotSupportedException on Linux, on windows its all fine.
How I load the Image in:
using(Stream stream = File.Open(comURI*, FileMode.Open)) { using (var br = new BinaryReader(stream)) textPack.toggles.Add(Image.Load(stream); }
this does return NotSupportedException, I've checked the images(png originally) and ported them over to jpg. doesn't work either. Changing way of importing:
Full Stacktrace: