Tuesday, August 30, 2016

World of Warcraft on Linux with Wine with Screenshots and Video

Installing World of Warcraft (WoW) in Ubuntu or Linux Mint (with Wine) is pretty easy, however there are various crashes that can occur, especially if you're not using the latest Wine and also, the FPS can be pretty low without a few tweaks, so I though I'd document everything I did to get World of Warcraft to work properly on my laptop (Nvidia Optimus, so I was able to test the game with both Nvidia and Intel graphics), even in large scale PvPs and hopefully, this will help you play WoW under Ubuntu or Linux Mint.
 

Install World of Warcraft in Ubuntu / Linux Mint

1. Download the WoW installer (you can of course use a CD/DVD instead).

2. Optional but recommended Install the latest Wine development release:
 
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install --install-recommends wine-devel winehq-devel

For better FPS with the dxd9 gxapi, you can use Wine Staging with the CMST option enabled (but note that wine-staging tends to get buggy from time to time).

3. Right click the downloaded installer, right click it and select Open With > Wine Windows Program Loader (update: with newer Wine versions, double clicking the installer should work too):

Launch with Wine Ubuntu

Then install Battle.net:

Battle.net installer Ubuntu

Update: a recent Battle.net update broke the UI for Linux users with Intel graphics. You can find a workaround here: Partial Workaround For Black / Distorted Battle.net UI On Linux (Wine) With Intel Graphics

4. And finally, launch Battle.net from the menu / Dash (the icon should also be on your desktop unless you've deselected that option) and install World of Warcraft:

Battle.net Ubuntu

Fixing various potential World of Warcraft crashes (Ubuntu / Linux Mint w/ Wine)
A. If the World of Warcraft installer / Battle.net crashes

If Battle.net crashes on start:

WoW Battle.net crash Ubuntu

Fix it by launching winecfg (type "winecfg" in a terminal) and on the Libraries tab, under "New override for library", enter "dbghelp" (without the quotes), then click "Add". Next, select "dbghelp" under "Existing overrides" and click "Edit" and in the new pop-up, set it to "Disable":

winecfg dbghelp Ubuntu

Update August 2016: after some Battle.net update, the app crashes due to some issues with msvcp140. To fix this issue, open winecfg (type "winecfg" in a terminal), and on the Libraries tab, enter "msvcp140", then click "Add".

Next, select "msvcp140", click "Edit", and set it to "Native then Builtin".

Update 2 August 2016: if Battle.net still crashes, change the "dbghelp" library override settings (see above) to "Native, then Builtin".


B. If you're on 64bit and the World of Warcraft 64bit game client crashes with an error similar to this:

ERROR #132 (0x85100084) Fatal exception!

Program: C:\Program Files\World of Warcraft\Wow-64.exe
ProcessID: 57
Exception: 0xC0000005 (ACCESS_VIOLATION) at 0033:0000000005A11A71

The instruction at "0x0000000005A11A71" referenced memory at 
"0x00007F38ACD6C028". The memory could not be "read".
 
... you'll need to force World of Warcraft to use the 32bit client. If you use Battle.net to launch the game (that's only possible if you don't use OpenGL, see below), you can change WoW to use the 32bit client from the Battle.net settings available via left-click on the blue icon on the top-left Battle.net corner - the menu is not responsive and unfortunately you have to click quite a few times to get it to work.

Or, you can launch World of Warcraft using a script - adding "-noautolaunch64bit" will force the 32bit WoW client to be launched instead of the 64bit one. If you're already using a script, simply add "-noautolaunch64bit" at the end of your WoW launch command. Or, if you're not using a script already, create a new text file in your home folder - let's call it "wow" and in this file, paste the following:

on Ubuntu / Linux Mint 32bit:

#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files/
World of Warcraft/WoW.exe" -noautolaunch64bit

(replace "YOURUSERNAME" with your username; you may need to adjust your WoW.exe path!)

on Ubuntu / Linux Mint 64bit:

#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files 
(x86)/World of Warcraft/WoW.exe" -noautolaunch64bit

(replace "YOURUSERNAME" with your username; you may need to adjust your WoW.exe path!)


Then save the file and make it executable using the following command (assuming you've created the "wow" file in your home directory):
 
chmod +x ~/wow
 
Then double click the "wow" file and run it to launch WoW (you can also launch it from the command line using "~/wow", or edit the World of Warcraft desktop file to point to your newly created script).

C. 64bit only: if you're using Bumblebee and World of Warcraft crashes with the following error:
 
X Error of failed request:  GLXUnsupportedPrivateRequest
Fix it by installing the 32bit virtualgl-libs:
sudo apt-get install virtualgl-libs:i386

D. If World of Warcraft fails at the login screen (it's unable to connect) when launching the game through Battle.net and you're using the OpenGL gxapi, you'll find a work-around below, under the WoW Linux/Wine optimizations and tweaks - see "A. Use OpenGL".
 
 

Optimizations and tweaks (increase the World of Warcraft FPS under Linux, etc.)


A. Use OpenGL With the latest World of Warcraft 7.0.3 patch, using OpenGL is no longer usable due to the various visual glitches it causes, so I no longer recommend it. However, I'll leave the instructions here in case you want to try it.

There are numerous reports saying that World of Warcraft runs better using OpenGL. In my test, I did indeed get a much higher FPS when using Nvidia graphics, but not using Intel graphics. However, this depends on hardware so it may not be the case for you.

Unfortunately, running World of Warcraft with OpenGL from Battle.net is not possible at the time I'm writing this article, at least it wasn't in my test (and there are others who are experiencing the same issue) because World of Warcraft fails to connect. There is a work-around though.

To get World of Warcraft to connect when using OpenGL, you need to launch it using a script. To do this, create a new text file in your home folder - let's call it "wow" and in this file, paste the following:

On Ubuntu / Linux Mint 32bit:


#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files/
World of Warcraft/WoW.exe" -opengl

(replace "YOURUSERNAME" with your username; you may need to adjust your WoW.exe path!)

On Ubuntu / Linux Mint 64bit:


#!/bin/sh

WINEDEBUG=-all wine "/home/YOURUSERNAME/.wine/drive_c/Program Files 
(x86)/World of Warcraft/WoW.exe" -opengl

(replace "YOURUSERNAME" with your username; you may need to adjust your WoW.exe path!)

For Nvidia-users only: for threaded OpenGL performance optimization, add "__GL_THREADED_OPTIMIZATIONS=1" to the script you've just created, before "wine". After modifying the script, it should look like this:

- On Ubuntu / Linux Mint 32bit:


#!/bin/sh

WINEDEBUG=-all __GL_THREADED_OPTIMIZATIONS=1 wine "/home/YOURUSERNAME/
.wine/drive_c/Program Files/World of Warcraft/WoW.exe" -opengl

(replace "YOURUSERNAME" with your username; you may need to adjust your WoW.exe path!)

- On Ubuntu / Linux Mint 64bit:


#!/bin/sh

WINEDEBUG=-all __GL_THREADED_OPTIMIZATIONS=1 wine "/home/YOURUSERNAME/
.wine/drive_c/Program Files (x86)/World of Warcraft/WoW.exe" -opengl

(replace "YOURUSERNAME" with your username; you may need to adjust your WoW.exe path!)


Note: I've used "WINEDEBUG=-all" to turn off debugging output to improve performance a little bit further.

Next, make the script executable (the following command assumes you've called the script "wow" and created it in your home folder):
chmod +x ~/wow
Then double click the "wow" file and run it to launch WoW (you can also launch it from the command line using "~/wow", or edit the World of Warcraft desktop file to point to your newly created script).

That's not all. To boost the WoW FPS, also perform the following tweak: press ALT + F2, enter "regedit" (without the quotes) and:
  • navigate to HKEY_CURRENT_USER -> Software -> Wine, select the Wine folder and right click it, then select New -> Key and rename the newly created key to "OpenGL" (without the quotes);
  • select the "OpenGL" key, right click it and select New -> String Value;
  • rename "New Value #1" to "DisabledExtensions" (without the quotes);
  • double click on the newly created "DisabledExtensions" and enter "GL_ARB_vertex_buffer_object" (without the quotes) into the "value" field.

B. Intel graphics only

Driconf Ubuntu

If you see black textures in the game or the game crashes, enable S3TC texture compression by following the steps below:

Firstly, install driconf:


sudo apt-get install driconf
 
Then launch driconf: it should show up as "3D Acceleration" in the menu/Dash (you can also launch it by pressing ALT + F2 and entering: "driconf") and on the Image Quality tab, set "Enable S3TC texture compression even if software support is not available" to "Yes", then close the window.

C. If you're still getting low FPS, here are a few game configuration tweaks (Config.wtf)

To be able to use the tweaks below, you need to run World of Warcraft at least once, or else the configuration file doesn't exist.

Open the Config.wtf file with a text editor (the file should be located under ~/
.wine/drive_c/Program Files (x86)/World of Warcraft/WTF/) and paste this:
 
SET M2UseShaders "0"
SET UseVertexShaders "0"
SET useWeatherShaders "0"
SET ffxGlow "0"
SET ffxDeath "0"
SET ffxSpecial "0"
SET weatherDensity "0"
SET reflectionMode "0"
SET maxFPS "60"
SET ffx "0"
SET maxFPSbk "5"
SET mapShadows "0"
Then save the file.

Other tweaks:
  • Using some WoW addons can considerably lower your FPS so if the FPS is bad, you can try removing them (note that you'll have to remove the addons and not just disable them!) and see if that improves your FPS;
  • For better performance, you can try the latest Wine Staging.
  • For Ubuntu 14.04 and 14.10 / Linux Mint 17 and 17.1, you can use the Oibaf PPA (it requires Linux kernel >= 3.17 and wine from THIS PPA) which includes updated graphics drivers as well as Gallium Nine support which should get you a FPS boost in World of Warcraft with Direct3D.
  • Update your graphics drivers - for Nvidia, you can use a PPA.

Update: for a couple of Curse-compatible applications that work on Linux, which you can use to install or update WoW addons via curse.com, see THIS article.

Are you playing World of Warcraft under Linux? What other optimizations / tweaks have you used?
 
The newest CodeWeavers coupon promo code is ( WEAVEME ) save 25% off CrossOver Mac or Linux today!
 

Sunday, August 28, 2016

How to install Google SketchUp Make 2016 on Linux with Wine

How to install Google SketchUp Make 2016 on Linux with Wine...

Update on SketchUp Make 2016 Maintenance release

  • This maintenance release fixes a Windows-only bug introduced in the first release of SketchUp 2016, also known as “M0” [version numbers 16.0.19912 (Win 64-bit); 16.0.19911 (Win 32-bit)] where uninstalling SketchUp resets your default Internet browser. To avoid running into this issue, leave SketchUp 2016 “M0” installed prior to installing this update – i.e., install SketchUp 2016 M1 over your existing version of SketchUp 2016 M0.
  • This maintenance release is for both Windows and OS X and addresses a number of issues.
  • See complete list of updates

How to install Google SketchUp Make 2016 on Ubuntu 16.04 using Wine


Step 1: Install Wine 1.9.x
sudo add-apt-repository ppa:wine/wine-builds

sudo apt-get update

sudo apt-get install --install-recommends wine-staging

sudo apt-get install winehq-staging
Configure Wine for SketchUp by installing additional packages if prompted  
run winecfg
First change the Windows Version to Windows 7


Under Wine Configuration menu, click on Libraries and add ‘riched20’ as a new library. Apply changes


Download Windows version of SketchUp Make 2016
Right-click on the exe and click ‘Open with Wine Windows Program Loader



Follow the installation wizard to complete the installation



 Open Sketch 2016 properties menu, under command, add ‘/DisableRubyAPI’ at the end


Download the “mfc100u.dll” library frome here, and copy it in system32 wine folder. You can enable hidden folders under Nautilus with following key combination “ctrl+H”. In home folder, navigate to .wine/drive_c/windows/system32/ and copy it there.


Launch SketchUp Make 2016


The newest CodeWeavers coupon promo code is ( WEAVEME ) save 25% off CrossOver Mac or Linux today!

WineTricks has seen a massive amount of improvements this year

WineTricks has seen allot of development recently, some of the notable changes are better IE 8 support, MetaTrader 4 support, Kindle improvements, Russian translation, A new self update function and a massive amount of other fixes and updates. The full changelog sense February 2016 and August 2016 is provided below with a download link to get the latest release.


Winetricks is an easy way to work around problems in Wine. It has a menu of supported games/apps for which it can do all the workarounds automatically. It also lets you install missing DLLs or tweak various Wine settings individually.

It can be used via gui or commandline, whichever you prefer; the commandline mode is particularly useful as a building block in fancier wine frontends and in automated regression testing.

The latest version can be downloaded here

Changelog between 20160724 and 20160802

add win2k8/win8/win81/win10 verbs

Changelog between 20160219 and 20160724

github-api-releases.py: fix for Debian's python-magic
relase.sh: fix path to pgp signature file
test cleanups
opensymbol: update to latest
add win2k8/win8/win81/win10 verbs
winetricks: add initial embedded wine cmd support
tests: add some TODOs
tests/winetricks-test: avoid backtricks (``), use $()
winetricks: get rid of backticks(``), use $() instead
README.md: fix typo
tests/winetricks-test: add some basic .verb tests
README: add some .verb documentation
winetricks_handle_options: alphabetize case list
src/release.sh: fix path to github-api-releases.py
src/release.sh: specify the GPG key to use
src/release.sh: create local signed release tarball
github-api-releases.py: check in script, authored by Joseph Bisch
wmv9vcm: new verb
w_get_sha1sum(): only try to verify sha1sum for actual files
winetricks: miscellaneous spelling updates
winetricks: Add separate override just for d3dx10_43
kindle: update to version 1.16 (build 44025)
kindle: Fix bug reference number
winetricks.1: Change strings to proper case, wine to Wine, etc
w_try_ar(): use 7zip as a fallback if ar is missing
7zip: update to latest release
opensymbol: restore J flag to tar
w_try_ar: should be w_die, not w_fatal

winetricks: add a w_try_ar() function, give better warning if ar is missing
Override more vcrun2015 dlls for 32 bits prefix Fixes #650, tested with Python3.5.exe, on both 32/64 bits, wine 1.9.8/1.9.11.

w_wine_version: support wine-1.9.x
Update ev3 verb
adobeair: remove extra space in metadata
mt4: do not use checksum for mt4setup.exe which may change
winetricks: update Ukrainian translation
release.sh: allow overridding version
Update control
foobar2000: update to v1.3.10
update src/release.sh for github releases, also now updates manpage
update manpage
Makefile: update copyright
Makefile: winetricks now uses git, not svn

winetricks: remove python26_comtypes / python26_setuptools broken, old, and not actively supported upstream

winetricks: print winetricks and wine version in winetricks_init()
add .gitignore
jet40: restore original microsoft.com url
cmd: revert back to a microsoft.com URL (really, archive.org)
xna40: add Louis' workaround from bug 30718

Self-update functionality for winetricks.

- With this patch it is possible to use "winetricks --self-update|--selfupdate" to automatically update the script with the last online version. Also, it is possible to rollback an update by running "winetricks --update-rollback";
- Added checking to avoid running the command into dev versions of winetricks;
- Added message for users who run unprivileged and do not have the proper permissions to update winetricks.

w_download_to(): fix aria2c torify support
winetricks: add -t/--torify support
mt4: new verb (Meta Trader 4)
windowscodecs: initial 64-bit esupport
vcrun2015: also extract api-ms-win-crt-conio-l1-1-0.dll
vcrun2015: warn about win7 mode installations failing
winetricks: improve aria2 support (fixes 612)
winetricks-test: xna40 now completes without an error dialog
Makefile: default to a 32-bit prefix if WINEARCH is not set
emu8086: update download URL
ev3: add -q support
winetricks: introduce W_UNATTENDED_SLASH_QB to unify /qb handling
ev3: update download URL
xna40: needs dotnet45, not dotnet40
vcrun2003: fix url
winetricks: check each test scripts dependencies before running any tests
linkcheck.sh: cleanup temp files after running
baekmuk: update URL and some cleanups
opensymbol: update URL to jessie (stable)
openwatcom: update URL
kindle: needs taskset -c 0, not vcrun2008
shockwave: update sha1sum
ie8_kb2936068: exit code 194 is not an error
Preliminary Russian translation By Artem S. Tashkinov
A real albeit untidy help page the old redirect is hard to swallow
ie6: make ie6 an automated download again
w_download_manual_to(): verify sha1sum of manually downloaded files
ie6: use $W_PACKAGE instead of hardcoding
ie8-kb2936068: rename to ie8_kb2936068, avoid warning on OSX.
ev3/ie8-kb2936068: minor cleanups
ev3: new verb
ie8-kb2936068: new verb
cmd: update download URL
kindle: update to version 1.14.43019

The newest CodeWeavers coupon promo code is ( WEAVEME ) and ( CRIMBO25 ) save 25% off CrossOver Mac or Linux today!

Saturday, August 27, 2016

CodeWeavers CrossOver Linux Brings Improved Support For Windows Apps

Wine is a free and open-source compatibility layer software application that is aimed to allow applications designed for Microsoft Windows applications to run fully on Linux and Unix-like operating systems.

To make things less hectic for developers, Wine also has its software library called Winelib allowing developers to compile Windows application and later port them to Linux.

https://www.codeweavers.com/store/?dealcode=weaveme

Codeweavers developers whose aim is to make it easy for users to run Windows-based apps without the need for purchased licenses, rebooting or the use of virtual machines allowing Microsoft Windows productivity apps and games to run smoothly on Linux based operating systems.

The program utilizes the latest version of Wine which at the moment is version 1.9.15 which is adopted for commercial Crossover applications that provide an easy to use GUI for Wine on Linux ad Mac.

CrossOver 15.2.0 has been released and it brings improved support for Microsoft Office 2007 and Microsoft Office 2010 suite making it easier to embed fonts when exporting documents to the PDF file format and address a recent issue concerning crashes that occurs when signing into the Tencent QQ Instant messenger software.

 The new version of Crossover also brings improvements to the automatic detection of the available amount of video RAM and also correctly identify various graphics cards that were somehow not correctly recognized in the previous version of the software.

The newest CodeWeavers coupon promo code is ( WEAVEME ) and ( CRIMBO25 ) save 25% off CrossOver Mac or Linux today!