This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Builds Wine-staging | |
# Notes: | |
# 1. Targeted for usage inside a VM (use shared directory $HOME/mnt/vmshare between host and guest). | |
# 2. You'd need to separately push the result on the host to whatever location you want (like to /opt). | |
# 3. Place any manual patches in ${HOME}/build/patches | |
# 4. Override arch to something else if you aren't using Ryzen. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Builds Wine | |
# Notes: | |
# 1. Targeted for usage inside a VM (use shared directory $HOME/mnt/vmshare between host and guest). | |
# | |
# 2. You'd need to separately push the result on the host to whatever location you want (like to /opt). | |
# | |
# 3. Place any manual patches in ${HOME}/build/patches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Helper script for wine_run.sh / winetricks_run.sh | |
# Sets environment. See wine_run.sh for details on | |
# configurable variables usage. | |
# $wine variable is a shortcut, setting /opt/$wine for $wine_path | |
# But explicitly set $wine_path takes priority. | |
if [[ "${wine+isset}" ]] && ! [[ "${wine_path+isset}" ]]; then | |
wine_path="/opt/${wine}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Notes: | |
# | |
# 1. Works for tags and specific hash commits too (override mesa_branch variable with needed value). | |
# | |
# 2. By default builds for /opt/mesa-<branch> and places the result in ${HOME}/mnt/vmshare/mesa-<branch> | |
# You can override the build deployment location by setting dest_dir. For example this should put it right away | |
# in /opt/mesa-<branch> | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Note: make sure the card / hwmon indexes correspond to your GPU! | |
# They can differ depending on your set up. | |
gpu_hwmon="/sys/class/drm/card0/device/hwmon/hwmon2" | |
# Takes cap parameter in Watts. "max" sets it to max allowed. | |
cap_watts=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source="$1" | |
if [[ "$source" == "" ]]; then | |
echo "Error: No source provided!" | |
exit 1 | |
fi | |
if ! [[ -e "$source" ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source="$1" | |
keep_dir=${keep_dir:-false} | |
tar_wrap=${tar_wrap:-true} # for wrapping a single file | |
if [[ "$source" == "" ]]; then | |
echo "Error: No source provided!" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Extractor for game ROMs from Konami Collector's Series. | |
# | |
# Usage: gog_extract_konami_collectors_series.sh <path_to>/cc.exe | |
# | |
# Make sure you have xxd hexdump tool and dd installed. | |
# | |
# Games locations: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Configuration (set through environment variables): | |
# | |
# WINEPREFIX - what prefix to use. | |
# wine_path - to use custom location of Wine (e.g. /opt/wine-main). | |
# wine - shortcut for the above, to assume /opt/$wine | |
# | |
# Notes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Notes: | |
# | |
# For Debian build of dxvk and vkd3d-proton. | |
# | |
# 1. To build 64-bit and 32-bit dxvk: | |
# | |
# for bitness in 64 32; do project=dxvk bitness=$bitness dxvk_build.sh; done | |
# |
NewerOlder