Steam for Linux > 일반 토론 > 제목 정보
The Allied Fleet 2012년 12월 20일 오후 2시 18분
Can't add WINE games into game library
I would like to have the steam overlay on my WINE-based games, unfortunately adding the shortcut to Steam doesn't work properly. Does anybody know a workaround or fix for this issue? Thanks :)
3개 중 1-3 표시중
< >
[ZOMBIE]Cavaleiro 2012년 12월 20일 오후 3시 50분 
I don't know how to use the overlay on non-steam games, but I am able to add wine games and other non-steam games.

First method: On the first time I tried to add a non steam game I created a .desktop file for the game:
[Desktop Entry]
Name=Xonotic
Comment=FPS
Exec=~/Fun/Xonotic/xonotic-linux64-sdl
Type=Application
Categories=Games;

Saved as xonotic.desktop. Now go to "Add a non-steam game to my library", select browse and navigate to the file. I am not sure if I really need to keep the file in the same directory as the game but I did it.

The second method worked for wine:
Just add anything using the "add a game" window. Then just right click on the game or app you added and go to properties. Now do something like this:

Name:
StarCraft
Target:
wine "~/.wine/drive_c/Program Files (x86)/StarCraft/StarCraft.exe"
Start in:
wine "~/.wine/drive_c/Program Files (x86)/StarCraft/"

This method probably works for linux native non-steam games too.
medv4380 2013년 1월 29일 오후 1시 03분 
Method 1 doesn't work under Ubuntu 12.10 64bit. Method 2 has some weird leak. First game I added was Sims 3 Under Wine using and environment flag to choose the wine Install. Worked Fine. Added Diablo 3 which has a different wine install, but when launching it Sims 3 comes up. Added Neverwinter Nights which is the Native Linux Client, and Sims 3 comes up. There is some sort of leak that Method 2 trips over, and is probably why method 1 doesn't work. However, when it works the Overlay does not work for me. I suspect because I'm in Unity and Cannot use a Virtual Desktop and not have the Unity Bar force itself to the top when the game goes full screen.
Doggybag 2013년 2월 10일 오후 5시 59분 
Thanks, I was able to get method #2 to work for me under Fedora 17 / KDE4 (which was probably a bad choice for setting up games, but I never want to see Ubuntu's Unity desktop again). I was trying out a wine install on an external drive so I have something like:

Name:
Starcraft II

Target:
WINEPREFIX=/media/usb-mydrivewinedows /usr/bin/wine C:\\games\\Starcraft\ II\\Starcraft\ II.exe

Start in:
/media/usb-mydrive/games/Starcraft\ II

Method #1 didn't work for me. KDE/plasma doesn't seem to use the ~/Desktop in a way that allowed me to do that correctly and I didn't bother playing around with it under the gnome desktops.
3개 중 1-3 표시중
< >
페이지당: 15 30 50
게시된 날짜: 2012년 12월 20일 오후 2시 18분
게시글: 3