Skip to content
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

Problems starting Laghaim #98

Closed
fabiomoraes00 opened this issue May 6, 2021 · 8 comments
Closed

Problems starting Laghaim #98

fabiomoraes00 opened this issue May 6, 2021 · 8 comments

Comments

@fabiomoraes00
Copy link

Hi,

I am having some problems starting the global Laghaim: https://www.laghaimglobal.com/
The game works with both ddraw.dll and without, however with the lack of it the FPS drops a lot, it is practically impossible to play.
Using the dll find some bugs on the screen as in the video:

bandicam.2021-05-06.18-56-31-967.mp4

Log: 5588 17:44:59.973 Process path: C:\Laghaim Global\Game.exe
5588 17:44:59.973 Environment variable __COMPAT_LAYER = "RunAsAdmin Win7RTM ElevateCreateProcess Installer"
5588 17:44:59.973 Loading DDrawCompat statically from C:\Laghaim Global\DDRAW.dll
5588 17:44:59.978 DDrawCompat loaded successfully
5588 17:45:00.077 Installing display mode hooks
5588 17:45:00.078 Installing registry hooks
5588 17:45:00.078 Installing Direct3D driver hooks
5588 17:45:00.078 Installing Win32 hooks
5588 17:45:00.097 Hooking user mode display driver: C:\WINDOWS\System32\DriverStore\FileRepository\u0354236.inf_amd64_0a65476e7bdec57f\B354183\aticfx32.dll
5588 17:45:00.105 Dynamic vertex buffers are available
5588 17:45:00.105 Dynamic index buffers are available
5588 17:45:00.108 Checking source color key support: passed
5588 17:45:00.112 Incorrect z-buffer bit depth capabilities detected; changed from "16, 32" to "16, 24"
5588 17:45:00.114 Installing DirectDraw hooks
5588 17:45:00.115 Installing Direct3D hooks
5588 17:45:00.119 Installing GDI hooks
5588 17:45:00.124 Finished installing hooks

Tentei também utilizar o ddraw do compat porem encontro outro erro ao iniciar o jogo, relacionado ao dbgeng.dll

image

@narzoul
Copy link
Owner

narzoul commented May 6, 2021

I fixed this issue around the end of June 2020, were you testing an older release? See here: #71
The fix is still there in v0.3.0, hopefully it still works. I can't test it now, because it only happens with integrated AMD GPUs.

About the dbgeng.dll error, if you have a file called dbghelp.dll in the Laghaim install directory, try removing it.

@fabiomoraes00
Copy link
Author

Thanks, deleting the Dbghelp.dll file that was in the game directory it was possible to start, but in a matter of seconds it just closes on its own.

logs if necessary:

5588 17:44:59.973 Process path: C:\Laghaim Global\Game.exe
5588 17:44:59.973 Environment variable __COMPAT_LAYER = "RunAsAdmin Win7RTM ElevateCreateProcess Installer"
5588 17:44:59.973 Loading DDrawCompat statically from C:\Laghaim Global\DDRAW.dll
5588 17:44:59.978 DDrawCompat loaded successfully
5588 17:45:00.077 Installing display mode hooks
5588 17:45:00.078 Installing registry hooks
5588 17:45:00.078 Installing Direct3D driver hooks
5588 17:45:00.078 Installing Win32 hooks
5588 17:45:00.097 Hooking user mode display driver: C:\WINDOWS\System32\DriverStore\FileRepository\u0354236.inf_amd64_0a65476e7bdec57f\B354183\aticfx32.dll
5588 17:45:00.105 Dynamic vertex buffers are available
5588 17:45:00.105 Dynamic index buffers are available
5588 17:45:00.108 Checking source color key support: passed
5588 17:45:00.112 Incorrect z-buffer bit depth capabilities detected; changed from "16, 32" to "16, 24"
5588 17:45:00.114 Installing DirectDraw hooks
5588 17:45:00.115 Installing Direct3D hooks
5588 17:45:00.119 Installing GDI hooks
5588 17:45:00.124 Finished installing hooks

@narzoul
Copy link
Owner

narzoul commented May 7, 2021

This game crashes very frequently while loading, even without DDrawCompat. I don't think it's related to DirectDraw, it must be an issue with the client. Try it a few more times, maybe you'll get lucky. Let me know if it never crashes without DDrawCompat.

@fabiomoraes00
Copy link
Author

Hi,

Without DDrawCompat the game is open normally, I've been using it without it for a few weeks but the FPS is very low, when using DDrawCompat even on the login screen I noticed the difference, but then enter the game after character selection it closes.

@narzoul
Copy link
Owner

narzoul commented May 7, 2021

Ah, you're right, there's a buffer overflow error in DDrawCompat also. Try this hotfix for now:
ddraw.zip (diff on top of v0.3.0: diff.txt)
Let me know if this fixes the crashes, then I'll add it to an upcoming release also.

@fabiomoraes00
Copy link
Author

Thank you very much for the effort, I tested this version of the dll now the game does not close anymore.
The FPS is not as smooth as with the ddraw version that the game offers with problems with the blinking screen, but now it is acceptable to play that way.

Thank you very much again for your commitment.

@fabiomoraes00
Copy link
Author

just complementing it, by lowering the game's resolution to 800 x 600 it flows normally.

thank you again !

narzoul added a commit that referenced this issue May 16, 2021
Fixes a crash in Laghaim.
See issue #98.
@narzoul
Copy link
Owner

narzoul commented May 16, 2021

Fixed in v0.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants