Forums

How do I pass launch params like LD_PRELOAD

Auteur Réponses
ac90b671 Mercredi 31 Décembre 2014 à 10:50
ac90b671Anonymous

So I launch world of warcraft with wine using this command:
 

LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 WINEDEBUG=-all WINEPREFIX=~/.wine WINEARCH=win64 wine Wow-64.exe -opengl

I'd like to switch to Playonlinux but don't know how to convert the lines:

LD_PRELOAD="libpthread.so.0 libGL.so.1"

and 

__GL_THREADED_OPTIMIZATIONS=1

to the playonlinux interface.

Any help would be greatly appreciated!

Thanks in advance

petch Mercredi 31 Décembre 2014 à 20:19
petch

They're several ways, one should be

Configure button > (select the shortcut) > Miscellaneous tab > Statements to execute before the program:

export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1

 

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com