Thursday, November 14, 2013

Aliens vs Predator 2010 (DirectX9 Only) - 3D Vision Fix

3D Vision Fix by mike_ar69

Fixed
- Shadows
- Lights
- Flashlight
- Character outline
- Water

**UPDATE 12/3/13
- Fixed more light and shadow issues
- Fixed some water issues

Notes
- Since I have only been through the early parts of the first level for each character type, there may be things missing, but I don't think there is much now (see below)
- You must launch the game in DIRECT X9 mode.

Outstanding
- Main thing is the 2d cross-hair.  There is no shader fix for this, but there are community mods to remove the crosshair by modding the games assets.
- Moon on Predator level, and skybox on Marine level is at wrong depth.
- There is one shader for a certain type of spotlight that I have only been able to partially fix, but the effect is minor compared to what it started as, and does not occur very often.

Installation
Steps:
1. Extract this zip file to the games exe directory.  In my case this is D:\Steam\steamapps\common\Aliens vs Predator.
2. Run the game.

24 comments:

  1. you are so awesome man. Thanks a lot really appreciated.

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

    ReplyDelete
  3. What happens when a game is released with the wrong nvidia profile? Cause Deadly Premonition was released a few weeks ago and it has the deadpool profile.

    ReplyDelete
  4. Thanks mate. It is a very good start in fixing this game. Unfortunately some lights render 2d and the crosshair is more annoying than in Call of Duty Ghosts... but maybe someone can just remove the crosshair? Hope you continue your great work. I ennjoy all the other patches you already published. Thanks a lot for this.
    mrorange

    ReplyDelete
    Replies
    1. Am going to look at getting rid of the cross-hair if I can.

      Also, can you give me a screenshot of the bad lights? As I noted, I only played parts of the first levels for each character thus far. Better stil a save game to take me directly to the spot?

      Delete
    2. I can't address the lights you mention without more information - if you could tell me where in the game, provide a screenshot or savegame, I will be able to do something. Thanks.

      Delete
    3. One last thought - the fix only works in DX9. Make sure you launch the game in that mode. In Steam, I have to use the steam launcher and select DX9, because just running the exe always starts it in DX11 mode.

      Delete
    4. The following (non Helixmod) mod removes the cross hair apparently. I have not tried it, but plan on doing so and then turning on the nvidia laser sight: http://forums.steampowered.com/forums/showthread.php?t=1604899

      Delete
  5. great work. just one thing, there distortion in the corner of the screen when you turn. like seeing something in the corner of your eye. It's bright.

    ReplyDelete
    Replies
    1. Which corner, and can you get me a screenshot (say on 3dvisionlive)?

      Delete
    2. it happens all the time every time I turn. The first big noticeable one was at the very beginning before you go in the room that you have to throw the switch to turn off the power to reboot the system. Its the room where tequila gets ride of the Xenomorphs for you. Anyways as soon as you see the inside of the room from the hallway the whole room glows bright white and then when you take a couple of steps closer it goes normal.how do I take and upload a picture to 3dvisionlive?

      Delete
    3. Hi - not had chance to look at this yet, but I will. I got sidetracked with X-Rebirth release on Friday...

      Take a picture by pressing Alt-F1 in game. This will save the ".jps" file in C:\Users\\Documents\IMG.STEREOIMAGE" or something, its obvious when you see it. go to 3dvisionlive.com, select photos, follow the instructions to register and add images.

      Delete
    4. OK I think I tracked this issue down and fixed it - there was a couple of shaders for spotlights I had not found earlier, that's why the room was going bright. I'm going to post up an update after a bit more testing - there are lots of lights and shadow shaders.

      I have noticed in this game as well that you get flickering triangles on the RHS (and sometimes LHS), and they are a yellowy whit color, which is a pain. Nothing I can do about this, it's 3D for ya. I have set max pre-rendered frames to 1 in nvidia control as this seems to help.

      Delete
  6. @mike_ar69 - I've followed all your Divinity 2 fixes and they are awesome. Thanks for this WIP on this game! I have patiently waited to play this particular game in 3D and I was hoping someone would do a fix. Alas, great work so far!!!! I've noticed that when you are outdoors at beginning, the sky is not at correct depth. The same common sky problem seen in other games. The game looks waaaaaaay better in 3D with what you have done so far and is definitely playable. I am finally looking forward to playing this title. Thanks so much.
    Stryker

    ReplyDelete
    Replies
    1. Hi - I am able to pick this game up again now. I noticed some sky effects, but they are more subtle than just being at the wrong depth. For example there is a glowy kind of hazy effect that is 2d, but the sky itself is correct. It's not entirely obvious to me how to fix it yet, but I don't find it too distracting. The Moon in the predator level is wrong, so I have fixed that, and it will be easy to fix other similar issues.

      Delete
    2. Hi - I have been able to pick up this game again and have seen (now) the wrong depth sky. The issue I have found is that the sky is coupled (through the same shaders) to all sorts of other objects - some doors, the characters hands/gun, some lights, some windows. It's totally bizarre, but will mean either (a) that I don't bother, or (b) it might take a while to separate it all out. For example, my fix for the Moon in the predator level affected the flares in the marine level (!), so tracking down these side effects might be time consuming.

      Delete
  7. Thanks for the feedback everyone. As you may have noted I've had no time to pick on anything yet, but I am compiling the list and will look at each problem. The one that bothers me right now is the cross-Hair, I have looked at that but am still trying to find a shader that will allow me to fix it (I think it needs fixing not deleting, because it changes shape/colour etc as you pint over stuff, and we don't want to lose that information).

    ReplyDelete
  8. hey just wondering how I can use sweetfx with this since you use UseEndScene = true?

    ReplyDelete
    Replies
    1. Hi - no idea. Does SweetFX not work? I can't remember why I have UseEndScene=true (I think it was not displaying the debug messages), have you tried changing it to "false"? Thanks.

      Delete
  9. I pushed out additional lighting and shadow fixes for the game. I have confirmed that the cross hair can't be fixed by shaders. There is one particular lighting shader I can't seem to get quite right, and that is one that renders spotlights, the kind that are found lying round on the floor in the Marine Levels. It's not massively wrong, just a bit off. I also have not fixed skybox and mood yet - if I get time I will do so. I've played a fair bit of the Marine levels, with all the dark areas and lights everywhere and with the exception of the little spotlights (that you can kick and turn off) everything looks fantastic, especially when you throw a flare out. No doubt I will encounter a few other issues, and if I can I will fix them along the way.

    ReplyDelete
  10. Just came back to see if there was another update, Thanks mike_ar69!

    ReplyDelete
  11. Hello, just stumbled upon your page and wanted to say thank you. AvP in 3D is a vast improvement to 2D, in fact I don't think I would have bothered playing it in 2D.

    ReplyDelete
  12. Just picked this up on Steam for $3.75. 3D makes it surprisingly fun. Thanks for the fix!

    ReplyDelete