-
Notifications
You must be signed in to change notification settings - Fork 10
Add steam to rsetup #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There is now a common function to get user account, then you can use it to get home. |
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
Also remove steam_dir before mv operation. Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
This is assumed from rsetup init code. Signed-off-by: ZHANG Yuntian <[email protected]>
Signed-off-by: ZHANG Yuntian <[email protected]>
7ca3725
to
4b92694
Compare
Signed-off-by: ZHANG Yuntian <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently I can install steam
with following commands:
sudo --preserve-env=https_proxy apt update
sudo --preserve-env=https_proxy apt install -y jq
cat << EOF >steam.sh
set -e
$(curl -Ls "https://github.com/raw/RadxaPanda/rsetup/main/src/usr/lib/rsetup/cli/steam.sh")
__parameter_count_check() {
:
}
set -x
install_steam
EOF
sudo --preserve-env=https_proxy bash ./steam.sh
Running winecfg
resulted in following error:
radxa@rock-5-itx:~$ wine winecfg
Box86 with Dynarec v0.3.7 fcbebfa8 built on Jul 7 2024 01:13:25
Error: file is not found (check BOX86_PATH)
steam
can be launched from terminal.
After steam installer unpacked, there is a missing dependency of |
Now with my latest commit |
Also what is the complete installation process? Run the script then manually with |
Issue was caused by not properly escaping $@ in the script (was being set to nothing) |
Co-authored-by: ZHANG Yuntian <[email protected]>
@CodeChenL please check if you can install and launch Steam & some Windows games successfully. No need to test uninstall. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Native and proton translations work fine, but performance is low, only some 2D games with low resolution can be played.Like terraria.
Co-authored-by: CodeChenL <[email protected]>
When i tried this on panfork i was getting better performance than on panthor |
This should be able to be merged |
Right now the functionality is tested, but the code still needs more clean up before it can be merged. |
My commit message is bad |
install_box64() { | ||
curl -Ls https://ryanfortner.github.io/box64-debs/box64.list > /etc/apt/sources.list.d/box64.list | ||
curl -Ls https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg | ||
apt-get update -y && apt-get install -y box64-rk3588 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be listed in Depends of the repackaged steam.
install_box86() { | ||
curl -Ls https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list > /etc/apt/sources.list.d/box86.list | ||
curl -Ls https://itai-nelken.github.io/weekly-box86-debs/debian/KEY.gpg | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg | ||
apt-get update -y && apt-get install -y box86 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be listed in Depends of the repackaged steam.
wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb | ||
ar x steam.deb | ||
tar xf data.tar.xz | ||
|
||
# move deb contents to steam folder | ||
mv ./usr/* "$steam_dir" | ||
popd || return 1 | ||
rm -rf "$temp_dir" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those can be the content of the repackaged steam. Can we still install steam under say /usr/lib/x86_64-linux-gnu?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely can but then ull need to rebuild once in a while I think but it should be fine
wine_pkg="$(sudo -u "$(logname)" mktemp -d)" | ||
pushd "$wine_pkg" || return 1 | ||
latest_version="$(basename "$(curl -ILs -o /dev/null -w "%{url_effective}" https://github.com/Kron4ek/Wine-Builds/releases/latest)")" | ||
curl -Lso "wine-$latest_version-x86.tar.xz" "https://github.com/Kron4ek/Wine-Builds/releases/download/$latest_version/wine-$latest_version-x86.tar.xz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make a wine package and install under /usr/lib/x86_64-linux-gnu as well
No description provided.