LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 12-29-2015, 05:15 PM   #1
lukeer
Member
 
Registered: Feb 2013
Posts: 58

Rep: Reputation: Disabled
q4wine works, q4wine-cli doesn't


Hi forum,

I very much enjoy playing Flatout2 via wine 1.6.2-0ubuntu4 on Linux Mint 17. I configured q4wine 1.1-r2-1 to create a virtual desktop 1024x768 for the game. The game itself is set to run in 1680x1050, which is as well my desktop's as the monitor's native resolution. This works surprisingly well.

There is a shortcut in the start menu which runs
Code:
/usr/bin/q4wine-cli -p "Default"  -d "gms"  -i "FlatOut2"
As far as I understand, that should do exactly the same as double-clicking on the FlatOut2 icon (results described above).

But the actual 3D racing game world stays black. Only the overlays like speedometer, lap count, position, etc are there at 5 fps.

How can I change the shortcut to work as if I clicked on the icon in q4wine gui?

Last edited by lukeer; 01-03-2016 at 05:05 AM.
 
Old 12-30-2015, 04:48 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i'm a little confused now.
can you please post both commands, the one that works as expected, and the other one?
hint: you can find the other command in /usr/share/applications/flatout2.desktop (filename might be different) after "Exec=".
might also be in some other applications directory, depending how you installed it:
Code:
sudo find / -type d -name applications
 
Old 12-30-2015, 07:15 AM   #3
lukeer
Member
 
Registered: Feb 2013
Posts: 58

Original Poster
Rep: Reputation: Disabled
Sorry, I didn't make that clear enough: The icon (the one which works) is not on the desktop but within the q4wine gui under "Programs"->"Default"->"gms"->"FlatOut2". The "gms" is the one in the "-d" option for q4wine-cli.
 
Old 12-31-2015, 03:13 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it must still be possible to get at that other command.
it stands to logic that you have to find out what that other (hidden?) command is doing differently than yours, if you want this solved.
maybe you should ask the developers? i do not have neither flatout2 nor q4wine installed.
hint: wine usually stores its stuff in ~/.wine. looked there?

ps:
in linux, .desktop files don't necessarily have to be on the desktop.
they are what's behind most menu entries. open a terminal and type "ls /usr/share/applications" to see what i mean.

Last edited by ondoho; 12-31-2015 at 03:15 AM.
 
Old 01-03-2016, 05:04 AM   #5
lukeer
Member
 
Registered: Feb 2013
Posts: 58

Original Poster
Rep: Reputation: Disabled
Nope, no such thing as a FlatOut2.desktop file. But the link in the start menu now works nonetheless without using q4wine at all. Now it's
Code:
wine "/path/to/exectutable/Flatout2.exe"
with the settings (virtual desktop 1024x768 + emulate Windows98) set in the "configure wine" application.

By the way: I had to experiment a lot to get those settings. Is there a methodical way to investigate on what settings an application will work with in wine?

Last edited by lukeer; 01-03-2016 at 05:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Q4Wine Randymanme Linux Mint 1 09-10-2015 02:54 PM
Q4wine in LUBUNTU 12.04 Help ivtec Linux - Software 3 06-07-2013 08:14 PM
wine, q4wine and the KMenu P42 Slackware 1 04-08-2011 10:23 PM
LXer: Q4Wine 0.119 has been released LXer Syndicated Linux News 0 08-11-2010 01:02 PM
LXer: q4wine 0.114 has been released LXer Syndicated Linux News 0 11-15-2009 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration