From f003f42cf342b99458d40f2138a75a48a3daa297 Mon Sep 17 00:00:00 2001 From: vv221 Date: Sun, 20 Jan 2019 22:25:02 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Star=20Wars:=20Galactic=20Battlegrounds=20?= =?UTF-8?q?=E2=80=94=20Disable=20CSMT=20to=20avoid=20some=20rendering=20is?= =?UTF-8?q?sues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- play.it-2/games/play-star-wars-galactic-battlegrounds.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/play.it-2/games/play-star-wars-galactic-battlegrounds.sh b/play.it-2/games/play-star-wars-galactic-battlegrounds.sh index c0a1e9ee..59b2111b 100755 --- a/play.it-2/games/play-star-wars-galactic-battlegrounds.sh +++ b/play.it-2/games/play-star-wars-galactic-battlegrounds.sh @@ -2,7 +2,7 @@ set -o errexit ### -# Copyright (c) 2015-2018, Antoine Le Gonidec +# Copyright (c) 2015-2019, Antoine Le Gonidec # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -34,7 +34,7 @@ set -o errexit # send your bug reports to vv221@dotslashplay.it ### -script_version=20180923.3 +script_version=20190120.1 # Set game-specific variables @@ -71,7 +71,7 @@ DATA_DIRS='./ai ./campaign ./random ./savegame ./scenario' DATA_FILES='./data/*.dat ./player.nf*' APP_REGEDIT='swgb.reg' -APP_WINETRICKS="vd=\$(xrandr|awk '/\\*/ {print \$1}')" +APP_WINETRICKS="vd=\$(xrandr|awk '/\\*/ {print \$1}') csmt=off" APP_MAIN_TYPE='wine' APP_MAIN_EXE='battlegrounds.exe' -- GitLab From 1585182c0750a01d937a69a2148547d53317d230 Mon Sep 17 00:00:00 2001 From: vv221 Date: Sun, 24 Feb 2019 17:20:19 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Star=20Wars:=20Galactic=20Battlegrounds=20?= =?UTF-8?q?=E2=80=94=20Update=20script=20to=202.11=20syntax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../games/play-star-wars-galactic-battlegrounds.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/play.it-2/games/play-star-wars-galactic-battlegrounds.sh b/play.it-2/games/play-star-wars-galactic-battlegrounds.sh index 59b2111b..65d20807 100755 --- a/play.it-2/games/play-star-wars-galactic-battlegrounds.sh +++ b/play.it-2/games/play-star-wars-galactic-battlegrounds.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh set -o errexit ### @@ -34,7 +34,7 @@ set -o errexit # send your bug reports to vv221@dotslashplay.it ### -script_version=20190120.1 +script_version=20190224.1 # Set game-specific variables @@ -100,7 +100,7 @@ PKG_BIN_DEPS="$PKG_L10N_ID $PKG_DATA_ID wine winetricks xrandr" # Load common functions -target_version='2.10' +target_version='2.11' if [ -z "$PLAYIT_LIB2" ]; then : "${XDG_DATA_HOME:="$HOME/.local/share"}" @@ -123,7 +123,7 @@ if [ -z "$PLAYIT_LIB2" ]; then printf 'libplayit2.sh not found.\n' exit 1 fi -#shellcheck source=play.it-2/lib/libplayit2.sh +# shellcheck source=play.it-2/lib/libplayit2.sh . "$PLAYIT_LIB2" # Extract game data @@ -141,7 +141,7 @@ icons_move_to 'PKG_DATA' # Write launchers PKG='PKG_BIN' -write_launcher 'APP_MAIN' 'APP_ADDON' +launchers_write 'APP_MAIN' 'APP_ADDON' # Work around CD check -- GitLab