From bd88b91c537bb0a5c4c9651fe33d41614ba96eb1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 16 Dec 2020 17:16:16 -0500 Subject: [PATCH] Added license information. --- LICENSE | 2 +- audiogame-manager.sh | 93 +++++++++++--------- game-scripts/crazy-party-build-games.sh | 41 ++++++++- game-scripts/revenge-of-the-undead-update.sh | 41 ++++++++- game-scripts/swamp-update.sh | 41 ++++++++- game-scripts/topspeedserver.sh | 41 ++++++++- speech/set-voice.sh | 2 +- wine/mkwine.sh | 41 ++++++++- 8 files changed, 253 insertions(+), 49 deletions(-) diff --git a/LICENSE b/LICENSE index 95c89aa..1ba48b9 100644 --- a/LICENSE +++ b/LICENSE @@ -521,7 +521,7 @@ EXHIBIT B. Attribution Information   - Attribution Phrase (not exceeding 10 words): _______________________ + Attribution Phrase (not exceeding 10 words): A Stormux project Attribution URL: https://stormgames.wolfe.casa diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d98f2f0..a834d67 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1,43 +1,47 @@ #!/usr/bin/env bash -# -# ■The contents of this file are subject to the Common Public Attribution -# License Version 1.0 (the ■License■); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version -# 1.1 but Sections 14 and 15 have been added to cover use of software over a -# computer network and provide for limited attribution for the Original -# Developer. In addition, Exhibit A has been modified to be consistent with -# Exhibit B. -# -# Software distributed under the License is distributed on an ■AS IS■ basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is audiogame manager. -# -# The Original Developer is not the Initial Developer and is . If -# left blank, the Original Developer is the Initial Developer. -# -# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of -# the code written by Billy Wolfe are Copyright (c) 2020. All Rights -# Reserved. -# -# Contributor Michael Taboada. -# -# Contributor Jeremiah Ticket. -# -# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. -# -# Attribution Phrase (not exceeding 10 words): _______________________ -# -# Attribution URL: https://stormgames.wolfe.casa -# -# Graphic Image as provided in the Covered Code, if any. -# -# Display of Attribution Information is required in Larger -# Works which are defined in the CPAL as a work which combines Covered Code -# or portions thereof with code not governed by the terms of the CPAL. + +license() { +cat << EOF + ■The contents of this file are subject to the Common Public Attribution + License Version 1.0 (the ■License■); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version + 1.1 but Sections 14 and 15 have been added to cover use of software over a + computer network and provide for limited attribution for the Original + Developer. In addition, Exhibit A has been modified to be consistent with + Exhibit B. + + Software distributed under the License is distributed on an ■AS IS■ basis, + WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + for the specific language governing rights and limitations under the + License. + + The Original Code is audiogame manager. + + The Original Developer is not the Initial Developer and is . If + left blank, the Original Developer is the Initial Developer. + + The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of + the code written by Billy Wolfe are Copyright (c) 2020. All Rights + Reserved. + + Contributor Michael Taboada. + + Contributor Jeremiah Ticket. + + Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. + + Attribution Phrase (not exceeding 10 words): A Stormux project + + Attribution URL: https://stormgames.wolfe.casa + + Graphic Image as provided in the Covered Code, if any. + + Display of Attribution Information is required in Larger + Works which are defined in the CPAL as a work which combines Covered Code + or portions thereof with code not governed by the terms of the CPAL. +EOF +} # Dialog accessibility export DIALOGOPTS='--no-lines --visit-items' @@ -45,7 +49,7 @@ export DIALOGOPTS='--no-lines --visit-items' # Automatic update function update() { local filePath="$(command -v ${0})" - if file "${filePath}" | grep -q 'Bourne-Again shell script, ASCII text' ; then + if file "${filePath}" | grep -q 'Bourne-Again shell script,' ; then return fi # make sure the site can be reached @@ -220,6 +224,9 @@ download() { } help() { + echo "${0##*/}" + echo "Released under the terms of the Common Public Attribution License Version 1.0" + echo -e "This is a Stormux project: https://stormux.org\n" echo -e "Usage:\n" echo "With no arguments, open the game launcher." for i in "${!command[@]}" ; do @@ -496,10 +503,11 @@ fi # Array of command line arguments declare -A command=( [c]="Check your system for necessary components." - [d]="debug mode, wine will be much more verbose when games are launched with this flag." + [d]="Debug mode, wine will be much more verbose when games are launched with this flag." [h]="This help screen." [i]="Install games." - [l:]="launch given game without interactive audiogame-manager menu specified by its wine bottle." + [L]="Display license information." + [l:]="Launch given game without interactive audiogame-manager menu specified by its wine bottle." [N]="No cache, delete the installer after it has been extracted." [r]="Remove a game. This will delete all game data." ) @@ -516,6 +524,7 @@ while getopts "${args}" i ; do ;; h) help;; i) game_installer;; + L) license;; l) game_launcher "${OPTARG}";; N) noCache="true";; r) game_removal;; diff --git a/game-scripts/crazy-party-build-games.sh b/game-scripts/crazy-party-build-games.sh index 7897c17..f53541f 100755 --- a/game-scripts/crazy-party-build-games.sh +++ b/game-scripts/crazy-party-build-games.sh @@ -1,5 +1,44 @@ #!/bin/bash - +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Contributor Jeremiah Ticket. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + for i in dialog unix2dos; do if ! command -v $i &> /dev/null ; then echo "Please install dialog and dos2unix before using this script." diff --git a/game-scripts/revenge-of-the-undead-update.sh b/game-scripts/revenge-of-the-undead-update.sh index faa88f9..084c112 100755 --- a/game-scripts/revenge-of-the-undead-update.sh +++ b/game-scripts/revenge-of-the-undead-update.sh @@ -1,5 +1,44 @@ #!/usr/bin/env bash - +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Contributor Jeremiah Ticket. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache" url="https://tunmi13.dev/projects/rotu.zip" (rm -v "${cache}/rotu.zip" diff --git a/game-scripts/swamp-update.sh b/game-scripts/swamp-update.sh index 410b4b1..93f883a 100755 --- a/game-scripts/swamp-update.sh +++ b/game-scripts/swamp-update.sh @@ -1,5 +1,44 @@ #!/bin/bash - +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Contributor Jeremiah Ticket. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + updateURL="https://www.kaldobsky.com/audiogames/SwampPatch.zip" extract_error() { diff --git a/game-scripts/topspeedserver.sh b/game-scripts/topspeedserver.sh index e201b03..29d39e5 100755 --- a/game-scripts/topspeedserver.sh +++ b/game-scripts/topspeedserver.sh @@ -1,5 +1,44 @@ #!/bin/bash - +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Contributor Jeremiah Ticket. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + path=${1:-~/.local/wine/top-speed-3/drive_c/Program\ Files/Playing\ in\ the\ dark/Top\ Speed\ 3} echo "Enter URL or IP address for Top Speed 3 Server:" read -r -e server diff --git a/speech/set-voice.sh b/speech/set-voice.sh index ec3c1c9..91367bc 100755 --- a/speech/set-voice.sh +++ b/speech/set-voice.sh @@ -34,7 +34,7 @@ # # Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. # -# Attribution Phrase (not exceeding 10 words): _______________________ +# Attribution Phrase (not exceeding 10 words): A Stormux project # # Attribution URL: https://stormgames.wolfe.casa # diff --git a/wine/mkwine.sh b/wine/mkwine.sh index 9ce4838..6178c45 100755 --- a/wine/mkwine.sh +++ b/wine/mkwine.sh @@ -1,5 +1,44 @@ #!/bin/bash - +# +# âe contents of this file are subject to the Common Public Attribution +# License Version 1.0 (the âcenseâ you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# https://opensource.org/licenses/CPAL-1.0. The License is based on the Mozilla Public License Version +# 1.1 but Sections 14 and 15 have been added to cover use of software over a +# computer network and provide for limited attribution for the Original +# Developer. In addition, Exhibit A has been modified to be consistent with +# Exhibit B. +# +# Software distributed under the License is distributed on an â ISâasis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is audiogame manager. +# +# The Original Developer is not the Initial Developer and is . If +# left blank, the Original Developer is the Initial Developer. +# +# The Initial Developer of the Original Code is Billy "Storm Dragon" Wolfe. All portions of +# the code written by Billy Wolfe are Copyright (c) 2020. All Rights +# Reserved. +# +# Contributor Michael Taboada. +# +# Contributor Jeremiah Ticket. +# +# Attribution Copyright Notice: Audiogame manager copyright 2020 Storm Dragon. All rights reserved. +# +# Attribution Phrase (not exceeding 10 words): A Stormux project +# +# Attribution URL: https://stormgames.wolfe.casa +# +# Graphic Image as provided in the Covered Code, if any. +# +# Display of Attribution Information is required in Larger +# Works which are defined in the CPAL as a work which combines Covered Code +# or portions thereof with code not governed by the terms of the CPAL. + export WINEARCH=win32 bottle="${1,,}"