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 / Packaging media files into the .exe

Author
Message
DB_Newbie
16
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 29th Jul 2010 12:14
Hi all,

I heard for a friend that you can package your media files (like sound, images, etc.) into the .exe file. However, he can't remember how. So I thought I'd ask.

How do I do this?

Thanks.
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 29th Jul 2010 16:42
first, go into the program options in the editor and set the exe type to "media". Then, click on the "media" tab on the bottom (the second tab, has a sort of chart icon) and use the three icons at the top to add all the files you want to that list. once the media is imported, it'll all be ready for use, the files still work even when you are loading from a subfolder, it takes care of that.


DB_Newbie
16
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 29th Jul 2010 16:58
Oh ok kewl.

So I opened up DBPro, on the bottom right there is a tab called Settings and at the top right there is an option named "EXE with attached media". Is that it?

If so, I then went to the Media tab and started adding all relevant medias. But kinda sucks how you can't just select an entire folder, or at least do multiple imports =/
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 29th Jul 2010 17:04
sounds like you're using the old editor, I'd recommend updating it, the new editor is much better and lets you import folders and multiple files at once.


DB_Newbie
16
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 29th Jul 2010 17:06
This is kinda embarrassing, but where do I find the latest update?

Also, I just finished making the .exe and it works!
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 29th Jul 2010 17:30
I think help > "check for updates", or somewhere on the dbpro section of the tgc site...


DB_Newbie
16
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 29th Jul 2010 17:34
Alright cool, thanks.

Login to post a reply

Server time is: 2026-07-25 08:29:57
Your offset time is: 2026-07-25 08:29:57