Black Mesa
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Black Mesa
The fix is finished as of 2020-03-15.
Blog post: https://helixmod.blogspot.com/2020/03/b ... -2020.html
Fix file https://masterotaku.s3.amazonaws.com/Bl ... ion_fix.7z
Unzip it in the root folder of the game.
IMPORTANT: it's mandatory to set in the Black Mesa profile (bms.exe):
StereoProfile -> Yes
StereoTextureEnable -> 0x00000027
Like in this screenshot:
If you don't do it, effects like water will be broken.
Blog post: https://helixmod.blogspot.com/2020/03/b ... -2020.html
Fix file https://masterotaku.s3.amazonaws.com/Bl ... ion_fix.7z
Unzip it in the root folder of the game.
IMPORTANT: it's mandatory to set in the Black Mesa profile (bms.exe):
StereoProfile -> Yes
StereoTextureEnable -> 0x00000027
Like in this screenshot:
If you don't do it, effects like water will be broken.
Last edited by masterotaku on Sun Mar 15, 2020 1:17 pm, edited 2 times in total.
-
- Binocular Vision CONFIRMED!
- Posts: 335
- Joined: Mon Sep 16, 2019 11:26 am
Re: Black Mesa
..and more great news from masterotaku. I was actually just reading the Helix blog comments section for Black Mesa to see if the old fix was somehow playable, now I have my answer.
I never played HL1, and the reviews for Black Mesa have been glowing so I figure I should check this out. thanks for working on this!
I never played HL1, and the reviews for Black Mesa have been glowing so I figure I should check this out. thanks for working on this!
- Blacksmith60
- Binocular Vision CONFIRMED!
- Posts: 262
- Joined: Thu Oct 17, 2019 10:55 am
Re: Black Mesa
Sure, with those reviews I have to own this game, and be a little nostalgic
My guess - when using an older driver, the fix will insert an apropiate profile ?
Thanks for working on this masterotaku!
My guess - when using an older driver, the fix will insert an apropiate profile ?
Thanks for working on this masterotaku!
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
I'm using 425.31. The profile was already there. Maybe because I launched it before.Blacksmith60 wrote:My guess - when using an older driver, the fix will insert an apropiate profile ?
It's DX9, so this can't configure profile settings automatically like 3Dmitoto can.
PS: I recommend waiting for the full fix. This WIP is for impatient people :p.
-
- Binocular Vision CONFIRMED!
- Posts: 335
- Joined: Mon Sep 16, 2019 11:26 am
Re: Black Mesa
I am patient, take your time..masterotaku wrote: PS: I recommend waiting for the full fix. This WIP is for impatient people :p.
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
I have posted the WIP 3 version in the OP. More fixed effects, and hotkey changes and additions.
This is very close to what the final release will be. All that's left is mostly me testing the game to the end.
If you were using a previous version of the fix, delete the shaderoverride folder and replace the rest of the files.
This is very close to what the final release will be. All that's left is mostly me testing the game to the end.
If you were using a previous version of the fix, delete the shaderoverride folder and replace the rest of the files.
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
Until I upload the next (final?) version, delete the "shaderoverride\vertexshaders\0EAE0430.txt" file. It was causing some geometry corruption.
-
- Sharp Eyed Eagle!
- Posts: 457
- Joined: Thu Dec 27, 2012 4:22 am
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
The fix is done. Check the link to the blog post in the OP. If anyone used a WIP fix, delete the "shaderoverride" folder before installing the new one.
- Blacksmith60
- Binocular Vision CONFIRMED!
- Posts: 262
- Joined: Thu Oct 17, 2019 10:55 am
Re: Black Mesa
Thanks alot masterotaku, much appreciated, will by this trip down nostalgia lane asap
- helifax
- Diamond Eyed Freakazoid!
- Posts: 813
- Joined: Tue Jan 12, 2010 5:09 pm
Re: Black Mesa
Many thanks for this one!
I'm going to HelixVision it this evening! Marvellous job as always!
I'm going to HelixVision it this evening! Marvellous job as always!
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)
Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.
You can always follow me on Twitter: @OctavianVasilov
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)
Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.
You can always follow me on Twitter: @OctavianVasilov
- skyrimer
- Certif-Eyed!
- Posts: 514
- Joined: Sun Sep 22, 2013 11:43 am
Re: Black Mesa
Thanks for the fix masterotaku, I'm counting the days until Half Life Alyx releases so this will be a great alternative before HL Alyx arrives.
ASUS PG278QR Monitor
Windows 10 1809
AMD Ryzen 5 3600 @3.60ghz
Kingston HyperX Predator DDR4 3200 PC4-25600 16GB 2x8GB CL16
MSI B450 Gaming Plus MAX
Corsair RM650 650W 80 Plus Gold
SSD M.2 2280 500GB
Gigabyte 2080 ti gaming oc
VR: Pimax 8k & Index controllers
Windows 10 1809
AMD Ryzen 5 3600 @3.60ghz
Kingston HyperX Predator DDR4 3200 PC4-25600 16GB 2x8GB CL16
MSI B450 Gaming Plus MAX
Corsair RM650 650W 80 Plus Gold
SSD M.2 2280 500GB
Gigabyte 2080 ti gaming oc
VR: Pimax 8k & Index controllers
- Losti
- Golden Eyed Wiseman! (or woman!)
- Posts: 1545
- Joined: Tue Sep 17, 2019 5:30 am
Re: Black Mesa
Do you all know that masterotaku is a f.ucking MACHINE of a SHADERHACKER??
This game is DX9 and this means its not done by RegEx and what ever he has done it fixes obver 1200 shaders!!!!
RESPECT !!!
This game is DX9 and this means its not done by RegEx and what ever he has done it fixes obver 1200 shaders!!!!
RESPECT !!!
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
Credit for that goes mostly to bo3b. He showed me an example and how to use it the way I wanted . Then I modified the loops, variables and find/replace strings.Losti wrote:This game is DX9 and this means its not done by RegEx and what ever he has done it fixes obver 1200 shaders!!!!
-
- One Eyed Hopeful
- Posts: 31
- Joined: Sat Sep 21, 2019 4:21 am
Re: Black Mesa
Fantastic!
Thanks for your work, master.
Thanks for your work, master.
- Lundamyrstrollet
- Two Eyed Hopeful
- Posts: 87
- Joined: Tue Oct 22, 2019 1:44 pm
Re: Black Mesa
Thanks Masterotaku and Bob, absolutely amazing to see this Game after so many Years refreshed and as the best Addition in real 3D!!!
Thanks also to the Black Mesa Team, they've done a great Job since 2012!!!
Thanks also to the Black Mesa Team, they've done a great Job since 2012!!!
-
- Certif-Eyed!
- Posts: 518
- Joined: Fri Mar 11, 2011 1:16 pm
Re: Black Mesa
Thank you for the superb fix, masterotaku! Still working my way through Xen (this new chapter is 4-5X longer that any other chapter of game - Crowbar Collective was very creative in its rework of the original ending chapter). The only issue I found so far is the incorrect depth of some objects in cliff descent area of Chapter 12, Surface Tension (some of the distant cliff walls appear too close, almost like reversed eye display).
Dual boot VR/3D Vision disk partitioning (multiple SSDs). 3D Vision - Windows 10 v1809, 425.31 driver, 32 GB, i9-9900X@4.5 GHz, hybrid-cooled 2080Ti, 4K LG E6 OLED TV with EDID. VR/geo-11 - 3080Ti with Vive Pro 2, also have Aero, wireless lens-modified Vive Pro, Index, Reverb G2, Pimax 8K.
- skyrimer
- Certif-Eyed!
- Posts: 514
- Joined: Sun Sep 22, 2013 11:43 am
Re: Black Mesa
Thanks a lot for this fix Masterotaku, I'll probably play Black Mesa with Vorpx since it works great and for first person games I prefer VR for the extra immersion, but knowing that this was fixed the old fashioned manual way, without regex or anything, is just amazing.
ASUS PG278QR Monitor
Windows 10 1809
AMD Ryzen 5 3600 @3.60ghz
Kingston HyperX Predator DDR4 3200 PC4-25600 16GB 2x8GB CL16
MSI B450 Gaming Plus MAX
Corsair RM650 650W 80 Plus Gold
SSD M.2 2280 500GB
Gigabyte 2080 ti gaming oc
VR: Pimax 8k & Index controllers
Windows 10 1809
AMD Ryzen 5 3600 @3.60ghz
Kingston HyperX Predator DDR4 3200 PC4-25600 16GB 2x8GB CL16
MSI B450 Gaming Plus MAX
Corsair RM650 650W 80 Plus Gold
SSD M.2 2280 500GB
Gigabyte 2080 ti gaming oc
VR: Pimax 8k & Index controllers
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
If you mean the mountain you climb down and where you fight a helicopter near the end of it, I say in the blog post precisely what you have to do to make geometry right there:
"Some distant geometry is still close to the camera. This is because that same shader is used for other things. Important example: "DF97175D.txt.ps" in "shaderoverride\vertexshaders". If you uncomment the "//mad r11.x, r10.x, r10.w, r11.x" line, a big texture of a mountain you descend in chapter 12 will be perfect, but it will break some fire attacks of the final boss in chapter 18."
Just remember to revert it after that chapter, because it breaks some attacks of the final boss.
By the way, I added instructions to the blog to make the Nvidia crosshair work correctly. Thanks to Kaimasta for testing that.
-
- Sharp Eyed Eagle!
- Posts: 457
- Joined: Thu Dec 27, 2012 4:22 am
Re: Black Mesa
This was a great collaboration and a lot of fun working with masterotaku. He is too generous about my help. I did direct him to the Lua mechanism, and how Helix had set this up originally for universal UE3 fixes. And did study it enough to see that we could leverage his work there.masterotaku wrote: ↑Tue Mar 17, 2020 5:12 pmCredit for that goes mostly to bo3b. He showed me an example and how to use it the way I wanted . Then I modified the loops, variables and find/replace strings.Losti wrote:This game is DX9 and this means its not done by RegEx and what ever he has done it fixes obver 1200 shaders!!!!
masterotaku took it from there, and whipped up a replacement script faster than I could put one together. His scripting skills are second to none, he picked up Lua and got it working in less than a day.
For anyone interested- the Lua mechanism still works fine on any DX9 game with HelixMod, and the Lua language itself supports a variant of regular expressions, so you can literally do anything you want to find and modify shaders.
-
- One Eyed Hopeful
- Posts: 9
- Joined: Tue Jan 19, 2021 4:18 am
Re: Black Mesa
Hi,
I understand this is a DX9 fix and requires 3Dvision hardware or at least older driver.
As I own a most recent graphic card I have to use the most recent driver.
Therefore I am trying to convert the game output to DX11 using dgVoodo2 and then use Geo-11 to get stereo output. While this seems to work in principle, it is not perfect. In fact I can barely start the game as the menu screen is always black and you have to navigate blindly. Then the game won't stick to the resolution I have set (with disabled DX11 conversion). I also assume that all the shader fixes will not be active since the d3d9.dll from the fix was replaced by the one from dgVoodoo2. When looking at the ini files it seems you can tweak a lot, but I am too new to all this to really understand what is needed and what not.
So, did anyone tried this already? Or, from theory, have some hints what needs to be set where?
Or is my approach nonsense at all because the fixed DX9 shaders won't be used in the DX11 conversion?
You see, I am a bit clueless
Best regards,
Cer
I understand this is a DX9 fix and requires 3Dvision hardware or at least older driver.
As I own a most recent graphic card I have to use the most recent driver.
Therefore I am trying to convert the game output to DX11 using dgVoodo2 and then use Geo-11 to get stereo output. While this seems to work in principle, it is not perfect. In fact I can barely start the game as the menu screen is always black and you have to navigate blindly. Then the game won't stick to the resolution I have set (with disabled DX11 conversion). I also assume that all the shader fixes will not be active since the d3d9.dll from the fix was replaced by the one from dgVoodoo2. When looking at the ini files it seems you can tweak a lot, but I am too new to all this to really understand what is needed and what not.
So, did anyone tried this already? Or, from theory, have some hints what needs to be set where?
Or is my approach nonsense at all because the fixed DX9 shaders won't be used in the DX11 conversion?
You see, I am a bit clueless
Best regards,
Cer
-
- Petrif-Eyed
- Posts: 2398
- Joined: Thu Mar 29, 2012 4:49 pm
-
- One Eyed Hopeful
- Posts: 9
- Joined: Tue Jan 19, 2021 4:18 am
Re: Black Mesa
Uhmmm, I already mentioned to use Geo-11 and yor link seems to be the same. Where is the difference?
Sure it needs a new fix? Shouldn't there a possibility to chain the d3d9.dll calls? So first the DX9 fix is executed which then calls the dgVoodo2 which then calls Geo-11 that finally calls DirectX.
In the Geo config file I have seen an option to specify a Helix Dll to load, but I am mot sure how to underdtand this. Since Geo-11 can't handle DX9 it is for the Dx9 output path??
Sure it needs a new fix? Shouldn't there a possibility to chain the d3d9.dll calls? So first the DX9 fix is executed which then calls the dgVoodo2 which then calls Geo-11 that finally calls DirectX.
In the Geo config file I have seen an option to specify a Helix Dll to load, but I am mot sure how to underdtand this. Since Geo-11 can't handle DX9 it is for the Dx9 output path??
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
When I started the idea of fixing the game, the first thing I tried was dgVoodoo. I saw the black screen problem (which stands even to this day) and thought the game wasn't going to work at all.
So I reluctantly made the fix in DX9.
Even if dgVoodoo worked fully now, a new fix would need to be done from scratch. Nothing about a DX9 fix can be used to make a DX11 fix (except general ideas).
If you have a new GPU, as long as it's Nvidia, you can use the DX9 fix. You just need to install the 3D Vision driver, with 3D Fix Manager for example. DX9 fixes still work with new drivers.
So I reluctantly made the fix in DX9.
Even if dgVoodoo worked fully now, a new fix would need to be done from scratch. Nothing about a DX9 fix can be used to make a DX11 fix (except general ideas).
If you have a new GPU, as long as it's Nvidia, you can use the DX9 fix. You just need to install the 3D Vision driver, with 3D Fix Manager for example. DX9 fixes still work with new drivers.
-
- One Eyed Hopeful
- Posts: 9
- Joined: Tue Jan 19, 2021 4:18 am
Re: Black Mesa
At least I found the reason for the black screen:
DgVoodo2 does not suppoert DirectX 9Ex wich is used to render the new menu. But with command line option -oldgameui this can be avoided.
DgVoodo2 does not suppoert DirectX 9Ex wich is used to render the new menu. But with command line option -oldgameui this can be avoided.
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
I wish I had known that in 2020. I may take a look at it with dgVoodoo + geo-11. There were some CPU demanding areas that should run better with geo-11.
-
- One Eyed Hopeful
- Posts: 9
- Joined: Tue Jan 19, 2021 4:18 am
Re: Black Mesa
I thought the same, but didn't want to give up. Took me 2 days to figure that out. I used the debug version of dgvoodo2 and checked the output with debugview. Then I measured the seconds from game start to black screen and checked the log at that time. Here it was written that 9Ex is used and even that it is not supported (as mentioned in the docu). In total it took me 2 days to figure out that the menu is "new" and you can switch back to "old".masterotaku wrote: ↑Tue Jan 10, 2023 2:14 am I saw the black screen problem (which stands even to this day) and thought the game wasn't going to work at all.
Too bad. I hoped that the DX9 fix can be applied somehow before the dgVoodo2 kicks in. But honestly, I have no clue about how DirectX and shaders really work.masterotaku wrote: ↑Tue Jan 10, 2023 2:14 am Even if dgVoodoo worked fully now, a new fix would need to be done from scratch. Nothing about a DX9 fix can be used to make a DX11 fix (except general ideas).
If you have a new GPU, as long as it's Nvidia, you can use the DX9 fix. You just need to install the 3D Vision driver, with 3D Fix Manager for example. DX9 fixes still work with new drivers.
I do have a new (and powerfull) GPU from NVIDIA, but I also have a good headset (Reverb G2). So I don't really want to play it on my small LCD monitor (with not so good colors).
But even if I want to, I always thought you have to also use the old driver (which I can't). You say I can install just the 3D Vision driver along the newest NVIDIA driver? Then also Helix Vision should work?
Do you know how VorpX works? Would it run on top of your DX9 fix ?
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
Depending on what I see, refixing the game in DX11 may not be too hard for me. Most of the original difficulty was DX9 fixing quirks that won't be there in DX11. I'll redownload the game today or tomorrow to check that.
HelixVision should work for you (if you have it already, because it's no longer possible to buy it apparently). No idea about VorpX because it's something I don't use (I don't have a VR headset).Cer wrote: ↑Tue Jan 10, 2023 11:47 am I do have a new (and powerfull) GPU from NVIDIA, but I also have a good headset (Reverb G2). So I don't really want to play it on my small LCD monitor (with not so good colors).
But even if I want to, I always thought you have to also use the old driver (which I can't). You say I can install just the 3D Vision driver along the newest NVIDIA driver? Then also Helix Vision should work?
Do you know how VorpX works? Would it run on top of your DX9 fix ?
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
I've been fixing some effects today in DX11. The DX9 fix helped me find some patterns (with some differences).
And with geo-11, the CPU performance difference is noticeable in the Surface Tension level.
And with geo-11, the CPU performance difference is noticeable in the Surface Tension level.
-
- One Eyed Hopeful
- Posts: 9
- Joined: Tue Jan 19, 2021 4:18 am
Re: Black Mesa
Sounds great, glad I could help you with the black screen issue.
I guess you will release some Geo-11 fix and instructions some days later on?
I guess you will release some Geo-11 fix and instructions some days later on?
- masterotaku
- Sharp Eyed Eagle!
- Posts: 398
- Joined: Sun Sep 22, 2019 4:43 am
Re: Black Mesa
I'm doing other things at the same time, so I can't say a specific day or week. Also, if I find some specific problems harder to fix in DX11, it will take more time.
-
- One Eyed Hopeful
- Posts: 9
- Joined: Tue Jan 19, 2021 4:18 am
Re: Black Mesa
Sure, no need to hurry. At least not for me. Currently I am testing VorpX (which also seems to have shader fixes). Sometime later I would like to compare it with Geo-11 and Katanga.