Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to add the -opengl parameter to a file which is in

/home/.PlayOnLinux/wineprefix/WorldOfWarcraft/drive_c/Program Files/world of Warcraft/Wow.exe

share|improve this question
Are you open it with Wine? – Dan Oct 15 '11 at 19:06
up vote 5 down vote accepted

Go to your World of Warcraft wine drive folder, go to the WTF folder and then edit your file and add this line at the end (or modify it if already exists): SET gxApi "opengl".

This will make your wow.exe use opengl everytime you run it.

share|improve this answer
Great, thank you a lot!. But I didn't solve my problem :(. I want to fix these pixelated trees: - However, you've solved this specific question, so I'll accept this answer =P. Thanks. – Diegov Oct 15 '11 at 19:15
I can help you with that :) Can you try to run the exact same thing on ubuntu-2d and tell me if anything changed? Also knowing your graphics card would be nice. – Bruno Pereira Oct 15 '11 at 19:22
Dude, you're a genius. I tried changing to Ubuntu-2d LOGGING OUT and didn't fix it. But I recently tried RESTARTING my laptop and using the same Ubuntu-2d session and WORKS!. Thank you a lot man. – Diegov Oct 15 '11 at 19:36
wlcm, glad to help! FOR THE HOOOOOORDE!!!! – Bruno Pereira Oct 15 '11 at 19:36
Very useful! A diferrent way is to create a DWORD key in CURRENT_USER/Software/Blizzard/Warcraft with the name "Afx OpenGL" and set it to 1. – Emerald214 Feb 18 '12 at 18:08

Open your Terminal, go to the directory where you have installed WoW, and run WoW.exe manually:

wine WoW.exe -opengl
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.