Generic help with Wine

Questions about Wine on Linux
Locked
Imc7R
Level 2
Level 2
Posts: 11
Joined: Mon Dec 28, 2020 3:09 pm

Generic help with Wine

Post by Imc7R »

Hi. Im trying to use commands on Android wine. Im trying to WINEPREFIX a Games folder on my Android which is /storage/emulated/0/Games/Demo\ Game

If I ls to it, it reads the content of that folder. If
WINEPREFIX=/storage/emulated/0/Games/Demo\ Game it shows:

usr/bin/fakeroot-tcp: 175: /usr/bin/fakeroot-tcp: not found
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Generic help with Wine

Post by jkfloris »

How did you install Wine?
If this is an Exagear installation, report the problem to the creators of that program.
Imc7R
Level 2
Level 2
Posts: 11
Joined: Mon Dec 28, 2020 3:09 pm

Re: Generic help with Wine

Post by Imc7R »

The creator im trying to contact but hes some volunteer that watches that work once in a long time. Is pure Wine not having the same structure? What is this fakeroot doing?

#!/bin/sh

# This script first starts faked (the daemon), and then it will run
# the requested program with fake root privileges.

usage () {
cat - >&2 <<EOF
fakeroot, create a fake root environment.
usage: fakeroot [-l|--lib fakerootlib] [-f|--faked fakedbin]
[-i file] [-s file] [-u|--unknown-is-real]
[-b|--fd-base fd] [-h|--help] [-v|--version]
[--] [command]
EOF
exit 1
}

stderr ()
{
local i
for i
do
echo >&2 "fakeroot: $i"
done
}

fatal ()
{
stderr "$@"
exit 1
}

# strip /bin/fakeroot to find install prefix
FAKEROOT_PREFIX=/usr
FAKEROOT_BINDIR=/usr/bin

USEABSLIBPATH=0
LIB=libfakeroot-tcp.so
PATHS=/usr/lib/i386-linux-gnu/libfakeroot:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
FAKED=${FAKEROOT_BINDIR}/faked-tcp

FAKED_MODE="unknown-is-root"
export FAKED_MODE

libfound=no

GETOPTTEST=`getopt -T`
if test "$?" -eq 4; then # GNU getopt
FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`
else
FAKE_TEMP=`getopt l:f:i:s:ub:vh "$@"`
fi

if test "$?" -ne 0; then
usage
fi

eval set -- "$FAKE_TEMP"

FAKEDOPTS=""
PIPEIN=""
WAITINTRAP=0

while test "X$1" != "X--"; do
case "$1" in
-l|--lib)
shift
LIB=`eval echo "$1"`
PATHS=
;;
-f|--faked)
shift
FAKED="$1"
;;
-i)
shift
if test -f "$1"; then
FAKEDOPTS=$FAKEDOPTS" --load"
PIPEIN="<$1"
else
stderr "database file \`$1' does not exist."
fi
;;
-s)
shift
FAKEDOPTS=$FAKEDOPTS" --save-file $1"
[ -p $1 ] || WAITINTRAP=1
;;
-u|--unknown-is-real)
FAKEDOPTS=$FAKEDOPTS" --unknown-is-real"
FAKED_MODE="unknown-is-real"
;;
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Generic help with Wine

Post by jkfloris »

As far as I know, Wine does not use fakeroot. And unfortunately I don't know why Exagear uses it. That is something you could ask to the developers.
Locked