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.

Newcomers DBPro Corner / removing .exe from db software...

Author
Message
heretic
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: the deepest, darkest, pit of cyberspace
Posted: 19th Aug 2004 10:14
this may seem like a dumbass question, but how would i be able to remove or make my final build .exe from the darkbasic envirnment?

what?...do'h
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 19th Aug 2004 14:28
For DPB, you can (in the right hand side bar) rename the exec and point it so that it saves the final build in your project directory.
--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1
someone namedlink
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: Dream Planet
Posted: 19th Aug 2004 17:43
But can't you make an exec with all of the needed images in the file, so when it's unpacked, all that are also unpacked? because I can't find a way to include them!

DIV/DBP-coder
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 19th Aug 2004 18:44
Link, either (in DBP) under the settings tab click exe with attached media or save the media in the same folder that you export the .exe to.

As for the king of the mongoloids, if you are using DB I don't know. otherwise, do above.
someone namedlink
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: Dream Planet
Posted: 19th Aug 2004 20:52
so there is no way you can put all the media in 1 file or something? so noone can get to it? (div makes an exe with a pck file with all your media!)

DIV/DBP-coder
heretic
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: the deepest, darkest, pit of cyberspace
Posted: 20th Aug 2004 01:36
for the sake of clarification, i'm using darkbasic classic.

what?...do'h
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 20th Aug 2004 02:55 Edited at: 20th Aug 2004 02:56
@Someone namedlink: if you have Pro you can put all the media into one file, from the IDE select "settings" on the righthand side bottom, from the settings list select "EXE with attached media" and check the radio buttons for what you want (compressed and or encrypted media) is that what you meant?

Mentor.

PC1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, Nvidia FX5900 gfx, 6 way surround sound, PC2: AMD 2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster.
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 20th Aug 2004 06:52
hey link, i think i know what u mean. try this - make a folder called "media" in the same directory as your exe. then put all your media in this and, if you want to, into more subfolders. then change the source code in DBPro to reference the files as follows:



or if you are using subfolders:



this will work with any thing that you need to load in your program.
someone namedlink
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: Dream Planet
Posted: 20th Aug 2004 21:55
that's not what I meant. I would like to have a file where all the media is in, that no one can open in some program and that only the exe can read. so it is impossible to "steal the graphics".

DIV/DBP-coder
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 20th Aug 2004 22:36 Edited at: 21st Aug 2004 06:24
its not possible to encrypt it in a different folder, butif your happy with all the graphics in he same folder as your exe then you canclick on the setings tab and then on exe with attached media. you can then select an option to encrypt this media.

Login to post a reply

Server time is: 2024-11-27 06:30:58
Your offset time is: 2024-11-27 06:30:58