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


Installation / Usage

  • Download the latest release and follow instructions found there.

✳️ Info:

  • Take a look at the Wiki for in-depth guides on features that come with the compatibility mod 🍓

  • Current releases ship with:

  • 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):

Do I need to start the game from the batch file every time?
  1. No, copy all of the commandline arguments of the batch file (everything after START portal2.exe)

  2. Add them as launch args by right clicking Portal 2 in Steam -> Properties -> Launch Options

  3. Sart the game from Steam


How do I disable remix?
  • Run toggle-p2-rtx.bat and follow the instructions to disable or enable the mod


Crashing or similar issues
  • Make sure that you have no clipping software such as "medal" running in the background
  • Run the launcher with admin rights (only required if your game is installed within Program Files)
  • Make sure that the title of the portal 2 window changes to Portal 2 - RTX ...
  • Download and install DirectX End-User Runtimes (June 2010)


Portals not showing up or looking incorrect
  • Make sure that you installed the base-remix-mod as stated in the release notes


No sound
  • Either copy _master.cache from root/portal2/maps/soundcache to root/portal2_dlc3/maps/soundcache
  • Or paste this into the in-game console and execute: snd_rebuildaudiocache;snd_updateaudiocache;exit


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