-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
#!/bin/bash PREFIXES="$HOME/.local/share/wineprefixes" mkdir -p "$PREFIXES" export WINEARCH=win32 export WINEPREFIX="$PREFIXES/World of Horror" #rm -rf "$WINEPREFIX";exit hash xmlstarlet 2>/dev/null || { echo >&2 "Program requires xmlstarlet but it's not installed. Aborting."; exit 1; } hash strangle 2>/dev/null || { echo >&2 "Program requires libstrangle but it's not installed. Aborting."; exit 1; } [[ -f ~/.config/monitors.xml ]] || { echo >&2 "Program requires running in Gnome (to get the resolution in a compatible way with both x11 and wayland). Aborting."; exit 1; } RES_X=$(xmlstarlet sel -t -v '//logicalmonitor[primary="yes"]//width' ~/.config/monitors.xml) RES_Y=$(xmlstarlet sel -t -v '//logicalmonitor[primary="yes"]//height' ~/.config/monitors.xml) #cd to the script dir if executed from outside GAME_PATH=$(dirname "$(readlink -f "$0")") cd "$GAME_PATH/WOH" wine reg add "HKCU\\Software\\Wine\\X11 Driver" /v "GrabFullscreen" /t REG_SZ /d "Y" /f wine reg add "HKCU\\Software\\Wine\\X11 Driver" /v "Decorated" /t REG_SZ /d "N" /f wine reg add "HKCU\\Software\\Wine\\Explorer" /v "Desktop" /t REG_SZ /d "World of Horror" /f wine reg add "HKCU\\Software\\Wine\\Explorer\\Desktops" /v "Default" /t REG_SZ /d "$RES_X"x"$RES_Y" /f hash strangle 2>/dev/null && { echo >&2 "Vsync on."; strangle 30 -v 1 wine worldofhorror.exe; } hash strangle 2>/dev/null || { echo >&2 "Libstrangle (https://gitlab.com/torkel104/libstrangle) is not installed, cpu might run too hot."; wine worldofhorror.exe; }