Giter Site home page Giter Site logo

Wine version about gameimage HOT 7 CLOSED

LinuxToasty avatar LinuxToasty commented on May 25, 2024
Wine version

from gameimage.

Comments (7)

ruanformigoni avatar ruanformigoni commented on May 25, 2024 1

Yes, I think that the displayed version is from when 'ge' was forked from vanilla wine.

from gameimage.

ruanformigoni avatar ruanformigoni commented on May 25, 2024

Hey there, thanks for the issue report! The version issue occurs in wine-ge, it does not seem to be a problem in gameimage. Is the message from the printing of the AppRun file in the terminal?

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on May 25, 2024

I have this too, the output is this after selecting the exe file to use:

#!/usr/bin/env bash

set -e

DIR_CALL="$(dirname "$APPIMAGE")"
DIR_APP="$APPDIR"
WINE="$APPDIR/usr/bin/wine"

if [[ "$(basename "${APPIMAGE}")" =~ ..AppImage ]]; then

CFGDIR="$(dirname "$APPIMAGE")/$(basename "$APPIMAGE").config"
else

CFGDIR="$(dirname "$APPIMAGE")/.$(basename "$APPIMAGE").config"
fi

CFGDIR="${CFGDIR//:/}"

MNTDIR="$APPDIR"

export WINEPREFIX="$CFGDIR/wine"

function _exit() { pkill -f "unionfs.*$WINEPREFIX"; }
trap _exit SIGINT EXIT

export WINEPREFIX_RO="$MNTDIR/app/wine"
export WINEPREFIX_RW="$CFGDIR/union"
mkdir -p "$WINEPREFIX"
mkdir -p "$WINEPREFIX_RW"

"$APPDIR/usr/bin/unionfs" -o uid="$(id -u)",gid="$(id -g)" -ocow "$WINEPREFIX_RW"=RW:"$WINEPREFIX_RO"=RO "$WINEPREFIX"

cd "$(dirname "$CFGDIR/wine/drive_c/game/blahblah.exe")"

EXEC="blahblah.exe"

for i in "$WINEPREFIX/drive_c/users/$(whoami)/"{AppData,Application\ Data,Contacts,Desktop,Documents,Downloads,Favorites,Links,Music,My\ Documents,Pictures,Saved\ Games,Searches,Videos}; do

[ ! -L "$i" ] || rm "$i"
[ -d "$i" ] || mkdir -p "$i"
done

YQ="$APPDIR/usr/bin/yq"

YAML="$CFGDIR/config.yml"
"$YQ" --exit-status 'tag == "!!map" or tag == "!!seq"' "$YAML" &>/dev/null || echo "cmd: "{wine} {exec}"" > "$YAML"

if [[ "$1" =~ --gameimage-cmd=(.*) ]]; then

YAML_CMD="${BASH_REMATCH[1]}"
YAML_CMD="${YAML_CMD//"/\"}" # Escape quotes
"$YQ" -i ".cmd = "$YAML_CMD"" "$YAML"
elif { YAML_CMD="$("$YQ" '.cmd | select(.!=null)' "$YAML")"; [ -n "$YAML_CMD" ]; }; then

YAML_CMD="${YAML_CMD//{wine}/"$WINE"}"
YAML_CMD="${YAML_CMD//{exec}/"$EXEC"}"
YAML_CMD="${YAML_CMD//{here}/"$DIR_CALL"}"
YAML_CMD="${YAML_CMD//{appd}/"$DIR_APP"}"
eval "$YAML_CMD"
else

echo "Could not start gameimage, remove $YAML and try again"
fi
[*] AppRun written, make further changes to it if you desire, then press enter...

from gameimage.

ruanformigoni avatar ruanformigoni commented on May 25, 2024

Thanks @Blad3forc3 ! I'll add some delimiters to show that this is the written file and not an error message.

from gameimage.

ruanformigoni avatar ruanformigoni commented on May 25, 2024

Another pointer, if you download the wine-ge files, and run ./lutris-GE-Proton7-37-x86_64/bin/wine --version, you'll get wine-5.12-15683-g32b54e575c0 (Staging). Although dxvk says it does not support it, I seems to work fine.

from gameimage.

LinuxToasty avatar LinuxToasty commented on May 25, 2024

All works fine with the warning. Strange. So the Wine version being used is the newer version?

from gameimage.

ruanformigoni avatar ruanformigoni commented on May 25, 2024

Remaining issue with proper leading marker on the output of files resolved in latest version.

from gameimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.