Diablo 2 Glide Wrapper

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Diablo 2 Glide Wrapper

Post by taem on Wed Oct 24, 2012 5:15 am

GLIDE3-to-OpenGL-Wrapper
by Sven Labusch

DOWNLOAD: gl32ogl14e.zip
OFFICIAL WEBSITE: D2Glide Wrapper
WIKIPEDIA: Glide Wrapper
VIDEO: Diablo II Enhanced

What is Diablo 2 Glide Wrapper?

For answering this question, I first have to explain what GLIDE itself is.
GLIDE is a graphiccard-interface that has been evolved by the company "3DFX", to give application-programmers the chance, to access their graphiccard-chipsets (socalled voodoo-chipsets) with high efficiency.

The game "Diablo 2" (so "Lord of Destruction" , too) is known for the fact, that it runs far better with GLIDE than with Direct3D. The actual problem is, that meanwhile the company "3DFX" has been taken over by "NVIDIA" and so there's no manufacturer any more who produces graphiccards that support GLIDE naturally.
At this point a GLIDE-wrapper gives support:
It makes the GLIDE-interface available, by receiving the GLIDE-commands and translating them to another interface. So it is possible to use GLIDE-enhenced programs even on graphic-cards, which normally do not support this interface.

I want to mention again, that I have written this wrapper explicitly for the game "Diablo 2". I assume that it won't work together with other programs.

Actual release-version 1.4e:

The wrapper-version 1.4e contains the following files:
glide3x.dll 138752 Byte
glide-init.exe 134144 Byte
glide-readme.txt 29535 Byte
glide-liesmich.txt 34366 Byte

The files are combined into a zip-archive, that can be downloaded with the following link:
gl32ogl14e.zip 157116 Byte

Disclaimer:

This wrapper is freeware, it may be copied as long as the files stay unchanged and altogether. At the programming, my highest priority was to make a stable running program, but unfortunately i can't give any warranty that the wrapper runs perfectly on every system. There are too much possibilities which could cause the wrapper to malfunction. So you have to use this program at your own risk.

Frequently Asked Questions:

Since I released the wrapper, I have been asked several questions because of problems that might occur with the wrapper. Here I want to handle the most frequent ones.
If your problem isn't listed here, you can reach me at two internet-forums.
One is indiablo.de in the thread: [Spiel] Glide-Wrapper für Diablo2
, at theamazonbasin.com in the thread: High framerates in 3D mode!.
and at snej.d2maniacs.org in ther glidewrapper-section.

I added 2 more issues, one concerning Vista.

1. If I use the wrapper with Diablo2, the framerate drops down significantly (to somewhere around 1 fps), and possibly in wrong colors, too.
The wrapper uses OpenGL and that's why it is necassary, that the computer has correctly working OpenGL-drivers. There are multiple possibilities why the wrapper isn't able to work correct together with the driver.
Solutions I have found so far:
- reinstall the gaphics-drivers
- if you have more than one monitor attached: deactivate the secondary ones in the display-properties.

For older graphic-cards it's possible that there are no OpenGL-drivers at all. In this case, there helps only a complete exchange of the card.

2. the wrapper runs, D2 has a correct image, but the framerate is exact the same as before.
in general the wrapper has a problem: from the point of view of the whole system (the complete computer), the wrapper is only additional load. To increase the framerate instead of decrease it, the wrapper tries to distribute the load more to the graphic-card. But if the graphic-card is the reason, why the framerate is low (a 3GHz-system with a Riva128 for example), then it's not surprising, if the framerate with the wrapper is lower than without it. possible solutions:
hardware-side:
- find out, what is the slowest part of the computer, and change it with a better one: an 3GHz processor and a GF5900 are useless if there are only 64MB main-memory, for example.
software-side:
- install newer/other drive. There are several components (like the graphiccard) for which there are more than one driver, and the newest isn't ever the best...
- background-applications can reduce the performance,too. Viruses, worms and trojans, too, of course.
- if the game runs in window-mode via "-w"-parameter, make sure that the "-3dfx" parameter is included in the shortcut: otherwise D2 uses neither Glide nor Direct3D.

3. I am playing in single-player and the framerate won't go over 25fps!
That's normal in single-player: the framerate is capped at 25fps. If you want to play your local heros at higher framerates, you have to host a multiplayer-game (it's equal if open bnet or tcp/ip).

4. I'm playing in multi-player-mode, but with the wrapper the framerate won't go over 60fps!
It seems that the monitor is set to a refreshrate of 60Hz. It might be, that the monitor is not able to work with higher refresh-rates (like TFT-displays), or it is the "60Hz-bug" of Win2K/XP.
Some display-drivers have tools to avoid this problem, or you might choose in the wrapper-frontend, what refresh-rate to use. But this depends on the hardware and drivers.

5. The framerate is higher than 60fps, but it stays at (f.e.) 90fps. But other people have a even higher framerate with worse hardware (f.e. 200fps).
In general, the display driver caps the framerate at the monitor-refresh-rate. That's quite normal: why to render 200 frames per second, when only 90 of them can be displayed? (110 of them are totally wasted) Beside of posing, this provides the possibility to see, how much additional load the computer can handle, before it becomes choppy.
This framerate cap is called "vertical synchronization" and can be de-/activated via the display-properties.

6. sometimes the display is dimmed.
The wrapper had no chance to set the gamma-ramp.
solutions I have found so far:
- reset gamma or contrast in the game
- try to find out, if a background-application sometimes tries to access the display and disable it.
- reinstall the display drivers
- take a look, if the display drivers support some kind of brightness-control
- if supportet by the opengl-driver: activate shader-gamma in the front-end

7. I have installed some mods for the game, does the wrapper work with them, too?
I have programmed the wrapper for the original version of the game, 'cause I don't have the time to test it with every single mod. That's one thing you have to do by yourself. But as far as I can see, I can say:
the wrapper should work with EVERY mod, or with other words: the mods should work with the wrapper as good as without it.

I have only tested the wrapper in combination with the chaos-empire-mod and the snej-mod, and there I haven't seen any incompabilities. There were no complains from "official" side,too.
I have tested the "d2-accelerator", too (and I haven't seen any faults,too). But I have heard of problems with the mod itself.

8. I have installed the wrapper, runs well, but can I boost it even more?
In general,if the wrapper is running with the standard-settings, you can improve the performance with the "texture memory" parameter.
What setting is best depends on the hardware. I think the following guidelines seem to be quite well:
on graphic-cards that support 8-bit-textures (f.e. all Geforces and Radeon since 8500):
texture memory= real video-memory / 4 * 3
on any other graphic card:
texture memory= real video-memory / 8 * 3

9. I'm playing with the wrapper in windowed mode and everytime I open the inventory, the mouse jumps to the wrong place.
The problem is based on the fact, that the game itself wasn't started with Window-capability. Make sure that in the link you used to start the game, the parameters "-w" AND "-3dfx" are included.
f.e.:
"c:\games\Diablo II\Diablo II.exe" -w -3dfx

10. Vista:
If I start the wrapper, only a black screen/window appears and in the upper left corner of the screen some characters are shown one by another.
Please make first sure, if the Aero-Glass theme is activated. If it is so, please first try to deactivate it.
In the start-link of Diablo2 you can set, that at game-start the Aero-Glass theme will be deactivated automatically. And at ending the program automatically activated again:
in the properties of the D2-start-link go to compatibility, set there the mark at 'Disable desktop compositing'.

11.in general, but seems to appear only on newer graphic-cards:
with the wrapper, the image will be shown only in pieces/not at all, but videos might run.
Please first try to deactivate all extensions in the wrapper-config menu.
But there are many reports that it was already successfull, to disable GL_EXT_vertex_array alone.

taem
Dark Nephalem

Posts : 2946
Country : United States

View user profile https://sites.google.com/site/monkeymeatsauce/

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by Shiki on Sun Jun 02, 2013 1:42 am

Download his file, extract it. Put the DLL in d2 directory. Open the EXE, and set the settings to these for it to work in windowed mode.



AND VIOLA COLOURED LIGHTING.

Shiki
Razor Fur Titan

Posts : 246
Country : Canada

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by Quirinus on Sun Jun 02, 2013 2:26 am

Thanks! Smile

I'd use it mostly for the high FPS, but it doesn't work for me.

Quirinus
Creature of Flame

Bloody High Five
Posts : 5567
TGGood none
Country : Croatia

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by wow123400 on Sun Jun 02, 2013 4:57 pm

I don't understand,how come it seems my diablo 2 start with that kind of weird color Scratch

wow123400
Malthael

High Posting Cookie Monster
Posts : 10010
TGGood 100
Country : United States

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by kjakola on Tue Aug 13, 2013 1:40 am

I'm having an issue trying to get the right settings.

I have a 27" monitor that runs on 1920 by 1080

I want to get the game in windowed mode (to pair with f.lux I've downloaded (a program that dims the screen brightness)), but whenever I try different options on the Glide3 toggle panel, the most resolution the window-mode gives it a sad small square that fits like 1/5th of my screen.

Any people out there with the same monitor resolution that care to give me their specs on their Glide3 that worked the best for them?

ty

kjakola
Cog

Posts : 57
Country : Canada

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by Vilius on Mon Aug 19, 2013 5:28 pm

Hello,

I'm having a problem with the frequently asked question #9. I added the two parameters to the shortcut I launch the game with but my mouse is still jumping from menu opening/closing :\.



Edit: It doesn't happen in fullscreen. Meh might as well switch to multires.

Vilius
Asatruar

Posts : 18
Country : Lithuania

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by Quirinus on Sat Nov 15, 2014 3:49 am

http://www.medianxl.com/t6065p250-short-questions-thread#167588

@suchbalance wrote:Got a question regarding glide. I have it set up like here http://www.medianxl.com/t108-diablo-2-glide-wrapper

Unfortunately I cant get rid of this bug:

@taem wrote:
9. I'm playing with the wrapper in windowed mode and everytime I open the inventory, the mouse jumps to the wrong place.
The problem is based on the fact, that the game itself wasn't started with Window-capability. Make sure that in the link you used to start the game, the parameters "-w" AND "-3dfx" are included.
f.e.:
"c:\games\Diablo II\Diablo II.exe" -w -3dfx


Using win8, tried messing with the glide settings / windows compatibility options but the cursor keeps jumping around in windowed mode. Also writing /fps ingame does not show the stats but only a full stop if this is relevant. Anyone dealt with this before?

http://www.medianxl.com/t6065p250-short-questions-thread#167611

@suchbalance wrote:Okay managed to sort it out (you know what they say about monkeys and typewriters). Posting config changes here for future ref.

In addition to settings in: http://www.medianxl.com/t108-diablo-2-glide-wrapper

- Enable WGL_ARB_render_texture in the Extensions tab
- Go back to the Renderer tab and tick the newly given Supersampling option

_____________________
"Zu jeder Zeit, an jedem Ort, bleibt das Tun der Menschen das gleiche."

Quirinus
Creature of Flame

Bloody High Five
Posts : 5567
TGGood none
Country : Croatia

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by Espionage724 on Sat Nov 15, 2014 9:43 pm

Not particularly sure if it belong here, but what's the consensus on other wrappers? nGlide is pretty easy to setup and it's DX9; dgVoodoo is pretty cool and it's DX10.

I've had trouble on my laptop with this and another OpenGL Glide warpper. nGlide had a bit of low-FPS scenarios. I think dgVoodoo worked just fine on it though.

Espionage724
Sasquatch

Posts : 8
Country : United States

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by suchbalance on Sun Nov 16, 2014 12:27 am

Ive only tried nglide and this one, and the image quality on nglide is much worse can't go back to it any more Very Happy

suchbalance
Ethereal

Posts : 1083
TGBest Transferred
Country : United Kingdom

View user profile

Back to top Go down

Re: Diablo 2 Glide Wrapper

Post by Omesh on Sun Nov 16, 2014 12:31 am

Using both of these fixes. Still getting the mouse jumps. I've noticed it only happens when I put static size at anything higher than 800x600, but I don't want to play in a tiny square...

Omesh
Moon Knight

Posts : 29
Country : ???

View user profile

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum