Skip to content

xoxor4d/p2-rtx

Repository files navigation

Portal 2 RTX Remix Compatibility Mod

This client modification is specifically made for nvidia's rtx-remix.
How does a shader based game work with remix? By manually reimplementing fixed function rendering :)


WIP & Please Note:
RTX Remix was never intented to support Portal 2.
If you encounter crashes, broken things or similar, it's either due to incompatibility, the limits of fixed function rendering (not being able to get the same result that shaders can achieve)
or due to bugs in the compatibility mod itself.


This is not trying to be a remaster.

It simply makes the game compatible with RTX Remix.

Please keep that in mind.

Description

[ Remix Compatibility Features ]

🔹Most things are rendered using the fixed-function pipeline🔹
🔹Remix friendly culling and the ability to manually override culling🔹
🔹Ability to spawn and animate lights on events using a keyframe system🔹
🔹Per map loading of remix config files to set remix variables🔹
🔹Ability to animate remix variables on events🔹
🔹Spawning of unique anchor meshes🔹
🔹Per map fog settings🔹



If you want to support my work,
consider buying me some coffee:

ko-fi



img img


Usage / Installation

Caution

Breaking Change IF you used earlier versions of the Compatibility Mod:

  • Go to Path-to-Portal2/bin and remove winmm.dll + _rtx.asi before proceeding

  • Download the latest release and follow instructions found there.
  • Start the game by executing p2-rtx-launcher.exe
  • The window title should change to Portal 2 - RTX followed by the GitHub commit number if successful

✳️ Info:

  • See the Wiki for in-depth guides on features that come with the compatibility mod 🍓

  • Current releases ship with a custom build of the remix-dxvk runtime which includes necessary changes
    for Portal 2 (bin/.trex/d3d9.dll)

  • Some engine tweaks that are required to make the game compatible result in CPU bottlenecks on some maps (software skinning instead of HW skinning). This may or may not improve in future updates.


⚠️ Troubleshooting (click to expand):

Launcher not working? - Try a different way of loading
  1. Download Ultimate-ASI-Loader (32 bit), rename dinput8.dll to winmm.dll and place it into
    the bin folder (Path-To-Portal2/bin/winmm.dll)

  2. Rename p2-rtx.dll to p2-rtx.asi and place it into the bin folder mentioned above

  3. Right click Portal 2 on Steam and open settings - add the following start-up options:
    -novid -disable_d3d9_hacks -limitvsconst -disallowhwmorph -softparticlesdefaultoff -no_compressed_verts +mat_phong 1`

  4. Sart the game from Steam


Missing dependencies or similar error


Portals not showing up or looking incorrect
  • Make sure that you installed the _remix_mod.zip. See Issue #13


Game is too dark, sunlight is leaking on certain maps, textures look flat
  • This is not an issue with the compatibility mod itself. It's up to the people modding the game using the remix toolset to place proper lights and overhaul textures and meshes.


  • Other Issue?

Credits


img img img