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.

Author
Message
FieldDoc
23
Years of Service
User Offline
Joined: 30th May 2003
Location: London, UK
Posted: 8th Jul 2003 16:05
Please post here if you want the DB team to fix the INCREDIBLY ANNOYING bug that seemingly won't let you attach media with the EXE.

This is really hindering my game development.

Please, please address this issue
http://www.aopr79.dsl.pipex.com/tinywars/images/signature.jpg[/img]
pinkvenom
23
Years of Service
User Offline
Joined: 14th Jun 2003
Location:
Posted: 8th Jul 2003 16:25
Yep I have the same problems

Windows XP Home 2.53 GHz 512 Meg RAM Darkbasic Pro Patched
Ermes
23
Years of Service
User Offline
Joined: 27th May 2003
Location: ITALIA
Posted: 8th Jul 2003 16:54
oh well, i simple want DB team Fix all the bug!

Free Download for a Free World
Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 8th Jul 2003 17:41
Zrotate object bug is my main dislike!

Machine: P4 2200, 1GB RAM, GeForce4 64MB, Audigy Platinum
http://www.breakbeat-terrorism.co.uk
(It's not all about the coding)
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Jul 2003 17:46
@FieldDoc

It will include media with the exe, as long as you check the "Copy media into current directory" box on the Add Media dialog. This may be a bug with the editor or the compiler. Either way, it is very stupid.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
FieldDoc
23
Years of Service
User Offline
Joined: 30th May 2003
Location: London, UK
Posted: 8th Jul 2003 19:01
@RobK:

I just tried your suggestion, but I get the same problem. The EXE was a little bigger (i'm only trying to include 1 jpeg) but I didnt see my image! If I don't add the media I get an error saying that it cannot load image at line whatever but if I do include the media I get no error but no image either!!!!

Grrrrrrr!

UberTuba
23
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 8th Jul 2003 19:03
Free flight commands

Life is a terminal disease.
You never survive it.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Jul 2003 19:12
Are you absolutely sure that you have specified the filename correctly, including relative paths.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 8th Jul 2003 19:31
i've never had a problem with the w/media option
it all compiles fine for me, i'm gonna wait for U5 before i start making bitches about what needs fixxing becuase from what i understand Lee has done alot of fixxes

shwuckie
23
Years of Service
User Offline
Joined: 9th May 2003
Location: Australia
Posted: 8th Jul 2003 19:45
when i attach media, it seems to depend on how i program it to load the file, for example:

load bitmap "filename.ext",number (it includes the file.)

load image "filename.ext",number (it wont include and causes the error)

and yes the media is in the same directory and the filnames/syntax is correct in both cases! argh!

optic blast! megablast! have a blast!!
Attreid
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 8th Jul 2003 19:57
open the IDE
look at the bottom right, there's a lovely blue button called "medias" .. do you see it ?
click on it
now, look up ... yes, there, there's an ugly grey button called "add"
now, click on it .. is it done ? you can add your medias, and they will be inclued now ...
you talked about a bug ? which bug ?

"He will come...the voice from the outer world,
bringing the holy war, the Jihad, which will cleanse the Universe and bring us out of darkness."
Dreamora
23
Years of Service
User Offline
Joined: 20th Sep 2002
Location: Switzerland
Posted: 8th Jul 2003 20:01
that the medias aren't shown in the programm.

FieldDoc
23
Years of Service
User Offline
Joined: 30th May 2003
Location: London, UK
Posted: 8th Jul 2003 20:10 Edited at: 8th Jul 2003 20:10
Don't patronise people Attreid!

I have one JPEG I want to include. It is called background.jpg

One of the first lines in the program is:
LOAD IMAGE "background.jpg", 1
PASTE IMAGE 1, 0, 0

This works fine when I press F5. I clicked on 'Add Media' then 'add' and selected the file "background.jpg" (which is currently housed in my project folder).

I ticked the "copy media into current directory" as RobK suggested and then clicked 'save all'

I then press F4 (the make EXE button) and resave the project. I take the EXE file that is in the project folder out of the project folder and stick it on the desktop. I then double click on the EXE and the game loads but my background image is not shown.

Am I doing something wrong with relative paths etc or is this a bug on my PC?

the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 8th Jul 2003 20:44
It's a bit like the source not saving problem, it gets you a few times then you work out how to use it.

You are checking the exe with attached media option in the settings tab arn't you?

Just fiddle around with the options and it should work.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Jul 2003 22:24
@attreid

There are definately bugs there. Personally I found that it only included the media if you ticked the "Copy Media" button (unless it was already in the source folder).

Lee has definately dealt with a few media bugs for P5, but it might be an editor issue. If you look at a .dbpro file, you'll see that the media paths are relative, so it won't work unless the media is kept in a folder in or under that of the .dbpro file.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 9th Jul 2003 04:28 Edited at: 9th Jul 2003 04:29
FieldDoc - "I just tried your suggestion, but I get the same problem. The EXE was a little bigger (i'm only trying to include 1 jpeg) but I didnt see my image! If I don't add the media I get an error saying that it cannot load image at line whatever but if I do include the media I get no error but no image either!!!!"

The JPEG has actually been included, but it corrupts internally which causes the re-display of it to fail. This was reported some time back to Lee (by me actually!) and is fixed for Upgrade 5.

Also - Free Flight DOES work and I have sample code I can mail anyone who mails me, most of the time it's a lack of understanding of the rotation commands vs. expecting them to act like DB Classic. Example code like this will be available on the new site (including lots of other things like polygon perfect collision with an .X object - another thing lots of people think is "bugged" but is far from it), until then mail me.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
New DBS Web Sites Coming Soon - All Change
FieldDoc
23
Years of Service
User Offline
Joined: 30th May 2003
Location: London, UK
Posted: 9th Jul 2003 11:02
Thanks for clearing that up Rich,

I just hope U5 arrives soon

adr
23
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 9th Jul 2003 14:13 Edited at: 9th Jul 2003 14:14
ooh ooh mail me with the free flight code!

I can't get object angle z/x to return a non-zero value after using the free flight commands, so if you've got a fix/workaround that'd be great!


Thanks

----------

Edit - I guess I just got so worked up, I forgot to read Rich's post. eMail's on its way....

Bender:Blackmail’s such an ugly word. I prefer extortion. The x makes it sound cool.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Jul 2003 17:06
I look forward to seeing the new website in action

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Shadowfax
23
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 9th Jul 2003 17:35
I know it is a *weeny* bit off topic .... but if someone is starting a wish list, how about the definition of constants in terms of other constants, ie

#constant consta 10
#constant constb (consta + 1)

*please*

"No Gir ... thats BAD !"
MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 9th Jul 2003 22:01
Glad to hear that U5 is gonna make dbp so much better!



Yellow:Wanna publish my game microsoft, cuz i no u rich so...Can I have my bag of money now?
Microsoft: *snicker* Tip of the month-Microsoft will never(probebly) publish your game.

Login to post a reply

Server time is: 2026-07-18 07:31:01
Your offset time is: 2026-07-18 07:31:01