Форум

How do I pass launch params like LD_PRELOAD

Автор Replies
ac90b671 Wednesday 31 December 2014 at 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 Wednesday 31 December 2014 at 20:19
petch
Developer

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

 

Вы находитесь здесь: Index > PlayOnLinux > How do I pass launch params like LD_PRELOAD