Saturday, July 7, 2018

Red Faction: Guerrilla + Re-Mars-tered

Fix by Stryker_66

Re-Mars-stered by Bo3b

In recent months, Steam has been working with some publishers/developers to patch out GFWL (Games for Windows Live) from their games which has caused me to revisit some of my older titles. I had a look at Red Faction Guerrilla and like many games, it has issues in 3DVision. I used the Helixmod debugger to remove some offending shaders.

Install

Note: For Steam version of the game, turn off the shadows in game settings and at launch run the game in DX9 mode. I've also disabled motion blur and depth of field in game since I don't like those features in any game. You can enable them if you prefer.

1.) Use NVidia Inspector to remove the Red Faction Guerrilla profile

2.) Add the "rfg.exe" executable to the Prototype 2 profile

If you are unfamiliar with NVidia Inspector, I would highly recommend downloading it and learning how to use it. It is invaluable for 3D Vision gaming. There is a great guide on how to use NVidia Inspector here.

http://helixmod.blogspot.ca/2013/03/how-to-change-3d-vision-profile-and.html

3.) Unzip contents of Red_Faction_Guerrilla_3D_Shaders_Removed.zip file to where the "rfg.exe" file is. (i.e. \Red Faction Guerrilla) In my case it is

S:\My Steam\SteamApps\common\Red Faction Guerrilla\

The fix: Red_Faction_Guerrilla_3D_Shaders_Removed.zip

You can switch/change two convergence settings with keys "0" & "9". Simply select key and adjust your convergence and then Ctrl + F7 to save as you would normally with NVidia convergence save feature. You can then switch back and forth while in game. I included this because I prefer to have a convergence setting when I am on foot and another for when in a vehicle.

You can learn more about multiple convergence settings here and you can customise key changes in the DX9Settings.ini file.

http://helixmod.blogspot.ca/2013/04/guide-how-to-bind-custom_28.html

4.) There are also optional FOV files that can be found here.

http://steamcommunity.com/app/20500/discussions/0/846961716495621555/

The FOV I am using is set to 90 and I personally like it because I can see my main character in full. The author for the FOV settings has a few different files from the above link that you can try for alternate FOV settings. The setting of FOV 90 works great for the toyification effect. This is my preferred setting when in a 3rd person perspective.

And lastly, if any shader whiz kids want to fix or have a look at the shaders, I included the shader dumps here. These are the offending shaders I found and disabled. There may be others since I have not played through the entire game. Please feel free to fix since a fix is more desirable than removing them.

Original Vertex Shaders

I don't know how fix yet, but decided to start dabbling to see where I can go from here.

Thanks to this great community, 3DVision lives on…


Update 7-7-18 
There is the new Re-MARS-tered version, which is DX11.  Although not visually any different, it's easier to work with 3Dmigoto, so here is a mostly complete fix for the Re-MARS-tered version.

This fixes the sky by moving clouds to depth, and removing the broken sun.  HUD is improved by being depth selectable (with \ key) and having the crosshair depth selectable (with ' key).  HUD can be hidden with Backspace.

Re-MARS-tered.zip


28 comments:

  1. Thanks! RF: Guerilla is very good game!

    ReplyDelete
  2. the link is broken

    ReplyDelete
  3. Download link had wrong permissions, should be fixed now.

    ReplyDelete
  4. Thanks for another great fix guys. It's time to replay this great game with S3D.

    ReplyDelete
  5. Congratulations for the nice work on this game! Was planning to replay it in 3D.

    It such a pity that shader fixing it's such an occult esoteric discipline. So many people are contributing with shader removals, and profile optimisation - it's so annoying that's almost impossible to really fix the shadows.
    It would be so awesome if shader displacement/stereoisation commands could be embedded in the wrapper or a separate application, with immediate action/feedback. Like for example you select one shader, then start pressing the direction arrows to move shaders more to the right, or more at depth, etc, until it looks right, then you save.
    Even if it would take time to perfectly find the best position, many people could just grind at it, shader by shader, until done.

    Of couse I realise that I gravely oversimplify, and if such an approach could be done, it would have been coded already.

    Good job, Fred!

    ReplyDelete
    Replies
    1. Actually, that is pretty much exactly what Chiri has done with 3Dmigoto. I'm not certain that it is fully functional, and we generally fix games a different way, but that mechanism is already there. I'm nearly sure it works at 1280x720, less sure at other resolutions, based on long ago discussions.

      If you wanted to play around with it, it's still there, should still work. You can possibly open up another venue or fixing games if you can work out how to use it.

      Delete
    2. Hey Bo3b, thanks for the reply.
      My idea regarding "in-wrapper shader manipulation" must have made me sound much smarter than I am, LOL.
      If there is some documentation on manipulation methodology, keys to use, the whole process, where are the changes saved, and how they can be used as fixes, maybe I can take a look. Otherwise, I'm not at all skilled at coding/languages, so I won"t be able to reverse engineer this on my own.

      I don't want to take the focus away from Stryker's fix here, so maybe we can start a new thread on the 3DVision forum, or as part of your ShaderHacker courses. But of course please don't spend your precious time on it, unless you determine somehow that it could turn out a viable way to fix games without the kind of ability that Mike has, for the shadows etc.

      Delete
  6. Guys the fix doesn't work at all for me with respect to CROSSHAIR... it is not fixed and I am sure I installed it correctely.

    ReplyDelete
    Replies
    1. I don't think the crosshair was part of the fix. That would be a shader that could be added with an on/off mode. Or, maybe easier, is there a game .ini file you can edit to disable crosshair?

      Delete
    2. Impossible to disable it...

      Delete
  7. @Stryker_66, Thank You for this one, it's a gas demo'ing stuff on a 110" projector screen with a subwoofer. A LOT of fun :-) I left the FOV at default, and for some that may not know, be sure to start the game in dx9 mode. Happy New Year, and I 2nd your statement, "Thanks to this great community, 3DVision lives on…"

    ReplyDelete
  8. Thanks a bunch ,looks great in 3d .the crosshair seems a bit off but... so,s my aiming

    ReplyDelete
  9. Kinda cool, shame that most shaders had to turn off. Again shame that most games loses the visuals with 3D which basicly are the things that makes 3D.
    2015 and still things don't work like they supposed to, glad i did not buy the game

    ReplyDelete
  10. Does this work on the new "Re-Mars-tered" edition?

    ReplyDelete
    Replies
    1. Don't know for sure, but it's very unlikely. Remastered versions typically rewrite all the shaders, and often switch from DX9 to DX11. Someone would need to take the time to refix the game. (unlikely, since original still seems good.)

      Quick looks suggests this is just a money grab variant, based on bringing this to Xbone and ps4. Minor upgrades, including visuals that YouTube comparison videos suggest are mildly improved.

      Delete
    2. Well... Just fixed the game for the Re-mars-tered version. See download link above.

      This fix is more complete by fixing skybox and HUD, but I did not fix shadows.

      Delete
  11. New version is playable with shadows off, which makes it look even more atrocious, with the endless orange/brown everywhere. Only the skybox is wrong depth but not a big deal, and the crosshair could use a little depth. Other than this, it looks fine, and it has good performance even in 4K. But it suffers from the color bug on LG TV, not fixed even with the stretched frustum (blue goes back to orange, but it's too dark to see). Only workaroud I found is to switch to Borderless window.
    I'm almost considering a replay, please let us know if anyone is looking to make some tweaks to improve it a bit.

    ReplyDelete
    Replies
    1. Took a look at this one, and it is a little crufty. This is the disabled effects type fixes that we do if we don't have a good way (or knowledge) to actual fix them.

      Fixing the sky box is pretty easy. Fixing shadows would be hard. Cursor can probably be disabled, or find a way to edit game file and make it transparent. NVidia Laser cursor actually works in-game, but is obscured by the yellow bars.

      Given the state of fix is just disabling effects, if someone wants to look at this game, looking at the remastered version is not a bad idea, because you can then also use 3Dmigoto which is much easier to use than HelixMod.

      Delete
    2. Tested out the DX11 ReMarstered version, and it seems to work nearly identically to the original. Same 3D glitches, same basic approach to fix. Shadows and skybox are still broken. LaserSight no longer works.

      3Dmigoto runs with the game with no problems, if someone wants to fix this version.

      Delete
    3. Added a new fix for the Re-Mars-tered version. Link is above.

      Delete
  12. Re-MARS-tered version also need manipulation with NVidia Inspector?
    When turn fullscreen - picture become blue. The same issue as in GTA5...

    ReplyDelete
    Replies
    1. Works OK here, Win7, Driver 378.92. I was running Prototype 2 profile, but I don't think that matters for this version. I removed the profile using NVidia Inspector, and it was still working correctly.

      Do some searches regarding the blue picture problem. There is something I vaguely remember about 4K tvs and that problem being an interlaced image or something. IIRC, if you change resolution it works.

      Delete
    2. yes, I play on 4K 3DTV OLED LG in 3840x2160 via EDID Override driver 3DVision for interlaced 3D-Stereo. Win 8.1 Pro 64bit, Driver 398.36... When turn to windowed mode - screen become normal, turn to fullscreen - all in blue again :(

      Delete
    3. Don't know, I don't use 4K TVs. Best bet is to do searches. Here's one from the forum that is similar:
      https://forums.geforce.com/default/topic/1016567/-help-dark-souls-2-sotfs-dx11-color-bug-in-4k/

      Delete
  13. Great, never did play the original - THANKS alot :)

    ReplyDelete
  14. Brilliant, looking forward to playing this again 9 years later : ) Thank you so much

    If ever possible, I'd love to see a fix for the sequel, Red Faction Armageddon!

    ReplyDelete
  15. A.W.E.S.O.M.E!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Thank you sooooooo much bo3b!!!

    ReplyDelete