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 / How do I use DBclassic program in DBpro lite version?

Author
Message
Luigison
23
Years of Service
User Offline
Joined: 9th Jun 2003
Location: California
Posted: 11th Jul 2003 04:27
I have programmed a game in DarkBasic Classic and wanted to try the DBpro editor with it. I tried opening the code in DBpro and making an exe, but when I try to run it it cannot load my files like the sounds, etc. How to I get all the files and the code into a DBpro project and have a working exe made from it?

I don't think it will help you answer my questions, but I put the code below without the sound, images, etc.
flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 12th Jul 2003 07:13
Ummm.... Just a thought, but are the files in the same directory as both the DBPro source code and Project file?

"But we couldn't do that Mr Flibble," questioned Rimmer. "Who'd clean up the mess?"
Twin P4 Xeon 2.0 Ghz, GeForce Quadro4 XGL 128MB, 1Gb DDR RAM, Twin 19" Flat Screens
Luigison
23
Years of Service
User Offline
Joined: 9th Jun 2003
Location: California
Posted: 14th Jul 2003 22:25 Edited at: 14th Jul 2003 22:34
YES, they are in the same folder.

The first line that calls a files is:

LOAD SOUND "powerup.wav",1

That line and many others like it work fine in DBclassic, but do I have to change it for DBpro to something like this:

LOAD SOUND "C:My DocumentsSMBversion1powerup.wav",1

or

LOAD SOUND "\SMBversion1powerup.wav",1

?

Or, am I not building the exe correctly? I am using the lite version of DBpro and don't have the manual, but my order show be here soon. (i hope..)

Login to post a reply

Server time is: 2026-07-21 12:50:35
Your offset time is: 2026-07-21 12:50:35