how to add local resources into bundle
is there a way to add local resources to bundle (like textures in a data dir) and read using LocalFS? it seems all samples use http for textures.
cheers,
-neshume
I solved a similar problem in another project with a code-gen script (it doesn't generate code though, just copy files from the project directory into the deployment directory). I don't use this for bundling iOS applications, just for easier testing of desktop apps, so you may need to tweak the destination directory.
The advantage is that this is executed during a normal build, you don't need to run anything separate.
I've created a gist with the required parts:
https://gist.github.com/floooh/3c39770128a523175eb2e380e5da08da
With the new VSCode build configs, you can debug the fips-code-generator scripts, if you have the Python support installed (https://marketplace.visualstudio.com/items?itemName=donjayamanne.python), simply start debugging with the "fips codegen" target:

Let me know if this works for you :)
thx alot flooh .. trying this out .. i was looking in this direction (looked in the fonts stuff resources in the samples) but this looks more complete ..
cheers,
- neshume
hi floooh ,
no matter what I do I get errors ..
one of them is n3h5_files which I dont know what it is (not a cmake command)
and than it cannot find the module filecopy even if I put the filecopy.py in the root project fips-generators folder.. I am missing something .. I think.. ;o)
-neshume
ah I left the wrong line in the CMakeLists.txt gist, you need to remove the n3h5_files line in the CMakeLists.txt file. Did you check for typos in the filecopy.py filename and the CMakeLists.txt fips_generate() command?
Hi floooh,
you were correct .. the solution you gave covers the basic needs for testing and windows/linux app .. less a macosx app (not in bundle)..
thx for the fast solution..
cheers,
-neshume