Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / minture dbpro exes

Author
Message
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 12th Aug 2004 03:27 Edited at: 26th Aug 2004 11:42


Download http://winch.pinkbile.com/exe_shrink.php

Basically you load a dbpro exe, decide which files are unique to your exe and which should be sourced from the dbpro installation directory. Then build a new exe. Since this new exe doesn't contain any dbpro dlls it's size is greatly reduced.

Then when you run this small exe it builds a large dbpro exe using the files in the dbpro dir and runs it. When it is finished running it deletes the large exe.

shrink those dbpro exes
Create patches for your dbpro games
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 15th Aug 2004 03:47
more great work - great for community releases for beta testing and also means that it can't be used outside the community

downloading now!!


Used to be Phoenix Insane : PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 15th Aug 2004 03:48
one problem - what if the user is using an out dated version of dbpro and the developer is using the newest? you could add a check to check that it is the same version as it was built on


Used to be Phoenix Insane : PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 15th Aug 2004 05:26
Ah - is this using that config file that's in the compiler directory? Can't remember what it's called, but I think there you can specify things to exclude.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 15th Aug 2004 08:13
Quote: " one problem - what if the user is using an out dated version of dbpro and the developer is using the newest?"


It depends what the program does as well as what version of dbpro was used to compile it and what version of dbpro the user has. It might run fine, it might not run at all or there might be some weird behaviour.

I might add an option to store a checksum of each external file and make sure it matches with the one on the users machine. Depends how much effort it will take.

PII 300 : 64mb ram : voodoo II 12mb : Win98
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 15th Aug 2004 17:20
tries to go to the tgc trial path and not the dbpro folder...


Create or Play? You choose!
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 16th Aug 2004 07:28 Edited at: 2nd Jan 2010 23:38
Added an option to incude md5 checksums of all external files. When you run the mini exe it checks the external files match the checksum and if they don't asks the user if they want to continue.

download v0.3

Quote: "tries to go to the tgc trial path and not the dbpro folder..."


What? It tries to find the files in the trial version not the full version?
It gets the dbpro path from the registry using this location
HKEY_LOCAL_MACHINE\SOFTWARE\Dark Basic\Dark Basic Pro\INSTALL-PATH
Does that not match your dbpro dir?

By way of demonstration, he emitted a batlike squeak that was indeed bothersome.

Attachments

Login to view attachments
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 16th Aug 2004 16:50
changed it and fixed it


Create or Play? You choose!

Login to post a reply

Server time is: 2024-11-22 01:50:20
Your offset time is: 2024-11-22 01:50:20