Re: Embedding Graphics.

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Any takers?

Me. In fact, the ability to include other files in a euphoria .ex for
distribution would be extremely useful. This could be they key to an idea I've
been brewing for a while, which was probably discussed previously anyway.

 --------Installer----------
How about, if all somebody needed was a copy of ex.exe on their hard disk, to
download unbound Euphoria programmes which when run, create executables ?
I would work like this :

Installer file :

**setup.ex
-Setup program and extractor, shrouded for small size, containing all
necessary routines (from graphics.e or whatever)
-abort(0)
-archive of file(s) and bind.ex, compressed using compress.e (Available from
FilesEu)
**End of File

The person has previously downloaded Euphoria Lite (ex.exe and association of
.ex files with it)

They double click setup.ex, unaware of anything special.
Setup then extracts the necessary files from itself, using its built-in
decompression routine. It then calls bind.ex with the necessary arguments, to
create an executable in the directory chosen by the user (Nice proper gui here
if it is not too big). Then finally it deletes all the extracted files.

The file sizes here should be kept down significantly, because downloading
multiple bound files is redundant (Hear this, Michael Packard smile ). Also,
security can be kept because even the setup program is shrouded, while the
rest is shrouded AND compressed. With allow_break(0), people would have a
tough time even getting your shrouded code, which incidentally can be
extracted from a bound file anyway.

Also, in the end the result can be a single EXE, with graphics stuck on the
end (setup will handle this).

Daniel

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu