fix
This commit is contained in:
parent
d29cfc0cf2
commit
feab0417dd
5 changed files with 5 additions and 78 deletions
32
README.md
32
README.md
|
|
@ -2,32 +2,10 @@ Credits to [RedstoneRuler](https://github.com/RedstoneRuler) and [CaveJohnson](h
|
||||||
|
|
||||||
# Installing OneShot on Linux
|
# Installing OneShot on Linux
|
||||||
|
|
||||||
If you're using a Linux-based operating system, the Steam version of OneShot won't work out of the box. You can use this small program to patch OneShot.
|
If you're using a Linux-based operating system, the Steam version of OneShot won't work out of the box. You can use this small program to make OneShot run.
|
||||||
|
|
||||||
|
To simply launch the game, you must go into OneShot's game directory, for most people,
|
||||||
|
this is `~/.local/share/Steam/steamapps/common/OneShot/`. You have to simply remove the
|
||||||
|
`librt.so.1` for the game to work.
|
||||||
|
|
||||||
**This guide assumes you have the Steam version of OneShot already installed, and that your system is properly configured and up-to-date.**
|
**This guide assumes you have the Steam version of OneShot already installed, and that your system is properly configured and up-to-date.**
|
||||||
|
|
||||||
## Install git
|
|
||||||
|
|
||||||
To download this program, you'll need to install a program called git. Install git using your distribution's native package manager.
|
|
||||||
|
|
||||||
###### Debian, Ubuntu, Mint, and derivatives
|
|
||||||
`sudo apt install git`
|
|
||||||
|
|
||||||
###### Arch, Manjaro, and derivatives
|
|
||||||
`sudo pacman -S git`
|
|
||||||
|
|
||||||
###### Fedora, and derivatives
|
|
||||||
`sudo dnf install git`
|
|
||||||
|
|
||||||
###### OpenSuse, and derivatives
|
|
||||||
`sudo zypper in git`
|
|
||||||
|
|
||||||
## Patch OneShot
|
|
||||||
|
|
||||||
Finally, to patch OneShot, run the following command:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://github.com/Mizosu97/oneshot_linux && cd oneshot_linux && chmod +x install && ./install
|
|
||||||
```
|
|
||||||
|
|
||||||
When you get to the part where you need to use the clover app, run the `onejournal` command in your terminal instead.
|
|
||||||
|
|
|
||||||
16
fix_libs.sh
16
fix_libs.sh
|
|
@ -1,16 +0,0 @@
|
||||||
if [ -d backuplibs ]; then
|
|
||||||
echo "Backup folder already exists."
|
|
||||||
else
|
|
||||||
mkdir backuplibs
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f librt.so* ]; then
|
|
||||||
cp *.so* ./backuplibs
|
|
||||||
rm librt.so*
|
|
||||||
else
|
|
||||||
echo "No libs found."
|
|
||||||
fi
|
|
||||||
|
|
||||||
for i in *.so*; do
|
|
||||||
[ -e /usr/lib32/$i ] && ln -sf /usr/lib32/$i $i
|
|
||||||
done
|
|
||||||
30
install
30
install
|
|
@ -1,30 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Installing fix_libs.sh"
|
|
||||||
if [ -f $HOME/.local/share/Steam/steamapps/common/OneShot/fix_libs.sh ]; then
|
|
||||||
echo "Already installed"
|
|
||||||
else
|
|
||||||
cp fix_libs.sh $HOME/.local/share/Steam/steamapps/common/OneShot/
|
|
||||||
chmod +x $HOME/.local/share/Steam/steamapps/common/OneShot/fix_libs.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Installing journal.sh"
|
|
||||||
if [ -f $HOME/.local/share/Steam/steamapps/common/OneShot/journal.sh ]; then
|
|
||||||
echo "Already installed"
|
|
||||||
else
|
|
||||||
cp journal.sh $HOME/.local/share/Steam/steamapps/common/OneShot/
|
|
||||||
chmod +x $HOME/.local/share/Steam/steamapps/common/OneShot/journal.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Installing onejournal"
|
|
||||||
chmod +x onejournal
|
|
||||||
if [ -f /usr/bin/onejournal ]; then
|
|
||||||
echo "Already installed"
|
|
||||||
else
|
|
||||||
sudo cp onejournal /usr/bin/
|
|
||||||
sudo chmod +x /usr/bin/onejournal
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Fixing libraries"
|
|
||||||
cd ~/.local/share/Steam/steamapps/common/OneShot/
|
|
||||||
sh fix_libs.sh
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
LD_LIBRARY_PATH=./backuplibs ./_______
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cd ~/.local/share/Steam/steamapps/common/OneShot/
|
|
||||||
sh journal.sh
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue