D2DX: New Diablo 2 Glide-wrapper
Moderator: Paul Siramy
D2DX: New Diablo 2 Glide-wrapper
First release of D2DX, my DirectX 11 based Glide wrapper specifically for Diablo 2. Created because the other Glide wrappers out there are clunky to set up and have too many quirks...
Grateful for any feedback, bugs etc you have to report.
GitHub page: https://github.com/bolrog/d2dx/
Edit: Project renamed, and further updates will be posted on GitHub mainly.
Grateful for any feedback, bugs etc you have to report.
GitHub page: https://github.com/bolrog/d2dx/
Edit: Project renamed, and further updates will be posted on GitHub mainly.
Last edited by bolrog on Sun Mar 28, 2021 7:08 pm, edited 2 times in total.
- eleriaqueen
- Posts: 57
- Joined: Mon Dec 16, 2019 8:49 am
Re: D2GX: New Diablo 2 Glide-wrapper
Hello, first of all thanks for sharing your wrapper !
I tested with 1.13d with -gx1080 argument and there seem to be issues.
- Image seem cropped (it would probably be better to integer upscale to 2x or 3x and then downscale to 1080p without crop, possibly with a SharpBilinear algorithm, I tested this with CNC DDraw and even though technically 1080p is a non-integer scale from 800x600 results are great)
- Map isn't showing my character's position, map markers don't seem to appear.
- Text either isn't upscaled correctly or the few stray black pixels on Title Screen buttons gives that impression
- When going back from game to title screen there is a black horizontal bar that appeared and stayed.
- 640x480 is broken, it seems the wrapper tries to display as far as 800x600 but fails, displaying black cells around the play area
- Resolution seems to switch two times before settleing with 1080p
- Requires installing Microsoft Visual C++ 2010 Redist for MSVCP100.dll and the like
I tested with 1.13d with -gx1080 argument and there seem to be issues.
- Image seem cropped (it would probably be better to integer upscale to 2x or 3x and then downscale to 1080p without crop, possibly with a SharpBilinear algorithm, I tested this with CNC DDraw and even though technically 1080p is a non-integer scale from 800x600 results are great)
- Map isn't showing my character's position, map markers don't seem to appear.
- Text either isn't upscaled correctly or the few stray black pixels on Title Screen buttons gives that impression
- When going back from game to title screen there is a black horizontal bar that appeared and stayed.
- 640x480 is broken, it seems the wrapper tries to display as far as 800x600 but fails, displaying black cells around the play area
- Resolution seems to switch two times before settleing with 1080p
- Requires installing Microsoft Visual C++ 2010 Redist for MSVCP100.dll and the like
Re: D2GX: New Diablo 2 Glide-wrapper
Thanks for the comments! I fixed several of these issues (see 0.9.210323 on the releases page) and will create new issues for the others.
You're right that 640x480 mode isn't currently supported, and I'm debating with myself whether it's needed. Do some players prefer it over 800x600?
I'll be polishing it more as time goes on, and try to improve on the base game experience. For instance with the 1.13c support added in the last release I fixed various startup glitches, to the point where it's at least similar to 1.14d now.
I wasn't aware the redist was needed. I'd like to avoid that and will look into it.
You're right that 640x480 mode isn't currently supported, and I'm debating with myself whether it's needed. Do some players prefer it over 800x600?
I'll be polishing it more as time goes on, and try to improve on the base game experience. For instance with the 1.13c support added in the last release I fixed various startup glitches, to the point where it's at least similar to 1.14d now.
I wasn't aware the redist was needed. I'd like to avoid that and will look into it.
- eleriaqueen
- Posts: 57
- Joined: Mon Dec 16, 2019 8:49 am
Re: D2GX: New Diablo 2 Glide-wrapper
Nice, you fixed a lot of issues already. I did a quick test on a low level paladin, whacked a few mobs, interacted with the stash, NPCs and stuff.
I have to say I kind of understand the appeal of your tweaked 1080p mode though I have reserve(s) I'll touch upon later, picture is ultra sharp (doing integer upscale then cropping and moving some HUD elements like enemy health bars... etc is clever!).
About the tweaked mode, it seems like it's tailored for running "vanilla" LOD, while it's true that it's essentially a toggle it still seems out of the scope of a wrapper's job to offset UI elements (?).
About 640x480, I think it's a question of inclusivity and overall "completeness" of a wrapper to support it, but I don't think it should be a priority.
I have to say I kind of understand the appeal of your tweaked 1080p mode though I have reserve(s) I'll touch upon later, picture is ultra sharp (doing integer upscale then cropping and moving some HUD elements like enemy health bars... etc is clever!).
About the tweaked mode, it seems like it's tailored for running "vanilla" LOD, while it's true that it's essentially a toggle it still seems out of the scope of a wrapper's job to offset UI elements (?).
About 640x480, I think it's a question of inclusivity and overall "completeness" of a wrapper to support it, but I don't think it should be a priority.
- kain_abel_666
- Posts: 68
- Joined: Fri Apr 03, 2020 12:13 pm
- Location: Canada
Re: D2GX: New Diablo 2 Glide-wrapper
Is there any way to get this working through d2se? I had issue while trying to boot in Glide with this version. It would be nice if we could make a command line check box within d2se so that when you select glide your 3dfx and 1080 modes were selectable right from there.
I've stayed quite a while and heard what you have to say. Now it is time for the real Kain to emerge.
- eleriaqueen
- Posts: 57
- Joined: Mon Dec 16, 2019 8:49 am
Re: D2GX: New Diablo 2 Glide-wrapper
Hi again bolrog. I just tested Median XL mod with your wrapper and aside from an issue where in windowed and fullscreen mode I don't see the full game picture (mod uses a 1024x768 resolution might be why) it seems to work fine !
Re: D2GX: New Diablo 2 Glide-wrapper
Wow, this is now name confusing since sth with very similar name is in development for some time.
Unluckily I can't test it since my gpu only supports directx 10.
But there is good amount of players still on older version of windows, and with gpus that supports directx 9.
But I guess that if you want improvements that is how it is
Well done![Thumb Left :leftthumb:](./images/smilies/icon_thumleft.gif)
Unluckily I can't test it since my gpu only supports directx 10.
But there is good amount of players still on older version of windows, and with gpus that supports directx 9.
But I guess that if you want improvements that is how it is
![Sad :(](./images/smilies/icon_sad.gif)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Well done
![Thumb Left :leftthumb:](./images/smilies/icon_thumleft.gif)
Re: D2GX: New Diablo 2 Glide-wrapper
Interesting, thanks. I'll try this too, I can hopefully add support quite easily.eleriaqueen wrote: ↑Thu Mar 25, 2021 10:03 amHi again bolrog. I just tested Median XL mod with your wrapper and aside from an issue where in windowed and fullscreen mode I don't see the full game picture (mod uses a 1024x768 resolution might be why) it seems to work fine !
Re: D2GX: New Diablo 2 Glide-wrapper
I see, will test it as soon as I get home, I have W10 tough gpu is 10 y old.
Also, a little advice, always edit your post, especially if it is the latest post, since no multiple posts is allowed as I know.
But when you edit your latest post forum will recognize it and let us know that there is an update to your post, so don't worry if you think it will go unnoticed.![Razz :P](./images/smilies/icon_razz.gif)
I will test on my side with 1.10f, 1.13c, and with 1.14, plus with various mods I have to see how it behaves.
Hope my gpu will work![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Edited: Nope, this is what I get and that is it.
![Image](https://d2mods.info/forum/ext/dmzx/imageupload/files/d176966e62b44aa3ed8bc9e46b623a5f.jpg)
Also, a little advice, always edit your post, especially if it is the latest post, since no multiple posts is allowed as I know.
But when you edit your latest post forum will recognize it and let us know that there is an update to your post, so don't worry if you think it will go unnoticed.
![Razz :P](./images/smilies/icon_razz.gif)
I will test on my side with 1.10f, 1.13c, and with 1.14, plus with various mods I have to see how it behaves.
Hope my gpu will work
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Edited: Nope, this is what I get and that is it.
![Image](https://d2mods.info/forum/ext/dmzx/imageupload/files/d176966e62b44aa3ed8bc9e46b623a5f.jpg)
Last edited by Texalic on Fri Mar 26, 2021 8:45 pm, edited 1 time in total.
- eleriaqueen
- Posts: 57
- Joined: Mon Dec 16, 2019 8:49 am
Re: D2GX: New Diablo 2 Glide-wrapper
Oh forgot to mention the version of MedianXL I tested was SIGMA which is the latest iteration, I updated the mod through it's launcher then deleted sven's wrapper from game directory, put D2GX in it, and ran game from DiabloII.exe with -3dfx command to be sure it used D2GX.
Re: D2GX: New Diablo 2 Glide-wrapper
Seems to work with nezeramontias on a 1.10 install, also works with the latest plugy. I've only made a char and loaded in though. Not sure how to use with d2se, i dont see a way to add custom command line arguments.
- Necrolis
- Throne
- Posts: 9127
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
![Senior Admin Senior Admin](./images/ranks/senioradmin.png)
Re: D2GX: New Diablo 2 Glide-wrapper
Always good to see new projects but is there a reason you chose a name that so similar to my project?
EDIT: Maybe let me rephrase that since its unreasonable to assume anything.
Your name extremely close to a project I have been working on for a few years now, one that lies in pretty much the same view of what it does (though mine is at a much grander scope). I'd really like to avoid this name overlapping situation...
EDIT: Maybe let me rephrase that since its unreasonable to assume anything.
Your name extremely close to a project I have been working on for a few years now, one that lies in pretty much the same view of what it does (though mine is at a much grander scope). I'd really like to avoid this name overlapping situation...
![Image](http://lh4.googleusercontent.com/-8hbNYVA8cAI/Try474gU_TI/AAAAAAAAAEI/wYKR8MQv29s/s800/sig.jpg)
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal
Re: D2GX: New Diablo 2 Glide-wrapper
I honestly hadn't seen your project before choosing a name. I played D2 back in the day, and just recently returned to try it again. Being frustrated by the clunky wrappers available, I decided on doing this as a side project.
Your D2GFEx looks great, and properly removes the need for things like Glide wrappers while lifting all the restrictions at the same time. As such I don't see it as "competition", I'm more aiming at beating the existing Glide wrappers...
The name clash is most unfortunate... it was originally GEx (!) for "graphics extension", but I thought calling it "gex" sounded reptilian and silly. That would have been even more similar. As I'm the latecomer, I'll have to figure out a new name. Maybe "D2GlideX"?
Re: D2GX: New Diablo 2 Glide-wrapper
@bolrog
I've edited my post above, just in case you didn't see it.
About the name.
I think that you don't need D2 in it, just GlideX would be enough imo, that X suggest that it is not a default version of glide (that is better than glide itself.) and it is easy to remember, simple name.![Razz :P](./images/smilies/icon_razz.gif)
I've edited my post above, just in case you didn't see it.
About the name.
I think that you don't need D2 in it, just GlideX would be enough imo, that X suggest that it is not a default version of glide (that is better than glide itself.) and it is easy to remember, simple name.
![Razz :P](./images/smilies/icon_razz.gif)
- Necrolis
- Throne
- Posts: 9127
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
![Senior Admin Senior Admin](./images/ranks/senioradmin.png)
Re: D2GX: New Diablo 2 Glide-wrapper
I am sure many would appreciate a more modern replacement for Svens wrapper, especially since the alternative - CNC-DDraw - doesn't have colored lighting which really kills ambiance even though it gives the post processing shaders in return; plus some of the Win10 issues are now catching quite a few users.
I literally named mine as a play on D2GFX.dll (the dll I was originally replacing) and Graphics Extended as wellbolrog wrote: ↑Sat Mar 27, 2021 12:42 amThe name clash is most unfortunate... it was originally GEx (!) for "graphics extension", but I thought calling it "gex" sounded reptilian and silly. That would have been even more similar. As I'm the latecomer, I'll have to figure out a new name. Maybe "D2GlideX"?
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Image](http://lh4.googleusercontent.com/-8hbNYVA8cAI/Try474gU_TI/AAAAAAAAAEI/wYKR8MQv29s/s800/sig.jpg)
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal
Re: D2GX: New Diablo 2 Glide-wrapper
I'm thinking of "d2dx", as it's a smaller change and describes the project nicely (Diablo 2 rendered with DirectX). It also fixes the name clash I think, so if you're fine with that, I'll go for it.
Edit: The rename is complete, and I've just added support for MedianXL and its 1024x768 mode in the 0.99.329b version.
Edit: The rename is complete, and I've just added support for MedianXL and its 1024x768 mode in the 0.99.329b version.
- eleriaqueen
- Posts: 57
- Joined: Mon Dec 16, 2019 8:49 am
Re: D2DX: New Diablo 2 Glide-wrapper
I can confirm 1.13d 640x480 (with and without perspective shift) works, thanks for updating the wrapper with increased support and features !
Re: D2DX: New Diablo 2 Glide-wrapper
Hello, and thank you for your effort.
My objection is that it should be allowed to use compatibility mode.
I have got the usual c0000005 error message. Yes, this message is annoying because it takes time to come up and with your wrapper no mouse cursor can be seen on that message, so I cannot use mouse to OK down it.
I have another objection and that is I think you are right this is faster than the other glide and this does not do the little bracket thing on the bottom.
I only play this with Median Sigma, so I cannot say anything about perspective view.
My objection is that it should be allowed to use compatibility mode.
I have got the usual c0000005 error message. Yes, this message is annoying because it takes time to come up and with your wrapper no mouse cursor can be seen on that message, so I cannot use mouse to OK down it.
I have another objection and that is I think you are right this is faster than the other glide and this does not do the little bracket thing on the bottom.
I only play this with Median Sigma, so I cannot say anything about perspective view.
Re: D2DX: New Diablo 2 Glide-wrapper
I hope u still work on that project! I recently tried it and i was amazed , got some ideas ,i have PMed you
Re: D2DX: New Diablo 2 Glide-wrapper
Hello,
https://github.com/Jarcho/d2dx (forked from bolrog/d2dx)
Complete solution to make Diablo II run well on modern PCs, with high fps and better resolutions.
https://github.com/Jarcho/d2dx (forked from bolrog/d2dx)
Complete solution to make Diablo II run well on modern PCs, with high fps and better resolutions.
Re: D2DX: New Diablo 2 Glide-wrapper
I tried this and it looked amazing. There is one big problem. If I use this, unfortunately it wont allow me to use the D2 shortcut in compatibility mode for xp serv pack 2. Because of this, I cannot use my mouse wheel. Unless I am misunderstanding a setting or three then I'm not giving up my mouse wheel functionality when we have very little control over D2 already in LoD for graphics.
Death is only a step behind me...