Skip to content

Virtual Fortress 2 - 99% Working headtracking

Choose a tag to compare

@PinkMilkProductions PinkMilkProductions released this 19 Dec 22:34
· 37 commits to main since this release

This is the first working version of this mod i managed to release to the public. This is more of a demo than a working game and it needs some setup to get working.

  • Download the Source SDK Base 2013 Multiplayer

  • unzip this release and add it under sourcemods in your steamapps directory.

  • Go to the source sdk base 2013 multiplayer install folder. In the bin directory, replace openvr_api.dll with the one found in tf_port's bin folder. Also copy all the .json files in the tf_port folder along with the entire tracker folder to the source sdk base 2013 multiplayer folder. In that source sdk base folder, create a folder named tf_port and copy the same .json files and tracker folder inside it.

  • set steam to offline mode

  • under properties for the source sdk base 2013 multiplayer, uncheck Use Desktop Game Theatre while SteamVR is active,
    also set automatic updates for it to "only update this tool when i launch it"

  • go back to your steamapps directory, find the appmanifest for the source sdk base 2013 multiplayer (should be appmanifest_243750.acf),
    open it in a text editor and change the number after "StateFlags" to "4" and the number after "UpdateResult" to "0". Save and close the file

  • Now you can actually start the game from steam while in offline mode! The game should appear in your steamlibrary as "Team Fortress 2 VR mod"

  • Launch the game and set your render resolution to 1920 x 1080. The mod currently doesn't work with other resolutions.

  • to view the game in VR, start a server with any map (not gravelpit, that one crashes the game). Once you're in the spawn room, open the dev console.

  • Put on your VR headset and start SteamVR

  • in the console, enter "vrmod_init"

  • once the audio stuttering has stopped, enter "vrmod_start"

  • you're in VR now! have fun!