Killing Floor with Nvidia Optimus

Ok so with the normal command of “optirun ./killingfloor-bin” the game loads, but it says it cant find you connected to steam nor you have an internet connection. Plus it doesn’t show up on steam as you in game. Here is the script to fix that problem! While in the KillingFloor/System folder, use this command.

LD_LIBRARY_PATH=~/.steam/bin SteamAppId=1250 vblank_mode=0 optirun ./ki
llingfloor-bin -steam

For Primusrun:

LD_LIBRARY_PATH=~/.steam/bin SteamAppId=1250 vblank_mode=0 primusrun ./ki
llingfloor-bin -steam

Enjoy!