Skip to content

Instantly share code, notes, and snippets.

@avnik
Created October 5, 2020 19:56
Show Gist options
  • Save avnik/7e17bff9e06d68169770b25d4f88eaf5 to your computer and use it in GitHub Desktop.
Save avnik/7e17bff9e06d68169770b25d4f88eaf5 to your computer and use it in GitHub Desktop.
#!/bin/sh
ROOT=$(realpath $(dirname $0))
export MESA_GLSL_CACHE_DIR="/tmp/eu_shader_cache"
mkdir -p $MESA_GLSL_CACHE_DIR
cd ${ROOT}
#export vblank_mode=1
export LC_ALL=
export LC_CTYPE=ru_RU.UTF-8
export LC_TIME=C
export LC_MESSAGES=en_US.UTF-8
export LC_NUMERIC=en_US.UTF-8
export LC_MONETARY=en_US.UTF-8
export LC_PAPER="ru_RU.UTF-8"
export LC_NAME="ru_RU.UTF-8"
export LC_ADDRESS="ru_RU.UTF-8"
export LC_TELEPHONE="ru_RU.UTF-8"
export LC_MEASUREMENT="ru_RU.UTF-8"
export LC_IDENTIFICATION="ru_RU.UTF-8"
export WINEDEBUG=fixme-d3dx,fixme-nls,trace-wininet,-ras,-d3dx,+loaddll #,+d3d9,+d3d11
#,+d3d_caps,+seh
export WINEPREFIX=${ROOT}
cd drive_c/EU
#_strace="strace -e trace=file, -o ${ROOT}/trace.log -f"
exec $_strace \
wine \
"c:\\EU\\bin32\\ClientLoader.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment