sultim-t / xash-rt

Fork of the Xash3D FWGS with a real-time path tracing
1.09k stars 24 forks source link

How install brutal half life mod? #160

Open JunioJsv opened 1 year ago

JunioJsv commented 1 year ago

https://www.moddb.com/mods/brutal-half-life

0x4E69676874466F78 commented 1 year ago

There are two problems here:

  1. you need a mod compiled in 64bit
  2. need to adapt the maps.

Another project Half-Life RTX requires much less adaptation, but a 64-bit build is still needed.

JunioJsv commented 1 year ago

Would it be possible to open a dedicated server using another 32bit version of xash and connect using xash rt?

0x4E69676874466F78 commented 1 year ago

It's only the server, but the client (cl_dlls\client.dll)? The client is still 32bit and should be 64bit.

JunioJsv commented 1 year ago

I already have the 64-bit client.dll, but the brutal half life mod bhl.dll I won't be able to recompile, I don't have the source code

0x4E69676874466F78 commented 1 year ago

Also, I don't know if you can run DS in single-player mode. Try asking the developers of Xash3d FWGS. Perhaps in the future it will be possible to run a 32bit dlls, but it requires too much work and so far no one wants to do it.

JunioJsv commented 1 year ago

Got it, apparently there is a xashds project for android, I found it weird because apparently it emulates the x86 32bit dlls using qemu somehow, is there a way to do something similar on windows?

0x4E69676874466F78 commented 1 year ago

In the case of android there is emulation 32bit process in a 64bit virtual machine. It does not create a 64-bit context for the render. RT extensions on the Vulkan require 64bit context. There are sophisticated techniques to run a 32bit dlls in a 64bit context, but I say no one wants to do that now. It's not as easy as it sounds. I was talking to a1batross about it.

0x4E69676874466F78 commented 1 year ago

Actually, I wrote to the author of BHL in February, but he hasn't answered me yet.

nekonomicon commented 1 year ago

Also, I don't know if you can run DS in single-player mode.

You can run DS in cooperative mode.

There are sophisticated techniques to run a 32bit dlls in a 64bit context

Will be more easy to run a 64 bit dlls in a 32bit context(on 64-bit OS), but it's useless.

Actually, I wrote to the author of BHL in February, but he hasn't answered me yet.

BHL author had plans to release source code when mod development will be finished.

0x4E69676874466F78 commented 1 year ago

You can run DS in cooperative mode. BHL author had plans to release source code when mod development will be finished.

Cool.