What does not
Installing Visual C++ 2012
What was not tested
Launcher trying to skip installation of Visual C++ but when game should run, launcher closes and the game does not start.
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Current||Ubuntu 13.04 "Raring" i386 (+ variants like Kubuntu)||May 05 2013||1.5.29||Yes||No||Garbage||an anonymous user|
|Bug #||Description||Status||Resolution||Other apps affected|
|24125||APB Reloaded 1.x (MMORPG) needs better GetSystemDEPPolicy() and GetProcessDEPPolicy() implementation||STAGED||View|
|37006||APB Reloaded freezes when loading custom gecko browser.||RESOLVED||WORKSFORME||View|
|47421||wine-mono 4.9.0 crash when starting APB Reloaded launcher (while parsing x509 certificate)||NEW||View|
2014-11-08 Admin note: the following was extracted from a user comment made on 2013-06-11 and may or may not be relevant to current Wine. Note also that the instructions call for patching Wine; please do not file bugs or submit test reports if you have followed these instructions.
I managed to install APB reloaded (NOT installed in/via steam, but with
the GamersFirst LIVE thing) and I also managed to run it.
Note: 32 bit installation of wine, I'm on a 64 bit OS,but I used
in all terminal windows before calling wine and also before creating the wineprefix
It seems to work very well (couldn't find any flaws other than the launcher interface being messed up).
There are two problems that prevent it from running.
BOTH CAN BE SOLVED
problem 1) Visual C++ 2012 redistributable is required but won't install
problem 2) The game checks if DEP (data execution prevention) is enabled, by default Wine says "no", so the game won't start.
To make it run I had to do those things:
1) Install msvcr110.dll and msvcp110.dll of Visual C++ 2012 manually (e.g. get it from a windows install, in my case I got them from a virtual machine of winxp 32 bit)
Whenever I started the launcher I had to click "repair" to make the "Start" button (sometimes just visible as "S" - the launcher is bugged) become clickable.
Instead of waiting for it to skip the not-working install of Visual C++ 2012 I preferred to use 'killall vcredist_x86.exe' to make the "start" button become available immediately. So that only a few seconds waiting required.
It's probably possible to just copy the checked registry keys from Visual C++ so that the launcher doesn't think something is missing anymore.
2) This one was more tricky. I had to make a small patch of wine's kernel32:
I made GetSystemDEPPolicy return AlwaysOn instead of OptIn
I did this in GetProcessDEPPolicy instead or return FALSE;:
*flags = 1;
*permanent = TRUE;
I don't think these changes should not have any side-effects to other apps (at least not negative ones, maybe some other cheat-protection programs will suddenly work then)
Note: If you use a patched/custom install next to the default install of wine, make sure that wine finds the custom library, by adding it to the LD_LIBRARY_PATH. (the parent "libs" dir, rather than libs/wine)
in my case I had to start it with
~/Wine/APBreloaded/drive_c/Games/APB Reloaded/Launcher$ LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/wine APBLauncher.exe
then it would use my custom /usr/local/libs/kernel32.dll.so that would fix the DEP issue and the game would run