Posted: 14th Jan 2004 14:04
The biggest part of every DarkBasic program (about 1.5 MB) is
DarkBasic runtime interpreter. We can exclude this runtime code
from EXEs and place it somewhere else, for example in
\windows\system directory
Runtime code is a compiled EXE of "empty" program

+ Code Snippet
` DarkBasic 1.13 runtime code for mini loader
`
` If you have DarkBasic 1.13 you must compile this file to create
` DBRT13.EXE and then copy DBRT13.EXE to \windows\system\ folder
` If you dont have DarkBasic you must download DBRT13.EXE
sync on:hide mouse:a$="[*DBRT*]011305":sync
exit prompt "DBRT 1.13 05","DarkBasic 1.13 runtime library"


Mini exe program works as follows
1 Find DBRT.EXE and copy it to temporary _temp.exe
2 Add interpreted code to _temp.exe to make "normal" DarkBasic exe
3 Run _temp.exe
4 Erase _temp.exe after exit

Famous 20-line programs converted to mini format have the size
of exe code only about 15-25 KB, not 1.5-2MB. So it's easy
to distribute mini exe programs via Internet.

I wrote a new version of dbaminiw file converter with very
intuitive interface. All you have to do is to drag EXE file.

Download utility dbaminiw.zip and more information from
http://www.atd-group.narod.ru/eng/coding.htm
Posted: 15th Jan 2004 5:49
Really neat feature, going to try it now!

Still downloading.. .very slow
Posted: 3rd Feb 2004 3:31
No, he is saying that you can compress the file size of dark basic programs.
Posted: 3rd Feb 2004 14:38
Actually, he is saying that you can separate your DarkBASIC programs into 2 parts ...

1) The DarkBASIC runtime
2) Your executable code

This means that once someone has the runtime installed on their system somewhere, the only parts of your program that you need to ship is your executable code and the media, and this reduces the download size by 1.5MB
Posted: 9th Feb 2004 23:22
hey that's very cool! I'm downloading all right now! , that'll help me to make my F-16 demo more smaller! thx