Both sides previous revisionPrevious revision | |
games:wine:osu [2016/12/01 23:58] – Sean Rhone | games:wine:osu [2017/02/04 04:54] (current) – Sean Rhone |
---|
| ====== Information ====== |
| |
| * osu! ((https://osu.ppy.sh)) |
| |
| ===== Prerequisites ===== |
| |
| * [[distros:fedora_workstation_gnome | Fedora Workstation]] ((this and any other guides I have shouldn't do anything special not to work on other distros)) |
| |
| ====== Install ====== |
| |
| ===== Initial ===== |
| |
| **** |
| |
| mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/osu!' WINEARCH='win32' wineboot |
| |
| ===== Dependencies ===== |
| |
| **** |
| |
| WINEPREFIX=~/'Wine Prefixes/osu!' winetricks --unattended dotnet40 corefonts cjkfonts |
| |
| ===== osu! ===== |
| |
| **** |
| |
| wget 'https://m1.ppy.sh/r/osu!install.exe' -O ~/'osu!install.exe' --no-check-certificate && WINEPREFIX=~/'Wine Prefixes/osu!' wine ~/'osu!install.exe' |
| |
| ===== Restore Content ===== |
| |
| **** |
| |
| rm -Rf ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!/Skins' ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!/Songs' && mv ~/'Downloads/osu!/Skins' ~/'Downloads/osu!/Songs' ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!' |
| |
| ===== Sandbox ===== |
| |
| **** |
| |
| WINEPREFIX=~/'Wine Prefixes/osu!' winetricks 'sandbox' |
| |
| ===== Clean Up ===== |
| |
| **** |
| |
| rm -Rf ~/'osu!install.exe' ~/'Downloads/osu!' && sync |
| |
| ====== Settings ====== |
| |
| ===== High-Resolution Textures ===== |
| |
| **** |
| |
| sed -i 's/HighResolution = 0/HighResolution = 1/g' ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!/osu!.'$USER'.cfg' |
| |
| ===== 75% Background Dim ===== |
| |
| **** |
| |
| sed -i 's/DimLevel = 30/DimLevel = 75/g' ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!/osu!.'$USER'.cfg' |
| |
| ===== 1.25x Cursor Size ===== |
| |
| **** |
| |
| sed -i 's/CursorSize = 1/CursorSize = 1.25/g' ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!/osu!.'$USER'.cfg' |
| |
| ====== Desktop Launchers ====== |
| |
| ===== Initial ===== |
| |
| **** |
| |
| mkdir -p ~/'.local/share/applications/wine/Programs/osu!' |
| |
| ===== osu! ===== |
| |
| nano ~/'.local/share/applications/wine/Programs/osu!/osu!.desktop' |
| |
| [Desktop Entry] |
| Name=osu! |
| Categories=Game; |
| Exec=env WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/osu!' wine '/home/CHANGEME/Wine Prefixes/osu!/drive_c/users/CHANGEME/Local Settings/Application Data/osu!/osu!.exe' |
| Type=Application |
| StartupNotify=true |
| Path=/home/CHANGEME/Wine Prefixes/osu!/drive_c/users/CHANGEME/Local Settings/Application Data/osu! |
| Icon=A7AA_osu!.0 |
| |
| sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/osu!/osu!.desktop' |
| |
| ====== Quick Commands ====== |
| |
| ===== Winecfg ===== |
| |
| **** |
| |
| WINEPREFIX=~/'Wine Prefixes/osu!' winecfg |
| |
| ===== Winetricks ===== |
| |
| **** |
| |
| WINEPREFIX=~/'Wine Prefixes/osu!' winetricks |
| |
| ===== Registry Editor ===== |
| |
| **** |
| |
| WINEPREFIX=~/'Wine Prefixes/osu!' regedit |
| |
| ===== Kill ===== |
| |
| **** |
| |
| WINEPREFIX=~/'Wine Prefixes/osu!' wineserver -k |
| |
| ===== Execute ===== |
| |
| ==== osu! ==== |
| |
| **** |
| |
| cd ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!' && WINEPREFIX=~/'Wine Prefixes/osu!' wine ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!/osu!.exe' |
| |
| ===== File Manager ===== |
| |
| ==== Root ==== |
| |
| **** |
| |
| xdg-open ~/'Wine Prefixes/osu!/drive_c/users/'$USER'/Local Settings/Application Data/osu!' |