Skip to content

Instantly share code, notes, and snippets.

@killua99
Created August 30, 2016 12:05
Show Gist options
  • Save killua99/43771eceefb2a634b278d93d6f7f6d8d to your computer and use it in GitHub Desktop.
Save killua99/43771eceefb2a634b278d93d6f7f6d8d to your computer and use it in GitHub Desktop.
#!/bin/bash
# Get the system architecture
UNAME=`uname`
ARCH=`uname -m`
export LD_DEBUG=files
export LD_DEBUG_OUTPUT=./ld_debug.txt
# optional flags
# -force-opengl
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./gladiabots_Data/Plugins/$ARCH"
./gladiabots.$ARCH -force-opengl $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment