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
` 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