Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
771fe5d956 | ||
|
4a0e6c83b8 | ||
|
69631769f8 | ||
|
06c3d87db0 | ||
|
c556aa73ee | ||
|
6a0fa006d9 | ||
27fac7e007 | |||
|
b489bb9a46 | ||
|
a33c4a3c23 | ||
|
a624691b0d | ||
|
c70c50255f | ||
|
0ac6d6fd57 | ||
|
ced1af728e | ||
|
c5c5996c23 | ||
|
f8e5b7ca75 | ||
|
e0e240848d | ||
|
9fbc149e19 | ||
|
8448d57710 | ||
|
99067d9e75 |
@ -1,3 +1,5 @@
|
||||
game="${0##*/}"
|
||||
game="${game%.sh}"
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-alteraeon.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
|
@ -1,3 +1,5 @@
|
||||
game="${0##*/}"
|
||||
game="${game%.sh}"
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-empiremud.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
|
@ -1,3 +1,5 @@
|
||||
game="${0##*/}"
|
||||
game="${game%.sh}"
|
||||
check_dependencies git opusdec sox tt++
|
||||
git -C "${installPath}/" clone https://git.2mb.codes/~stormdragon2976/tintin-endoftime | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
|
5
.install/Legends of Kallisti.sh
Normal file
5
.install/Legends of Kallisti.sh
Normal file
@ -0,0 +1,5 @@
|
||||
game="${0##*/}"
|
||||
game="${game%.sh}"
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com:hjozwiak/tintin-kallisti-pack | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
@ -1,24 +1,39 @@
|
||||
check_architecture x86_64
|
||||
echo "Please note this requires the game to be available either in your Steam library"
|
||||
echo "or as the installer purchased from gog.com."
|
||||
echo "If using the gog.com installer, please use the default path when prompted."
|
||||
alert
|
||||
check_dependencies steamcmd
|
||||
alert
|
||||
dialog --backtitle "Linux Game manager" \
|
||||
--msgbox \
|
||||
"Please note this requires the game to be available either in your Steam library\nor as the installer purchased from gog.com.\nIf using the gog.com installer, please use the default path when prompted." -1 -1 --stdout
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--yes-label "GOG" \
|
||||
--no-label "Steam" \
|
||||
--yesno "Select installation method" -1 -1 --stdout
|
||||
installationMethod=$?
|
||||
appId="646570"
|
||||
if ! [[ -f ~/Downloads/slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh ]] && ! [[ -f ~/Desktop/slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh ]]; then
|
||||
gogFileName="slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh"
|
||||
if [[ $installMethod -eq 1 ]]; then
|
||||
# Steam Installation
|
||||
echo "Please enter Steam user name:"
|
||||
read -er steamUser
|
||||
steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir "${HOME}/.local/games/SlayTheSpire" +login "$steamUser" +app_update "$appId" +quit
|
||||
if [[ $? -ne 0 ]]; then
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--msgbox "Error installing game through Steam." -1 -1 --stdout
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
DISPLAY=""
|
||||
find ~/Downloads -maxdepth 1 -type f -name 'slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh' -exec bash "{}" \; ||
|
||||
find ~/Desktop -maxdepth 1 -type f -name 'slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh' -exec bash "{}" \;
|
||||
# GOG Installation
|
||||
get_installer "$gogFileName" "https://www.gog.com/en/game/slay_the_spire"
|
||||
DISPLAY="" find ~/Downloads -maxdepth 1 -type f -name "$gogFileName" -exec bash "{}" \; ||
|
||||
DISPLAY="" find ~/Desktop -maxdepth 1 -type f -name "$gogFileName" -exec bash "{}" \;
|
||||
if [[ $? -eq 0 ]]; then
|
||||
ln -sf "${HOME}/GOG Games/Slay the Spire/game" "${installPath}/SlayTheSpire" ||
|
||||
{ echo "Error creating link."
|
||||
exit 1; }
|
||||
else
|
||||
echo "Error installing game."
|
||||
ln -sf "${HOME}/GOG Games/Slay the Spire/game" "${installPath}/SlayTheSpire" ||
|
||||
{ dialog --backtitle "Linux Game Manager" \
|
||||
--msgbox "Error creating link to game directory." -1 -1 --stdout
|
||||
exit 1; }
|
||||
else
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--msgbox "Error installing game from GOG installer." -1 -1 --stdout
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@ -27,13 +42,13 @@ mkdir -p "${HOME}/.config/ModTheSpire"
|
||||
if [[ -f ~"/.config/ModTheSpire/mod_lists.json" ]]; then
|
||||
dialog --backtitle "Linux Game manager" \
|
||||
--yesno "Existing mod_lists.json file found. Would you like to replace it?" -1 -1 --stdout &&
|
||||
cp -v .files/SlayTheSpire/mod_lists.json "${HOME}/.config/ModTheSpire/mod_lists.json"
|
||||
cp -v .files/SlayTheSpire/mod_lists.json "${HOME}/.config/ModTheSpire/mod_lists.json"
|
||||
else
|
||||
cp -v .files/SlayTheSpire/mod_lists.json "${HOME}/.config/ModTheSpire/mod_lists.json"
|
||||
fi
|
||||
cp -v .files/SlayTheSpire/MTS.sh "${HOME}/.local/games/SlayTheSpire/"
|
||||
# Get mods
|
||||
declare -A mods=(
|
||||
declare -A modsMap=(
|
||||
[mod the spire]=1605060445
|
||||
[base mod]=1605833019
|
||||
[stslib]=1609158507
|
||||
@ -42,17 +57,25 @@ declare -A mods=(
|
||||
[say the spire]=2239220106
|
||||
)
|
||||
installString=""
|
||||
for x in ${mods[@]} ; do
|
||||
installString="$installString +workshop_download_item $appId $x"
|
||||
for modId in ${modsMap[@]} ; do
|
||||
installString="$installString +workshop_download_item $appId $modId"
|
||||
done
|
||||
steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir "${HOME}/.local/games/SlayTheSpire/" +login anonymous $installString +quit
|
||||
if [[ $? -ne 0 ]]; then
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--msgbox "Error installing required mods. Some accessibility features may not be available." -1 -1 --stdout
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$HOME/.local/games/SlayTheSpire/mods"
|
||||
for x in "${!mods[@]}" ; do
|
||||
if [ "$x" == "mod the spire" ] ; then
|
||||
ln -sr "$HOME/.local/games/SlayTheSpire/steamapps/workshop/content/$appId/${mods[$x]}"/* "$HOME/.local/games/SlayTheSpire/"
|
||||
for modName in "${!modsMap[@]}" ; do
|
||||
if [[ "$modName" == "mod the spire" ]]; then
|
||||
ln -sr "$HOME/.local/games/SlayTheSpire/steamapps/workshop/content/$appId/${modsMap[$modName]}"/* "$HOME/.local/games/SlayTheSpire/"
|
||||
else
|
||||
ln -sr "$HOME/.local/games/SlayTheSpire/steamapps/workshop/content/$appId/${mods[$x]}"/* "$HOME/.local/games/SlayTheSpire/mods/"
|
||||
ln -sr "$HOME/.local/games/SlayTheSpire/steamapps/workshop/content/$appId/${modsMap[$modName]}"/* "$HOME/.local/games/SlayTheSpire/mods/"
|
||||
fi
|
||||
if [[ $? -ne 0 ]] && [[ "$modName" == "say the spire" ]]; then
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--msgbox "Error installing SayTheSpire mod. Screen reader support will not be available." -1 -1 --stdout
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
launcherPath="$(readlink -f "$0")"
|
||||
launcherPath="${launcherPath%/*}"
|
||||
|
@ -1,3 +1,5 @@
|
||||
game="${0##*/}"
|
||||
game="${game%.sh}"
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com/stormdragon2976/tintin-stickmud.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
|
@ -1,6 +1,6 @@
|
||||
check_architecture x86_64
|
||||
get_installer "Ttc v3.0 linux.zip" "https://renzivan.itch.io/the-tornado-chicken"
|
||||
unzip -d "${installPath}/The Tornado Chicken" "${cache}/Ttc v3.0 linux.zip"
|
||||
get_installer "Ttc v3.2 linux.zip" "https://renzivan.itch.io/the-tornado-chicken"
|
||||
unzip -d "${installPath}/The Tornado Chicken" "${cache}/Ttc v3.2 linux.zip"
|
||||
chmod +x "${installPath}/The Tornado Chicken/Ttc"
|
||||
echo "Note: When the game first starts it will be playing very loud music with the built in suboptimal voice."
|
||||
echo "You are recommended to press page down several times to turn down the music, then go to settings and enable speech with screen reader, using speech dispatcher."
|
||||
|
@ -3,7 +3,7 @@ pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator tt++ ${mudPath##*/}
|
||||
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
|
||||
else
|
||||
tt++ ${mudPath##*/}
|
||||
tt++ ${mudPath##*/}
|
||||
fi
|
||||
|
@ -3,7 +3,7 @@ pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator tt++ ${mudPath##*/}
|
||||
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
|
||||
else
|
||||
tt++ ${mudPath##*/}
|
||||
tt++ ${mudPath##*/}
|
||||
fi
|
||||
|
@ -3,7 +3,7 @@ pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator tt++ ${mudPath##*/}
|
||||
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
|
||||
else
|
||||
tt++ ${mudPath##*/}
|
||||
tt++ "${mudPath%/*}" "${mudPath##*/}"
|
||||
fi
|
||||
|
@ -32,6 +32,58 @@ speak() {
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
audio_manual() {
|
||||
if command -v mpv &> /dev/null ; then
|
||||
mediaPlayer=("mpv" "--really-quiet" "--no-video")
|
||||
else
|
||||
mediaPlayer=("play" "-qV0")
|
||||
fi
|
||||
local manualPath="${gamePath}/Manual"
|
||||
declare -a menuList
|
||||
for i in "${manualPath}"/*/ ; do
|
||||
local path="${i%/}"
|
||||
local name="${i/${manualPath}\//}"
|
||||
local name="${name% *}"
|
||||
menuList+=("$path" "$name")
|
||||
done
|
||||
manualPath="$(dialog --backtitle "Select a Manual" \
|
||||
--clear \
|
||||
--no-tags \
|
||||
--menu "Please select one" 0 0 0 "${menuList[@]}" --stdout)"
|
||||
[[ $? -ne 0 ]] && exit 0
|
||||
# If user selected a manual, show the audio file menu
|
||||
if [[ -n "$manualPath" ]]; then
|
||||
declare -a audioList=("all" "Play All") # Start with "All" option
|
||||
# Add all mp3 files to the menu
|
||||
while IFS= read -r file; do
|
||||
local filename="${file##*/}"
|
||||
local menuname="${filename%.mp3}"
|
||||
audioList+=("$file" "$menuname")
|
||||
done < <(find "$manualPath" -name "*.mp3" | sort)
|
||||
local selection
|
||||
selection="$(dialog --backtitle "Select Audio Track" \
|
||||
--clear \
|
||||
--no-tags \
|
||||
--menu "Please select one" 0 0 0 "${audioList[@]}" --stdout)"
|
||||
[[ $? -ne 0 ]] && exit 0
|
||||
if [[ -n "$selection" ]]; then
|
||||
if [[ "$selection" == "all" ]]; then
|
||||
# Play all files in order
|
||||
find "$manualPath" -name "*.mp3" -print0 | sort -z | \
|
||||
while IFS= read -r -d '' file; do
|
||||
"${mediaPlayer[@]}" "$file"
|
||||
done
|
||||
else
|
||||
# Play selected file
|
||||
"${mediaPlayer[@]}" "$selection"
|
||||
return
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# Dialog setup:
|
||||
DIALOG_ITEM_HELP=""
|
||||
export DIALOGOPTS='--no-lines --visit-items'
|
||||
@ -180,17 +232,24 @@ if [[ "$doomLanguage" != "en" ]]; then
|
||||
init_translation_db
|
||||
fi
|
||||
|
||||
gameOption="$(dialog --backtitle "Select your Doom!" \
|
||||
--clear \
|
||||
--no-tags \
|
||||
--ok-label "Single Player" \
|
||||
--cancel-label "Death Match" \
|
||||
--extra-button \
|
||||
--extra-label "co-op" \
|
||||
--help-button \
|
||||
--help-label "Exit" \
|
||||
--menu "Please select one" 0 0 0 "${doomGames[@]}" --stdout)"
|
||||
buttonCode=$?
|
||||
doomGames+=("manual" "Audio Manual")
|
||||
while [[ -z "${gameOption}" ]] || [[ "${gameOption}" == "manual" ]]; do
|
||||
gameOption="$(dialog --backtitle "Select your Doom!" \
|
||||
--clear \
|
||||
--no-tags \
|
||||
--ok-label "Single Player" \
|
||||
--cancel-label "Death Match" \
|
||||
--extra-button \
|
||||
--extra-label "co-op" \
|
||||
--help-button \
|
||||
--help-label "Exit" \
|
||||
--menu "Please select one" 0 0 0 "${doomGames[@]}" --stdout)"
|
||||
buttonCode=$?
|
||||
[[ $buttonCode -ne 0 ]] && break
|
||||
if [[ "${gameOption}" == "manual" ]]; then
|
||||
audio_manual
|
||||
fi
|
||||
done
|
||||
if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then
|
||||
gameOption+=" DoomMetalVol7.wad"
|
||||
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||
@ -217,7 +276,7 @@ case ${buttonCode} in
|
||||
dialog --backtitle "Deathmatch" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
|
||||
exit 1
|
||||
fi
|
||||
flags=('-join' "${ipAddress}")
|
||||
flags=('-join' "${ipAddress}" '+Toby_SnapToTargetTargetingMode' '0')
|
||||
else
|
||||
# List of maps included:
|
||||
maps=(
|
||||
@ -281,6 +340,7 @@ case ${buttonCode} in
|
||||
'-host' "${players}"
|
||||
'-skill' "${skillLevel}"
|
||||
'-deathmatch'
|
||||
'+Toby_SnapToTargetTargetingMode' '0'
|
||||
'+set' 'sv_cheats' '1'
|
||||
'+fraglimit' "$fraglimit"
|
||||
'+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096'
|
||||
@ -346,6 +406,9 @@ case ${buttonCode} in
|
||||
0)
|
||||
if [[ "${gameOption%% *}" == "custom_game" ]]; then
|
||||
custom_game
|
||||
fi
|
||||
if [[ -e "${gamePath}/Toby-Doom-Level-Music-Renamer.pk3" ]] && [[ "${gameOption}" =~ TobyDoomLevels.wad ]]; then
|
||||
gameOption+=("${gamePath}/Toby-Doom-Level-Music-Renamer.pk3")
|
||||
fi
|
||||
launch_game ${gameOption[@]} "${flags[@]}"
|
||||
;;
|
||||
|
9
.launch/Legends of Kallisti.game
Normal file
9
.launch/Legends of Kallisti.game
Normal file
@ -0,0 +1,9 @@
|
||||
mudPath="${installPath}/tintin-kallisti-pack/kallisti.tin"
|
||||
pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
|
||||
else
|
||||
tt++ ${mudPath##*/}
|
||||
fi
|
35
.launch/Slay the Spire.game
Normal file → Executable file
35
.launch/Slay the Spire.game
Normal file → Executable file
@ -1,2 +1,33 @@
|
||||
pushd "${installPath}"
|
||||
"${launcherPath}/.scripts/SlayTheSpire.sh"
|
||||
#!/usr/bin/env bash
|
||||
|
||||
menulist() {
|
||||
# Args: menu options.
|
||||
# returns: selected tag
|
||||
local i
|
||||
local menuList
|
||||
for i in $@ ; do
|
||||
menuList+=("$i" "$i")
|
||||
done
|
||||
dialog --backtitle "Select a Slay the Spire profile." \
|
||||
--clear \
|
||||
--no-tags \
|
||||
--menu "$(gettext "Please select one")" 0 0 0 "${menuList[@]}" --stdout
|
||||
if [[ $? -ne 1 ]]; then
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
# Create a list of profiles
|
||||
profiles=($(jq -r '.lists | keys[]' "${HOME}/.config/ModTheSpire/mod_lists.json"))
|
||||
|
||||
if [[ "${#profiles[@]}" -ne 1 ]]; then
|
||||
currentProfile="$(menulist "${profiles[@]}")"
|
||||
else
|
||||
currentProfile="Default"
|
||||
fi
|
||||
|
||||
pushd "${HOME}/.local/games/SlayTheSpire"
|
||||
./MTS.sh --profile "$currentProfile"
|
||||
popd
|
||||
|
||||
exit 0
|
||||
|
@ -1,33 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
menulist() {
|
||||
# Args: menu options.
|
||||
# returns: selected tag
|
||||
local i
|
||||
local menuList
|
||||
for i in $@ ; do
|
||||
menuList+=("$i" "$i")
|
||||
done
|
||||
dialog --backtitle "Select a Slay the Spire profile." \
|
||||
--clear \
|
||||
--no-tags \
|
||||
--menu "$(gettext "Please select one")" 0 0 0 "${menuList[@]}" --stdout
|
||||
if [[ $? -ne 1 ]]; then
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
# Create a list of profiles
|
||||
profiles=($(jq -r '.lists | keys[]' "${HOME}/.config/ModTheSpire/mod_lists.json"))
|
||||
|
||||
if [[ "${#profiles[@]}" -ne 1 ]]; then
|
||||
currentProfile="$(menulist "${profiles[@]}")"
|
||||
else
|
||||
currentProfile="Default"
|
||||
fi
|
||||
|
||||
pushd "${HOME}/.local/games/SlayTheSpire"
|
||||
./MTS.sh --profile "$currentProfile"
|
||||
popd
|
||||
|
||||
exit 0
|
@ -4,7 +4,7 @@ pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator tt++ ${mudPath##*/}
|
||||
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
|
||||
else
|
||||
tt++ ${mudPath##*/}
|
||||
tt++ ${mudPath##*/}
|
||||
fi
|
||||
|
@ -21,3 +21,5 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||
fi
|
||||
|
||||
source ${BASH_SOURCE[0]%/*}/.mapmenu
|
||||
|
||||
flags=('+Toby_UniversalBeacon_UseUniversalSounds' 'true')
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Set up the pk3 and wad files
|
||||
gameOption=(
|
||||
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
||||
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
||||
"$gamePath/Addons/MENU/TobyV*_"*
|
||||
)
|
||||
|
||||
# Get a list of pk3s to use for the custom death match.
|
||||
@ -42,7 +42,7 @@ if [[ $buttonCode -eq 0 ]]; then
|
||||
dialog --backtitle "Deathmatch" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
|
||||
exit 1
|
||||
fi
|
||||
flags=('-join' "${ipAddress}")
|
||||
flags=('-join' "${ipAddress}" '+Toby_SnapToTargetTargetingMode' '0')
|
||||
else
|
||||
# List of maps included:
|
||||
maps=(
|
||||
@ -53,7 +53,9 @@ else
|
||||
"5" "Ocean Fortress (2-4 players)"
|
||||
"6" "Water Treatment Facility (2-4 players)"
|
||||
"7" "Phobos Base Site 4 (2-4 players)"
|
||||
"8" "Hangar Bay 18 (2-4 players)")
|
||||
"8" "Hangar Bay 18 (2-4 players)"
|
||||
"9" "Garden of Demon (2-4 players)"
|
||||
"10" "Outpost 69 (2-4 players)")
|
||||
# Array of how many players a given map supports in dialog rangebox syntax
|
||||
declare -a mapPlayers=(
|
||||
[1]="2 4"
|
||||
@ -63,7 +65,9 @@ else
|
||||
[5]="2 4"
|
||||
[6]="2 4"
|
||||
[7]="2 4"
|
||||
[8]="2 4")
|
||||
[8]="2 4"
|
||||
[9]="2 4"
|
||||
[10]="2 4")
|
||||
map="$(dialog --backtitle "Select Map" \
|
||||
--clear \
|
||||
--no-tags \
|
||||
@ -102,6 +106,7 @@ else
|
||||
'-host' "${players}"
|
||||
'-skill' "${skillLevel}"
|
||||
'-deathmatch'
|
||||
'+Toby_SnapToTargetTargetingMode' '0'
|
||||
'+set' 'sv_cheats' '1'
|
||||
'+fraglimit' "$fraglimit"
|
||||
'+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096'
|
||||
@ -112,12 +117,5 @@ else
|
||||
fi
|
||||
|
||||
gameOption+=("${pk3}"
|
||||
"${gamePath}/TobyDeathArena_V1-0.wad"
|
||||
"${gamePath}/Addons/MAPS/TobyDeathArena_V1-5.wad"
|
||||
)
|
||||
|
||||
# Check for and include if present a wad. Some people may not have it.
|
||||
if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then
|
||||
gameOption+=" DoomMetalVol7.wad"
|
||||
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=" DoomMetalVol6.wad"
|
||||
fi
|
||||
|
@ -17,15 +17,11 @@ gameOption=(
|
||||
|
||||
source ${BASH_SOURCE[0]%/*}/.mapmenu
|
||||
flags=(
|
||||
# Key bindings
|
||||
'+bind Alt +altattack'
|
||||
'+bind Ctrl +attack'
|
||||
'+bind G +User1'
|
||||
'+bind U unreloader'
|
||||
# Variables
|
||||
'+Toby_NarrationOutputType 2'
|
||||
'+pb_exaggeratedrecoil false'
|
||||
'+pb_weapon_recoil_mod_horizontal 0'
|
||||
'+pb_weapon_recoil_mod_vertical 0'
|
||||
'+vertspread true'
|
||||
'+Toby_SnapToTargetTargetingMode' '1'
|
||||
'+Toby_UniversalBeacon_UseUniversalSounds' 'true'
|
||||
)
|
||||
|
@ -26,14 +26,10 @@ fi
|
||||
|
||||
source ${BASH_SOURCE[0]%/*}/.mapmenu
|
||||
flags=(
|
||||
# Key bindings
|
||||
'+bind Alt +altattack'
|
||||
'+bind Ctrl +attack'
|
||||
'+bind G +User1'
|
||||
'+bind U unreloader'
|
||||
# Variables
|
||||
'+pb_exaggeratedrecoil false'
|
||||
'+pb_weapon_recoil_mod_horizontal 0'
|
||||
'+pb_weapon_recoil_mod_vertical 0'
|
||||
'+vertspread true'
|
||||
'+pb_exaggeratedrecoil' 'false'
|
||||
'+pb_weapon_recoil_mod_horizontal' '0'
|
||||
'+pb_weapon_recoil_mod_vertical' '0'
|
||||
'+vertspread' 'true'
|
||||
'+Toby_SnapToTargetTargetingMode' '1'
|
||||
'+Toby_UniversalBeacon_UseUniversalSounds' 'false'
|
||||
)
|
||||
|
@ -25,15 +25,10 @@ fi
|
||||
|
||||
source ${BASH_SOURCE[0]%/*}/.mapmenu
|
||||
flags=(
|
||||
# Key bindings
|
||||
'+bind Alt +altattack'
|
||||
'+bind Ctrl +attack'
|
||||
'+bind G +User1'
|
||||
'+bind U unreloader'
|
||||
# Variables
|
||||
'+Toby_NarrationOutputType 2'
|
||||
'+pb_exaggeratedrecoil false'
|
||||
'+pb_weapon_recoil_mod_horizontal 0'
|
||||
'+pb_weapon_recoil_mod_vertical 0'
|
||||
'+vertspread true'
|
||||
'+pb_exaggeratedrecoil' 'false'
|
||||
'+pb_weapon_recoil_mod_horizontal' '0'
|
||||
'+pb_weapon_recoil_mod_vertical' '0'
|
||||
'+vertspread' 'true'
|
||||
'+Toby_SnapToTargetTargetingMode' '1'
|
||||
'+Toby_UniversalBeacon_UseUniversalSounds' 'false'
|
||||
)
|
||||
|
14
.launch/TobyCustom/README.ProjectBrutality
Normal file
14
.launch/TobyCustom/README.ProjectBrutality
Normal file
@ -0,0 +1,14 @@
|
||||
In your ~/.config/gzdoom/gzdoom.ini file, if you do not have these four sections create them at the end. If they are there, you can just update the keybindings. It should look like this:
|
||||
|
||||
|
||||
[Doom.PBInteractions.Bindings]
|
||||
|
||||
[Doom.PBInteractions.DoubleBindings]
|
||||
|
||||
[Doom.PBAdvMoves.Bindings]
|
||||
F=+User2
|
||||
G=+User1
|
||||
U=unreloader
|
||||
V=+User4
|
||||
|
||||
[Doom.PBAdvMoves.DoubleBindings]
|
@ -12,8 +12,8 @@ check_dependencies "${gamePath}/Addons/WOLFENDOOM/orig_enh.pk3" \
|
||||
# Set up the pk3 and wad files
|
||||
gameOption=(
|
||||
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
||||
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
||||
"$gamePath/Addons/DOOM/TobyV${tobyVersion%%-*}_"*"Proximity"*".pk3"
|
||||
"$gamePath/Addons/MENU/TobyV*_"*
|
||||
"$gamePath/Addons/DOOM/TobyV*_"*"Proximity"*".pk3"
|
||||
)
|
||||
|
||||
menuList=("${gamePath}/Addons/WOLFENDOOM/orig_enh.pk3" "WolfenDoom"
|
||||
@ -35,4 +35,6 @@ flags=(
|
||||
'+bind X turn180'
|
||||
# Variables
|
||||
'+Toby_NarrationOutputType 2'
|
||||
'+Toby_SnapToTargetTargetingMode' '1'
|
||||
'+Toby_UniversalBeacon_UseUniversalSounds' 'true'
|
||||
)
|
||||
|
@ -111,13 +111,16 @@ check_dependencies() {
|
||||
|
||||
# Function to open a terminal emulator
|
||||
terminal_emulator() {
|
||||
# Arguments workingDirectory, rest of arguments
|
||||
local workingDir="$1"
|
||||
shift
|
||||
terminals=(
|
||||
"lxterminal"
|
||||
"mate-terminal"
|
||||
"gnome-terminal"
|
||||
)
|
||||
for i in "${terminals[@]}" ; do
|
||||
if command $i --working-directory="${game%/*}" -e $* ; then
|
||||
if command $i --working-directory="${workingDir}" -e "$@" ; then
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user