games:linux:osu_lazer
This is an old revision of the document!
Table of Contents
Information
Media
- TODO
Prerequisites
TODO
wget -q --show-progress -O ~/'Downloads/osu.AppImage' 'https://github.com/ppy/osu/releases/latest/download/osu.AppImage' && rm -Rf ~/'.local/share/osu!' && 7z x -aoa ~/'Downloads/osu.AppImage' -o$HOME/'.local/share/osu!' 'usr/bin/*' && mv -f ~/'.local/share/osu!/usr/bin/'* ~/'.local/share/osu!' && rm -Rf ~/'.local/share/osu!/usr' && mkdir -p ~/'.local/share/icons/hicolor/256x256/apps' && 7z x -aoa ~/'Downloads/osu.AppImage' -o$HOME/'.local/share/icons/hicolor/256x256/apps' 'osu.png'
SDL_VIDEODRIVER='x11' SDL_AUDIODRIVER='alsa' OSU_DISABLE_ERROR_REPORTING='1' OSU_EXTERNAL_UPDATE_PROVIDER='1' OSU_GRAPHICS_RENDERER='gl' OSU_GRAPHICS_SURFACE='opengl' OSU_SDL3='1' ~/'.local/share/osu!/osu!'
Scripts
osu!
mkdir -p ~/'.local/share/osu/scripts' && nano ~/'.local/share/osu/scripts/osu!-opengl.sh' && chmod +x ~/'.local/share/osu/scripts/osu!-opengl.sh'
#!/bin/bash cd '/tmp' export SDL_VIDEODRIVER='x11' export SDL_AUDIODRIVER='alsa' export OSU_DISABLE_ERROR_REPORTING='1' export OSU_EXTERNAL_UPDATE_PROVIDER='1' export OSU_GRAPHICS_RENDERER='gl' export OSU_GRAPHICS_SURFACE='opengl' export OSU_SDL3='1' ~/'.local/share/osu!/osu!' unset 'SDL_VIDEODRIVER' 'SDL_AUDIODRIVER' 'OSU_DISABLE_ERROR_REPORTING' 'OSU_EXTERNAL_UPDATE_PROVIDER' 'OSU_GRAPHICS_RENDERER' 'OSU_GRAPHICS_SURFACE' 'OSU_SDL3' # End
~/'.local/share/osu/scripts/osu!-opengl.sh'
Updater
mkdir -p ~/'.local/share/osu/scripts' && nano ~/'.local/share/osu/scripts/osu!-update.sh' && chmod +x ~/'.local/share/osu/scripts/osu!-update.sh'
#!/bin/bash cd '/tmp' wget -q --show-progress -O ~/'Downloads/osu.AppImage' 'https://github.com/ppy/osu/releases/latest/download/osu.AppImage' rm -Rf ~/'.local/share/osu!' 7z x -aoa ~/'Downloads/osu.AppImage' -o$HOME/'.local/share/osu!' 'usr/bin/*' mv -f ~/'.local/share/osu!/usr/bin/'* ~/'.local/share/osu!' rm -Rf ~/'.local/share/osu!/usr' ~/'Downloads/osu.AppImage' notify-send -t '3000' -i ~/'.local/share/icons/hicolor/256x256/apps/osu.png' 'osu! update complete' # End
~/'.local/share/osu/scripts/osu!-update.sh'
Desktop Launcher
IW4x
mkdir -p ~/'.local/share/applications/wine/Programs/IW4x' && nano ~/'.local/share/applications/wine/Programs/IW4x/IW4x.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/IW4x/IW4x.desktop' && update-desktop-database --quiet ~/'.local/share/applications'
[Desktop Entry] Name=IW4x Categories=Game; Path=/tmp Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' +exec 'iw4x_custom.cfg' +set 'r_fullscreen 1' +set 'g_antilag 0'" Type=Application StartupNotify=false Icon=/home/CHANGEME/.wine/Icons/IW4x-256.png StartupWMClass=iw4x.exe Actions=Server;Saves;Window;Update-IW4x;Update-Bots;Kill;Notes; [Desktop Action Update-IW4x] Exec='/bin/bash' -c "xfce4-terminal -T 'IW4x [Updater]' -I ~/'.wine/Icons/IW4x-256.png' --working-directory='/tmp' -x ~/'Steam/scripts/Call of Duty Modern Warfare 2 (10180)/iw4x-update.sh'" Name=Update [Desktop Action Kill] Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wineserver -k" Name=Force-close osu! [Desktop Action Notes] Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:linux:osu_lazer'" Name=Install Notes # End
xfce4-panel -r
/srv/www/wiki/data/attic/games/linux/osu_lazer.1794904741.txt.gz · Last modified: by Sean Rhone