Forums

How to change Wine launch options?

Auteur Réponses
Arcades Mardi 19 Mars 2013 à 16:57
ArcadesAnonymous

Hello,

I'm new to the forum. Please to meet you.

First of all... where is the search function? Am I so blind to miss it? Yes...

I didn't find any other similar post but forgive me if a similar question has been asked.


I'd like to change the command PlayOnLinux use to launch, specifically I found around internet (lost the original post) a way to show the FPS framerate of wine-applications with this command:

WINEDEBUG=fps wine application.exe 2>&1 | tee /dev/stderr | sed -u -n -e '/trace/ s/.*approx //p' | osd_cat --lines=1 --font="lucidasanstypewriter-bold-18" --color=yellow;


this give a Fraps-like FPS counter on top-left of the screen (this works with xosd installed on the system)

How can I use this command to launch my games?
Specifically I want to add this command to Guild Wars 2 (by the way, thank you! It works really good with PlayOnLinux).

Thank you for your answer.


Ronin DUSETTE Mardi 19 Mars 2013 à 17:15
Ronin DUSETTE

You could most likely do something like this:


WINEPREFIX=nameofyourprefixforguildwars WINEDEBUG=fps wine application.exe 2>&1 | tee /dev/stderr | sed -u -n -e '/trace/ s/.*approx //p' | osd_cat --lines=1 --font="lucidasanstypewriter-bold-18" --color=yellow;

Citer


But I am not sure. You can direct things like this to a specific WINEPREFIX, which in POL, would be like, /home/foo/.PlayOnLinux/wineprefix/nameofyourprefix/

Hope this helps a bit.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Mardi 19 Mars 2013 à 17:40
Ronin DUSETTE

Hello,

I'm new to the forum. Please to meet you.
First of all... where is the search function? Am I so blind to miss it? Yes...
I didn't find any other similar post but forgive me if a similar question has been asked.


Quote from Arcades

Its a search bar at the top of this page:

[url]http://www.playonlinux.com/en/forums.html[/url]

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Arcades Mardi 19 Mars 2013 à 19:19
ArcadesAnonymous

Doh! I'm a moron. I've look for the entire site.
For some strange reason CTRL+F failed too.

I have two version of wine: the standard one supplied by yum (I'm on Fedora) and the -
guildwars version downloaded with PlayOnLinux.
How do I use the POL version? Manually from a console? From inside POL?

Forgive me for the noobish questions.
Ronin DUSETTE Mardi 19 Mars 2013 à 19:45
Ronin DUSETTE

haha. no worries.

So, Inside POL, when you install it, you click Configure, and when the next window comes up, click on the game that you are wanting to change the Wine version for, and on the right side, you will see a drop-down menu with different versions of Wine in it.

If you do NOT see, this, then go to POLs main window, click tools, and then Manage Wine Versions. There, you can install different versions of Wine into POL from a big list of them. Its very easy. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Mardi 19 Mars 2013 à 19:55
petch

Hi,

$WINEDEBUG is under PlayOnLinux control, outputs of Wine are already heavily redirected (for logging), so this is not going to be easy.
Development version gives you some control over WINEDEBUG flags, per virtual drive, but this is an experimental feature, not sure it will make it in the next release.
For redirections I don't know what could be done.
I remember GNU_Raziel saying he could add this "fps display" feature a while ago, but code has changed, so i'm not sure if what he had in mind can still be done easily.
Arcades Mercredi 20 Mars 2013 à 13:00
ArcadesAnonymous

Thank you for both of your reply.
It's not really important since Guild Wars 2 have a fps counter but it's very uncomfortable.
I have a few ideas: I will play with the debug version of POL, change some code or I'll rename the wine binaries and substitute it with a script that fire it with that commands.