HLFX.Ru Forum
Показать все 5 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- BUzer Shadows with NO cracked opengl32.dll (https://hlfx.ru/forum/showthread.php?threadid=5760)


Отправлено Napoleon321 24-11-2021 в 01:59:

Question BUzer Shadows with NO cracked opengl32.dll

Hello Team,

I hope you're doing good.

I have a question regarding BUzer's shadows implementation. I'm looking for a tutorial (or a mod that has them implemented with released SDK), preferably one that does NOT use the cracked opengl32.dll

I'm the coder/developer behind a multiplayer mod called: FlatLine Arena https://www.moddb.com/mods/flatline-arena

And I was hoping to implement those shadows, with no fear of playing online on VAC secured servers and getting banned...

I would really appreciate your help. Credit will be given for the help.

Thanks in advance.

__________________
FlatLine Arena | Tutorials

If you don't like something, MOD it!


Отправлено Ku2zoff 24-11-2021 в 03:07:

As far as I know, it's impossible. Because GoldSRC has no stencil buffer enabled by default. You can try to implement shadow maps (see Trinity Renderer 3.08f source code).

Цитата:
Napoleon321 писал:
with no fear of playing online on VAC secured servers and getting banned...

Latest GoldSRC builds remove opengl32.dll (no matter hacked or not) from root Half-Life directory at the engine start. It's hardcoded anti-cheat feature. Therefore even singleplayer Paranoia can't use its custom renderer.


Отправлено Napoleon321 24-11-2021 в 07:34:

Ku2zoff, that's interesting...

If the engine on Steam has removed the opengl32 dll... what will happens if we rename it (including in the code) and we change it's location (for example put it in the dll or cl_dll directory)?

For example, I hate to spam the Half-Life directory with custom dlls... the dll used for the fmod integration (fmod.dll) I placed under my mod's dll directory...

And it's not even called "dlls"... I experimented with the liblist.gam and on my directory is actually called "bin".

__________________
FlatLine Arena | Tutorials

If you don't like something, MOD it!


Отправлено Ku2zoff 24-11-2021 в 15:26:

Цитата:
Napoleon321 писал:
what will happens if we rename it (including in the code) and we change it's location

It will not work. OpenGL32.dll is linked to hw.dll, and necessary calls to set up stencil buffer are made by hw.dll, not client.dll. You'll need to hack hw.dll to call your renamed and replaced library.
Цитата:
Napoleon321 писал:
I experimented with the liblist.gam and on my directory is actually called "bin".

Works only for server dll, client.dll always located in "cl_dlls", and on Windows only. Linux version still trying to load server library from "dlls" folder, no matter what you wrote in liblist.gam.


Отправлено Napoleon321 24-11-2021 в 16:19:

Thanks for this clarification. I didn't knew about the Linux versions... and the limitation of the liblist.gam file... That's a bit lame from Valve's side. And speaks a tone about if they care for crossplatform builds...

Still... my mod does not support Linux at the moment... I mean I don't know how to compile it for Linux...

__________________
FlatLine Arena | Tutorials

If you don't like something, MOD it!


Временная зона GMT. Текущее время 16:55.
Показать все 5 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024