Posts: 29
Threads: 9
Joined: Dec 2004
[quote]
New GDI driver for Win32; this is used automatically if the DirectX one fails to initialize (DX not installed on the system) and only supports windowed mode.
But on my old computer at home (with Win98) it runs still "only" in fullscreenmode.
But here in the internetcafé with WinXP the programs can run in window- and fullscreen-mode.
Greatings
theuserbl
Posts: 6,419
Threads: 74
Joined: Mar 2002
Try to update your Direct X to v. 8.1 (the last (to my knowledge) to work with Win98). I suggest you to update your video card drivers as well. Go to your manufacturer homepage and look from them. If you have problems, post here your video card brand and model and I'll fetch them for you: I have an account at several drivers download sites.
Posts: 29
Threads: 9
Joined: Dec 2004
Quote:Try to update your Direct X to v. 8.1 (the last (to my knowledge) to work with Win98).
Hmm.. I think I have at the moment 8.0 on it.
Before I have had problems with fullscreen in tinyptc. But after updating the ptc-problem no loger existis
Quote:I suggest you to update your video card drivers as well. Go to your manufacturer homepage and look from them. If you have problems, post here your video card brand and model and I'll fetch them for you: I have an account at several drivers download sites.
Hmm... I will look myself at it.
Thanks for your help.
Posts: 1,407
Threads: 117
Joined: Dec 2002
Angelo:
What version of direct X are you compiling for?
I think W98 can be updated for DirectX 9, it's W95 that stopped at DX 8
Antoni
Posts: 268
Threads: 9
Joined: Dec 2004
The gfxlib DirectX driver requires DX 3.0 to run, at least in fullscreen mode. I don't really know the requirements to run DX in windowed mode, sorry; this may depend on the gfx card driver.
Anyway, I've just adjusted the SCREEN driver selection policy, now it does the following (in pseudo code):
Code:
If FBGFX environmental variable is set:
Try FBGFX driver in requested mode (fullscreen or windowed)
If not success, try all drivers in requested mode
If not success, try FBGFX driver in opposite mode (if fullscreen was requested, now try windowed; if windowed was requested, now try fullscreen)
If not success, try all drivers in opposite mode
else
Try all drivers in requested mode
If not success, try all drivers in opposite mode
end if
This should ensure that if you request a windowed mode, all drivers are tested first in windowed mode (and GDI will succeed if under Win32), then fullscreen mode will be tried.
Change on next gfxlib snapshot.
I am running WinXP Pro SP1a with DX 9.0c btw.
Posts: 242
Threads: 29
Joined: Dec 2004
Just tried the new gfxlib out. Very quickly realized that I needed to add "S4" in my draw routine in order to have the scale set properly. Apparently is was defaulting to a 1-to-1 (S4) originally.
What is the default now if not set? The images were fairly large on the screen...
ature has its way of warning a person away from danger: The distinct black and white coloration on a skunk, the chilling buzz of a rattlesanke, a redneck handing you his beer and saying "Watch this!"
Posts: 2,771
Threads: 96
Joined: Oct 2003
Uhm, another thing Lillo, Should WAIT &H3DA not slow the program down to an ideal speed of 60 fps, not 30?
Posts: 268
Threads: 9
Joined: Dec 2004
steven_basic: the default scale is 4, as in QB.
dark_prevail: I think you're using an old gfxlib snapshot, aren't you? That thing got fixed some days ago...
Posts: 2,771
Threads: 96
Joined: Oct 2003
ah yes, I hadnt read any of the new updates, sorry I am indeed still using the integrated version with v.11