Skip to content

Instantly share code, notes, and snippets.

@KLanausse
Last active August 17, 2025 04:35
Show Gist options
  • Save KLanausse/b0ba7e212f4cea6d725eac6be5c2d880 to your computer and use it in GitHub Desktop.
Save KLanausse/b0ba7e212f4cea6d725eac6be5c2d880 to your computer and use it in GitHub Desktop.
Install Script For ORRH On Linux
#!/bin/bash
prefix=$HOME/.local/share/wineprefixes/OnlyRetroRobloxHere
#text colours
Green='\033[1;32m'
Red='\033[1;31m'
Yellow='\033[1;33m'
Blue='\033[1;34m'
Reset='\033[m'
echo " "
if [ -f /etc/debian_version ]; then
distro_guess="Debian"
distro_check="dpkg -l"
distro_install="apt install"
distro_update=" sudo apt update"
fi
if [ -f /etc/redhat-release ]; then
distro_guess="Fedora"
distro_check="rpm -q"
distro_install="yum install"
distro_update="dnf update && dnf upgrade"
fi
if [ -f /etc/SuSE-release ]; then
distro_guess="OpenSUSE"
distro_check="zypper search -i"
distro_install="zypper install"
distro_update="zypper update"
fi
if [ -f /etc/arch-release ]; then
distro_guess="Arch"
distro_check="pacman -Qs"
distro_install="pacman -S"
distro_update="pacman -Syu"
fi
if test -z $distro_guess; then
echo -e "${Red}This Linux distro is not supported sorry. Now aborting."
exit
fi
# Now Start The Script
echo -e "${Yellow}Checking if your system is supported..."
sleep 3
# Now Check The Cpu
if ! lscpu | grep avx > /dev/null;
then
echo -e "${Red}Cpu Does Not Have AVX For Roblox GUI"
fi
if lscpu | grep avx > /dev/null;
then
echo -e "${Green}CPU supported!"
fi
# check glibc is 2.31 or newer
if ldd --version | grep "2\\.30]\|2\\.2" > /dev/null;
then
echo -e "${Red}Error: Your system is unsupported. Please update to glibc 2.31 or greater. Press return to continue.${Reset}"
read -p " "
exit
fi
echo -e "${Green}Glic 2.31 or newer is installed!"
echo -e "${Green}${distro_guess} is supported!"
#echo -e "${Yellow}Just a quick warning! I recommend installing ORRH 1.0.5.0 due to a change in 1.0.6.0 that started causing issues with loading assets."
echo -e "${Blue}Press Enter To Install"
read -p ""
echo -e "${Yellow}Checking if the required packages are installed...${Reset}"
# install "lib32-gnutls" if missing.
if [ $distro_guess = "Arch" ] && ! $distro_check lib32-gnutls > /dev/null; then
sudo $distro_install lib32-gnutls;
fi
# install "lib32-alsa-plugins" if missing.
if [ $distro_guess = "Arch" ] && ! $distro_check lib32-alsa-plugins > /dev/null; then
sudo $distro_install lib32-alsa-plugins;
fi
# install "lib32-libpulse" if missing.
if [ $distro_guess = "Arch" ] && ! $distro_check lib32-libpulse > /dev/null; then
sudo $distro_install lib32-libpulse;
fi
# install "lib32-openal" if missing.
if [ $distro_guess = "Arch" ] && ! $distro_check lib32-openal > /dev/null; then
sudo $distro_install lib32-openal;
fi
# install "xdg-utils" if missing.
if ! $distro_check xdg-utils > /dev/null; then
sudo $distro_install xdg-utils;
fi
if ! $distro_check 7z > /dev/null && ! $distro_check p7zip > /dev/null; then
sudo $distro_install 7z && sudo $distro_install p7zip;
fi
#install wine
if ! $distro_check wine > /dev/null && ! $distro_check wine-core > /dev/null; then
sudo dpkg --add-architecture i386
sudo $distro_install wine
fi
echo ""
echo "Last updated on Tue May 20 08:27:17 PM EDT 2025"
#Check for an existing install
if [ -d "$prefix" ]; then
echo -e "${Yellow}You seem to already have OnlyRetroRobloxHere installed."
echo -e "${Yellow}Proceeding will completely wipe your previous install!${Reset}"
read -p "Are you sure you want to continue? (y/N) " doReinstall
case $doReinstall in
[Yy]* ) echo "Preparing to reinstall..." && rm -rf $prefix && rm ~/.local/share/applications/OnlyRetroRobloxHere.desktop && rm ~/Desktop/OnlyRetroRobloxHere.desktop;;
[Nn]* ) exit 1;;
* ) exit 1;;
esac
fi
orrhArchive=$(find . -maxdepth 1 -name 'OnlyRetroRobloxHere-v*.7z' -type f | tail -n 1)
if ((${#orrhArchive} <= 3)); then
echo "${Red}OnlyRetroRobloxHere-vX.X.X.X.7z was not found!"
echo "${Yellow}Make sure OnlyRetroRobloxHere-vX.X.X.X.7z is in the same folder as the script!${Reset}"
exit 1
fi
#Ask about SAPI4 (TTS)
read -p "Would you like to install the bundled SAPI4 TTS voices? (y/N) " installTTSVoices
WINEPREFIX=$prefix winetricks -q wininet winhttp mfc80 mfc90 gdiplus wsh56 urlmon pptfonts corefonts dxvk dotnetdesktop6 ie8 pdh
WINEPREFIX=$prefix winetricks wininet=builtin winihttp=native
#Install dotnet 6 redist
wget https://builds.dotnet.microsoft.com/dotnet/aspnetcore/Runtime/6.0.36/aspnetcore-runtime-6.0.36-win-x64.exe
wget https://builds.dotnet.microsoft.com/dotnet/Runtime/6.0.36/dotnet-runtime-6.0.36-win-x64.exe
WINEPREFIX=$prefix wine aspnetcore-runtime-6.0.36-win-x64.exe /q
WINEPREFIX=$prefix wine dotnet-runtime-6.0.36-win-x64.exe /q
7z x -t7z $orrhArchive -oOnlyRetroRobloxHere/
mv OnlyRetroRobloxHere/ $prefix/drive_c/ProgramData/
#Install TTS Voices
case $installTTSVoices in
[Yy]* ) echo "Installing TTS Voices..."
WINEPREFIX=$prefix wine C:\\\\\\\\ProgramData\\\\\\\\OnlyRetroRobloxHere\\\\\\\\redist\\\\\\\\SAPI4\\\\\\\\spchapi.exe
WINEPREFIX=$prefix wine C:\\\\\\\\ProgramData\\\\\\\\OnlyRetroRobloxHere\\\\\\\\redist\\\\\\\\SAPI4\\\\\\\\Sam\\\\\\\\msttsl.exe /q;;
[Nn]* ) echo "Skipping TTS Voices.";;
* ) exit 1;;
esac
#Cleanup
rm aspnetcore-runtime-6.0.36-win-x64.exe
rm dotnet-runtime-6.0.36-win-x64.exe
#Icon
wget https://gist.github.com/assets/66651363/58d0c0b6-18ac-44b8-a390-c6237237975c -O $prefix/drive_c/ProgramData/OnlyRetroRobloxHere/Icon.png
#Create Desktop Shortcut
echo "[Desktop Entry]" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Name=OnlyRetroRobloxHere" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Comment=${orrhArchive:2:-3}" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Icon=$prefix/drive_c/ProgramData/OnlyRetroRobloxHere/Icon.png" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Exec=env WINEPREFIX=\"$HOME/.local/share/wineprefixes/OnlyRetroRobloxHere\" wine C:\\\\\\\\ProgramData\\\\\\\\OnlyRetroRobloxHere\\\\\\\\OnlyRetroRobloxHere.exe" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Type=Application" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Categories=Games;" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "StartupNotify=true" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "Path=$HOME/.local/share/wineprefixes/OnlyRetroRobloxHere/drive_c/ProgramData/OnlyRetroRobloxHere" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
echo "StartupWMClass=OnlyRetroRobloxHere.exe" >> ~/.local/share/applications/OnlyRetroRobloxHere.desktop
cp ~/.local/share/applications/OnlyRetroRobloxHere.desktop ~/Desktop/OnlyRetroRobloxHere.desktop
#Open
WINEPREFIX=$prefix wine C:\\\\\\\\ProgramData\\\\\\\\OnlyRetroRobloxHere\\\\\\\\OnlyRetroRobloxHere.exe
# https://github.com/wine-mirror/wine/raw/refs/heads/master/fonts/marlett.ttf # Window Controls
@KLanausse
Copy link
Author

Update: Fixed 2012L+ issues

@KLanausse
Copy link
Author

Update for wine 10

@KLanausse
Copy link
Author

Fixed 2009M-2013M + Added prompt for TTS

@KLanausse
Copy link
Author

Installs the latest version of dotnet6 now

@KLanausse
Copy link
Author

corrected the dotnet filenames under cleanup. Thank You to Curefella for pointing it out to me

@Twig6943
Copy link

Twig6943 commented Jun 4, 2025

corrected the dotnet filenames under cleanup. Thank You to Curefella for pointing it out to me

To those reading this, a way better launcher that also works on linux with less effort has been made and will be made public (hopefully soon)

@SpringierTrain
Copy link

can u give it to me

@KLanausse
Copy link
Author

corrected the dotnet filenames under cleanup. Thank You to Curefella for pointing it out to me

To those reading this, a way better launcher that also works on linux with less effort has been made and will be made public (hopefully soon)

I'm a little confused why you replied to my comment to say that, but feel free to link it here when it's finished :V

@Twig6943
Copy link

Twig6943 commented Jun 5, 2025

corrected the dotnet filenames under cleanup. Thank You to Curefella for pointing it out to me

To those reading this, a way better launcher that also works on linux with less effort has been made and will be made public (hopefully soon)

I'm a little confused why you replied to my comment to say that, but feel free to link it here when it's finished :V

like it's already something better than orrh,sodikm,filtering disabled,novetus,freedom distribution and anything else which is going to make them all obsolete. (Not to mention most are already abandonware)

@snail5120
Copy link

snail5120 commented Aug 14, 2025

hey, can you tell me how to install this? ive tried double clicking and it just opens a text editor, ive tried opening it with the console, doesnt work so i had to copy and paste everything and it works but then closes after i say continue once it says that im compatible

@Mac1Chip
Copy link

Mac1Chip commented Aug 17, 2025

hey, can you tell me how to install this? ive tried double clicking and it just opens a text editor, ive tried opening it with the console, doesnt work so i had to copy and paste everything and it works but then closes after i say continue once it says that im compatible

hey, you need to make it executable by running
chmod 755 (install script name).sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment