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
Prof Polley
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United Kingdom
Posted: 24th Feb 2003 17:04
is it posible to disable direct x in darkbasic?
Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 24th Feb 2003 17:07
That's like saying "is it possible to disable the engine in my car?" - yes, you probably could somehow, but it won't be much use afterwards!!!

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Prof Polley
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United Kingdom
Posted: 24th Feb 2003 17:15
Well is it possible to get darkbasic to look in a different place for the files?
Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 24th Feb 2003 17:18
For what files? DirectX is installed as part of your operating system.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 24th Feb 2003 21:14
That's like saying "is it possible to disable the engine in my car?" - yes, you probably could somehow, but it won't be much use afterwards!!!

In fact, I'm also interested in this question. I once made a little 2d games that only used commands with wich you draw curves and create bitmaps... I gues I don't need DirectX for that but my game does require DirectX and a 3d graphics accelerator... When it should be possible to disable this it wouldn't be any longer necessary for people to have a 3d accelerator to play my stupid 2d game...
Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 25th Feb 2003 02:06
DirectX controls all graphical operations (and more - input, music, sound, etc) - not just the 3D. You don't just turn off part of it I'm afraid. If all you need is basic 2D support for old graphics cards I'd use DarkBASIC classic. It will still need DirectX but at least only version 7 where all the sprites are real sprites and not 3D, etc.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 25th Feb 2003 02:47
I dont think polley actually understands his own question...

Darken the skies, we are God.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 25th Feb 2003 03:07
somehow i don't either...
if you use DarkBasic Standard/Enhanced, and stick to only the 2D commands in theory you shouldn't require a 3D Acelerator as it still uses DirectDraw seperate.

However DarkBasic inilitised the entire DirectX library, not just the sections you use - if you require a different system to DirectX or just plain 2D, there are many alternative languages ... includeing C which is relatively simple to use for Basic 2D needs
And isn't greatly different in how you use it either, for just basic things.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 26th Feb 2003 00:00
However DarkBasic inilitised the entire DirectX library, not just the sections you use

that's another disadvantage... when you make a simple program that prints 'hello world' and you compile it, it will be about 1.7MB... Ok, I know you should better make such programs in other languages but it still is something very stupid I think. Why including stuff that isn't needed?
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Feb 2003 00:25
The size is due to the fact that all the debug code is currently compiled in with the program. DirectX programs can be large or very small - for example my SelectGraphicCodeAndMode library uses DX8.1, and is around 140K...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MattIsFun
22
Years of Service
User Offline
Joined: 4th Jan 2003
Location:
Posted: 26th Feb 2003 00:35
Isn't there a command in DB to turn on software emulation, and then you wouldn't need 3D card?

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Feb 2003 00:44
Software emulation is usually done either in your program or through DX...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Feb 2003 03:37
Toad does note a good point ... C++ Application are either very Large or very Small.

Good example is Ciyanna Notepad i made a while back.
Debug version was 350kb excluding libraries
Retail version was 42kb excluding libraries

DarkBasic simply packs everything it requires in at once, try to remember that this is an interpreter program unlike DarkBasic Professional (however there are a few of us who have the same beefs with Professional)

You can turn on Software Emulation, however the emulation requires an engine to run ... and DBS let DirectX handle this as it has it built-in (^_^)

personally i don't care that .exe's start at 1.50mb
because you zip them up and they become 650kb

and after that they don't exactly grow greatly in size - i mean you add 2,000 lines of code they'll grow by like 0.20mb and that still compresses down damn'd small

so i don't see the problem

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?

Login to post a reply

Server time is: 2025-05-15 18:52:48
Your offset time is: 2025-05-15 18:52:48