This is a Lua script I've been using for this myself: https://gist.github.com/cheapie/e4edc2ea274750c235c984d972703803
Runs outside of the game, requires lua-imlib2, and takes one argument (the path to an image file). It'll then spew two things - the image in table format (as a digiscreen would need) and in the "packed" format for the "loadpacked" command of digistuff's GPU.
Do make sure you scale the image to whatever size you want ahead of time - it won't try to do that for you, and will process whatever resolution the input is whether that's what you want or not.
Could you provide some python script to help to convert/create image tables?
This is a Lua script I've been using for this myself: https://gist.github.com/cheapie/e4edc2ea274750c235c984d972703803
Runs outside of the game, requires lua-imlib2, and takes one argument (the path to an image file). It'll then spew two things - the image in table format (as a digiscreen would need) and in the "packed" format for the "loadpacked" command of digistuff's GPU.
Do make sure you scale the image to whatever size you want ahead of time - it won't try to do that for you, and will process whatever resolution the input is whether that's what you want or not.
Great! Will try soon :-) Your mod is insane!
How to install imlib2 on linux? I cant understand.
so at first: Why is there no forum topic for this mod??
then: How to run a lua script fron console??
then for imlib2: Try 'sudo apt install lua-imlib2' or search for lua-imlib2 in 'sudo aptitude' or just search 'lua-imlib2' on your best friend Google.
And at last: I am nearly done with rewriting this script to python
Miniontoby to run a lua script from console, you need to install lua as a separated package and run the script with
lua5.1 <script name>