PDA

View Full Version : Beyond compressed runtime


A_C
04-18-2007, 09:32 AM
Hi,
Is there any way to reduce the complied EXE file size? I've tried the "compressed runtime" option, & it trimed the size to about one third. But the situation is even if the program only contains 10 lines, the EXE is still above 300K. Any tricks there?

Thanks.

kornalius
04-18-2007, 02:04 PM
No tricks. PPL is an interpreted language with tons of internal functions. All these functions need to be within the generated .exe.

The smallest size possible for a PPL .exe is the smallest size of the .rtl file it uses.

A_C
04-19-2007, 03:18 AM
How about having the .rtl modular?
For example, if the program does not need any GameAPI, option to remove all related functions (G_XXX & Sprites related)
If the program is a fullscreen game, option to remove SIP, Menu & Softkey functions... etc
The aim is more less like the question asked by DirectDance, to reduce the startinging time of a PPL .exe.

kornalius
04-19-2007, 02:42 PM
Something to think about but won't happen for a long while. It would be too much work right now.

The problem with the loading speed is not related to size of the .rtl or .exe files. The bigger your project the slower is the loading time. That is why we offered to split the project in different .ppc modules.