"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

Wasteland 2

Rektal 15.03.2012 - 12:45 5330 30
Posts

Vinci

hatin' on summer
Registered: Jan 2003
Location: Wien
Posts: 5818
Ich halt das mal hier fest für alle die native unter Linux spielen wollen...

Falls bei jemandem das Spiel am Ende des Loading Screens abschmiert, da schafft ein wenig am shell script rumpfuschn abhilfe (ulimit -n) ->

Code:
#!/bin/bash
# GOG.com ([url]www.gog.com[/url])
# Wasteland 2

# [url]https://steamcommunity.com/app/404730/discussions/0/483367798499585406/[/url]
ulimit -n 4096

# Initialization
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${CURRENT_DIR}"
source support/gog_com.shlib

# Game info
GAME_NAME="$(get_gameinfo 1)"
VERSION="$(get_gameinfo 2)"
VERSION_DEV="$(get_gameinfo 3)"

# Actions
run_game() {
 echo "Running ${GAME_NAME}"
 local bin32_name="WL2"
 local bin64_name="$bin32_name"
 local bin_path32="$CURRENT_DIR/game/"
 local bin_path64="$bin_path32"
 local lib_path32="$CURRENT_DIR/lib/"
 local lib_path64="$lib_path32"
 execute_game "${bin32_name}" "${bin64_name}" "${bin_path32}" "${bin_path64}" "${lib_path32}" "${lib_path64}"
}

default() {
  run_game
}

# Options
define_option "-s" "--start" "start ${GAME_NAME}" "run_game" "$@"

# Defaults
standard_options "$@"
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz