NOGDUS
September 24, 2018, 04:23:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Blogs Help Search Tags Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Windows Games Laggy in Wine? (Possible Solution)  (Read 2604 times)
0 Members and 1 Guest are viewing this topic.
Richard Marks
202192397
Administrator
Member
*

Respect: 3425
Offline Offline

Posts: 1027


happy


« on: July 24, 2008, 03:51:38 PM »

Use this to launch your favorite complicated 3d games in wine, using a new X server instance-- should reduce lag times.
Code:
#!/bin/sh
#
# be sure to chmod +x this file
# save it as launch_yourgamenamehere.sh
# run it from a terminal
# Launch script for running complex games in wine

# open new X session on display #3
# if you don't use nvidia remove the nvidia part
sudo X :3 -ac -terminate & nvidia-settings --load-config-only

# change to the game directory
cd "$HOME/.wine/drive_c/Program\ Files/MyGame/"

# wait 2 seconds because X doesn't start immediately
sleep 2

# launch the game
# make sure you provide the whole path to the game exe
DISPLAY=:3 WINEDEBUG=-all wine "$HOME/.wine/drive_c/Program\ Files/MyGame/game.exe"
Logged

WhoNeedszzz
Manager / Reaper
Member
*

Respect: 3
Offline Offline

Posts: 98


Tap into the limitess supply of community!


« Reply #1 on: July 24, 2008, 05:54:05 PM »

Ugh don't post before you know it works. Which btw it doesn't.
Logged

MJC
Richard Marks
202192397
Administrator
Member
*

Respect: 3425
Offline Offline

Posts: 1027


happy


« Reply #2 on: July 25, 2008, 04:25:42 PM »

Ugh don't post before you know it works. Which btw it doesn't.

don't blame me I'm just a messenger  Grin

Original topic:

http://gaming.gwos.org/doku.php/wine:winestuff
Logged

WhoNeedszzz
Manager / Reaper
Member
*

Respect: 3
Offline Offline

Posts: 98


Tap into the limitess supply of community!


« Reply #3 on: July 25, 2008, 09:47:26 PM »

But the rule of thumb is to not tell people about something unless you know it works...
Logged

MJC
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!