You are not logged in.
Pages: 1
Hello, i have problem o Warcraft 3 Frozen Throne game. When i enter to game in my (command) optirun , i see the screen it's sizing before game ist start and i have max resolution 1024 on ... Only on Fluxbox/ Openbox screen stretches and is good. On *BOX when i go to options i have crash games on wine. But i only try get game on XFCE.
well my question is how i can play on optimus method in linux. If i try newer game it's ok but problem it's with old games. I love this game and i must fix that . Everything it's okay only screen resolution it's bad. I use on my laptop a XFCE4 with intel/nvidia drivers. i try a command -fullscreen and another but don't work. Only on openbox this command work well. i don't know why on other WM it's very hard to make this good.
Wine 1.7.51
Nvidia: 352
Intel : (last newer)
I try on with WINEARCH=win32 WINEPREFIX=win32 and normally on 64bit. On intel and on nvidia but don't work.
Oh , i see on nvidia-settings a resolution, but i can't change. it's allways 640x480 and can't change this paramentrs. Yeah if a delete bumblebee and install only nvidia and set xorg maybe i can fix this but bumblebee it's important for me beacuse i most time work and play only when i have time.
Sorry for my no good english, but it's very important. Thanks and waiting for answer.
Offline
Hi,
I tried to run Diablo 2 in fullscreen a few weeks ago through wine with an Openbox setup. It wouln't work either. What I did to "simulate" fullscreen was to use the following script:
#!/bin/bash
pkill tint2
mv /home/florian/.config/openbox/rc.xml /home/florian/.config/openbox/rc_unactive.xml
mv /home/florian/.config/openbox/rc_diabloii.xml /home/florian/.config/openbox/rc.xml
openbox --reconfigure
{ WINEPREFIX=/home/florian/.wine32 WINEARCH=win32 wine /home/florian/.wine32/drive_c/Program\ Files/Diablo\ II/Diablo\ II.exe -w -fr 60 -clientexit; xrandr --output eDP1 --mode 640x480; } | cat
xrandr --output eDP1 --mode 1920x1080
mv /home/florian/.config/openbox/rc.xml /home/florian/.config/openbox/rc_diabloii.xml
mv /home/florian/.config/openbox/rc_unactive.xml /home/florian/.config/openbox/rc.xml
openbox --reconfigure
tint2 &Basically what I did was to kill the taskbar and change the screen resolution to the game's resolution with the xrandr command (I don't remember why I did this after starting the game, I think it should also work before starting the game).
Then I used an Openbox configuration file that disabled the decoration of the windows so that there is no titlebar and such stuff. To wait until the game closes I used
| cat, and of course after that one might want to restore the original settings ![]()
Edit: I don't know how it works in xfce but the overall procedure might be similar.
Last edited by fl0rian (2015-09-09 18:10:02)
Offline
Pages: 1