Re: Embedding Graphics.

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

David Cuny wrote:
> I want tamper-proof graphics for my programs

    I've been musing about this, as well. It might be nice if someone would
write a routine that would convert a list of bytes into text format that
would be easy to place into programs by including the file - something along
the lines of what UUE does.
    No need for something like that because of the couple escape codes that
appear.
Simply replace all *illigal* values with " & ascII-value & " and then
continue with the next byte.
All other legal bytes are just filled in. No conversion to numbers
(inefficient)

If you want to store something else than only pictures (highscores, pictures
& settings included within an program) I could make a extend edo_save to
store stuff a file or somehting in the beginning. Only the resulted edom -
bytes will be treated with an illigal value killer (kills the '"', the '\\'
and the '\n'.. I mean handle them with " & value & " ) so ex.exe
interpreters it right.

But it would need to check if its binded (by calling command_line ), cause
if not it will save it in an incldue file named after your program, but has
an ede extension, however when in binded form it will store its data in its
own program file, just before the code starts 8-) Good idea, don't you think
?

Only how well will this go together with encryption.. ?

Ralf
nieuwen at xs4all.nl

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

Search



Quick Links

User menu

Not signed in.

Misc Menu