Comments (15)
Try $HOME
instead of ~
.
from mf-install.
Thank you, but now I'm getting this after running the install command.
./mf-install.sh: 23: export: 4.11/dist/bin:/home/stepan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin: bad variable name
Is it because my Steam is installed in ~/.steam instead of ~/.local/shared?
I'm kinda lame with Linux, so apologies if I'm asking stupid questions.
from mf-install.
4.11/dist/bin:/home/stepan/.local/bin
You can see it's added a relative (not absolute) path called "4.11/dist/bin" to your $PATH.
This is likely the full path "$HOME/.local/share/steam/steamapps/common/Proton 4.11"
Except it got butchered at the first space in "Proton 4.11". Why? I don't know. What exactly did you do, and did you edit the script?
from mf-install.
I didn't edit the script. The thing is... there is no "steam" folder in my $HOME/.local/share/. My Steam is installed in $HOME/.steam/.
I think that's the issue? The script assumes it's in .local?
from mf-install.
The script doesn't assume it's path at all.
The paths are exclusively specified by you, through setting the WINEPREFIX
environment variable, and optionally an environment variable called PROTON
.
You could have it set to WINEPREFIX="/root/anime/wine prefixes/foobar"
.
And that would be valid so long as you have a Wine prefix there.
Steam by default installs itself into $HOME/.local/share/Steam
, with folders symlinking to it in $HOME/.steam
.
Note that "Steam" is different from "steam", filenames are case sensitive in Unix.
This script still shouldn't have problems with symlinks, spaces, or $HOME in the path name though. Wine itself however doesn't like "~" for setting WINEPREFIX.
from mf-install.
Alright, I will try to use the .local paths then. Thank you.
from mf-install.
The $HOME/.steam
paths should work fine too, you don't actually need to use $HOME/.local/share directly. There's something you're doing that isn't right.
The script doesn't care about using $HOME, or symlinks to the folder, or spaces, I just tried this myself:
WINEPREFIX="$HOME/.steam/steam/steamapps/compatdata/582010/pfx" PROTON="$HOME/.steam/steam/steamapps/common/Proton 4.11" ./mf-install.sh -proton
It does care if you use "~", but only because Wine itself doesn't like that.
from mf-install.
Here's a screenshot that should show everything important, that is where I extracted the installer, and what I put into my terminal: https://i.imgur.com/o3oW8V2.png
from mf-install.
Well that is right, even if you did extract mf-install to that folder for some reason.
At this point I'm curious why that doesn't work for you. Are you on some alternative shell other than bash? Like fish?
echo $SHELL
from mf-install.
Nope, this is a default Ubuntu 18.04 installation. That command prints /bin/bash. I'll try to put the extracted files into a separate folder then.
from mf-install.
I think I may know what the problem is.
Ubuntu may be using dash instead of bash as your default shell for #!/bin/sh
.
Try doing the same thing but specifically specify bash mf-install.sh -proton
from mf-install.
This worked! Thanks a lot for your time and help!
EDIT: I'll close the issue if you don't want to add anything more.
from mf-install.
Thanks for reporting the issue, because of this I'm gonna change the shebang to #!/bin/bash
.
Even though everything in the script should be shell independent, I guess some shells still have problems with basic stuff.
from mf-install.
I don't think there is anything wrong with "basic stuff" with dash, it is following the POSIX standard.
In
export WINEDLLPATH=""$PROTON"/dist/lib/wine:"$PROTON"/dist/lib64/wine"
why do you leave $PROTON outside of the quotes? That means that it is subject to field splitting, which is causing the issue.
I think
export WINEDLLPATH="$PROTON/dist/lib/wine:$PROTON/dist/lib64/wine"
is what you want here, and should work fine.
from mf-install.
With that I was specifically trying to encapsulate the variable within quotes, so no matter what crazy path full of characters like # ! @ $ % someone might have it in, it gets quoted.
You're right though, after testing this, it isn't proper.
However I would like to say that bash has no problem with this.
It won't work either way if someone has :
in the path, but seriously though?
from mf-install.
Related Issues (20)
- script path not recognized
- installation failed HOT 2
- regsvr32: Failed to register DLL 'msmpeg2adec.dll' HOT 2
- Just an FYI, this is required for HAVEN HOT 1
- Epic Game Launcher white screen after install HOT 1
- ShellExecuteEx failed: Invalid Address HOT 3
- [INFO] Game Compatibility Info Update
- This can get Catherine Classic working
- mf-install script broken on wine-staging 6.5 HOT 2
- Call from 7B00FD36 to unimplemented function shell32.dll.CommandLineToArgvW
- mfplat.dll doesn't have needed function for Kingdom Hearts Chi: Back Cover HOT 1
- Nights of Azure 2: Your GStreamer installation is missing a plug-in. HOT 1
- mf-install is broken after dxvk installation HOT 3
- Just to says that it's working here :)
- IronHarvest not working (working with Proton-GE, but GE has a different issue)
- Love your work <3
- Please make a Release! HOT 2
- MFWMAAEC.DLL support
- Manual installation of .dll provided by this repo
- crossover
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mf-install.