You are not logged in.
I have the following script for launching all my games
#!/bin/bash
export GAME=$1
export PATHY="/files/games/"
export WINEVD="wine explorer /desktop=$1,1920x1080"
export TRICK="win7 glsl=disabled"
export COM="wine"
# GAMMING TWEAKS
echo "Setting up.."
export WINEDEBUG=-all
export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1
echo "Setup complete. Starting..."
# STEAM GAME FIX
function steamgame {
export WINEPREFIX=/home/axelectrik/.wine-steam
COM=$WINEVD
winetricks $TRICK
$COM C:\\\\windows\\\\command\\\\start.exe steam://rungameID/$GAMEID
}
###########################################################################
while [ "$1" != "" ]; do
case $1 in
#THE ELDER SCROLLS ONLINE
eso)
echo "**The Elder Scrolls Online**"
GAMEID="306130"
steamgame
;;
# ASSASSINS CREED
assassins)
echo "**Assassins Creed**"
GAMEID=15100
steamgame
;;
# BIOSHOCK
bioshock)
echo "**Bioshock**"
GAMEID="7670"
steamgame
;;
# BIOSHOCK 2
bioshock2)
GAMEID="8850"
TRICK="win7 glsl=disabled mwo=force"
steamgame
;;
# LEGO MARVEL SUPERHEROES
lego-marvel)
GAMEID="249130"
echo "LEGO: Marvel Superheroes**"
steamgame
;;
# LEGO HARRY POTTER 1-4
lego-harry)
GAMEID=21130
TRICK="win7 mwo=disable"
echo "**Harry Potter: Years 1-4**"
steamgame
;;
# LEGO HARRY POTTER 5-7
lego-harry2)
GAMEID="204120"
echo "**Harry Potter: Years 5-7**"
steamgame
;;
# FOWL SPACE
fowlspace)
GAMEID="109500"
set-win32
echo "**Fowl Space**"-
steamgame
;;
# DARKSGAMEIDERS
darksGAMEIDers)
GAMEID="50620"
echo "** DarksGAMEIDers **"
steamgame
;;
# MAJESTY 2
majesty2)
GAMEID="25980"
echo "**Majesty 2**"
steamgame
;;
#BATMAN ARKHAM ASYLUM
batmanaa)
GAMEID="35140"
TRICK="win7 glsl=disabled mwo=force"
echo "**Batman: Arkham Asylum**"
steamgame
;;
#BATMAN ARKHAM CITY
batmanac)
GAMEID="200260"
TRICK="win7 glsl=disabled mwo=force"
echo "**Batman: Arkham Asylum**"
steamgame
;;
#THE WITCHER
thewitcher)
GAMEID="20900"
TRICK="winxp glsl=disabled mwo=force"
steamgame
;;
# LEFT 4 DEAD
left4dead)
GAMEID="500"
echo "**LEFT 4 DEAD**"
steamgame
;;
# CLICKER HEROES
clicker-heroes)
GAMEID="363970"
echo "**CLICKER HEROES**"
steamgame
;;
# DEAD ISLAND RIPTGAMEIDE
deadislandr)
GAMEID="216250"
TRICK="win7 glsl=disabled mwo=disable"
echo "**DEAD ISLAND RIPTGAMEIDE**"
steamgame
;;
# FALLOUT NEW VEGAS
falloutnv)
GAMEID="22380"
TRICK="win7 glsl=disabled mwo=force"
echo "**FALLOUT NEW VEGAS**"
steamgame
;;
# Grand Theft Auto III
gta3)
GAMEID="12100"
TRICK="mwo=disable"
echo "**GRAND THEFT AUTO III**"
steamgame
;;
# Grand Theft Auto Episodes from Liberty CIty
gtaelc)
GAMEID="12220"
echo "**GRAND THEFT AUTO EPISODES FROM LIBERTY CITY**"
steamgame
;;
# Grand Theft Auto SAN ANDREAS
gtasa)
GAMEID="12120"
echo "**GRAND THEFT AUTO SAN ANDREAS**"
steamgame
;;
# Grand Theft Auto Episodes VICE CITY
gtavc)
GAMEID="12110"
echo "**GRAND THEFT AUTO VICE CITY**"
steamgame
;;
# Grand Theft Auto IV
gta4)
GAMEID="12210"
echo "**GRAND THEFT AUTO IV**"
steamgame
;;
###################END OF STEAM GAMES##########################################
# AGE OF EMPIRES 2: THE FORGOTTEN
aoe2)
cd "$PATHY""Age of Empires II HD The Forgotten/"
echo "**Age of Empires II: The Forgotten**"
wine AoK\ HD.exe & sleep 2 && wmctrl -r "Age of Empires II: HD Edition" -e 0,1920,0,1920,1080
;;
# FARM FRENZY
farmfrenzy)
cd "$PATHY""Farm Frenzy 2"
echo "**Farm Frenzy 2**"
$WINEVD game.exe
;;
# HEARTHSTONE
hearthstone)
cd "$PATHY""Hearthstone"
echo "**Hearthstone**"
wine Hearthstone.exe
;;
# DIABLO 3
diablo)
cd "$PATHY""Diablo III"
echo "**Diablo III**"
setarch i386 -3 wine "Diablo III.exe" -launch -d3d
;;
# FABLE
fable)
cd "$PATHY""Fable The Lost Chapters"
TRICK="winxp gsls=disabled mwo=disable mfc42 vcrun6 wmp9 devenum"
export WINEPREFIX=/home/axelectrik/.wine-steam
$COM Fable.exe
;;
# MINECRAFT
minecraft)
echo "**Minecraft**"
java -jar "$PATHY""Minecraft/minecraft launcher/Minecraft Launcher.exe"
;;
# LIMBO
limbo)
cd "$PATHY""LIMBO"
export WINEPREFIX="/home/axelectrik/.wine-steam"
winetricks d3dx9_36 &> /dev/null
echo "**Limbo**"
wine LIMBO.exe
;;
# AGE OF MYTHOLOGY
aomx)
cd "$PATHY""Age of Mythology"
echo "**Age of Mythology**"
$WINEVD aomx.exe -opengl
;;
# PLANTS VS ZOMBIES
pvz)
cd "$PATHY""Plants vs. Zombies"
echo "**Plants vs Zombies**"
wine PlantsVsZombies.exe -changedir
;;
# DOOM 3
doom)
cd "$PATHY""Doom 3"
echo "**DOOM 3**"
export WINEPREFIX="/home/axelectrik/.wine-steam"
wine DOOM3.EXE
;;
# THE ELDER SCROLLS: SKYRIM
skyrim)
cd "$PATHY""The Elder Scrolls/The Elder Scrolls V Skyrim"
echo "The Elder Scrolls V: Skyrim**"
wine TESV.exe
;;
# EMPIRE EARTH 2
ee2)
cd "$PATHY""Empire Earth II"
winetricks mwo=disable
export WINEPREFIX="/home/axelectrik/.wine-steam"
echo "Fixed Mouse bug (disabled mwo)"
echo "**Empire Earth II: The Art of Conquest**"
$WINEVD EE2X.exe
;;
# SIMCITY3000
simcity)
cd "$PATHY""SimCity 3000/Game"
echo "**SimCity 3000**"
$WINEVD SC3.EXE -w
;;
# WORLD OF WARCRAFT - LICH KING
wow-lich)
cd "$PATHY""World of Warcraft - WoW Core"
echo "**World of Warcraft: Wrath of the Lich King**"
wine Wow.exe
;;
# BATTLE.NET LAUNCHER
battle)
cd "$PATHY""Battle.net"
echo "**Battle.net Launcher**"
wine "Battle.net Launcher.exe"
;;
# THE SIMS 3
sims3)
cd "$PATHY""The Sims 3/The Sims 3/Game/Bin"
echo "**The Sims 3: Complete Collection**"
wine TS3.exe
;;
# COMMING OUT
commingout)
cd "$PATHY""Coming Out"
echo "**Comming Out**"
wine COOT\ Demo\ 2014.exe
;;
# SIMCITY 4 DELUXE
simcity4)
cd "$PATHY""SimCity 4 Deluxe/Apps"
echo "SimCity 4: Deluxe Edition**"
$WINEVD Simcity\ 4.exe -CustomResolution:enabled -r1920x1080x32
;;
# WORLD OF WARCRAFT
wow)
export WINEPREFIX=/home/axelectrik/.wow
cd "$PATHY""World of Warcraft"
echo "**World of Warcraft: Warlords of Draenor**"
wine Wow-64.exe
;;
# WORLD OF WARCRAFT x86
wow-86)
cd "$PATHY""World of Warcraft"
set-win32
echo "World of Wacraft: Warlords of Draenor (x86)"
wine Wow.exe
;;
# CIVILIZATION V
civilizationv)
cd "$PATHY""SID Meier's Civilization 5"
echo "**SID Meier's Civilization 5**"
wine CivilizationV.exe
;;
###########################################################################
esac
shift
doneHowever when making a launcher for steam I would try everything possible but it won't run the game directly.
It opens steam (Iget the annoying steamwebhelper.exe error :S ) and that's all, I would have to open the game from the Steam (wine) window but won't open automatically.
This is an example of the .desktop file I'm using for Steam:
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Assassins Creed
Type=Application
Exec=game assassinsThe game automatically opens running either
game assassinsor
xdg-open assassins.desktop... but never through Steam
Offline