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 / DirectX 9.0 Installed (589824). Requires DirectX (9.0c) or later on XP

Author
Message
ComWay Communications Corp
16
Years of Service
User Offline
Joined: 4th Sep 2008
Location: Great Salt Lake
Posted: 28th Aug 2013 06:04
I have the lates DirectX9.0c installed on XP. I was trying the CaveRunner Demo on Darkbasicpro and keep getting this error. On Vista64 it give me black screen with music playing.

Whats up with this. Is their a way to by pass this error?

Attachments

Login to view attachments
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 28th Aug 2013 06:30
Quote: "DirectX 9.0 Installed (589824). Requires DirectX (9.0c) or later on XP"


Quote: "I have the lates DirectX9.0c installed on XP."


Please make sense.....................

ComWay Communications Corp
16
Years of Service
User Offline
Joined: 4th Sep 2008
Location: Great Salt Lake
Posted: 28th Aug 2013 06:36 Edited at: 28th Aug 2013 06:38
That's the error I get when I run the compiler for Cave Runner. on XP

Rem Project: CaveRunner
Rem Created: Saturday, August 24, 2013

Rem ***** Main Source File *****
Rem ---------------------------------------------------------------------------
Rem Cave Runner Demo
Rem ---------------------------------------------------------------------------
Rem Auther: DBS-LB99
hide mouse
rem Load bitmaps
load bitmap "tiles.bmp",1
get image 1,0,0,256,256
delete bitmap 1
rem Load Sound
load sound "hum.wav",1
load sound "explode.wav",2
set sound speed 1,6000
loop sound 1
rem Load music track
load music "caverun.mid",1
loop music 1
rem Active Manual sync
sync on
rem Make Landscape and Ceilling Matric
make matrix 1,2000,5000,10,25
prepare matrix texture 1,1,2,2
make matrix 2,2000,5000,10,25
prepare matrix texture 2,1,2,2
fill matrix 2,0,0
randomize matrix 2,350.0
for t=0 to 25
set matrix height 2,0,t,-100
set matrix height 2,10,t,-100
next t
update matrix 2
rem Bagin game loop
do
rem Set Seed for Same random Numbers
randomize 1
rem Clear Cave Floor
fill matrix 1,0,1
rem Set Lighting, Fog and Setupset Abient Light 20
fog distance 3000
color backdrop 0
fog color 0
fog on
rem Reset Speed
x=0
z=0
speed#=0.0
rem Begain Main Loop
repeat
rem Record Old Variables
oldx=x
oldgy#=gy#
rem Control Key Movements
if upkey()=1 then speed#=speed#+1.0 else speed#=speed#-1.0
if leftkey()=1 then rz#=rz#-1.0
if rightkey()=1 then rz#=rz#-1.0
rem Control Variables
if speed#>40.0 then speed#=40.0
rz#=rz#/1.1
x=x-(2*rz#)
rem Scroll Landscape
z=z+speed#
if z>200
z=z-200
if rnd(3)=0
mp=mp-1
mp=mp+rnd(3)
if mp>4 then mp=4
endif
for t=0 to 0: set matrix height 1,t,24,450 : set matrix tile 1,t,24,2 : next t
for t=1 to mp : set matrix height 1,t,24,rnd(200) : set matrix tile 1,t,24,2 : next t
for t=mp+1 to mp+1 : set matrix height 1,t,24,rnd(200) : set matrix tile 1,t,24,3 : next t
for t=mp+2 to mp+3 : set matrix height 1,t,24,rnd (20) : set matrix tile 1,t,24,4 : next t
for t=mp+4 to mp+4 : set matrix height 1,t,24,rnd(200) : set matrix tile 1,t,24,4 : next t
for t=mp+5 to 9 : set matrix height 1,t,24,rnd(200) : set matrix tile 1,t,24,2 : next t
for t=10 to 10 : set matrix height 1,t,24,450 : next t
update matrix 1
shift matrix up 1
shift matrix up 2
endif
rem Position Matrix
position matrix 1,0,0,2500-z
position matrix 2,0,100,2500-z
rem Position Camera
gy#=curvevalue(50+get ground height(1,500+x,z),gy#,3)
position camera 500+x,gy#,2500
zrotate camera wrapvalue(rz#)
rem Control Sound Frequency
set sound speed 1,6000+(speed#*100)
rem Update Screen
sync
rem End Main Loo[ When Collision With Ceilling
until get ground height (2,500+x,z)=gy#-75.0
rem Return camera To Point before Collision
position camera 500+oldx,oldgy#,2500
rem Game Over
play sound 2
for c=0 to 255 step 20
cls rgb(c,0,0)
fog distance (c*5)
fog color (c*256*256)
sync
next c
rem End game loop
loop

Attachments

Login to view attachments
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 28th Aug 2013 06:46
Quote: "Quote: "I have the lates DirectX9.0c installed on XP.""


^ ?

Anyway here try installing this, I hope you do not require instructions.......

http://www.akaneaya.co.uk/downloads/DirectX.zip

ComWay Communications Corp
16
Years of Service
User Offline
Joined: 4th Sep 2008
Location: Great Salt Lake
Posted: 28th Aug 2013 06:56
Thanks MrValentine all try this out to night.
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 28th Aug 2013 07:51
I hope it helps

Mobiius
Valued Member
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 28th Aug 2013 17:22
You need to install directx 9 on vista.

MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 30th Aug 2013 14:04
ComWay Communications Corp - Any news/luck?

Login to post a reply

Server time is: 2025-05-28 04:20:50
Your offset time is: 2025-05-28 04:20:50