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.

DarkBASIC Professional Discussion / Hace litle exes and save memory

Author
Message
Age Piranha
22
Years of Service
User Offline
Joined: 27th Nov 2003
Location: Paris
Posted: 27th Nov 2003 17:00 Edited at: 27th Nov 2003 17:21
Hi everybody, I'm sorry if I don't speak a good english, but I don't often speak english...

I've posted in the french DBP forum (www.games-creator.com) a message wich explain how to have litle exe (- 4mb!!!!) and save meory usage (~127mb!!!) with DBP...
I give you the url:
http://www.webzinemaker.com/admi/m10/page.php3?num_web=19311&rubr=3&id=144566
But it's in french, so, if you don't speak french, it might be difficult...
You can try with a translator (google...)

Sublimons La Beauté, but you can't understand
www.pirasite.fr.st , if you speak french
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th Nov 2003 17:05
At least you've got the apostrophes in the right place... I'll translate it later and see if its valid.


Mirrors are more fun than television. Well, that was fun, in a not-so-fun sort of way...
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 27th Nov 2003 19:41
It's a bit of a long-winded method, but valid.

All of the Conv*.dll files are included by DBPro by default if you are using 3D commands, so just by moving the formats that you aren't using into another folder you stop this happening.
Age Piranha
22
Years of Service
User Offline
Joined: 27th Nov 2003
Location: Paris
Posted: 27th Nov 2003 20:00
move in another folder the convmdl.dll FOR ALL YOURS PROGRAMS!!!
This dll use 123mb of memory... If you like mdl format, prefrers md2 or md3...

Sublimons La Beauté, but you can't understand
www.pirasite.fr.st , if you speak french
Age Piranha
22
Years of Service
User Offline
Joined: 27th Nov 2003
Location: Paris
Posted: 28th Nov 2003 19:33
something else:

each dlls included in your exe is uncompressed in the windir\temp\dbpdata folder... if this folder already exist, dbp create another folder (dbpdataxx)
Files in this folder are used only when you launch your exe, so you ca place at the top of your code:

"delete directory windir$()+"temp\dbpdata"

It's strongly recomanded to place this line in each yours programs...

Sublimons La Beauté, but you can't understand
www.pirasite.fr.st , if you speak french
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 29th Nov 2003 00:15
Thats only on Win9x.
C:\Documents and Settings\<USER>\Local Settings\Temp
on win2k I think it's the same for xp.

dbpro : p166mmx @ 233 : 256mb : sb 128pci : sis onboard
swdave
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 30th Nov 2003 05:40
Dont do this.

"delete directory windir$()+"temp\dbpdata"

http://darkbasic.thegamecreators.com/?m=forum_view&t=20862&b=1&p=0

Login to post a reply

Server time is: 2026-07-27 01:32:46
Your offset time is: 2026-07-27 01:32:46