-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help for testing #49
Comments
I wonder if Jarcho who has made a fork on D2DX would be willing to help? |
no problem, you have my sword |
for now no problems |
The "Out of memory" error will happened with TP very fast in game.and will show #800 msg in game, Out of memory in d2xxxxxx.txt log file. 1.04 is fine.and 1.04 so stable then 1.1.1. and 1.1.1 can't open the PRESPECTIVE in VEDIO OPTIONS with Nvidia 3090 card,1.04 is good. |
everything still works flawlessly |
So using older release will fix the out of memory error? |
Yes. |
Just tested 1.4 , no a single error for more than a hour of playing!Any idea how to prevnt moue lock inside the game window? |
You can download the sourcecode and edit code by yourself. |
Got absolutely no idea man how to do that! |
@bayaraa First i want to thanks you for the effort u put on that project it is absolutely amazing , glad that there are still people who try to update the game to look more modern!! So i made 1-2 topics with the problems i get with revision 1.1.1 since i missread that u already opened a topic for asking for help about if any issue with revision 1.1.1 ! Posting here again cause i wanted to see the difference between revision 1.4 and 1.1.1 and 1.4 runs waaay more smoother ! Using 1.4 right now untill 1.1.1 feels as stable as 1.4! With 1.1.1 i get mass errors and crashes and alot of Out of memory stuff plus lag spikes which are not usual - Getting black spots in inventory or at vendor trade tabs when enabling Bloom Effect or Colour Grading! This doesnt happen with revison 1.4
I think those are the bug i get on 1.1.1! RAM 64 GB |
still no issues |
What mod
Which mod? Or just normal d2? |
@skylight102 |
Basemod comes with its own game.exe depending on which d2 version it is. So far I have not been able to get it to run with d2gl. |
Can you not juat add the basemod dll to the d2gl.ini? |
@oGkspAz below screenshot of working d2 lod 1.13c + basemod + d2gl (tested with DDRAW and 3DFX modes) |
@weili0677 @oGkspAz @Ognyan1987 @KevTheDankest @xijin1337 please check if it's still no issue with on your amd. |
Thank you.but I modify your sourcecode to support chinese fonts. so this file maybe I can't help to test. |
but my friend @skylight102 said this version has fixed the crash. |
yeah. but needs at least 2,3 people confirmation to finalize and release :D |
One thing I noticed Bayaraa, is that I, and probably many of us, have ddraw.ini files which vary per user. I notice this is not automatically generated, but perhaps it should be? I removed the .ini and tried your old version btw, but still issues with large memory consumption. In particular, I wondered about the following line: ; Force CPU0 affinity, avoids crashes/freezing, might have a performance impact Should this be set to true or false? Does it even matter? : ) ; cnc-ddraw - https://github.com/CnCNet/cnc-ddraw - https://cncnet.org ; ### NOTE TO PROJECT DIABLO 2 PLAYERS ### ; To enable upscaling via shaders in -fullscreen mode- just set 'fullscreen=true' and 'windowed=false' ; To enable upscaling via shaders in -borderless mode- just set 'fullscreen=true' and 'windowed=true' ; To enable upscaling via shaders in -windowed mode- just set 'fullscreen=false' and 'windowed=true' then start the game and resize your window or set 'width=' and 'height=' to the desired window size [ddraw] ; Stretch to custom resolution, 0 = defaults to the size game requests ; Override the width/height settings shown above and always stretch to fullscreen ; Run in windowed mode rather than going fullscreen ; Maintain aspect ratio - (Requires 'handlemouse=true') ; Windowboxing / Integer Scaling - (Requires 'handlemouse=true') ; Real rendering rate, -1 = screen rate, 0 = unlimited, n = cap ; Vertical synchronization, enable if you get tearing - (Requires 'renderer=auto/opengl/direct3d9') ; Automatic mouse sensitivity scaling - (Requires 'handlemouse=true') ; Preliminary libretro shader support - (Requires 'renderer=opengl') https://github.com/libretro/glsl-shaders ; Window position, -32000 = center to screen ; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto = try direct3d9/opengl, fallback = gdi) ; Developer mode (don't lock the cursor) ; Show window borders in windowed mode ; Save window position/size/state on game exit and restore it automatically on next game start ; Should the window be resizeable by the user in windowed mode? ; Enable C&C video resize hack - Stretches C&C cutscenes to fullscreen ; Enable linear (D3DTEXF_LINEAR) upscaling filter for the direct3d9 renderer (16 bit color depth games only) ; ### Compatibility settings ### ; Hide WM_ACTIVATEAPP and WM_NCACTIVATE messages to prevent problems on alt+tab ; Max game ticks per second, possible values: -1 = disabled, -2 = refresh rate, 0 = emulate 60hz vblank, 1-1000 = custom game speed ; Gives cnc-ddraw full control over the mouse cursor (required for adjmouse/boxing/maintas) ; Windows API Hooking, Possible values: 0 = disabled, 1 = IAT Hooking, 2 = Microsoft Detours, 3 = IAT+Detours Hooking (All Modules), 4 = IAT Hooking (All Modules) ; Force minimum FPS, possible values: 0 = disabled, -1 = use 'maxfps=' value, 1-1000 = custom FPS ; Disable fullscreen-exclusive mode for the direct3d9/opengl renderers ; Force CPU0 affinity, avoids crashes/freezing, might have a performance impact |
That's cnc-ddraw's config file lol 🤦. It's nothing to do with D2GL. |
As someone who is not a developer, why not call it cncddraw.ini then? 🤷♂️ Sorry! Only trying to help :( |
It's ok :) |
@bayaraa Running the game with the latest glide u provided for 2 hours , no craah yet , with revision 1.1.1 i couldnt get even 1 hour playtime :) ! will list down what are the other things which are fixed or not fixed with this new version + suggestions for some enchancemnts ! Not Fixed # I - Getting black spots in inventory or at vendor trade tabs when enabling Bloom Effect or Colour Grading! - **This bug doesnt exist in revision 1.4 , It seemed to be Fixed in the first launch of the game with the latest glide you provided Fixed # II - Crashing alot with different errors and alot of out of memory erros within 30-45 min of playtime no matter if private server or Single player ( My PC specs are enough high and PC itself is not the case) ! Fixed now with the latest glide you provided Fixed # III - Alot of lag spikes which again is not due to my PC specs but revision 1.1.1 ! Fixed now with the latest glide you provided Not Fixed # IV - ingame cursor is not active when i switching back to game while i was alt+tab , i need to double click the D2 Window ( while on windose mode) so cursor to get active again , yes is minor bug but it annoying hopefully u could fix ! Doesnt Happen with revision 1,4 because there is now cursor lock on/off option, ingame cursor still not active in the latest glide you provied Not Fixed # V - Opening the game with revision 1.1.1 with -ns from a custom loader opens the game with black screen and it stays so! This bug does not exist on revision 1.4 , ** but game still opens black screend while -ns in the latest glide you provied** ! Maybe adding -ns true/false in the d2gl.ini would fix the problem EDIT: A little Enchancememt here maybe ? |
|
|
@Ognyan1987 thanks. |
My windows OS is win 10 , i run the game always in compbility mode win xp service pack 3 so i can use mouse 4 and mouse 5 buttons on my mouse , running the game with no comapbility or with win 7 compability loads the game same way but i cannot use Mouse 4 and Mouse 5! @bayaraa |
@bayaraa |
Thanks guys will push new version soon with few additional fixes! |
pushed new version. thanks for helping. |
Hello guys. D2GL v1.1.1 has quite bit changes in terms of rendering and it needs to testing.
On my 3pcs with intel iGpu(iris 550, HD4600, Macbook M1) working with no issues. But it might have issues with dedicated gpus.
So if you have such hardware(Nvidia, AMD, Intel dedicated gpu) please test it (preferably on plain D2) and report here.
Thanks.
The text was updated successfully, but these errors were encountered: