Sunday, November 15, 2015

Wasteland 2: Director's Cut

3Dmigoto 3D Vision DX11 Fix


Last Updated:  September 4, 2016

What this mod does:
- Fixes various haloing & lighting issues
- Adds two convergence presets on the 'Caps Lock' key.
- Adds a very high convergence preset on the 'Tab' key. (Use this when traversing the Arizona map)
- Fixes an issue where some HUD / UI elements have too much convergence and moves HUD / UI into depth.  Press the '~' key (located above the Tab key) to move the HUD & UI back to screen depth.

Remaining Issue:
- Fog of war is screen depth

Installation:
1)  Download this ZIP file and extract the contents into the directory that has the game's EXE file (WL2.exe).
2)  Run the game and in the Control Options menu, rebind "Select Next Mob" from 'Tab' to another key (such as the 'Alt' key)
3)  In the Display Options menu, enable "Software Cursor"


Made this using DarkStarSword's Unity template.
 If you like this mod, consider supporting DarkStarSword on Patreon

    39 comments:

    1. Uuooo Thanks to everyone that make 3D Vision possible!!

      ReplyDelete
    2. Thank you for the fix! I wasn't expecting it :).

      By the way, the lighting in that interior screenshot is wrong. Unless someones fixes it sooner than I can download the game from GOG and reach some location with that lighting (it will take a few days, because I have to be somewhere else to download it), I'll try to help with that.

      ReplyDelete
      Replies
      1. Are you talking about the lighting near the top left corner? That's the effect of the Fog of war being at screen depth. It looks like 2d shadows at times.

        Delete
      2. Look at how that wall receives lighting, for example. The covered area differs depending on the eye. When it's properly fixed, it should look the same with both eyes.

        I haven't looked at the Unity 5 thread a lot, but I think I read something about lighting problems and a change in how it looks depending on distance (a sudden change when you are near the light source). Dark Souls 2 SOTFS had that problem and I fixed it. Try to find out if the lighting is perfect at some exact convergence setting, like 1.0 or 0. If it is, it can be fixed by tweaking the stereo correction a bit.

        I'll try downloading the game this week and then I'll take a look at the shaders.

        Delete
      3. It's 2D Fog of war. http://photos.3dvisionlive.com/4everAwake/image/5649adade7e5641b6f0000b0/

        Once I opened the door, the fog of war went away and the lighting on the wall around the door looks normal now. I'm not sure how to fix this, however. I suppose I could disable it. If you find a way to fix it, that would be fantastic as I'm seeing this in a couple of other games.

        Delete
      4. Oh, my bad, then, sorry. I didn't remember how the fog of war looked in this game. I'll take a look anyway (I want to play it and I was waiting for this improved edition).

        Delete
    3. HUGE, HUGE thanks for this 4everAwake, this is one of my favourite games, I can't thank you enough for this!

      ReplyDelete
    4. Oh Wow! Thank you so much for fixing this! I was holding out on getting into this one in hopes of a 3D fix, and here it is. Xmas came early - I can't thank you enough!!

      ReplyDelete
    5. Another game for the wishlist - Thanks a lot mate !!

      ReplyDelete
    6. I am pretty sure I followed installation to the letter, and the game looks great, but when ever a voice bubble appears everything is messed up??

      ReplyDelete
      Replies
      1. Assigning the game to the Harry Potter profile is supposed to fix that. When you are in-game and you press Ctrl+Alt+Ins, do you see "Harry Potter Deathly Hollows Part1" in green text?

        Delete
      2. I just did some experimenting and I was able to duplicate the issue you were having. Try to change your desktop resolution to be identical to the game resolution and let me know if the voice bubbles are still messed up or not.

        Delete
    7. I've found a bug within the first few minutes of trying the game yesterday, before I had to go to bed (sorry for the lack of screenshots or fine details). I'm using the latest version of the fix, I guess (some files were dated from November 17).

      Basically, any resolution other than 1920x1080 (I've only tried lower than that for now) made the first merchant icon at the start of the game have incredibly high convergence (icon almost at the right border of the screen with the left eye, and almost at the left border with the right eye). Also, the ummm, journal or whatever is called at the bottom right corner in the HUD, had 0 separation. Lowering convergence makes the merchant icon be at a more normal place, but doesn't affect the journal.

      I'll be home in about 11 hours, so I thought it would be better to let you know as soon as I could. I've tried tweaking the vertex shader a bit without success, but I just had a few minutes to try (and the game stops working if I alt+tab).

      By the way, your fix reminded me that I didn't enable the .bin shader cache for my Dark Souls 2 SOTFS fix.

      ReplyDelete
      Replies
      1. Hi masterotaku. I was able to duplicate the issue you were getting. I did some experimenting & it seems the profile won't enable if the game resolution is different from the desktop resolution. So once I adjusted the desktop resolution, the issues went away. I tested this fix at game resolution 1600x900 and 2715x1527. Let me know if this works for you also.

        Delete
      2. It worked! Thank you.

        By the way, I couldn't manage to identify the fog of war shader, to dump it, If you have it available, can you tell me its hash? I guess it's one of the pixel shaders (I have some suspects, but nothing clear), because cyclyng through all vertex shaders didn't turn off the effect.

        Delete
      3. Sorry for the late reply. I'm currently unable to locate the pixelshader for the fog of war. But I found it in the Dx9 version (PS 3EFBBDEC). Once I get finished with Darksiders, I'll see if I can use DarkStarSword's tools to extract the shader header & see if I can match up the Dx11 version of that shader.

        Delete
      4. This comment has been removed by the author.

        Delete
      5. This comment has been removed by the author.

        Delete
    8. 4everAwake

      I'm having a problem. I have followed your directions but 3d won't activate for me. It's not my setup as all my other games activate 3D. What possibly could I be doing wrong?

      Ron

      ReplyDelete
      Replies
      1. Sorry for the trouble 4everAwake. I have found my problem. I just assumed that Wasteland 2 Director's cut was where I was to extract the zip. WL2.exe is in the "BUILD" folder. When i extracted it there (where I was supposed to according to instructions) it worked great. I need to learn and follow directions better (LOL). Thanks for your patch.

        Delete
      2. No problem at all. Glad you were able to get it working. Let me know if you have any more issues.

        Delete
      3. Sure will, thank you. I love playing this game in 3D. It's beautiful.

        Delete
    9. Hello. Thanks again for all your work. I'm having trouble getting this fix to work properly. As others have mentioned, the issue is with the word bubbles. By trying various graphic settings, I've made them at least readable now, but they are still flickering badly with some letters stretched out. If I use the caps lock key to reset the convergence, it becomes totally unreadable, with the word bubble stretched across the entire screen.

      Things I've double checked:

      1) The Harry Potter profile is active (it is what comes up in the green text).
      2) I have the fix files in the correct "Build" directory.
      3) Desktop and game resolution settings are the same (2560x1440p, 120Hz). I tried both set to 1920x1080 and 60hz as well and results were identical.

      One sort of odd thing - the directions say to set the "StereoUseMatrix" value in the profile to 0 ("without the quotes"). I don't actually have an option to directly enter a value that I can see, I can only pick from a dropdown, and the setting that sets it to 0 is "Only adjust vertex position", so that's what I've been trying. I also tried to set it to the other values (all of which result in a value of 0x01) and it seemed to make no difference in game. I am using NVidia Profile Inspector 2.1.2.15.

      Related values that are non-default:

      Stereo Convergence: 0x3E7B091A
      Stereo Cutoff : 0x00000001
      Stereo Profile: Yes
      Stereo Texture Enable: 0x0000002B

      The best results I've gotten have been with most graphic options (AA, SSAO, etc.) disabled. Have tried it with Vertical Sync both on and off.

      ReplyDelete
      Replies
      1. Oh, in case it's relevant, I'm on a clean install of Windows Anniversary Update.

        Delete
      2. Additional info: The severity of the distortion is directly proportional to the amount of convergence you have set, but even with convergence turned almost all the way down (at which point, there's not a lot of point in playing in 3D), there is still some flickering. In particular, the bottom part of the word bubble, the little triangular wedge that's supposed to point to the speaker, flickers badly, almost seeming to switch from side to side.

        Delete
      3. Hi Qwinn. I just updated the fix. Now it's no longer necessary to assign the game to a profile. Please re-download the fix and let me know if it's working or not.

        Delete
      4. Word bubbles fixed! Thank you tons for the incredibly fast response and fix, I was afraid I would have to run through in 2D.

        One comment: The insanely high convergence Tab preset gets activated whenever you Shift-Tab to pull up the Steam overlay. This makes the background cause a fair bit of eye strain as long as you're in the overlay, and requires a press of Caps Lock whenever you come out. Might make more sense to assign that preset to a different key so it doesn't activate every time you pull up the steam overlay - or maybe just make it a third setting that gets cycled through when pressing the Caps Lock key. Would eliminate having to reset the "Next Mob" control too. Otherwise not seeing any other issues, but I'm going to start actually playing now, I'll let you know if anything else comes up.

        Thanks again!

        Delete
      5. Actually, come to think of it, that Tab issue discussed in my last reply makes it practically impossible to simultaneously play with a custom convergence and use the Steam overlay, as pressing Shift-Tab overwrites the convergence and then you'd have to reset the convergence to your liking after hitting Caps Lock every time. Unless there's some way to reload the convergence settings you save with F7 while in game? If there's a way to do that, not sure how.

        Delete
      6. Yeah.. I had difficulty deciding which key to assign to what, since most keys are already pre-assigned in game. If you want, you can change the keys and convergence settings. Open "d3dx.ini" using Notepad and scroll down to where it says:

        [Key3]
        ;very high convergence
        Key = Tab
        type = cycle
        convergence = 167

        Then change key to whatever you want (for example: Key = Q ).

        Delete
      7. Awesome, yep, had no trouble at all adding that 167 setting to the Caps Lock key section as the 3rd setting that Caps Lock cycles through, so no extra key needed. Problem solved. Game looks beautiful, seriously, fantastic job. Thanks again!

        Delete
    10. This comment has been removed by the author.

      ReplyDelete
    11. This comment has been removed by the author.

      ReplyDelete
    12. Awesome game, made even better with 3D. At first I had trouble installing the fix (totally my fault) and I actually played some in 2D, the game is that enticing. Totally drawn into it over here.

      PS If anyone needs help with any fixes, I'd volunteer my time. I've been wanting to contribute in some way for quite a while. I am currently learning Unity and C# and am rather capable. I could be contacted via the Meant to be Seen forum or here.

      ReplyDelete
      Replies
      1. Glad to see you got it working. I've been meaning to go back and replay this game. I didn't like my character selection the first time =\

        Delete
      2. Yeah it only works with the Dir. Cut, which I didn't realize I had at first. GOG had it in my library as a separate install. I think I like it more than X-Com. I haven't been able to get into another turn-based game like this since then, until now.

        Delete
      3. I should now add (at least on my system) that the game won't start properly with the fix installed when launching from the GOG Galaxy launcher. It works fine when starting WL2.exe directly.

        Delete
    13. I'm having an ssue with this fix. It seems to confuse W2 with W2: Director's Cut... It launches D2 when I click "Play 3D" on D2: Director's cut. I have both on my Steam account, I guess that might be the reason? Either way, it shows the correct Director's Cut directory in the game launcher, but tries to launch D2 _not_ director's cut.

      So needless to say, it's not working for me... :-(

      ReplyDelete
      Replies
      1. Does it work if you manually install the fix in the game directory and double clicking the file "Wasteland 2 - 3Dmigoto.bat"? If so, there may be an issue with 3D Fix Manager.

        Delete
    14. Hey 4everAwake. I would really like to learn what is causing the shadows not to work with this game anymore. Because I want to learn how to stereorise unstereorised effects. Right now I do not know if this is simply a header that changed with an update or if it is broken. Can you please guide me a bit as I would like to learn more about Unity shadows. Your work is much appreciated with DSS's.

      ReplyDelete