the normal syntax is 'WINEDEBUG="-all" wine <appname.exe>' (no quotes). But I don't know where to add WINEDEBUG="-all" in the startup script. Here is the farcry script (as one example) -
Code: Select all
#!/bin/sh
###############################################################################
#
## LIFLG Startup Script
#
###############################################################################
#
# The game binary
GAME_BINARY="FarCry.exe"
# Subdirectory
SUBDIR="Bin32"
# Which wine do you want to use?
WINE_NAMES="wine"
###############################################################################
## DO NOT EDIT BELOW THIS LINE
###############################################################################
readlink() {
local path=$1 ll
if [ -L "$path" ]; then
ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" &&
echo "${ll/* -> }"
else
return 1
fi
}
script=$0
count=0
while [ -L "$script" ]
do
script=$(readlink "$script")
count=`expr $count + 1`
if [ $count -gt 100 ]
then
echo "Too many symbolic links"
exit 1
fi
done
GAME_DIR=`dirname $script`
if [ -z "$WINE_EXEC" ]
then
WINE_EXEC=`type -p $WINE_NAMES | head -n 1`
fi
if [ -e "$WINE_EXEC" ]
then
cd $GAME_DIR
cd $SUBDIR
$WINE_EXEC $GAME_BINARY "$@" &
sleep 2 &&
renice 15 -p `pgrep wineserver`
else
echo "Wine(X)/Cedega not in your PATH"
exit 1
fi
btw, I am having better success with farcry under wine 0.9 than with cedega. It's still crashing (posted about this a while ago), but at least all the ingame movies work!
