Page 1 of 1

Combining Runtime and PPL file?

PostPosted: Sep 11, 2004 @ 6:38am
by sponge
Had an idea just now, would it be possible to be able to put a PPL file in the runtime exe as a resource, and have PPL load it from there - so in effect you can just distribute one file for your program? It'd also serve as a (very weak) method of keeping people out of your code, at least if people realize it's a PPL app.

PostPosted: Sep 11, 2004 @ 6:54am
by kornalius
This is a very good idea but for now PPL offers a three ways to distribute your code.

1. PPL generates a .ppc (compressed and encrypted) file automatically when a source file is compiled or ran. Include all needed .ppc files in a project directory with the PPL.exe.

2. You can generate an .exe containing the main project file code and the PPL runtime all together. The other code files are still .ppc files.

3. If you don't mind distributing your source files, just dump all .ppl files with the PPL.exe in a directory and you are all set. However you might need to add all the extra libraries that are needed for compiling. In number 1 and 2 above, you don't need extra libraries because the necessary information is already added to the .ppc files.

However it would be a very good idea, like you have suggested, to be able to add other files to the .exe. I might add an inject() function to allow to add multiple files instead of just the main code file. :wink: Why not!

PostPosted: Sep 11, 2004 @ 5:24pm
by sponge

PostPosted: Sep 11, 2004 @ 9:03pm
by kornalius

PostPosted: Sep 11, 2004 @ 10:12pm
by sponge

PostPosted: Sep 11, 2004 @ 11:32pm
by kornalius