Creating a Self-Extracting Linux App

BlitzMax Forums/BlitzMax Beginners Area/Creating a Self-Extracting Linux App

time-killer-games(Posted 2014) [#1]
I don't know of any software that might be able to do this off hand other than (maybe) blitzmax. I'm certain monkey-x can't do this but idk about blitzmax so I might as well ask it here. This is what I want....

I have an existing, un-packaged Linux app that has external dependencies stored in a folder called "assets" in the same directory. Note this Linux app was made with a different game engine that doesn't allow storing those files internally.

I want it to be packed into a single file, a normal Linux app that extracts the game & its assets folder to a hidden temp directory, execute the game program that was extracted, and deletes the temp folder when the game closes.

How do I go about doing this with Incbin, etc? Is it possible?

Thanks.
tkg


Derron(Posted 2014) [#2]
http://www.linuxjournal.com/node/1005818

You will have to adjust "./install" with your internal binaryname.


bye
Ron


time-killer-games(Posted 2014) [#3]
Thanks! I'll give that link a shot seems to be just what I need. Cheers. :D


dawlane(Posted 2014) [#4]
A bit on the late side, but there is also a tutorial for makeself here.

I have also been playing round with making tool to automate archive building along with an installation script.
You can get if from here. Note it's the first time I have ever used dropbox, so let me know if there is a problem.