Steam for Linux

Steam for Linux

Ruineka 29 AGO 2018 a las 7:01 p. m.
Using Regedit with a game proton
Is there a way to run regedit within a game's "bottle"? I need to edit a few things so I can get Arma 2 to run without throwing the bad serial error.
< >
Mostrando 1-4 de 4 comentarios
thetargos 29 AGO 2018 a las 7:12 p. m. 
Yes, assiming you do not have Wine installed:

STEAM_LIBRARY = Your local default games library, usually under $HOME/.local/share/Steam/steamapps/
PROTON_BIN_PATH=$STEAM_LIBRARY/common/Proton 3.7/dist/bin/wine

So you could just then:

env $WINEPREFIX=$STEAM_LIBRARY/compatdata/APPID/pfx $PROTON_BIN_PATH regedit

So in short, as long as you use the long (absolute) paths (I used shell variables just as example, you can do so as well, but you will have to type the absolute paths anyway).

Edit

With wine installed, you do not need to run proton:

env WINEPREFIX=$STEAM_LIBRARY/compatdata/APPID/pfx regedit
Última edición por thetargos; 29 AGO 2018 a las 7:16 p. m.
Cat on Linux 29 AGO 2018 a las 7:14 p. m. 
standard way to invoke regedit with wine
env WINEPREFIX="/your game library/steamapps/compatdata/XXXXX/pfx" wine regedit
where XXXXX is game id. you need wine installed on your OS to do it. or look into proton folder and invoke it from proton's wine path instead of wine
Ruineka 29 AGO 2018 a las 8:21 p. m. 
Publicado originalmente por thetargos:
Yes, assiming you do not have Wine installed:

STEAM_LIBRARY = Your local default games library, usually under $HOME/.local/share/Steam/steamapps/
PROTON_BIN_PATH=$STEAM_LIBRARY/common/Proton 3.7/dist/bin/wine

So you could just then:

env $WINEPREFIX=$STEAM_LIBRARY/compatdata/APPID/pfx $PROTON_BIN_PATH regedit

So in short, as long as you use the long (absolute) paths (I used shell variables just as example, you can do so as well, but you will have to type the absolute paths anyway).

Edit

With wine installed, you do not need to run proton:

env WINEPREFIX=$STEAM_LIBRARY/compatdata/APPID/pfx regedit

Thanks! This worked perfectly.
Егоркин 3 ENE a las 12:39 p. m. 
Putting that to the script will look like
#!/bin/bash if [[ $# -eq 0 || $# -le 2 ]]; then echo "Usage: ${0} STEAM_APPID WINE_COMMAND" exit 1 fi STEAM_APPID="${1}" shift STEAM_LIBRARY="${HOME}/.local/share/Steam/steamapps" PROTON_BIN_PATH="${STEAM_LIBRARY}/common/Proton Hotfix/files/bin/wine64" WINEPREFIX="${STEAM_LIBRARY}/compatdata/${STEAM_APPID}/pfx" export WINEPREFIX "$PROTON_BIN_PATH" "$@"

Copy it to .sh file, chmod +x and use.
< >
Mostrando 1-4 de 4 comentarios
Por página: 1530 50