Skip to content

Instantly share code, notes, and snippets.

@ademlabs
Created January 22, 2021 13:07
Show Gist options
  • Save ademlabs/2eec4e7767805201b8f870875a8123d0 to your computer and use it in GitHub Desktop.
Save ademlabs/2eec4e7767805201b8f870875a8123d0 to your computer and use it in GitHub Desktop.
Run Borderlands 2
#!/bin/bash
cd "~/.steam/steam/steamapps/common/Borderlands 2"
mesa_glthread=true GALLIUM_HUD=fps LD_PRELOAD='./libcxxrt.so /usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/dri/radeonsi_dri.so ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libwrap.so.0' LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu ./Borderlands2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment