Far Cry 3 launching

Questions about Wine on Linux
Locked
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Far Cry 3 launching

Post by core »

Have a question about launching Far Cry 3. Use Wine 1.5.18 on Ubuntu 12.10. Game setup installed automatically: directx, vcrun 2008 and 2010. And one more thing, that game folders have and needs to install dotnet20, 30, 35. I installed only 20 and 30.

Terminal output:

Code: Select all

e:\Perforce\fc3\main\external\technology-group\framework\gear\private\src\thread/ms/thread.cpp(339) : ASSERT FAILURE: Ret()
wine: Unhandled exception 0x80000003 at address 0x7bc76fac (thread 0057), starting debugger...
0x7bc76fac DbgBreakPoint in ntdll: int	$3
Modules:
Module	Address			Debug info	Name (85 modules)
PE	  400000-  501000	Export          fc3updater
PE	78050000-780b9000	Deferred        msvcp100
PE	78aa0000-78b5f000	Deferred        msvcr100
PE	78b60000-78f98000	Export          mfc100
ELF	7b800000-7ba33000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba33000	\               kernel32
ELF	7bc00000-7bcca000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcca000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7de23000-7de37000	Deferred        psapi<elf>
  \-PE	7de30000-7de37000	\               psapi
ELF	7de37000-7de96000	Deferred        dbghelp<elf>
  \-PE	7de40000-7de96000	\               dbghelp
ELF	7de96000-7dfab000	Deferred        ole32<elf>
  \-PE	7deb0000-7dfab000	\               ole32
ELF	7e0ef000-7e113000	Deferred        iphlpapi<elf>
  \-PE	7e100000-7e113000	\               iphlpapi
ELF	7e113000-7e136000	Deferred        imm32<elf>
  \-PE	7e120000-7e136000	\               imm32
ELF	7e239000-7e24f000	Deferred        dwmapi<elf>
  \-PE	7e240000-7e24f000	\               dwmapi
ELF	7e24f000-7e283000	Deferred        uxtheme<elf>
  \-PE	7e260000-7e283000	\               uxtheme
ELF	7e283000-7e28a000	Deferred        libxfixes.so.3
ELF	7e28a000-7e295000	Deferred        libxcursor.so.1
ELF	7e295000-7e2a5000	Deferred        libxi.so.6
ELF	7e2a5000-7e2a9000	Deferred        libxcomposite.so.1
ELF	7e2a9000-7e2b4000	Deferred        libxrandr.so.2
ELF	7e2b4000-7e2be000	Deferred        libxrender.so.1
ELF	7e2be000-7e2c4000	Deferred        libxxf86vm.so.1
ELF	7e2c4000-7e2c8000	Deferred        libxinerama.so.1
ELF	7e2e9000-7e2ef000	Deferred        libuuid.so.1
ELF	7e2ef000-7e309000	Deferred        libice.so.6
ELF	7e309000-7e312000	Deferred        libsm.so.6
ELF	7e312000-7e39c000	Deferred        winex11<elf>
  \-PE	7e320000-7e39c000	\               winex11
ELF	7e39c000-7e3b5000	Deferred        libz.so.1
ELF	7e3b5000-7e44f000	Deferred        libfreetype.so.6
ELF	7e463000-7e520000	Deferred        crypt32<elf>
  \-PE	7e470000-7e520000	\               crypt32
ELF	7e520000-7e554000	Deferred        wintrust<elf>
  \-PE	7e530000-7e554000	\               wintrust
ELF	7e554000-7e76d000	Deferred        shell32<elf>
  \-PE	7e560000-7e76d000	\               shell32
ELF	7e76d000-7e869000	Deferred        comctl32<elf>
  \-PE	7e770000-7e869000	\               comctl32
ELF	7e869000-7e8d7000	Deferred        shlwapi<elf>
  \-PE	7e880000-7e8d7000	\               shlwapi
ELF	7e8d7000-7e8f1000	Deferred        version<elf>
  \-PE	7e8e0000-7e8f1000	\               version
ELF	7e8f1000-7e9fb000	Deferred        gdi32<elf>
  \-PE	7e900000-7e9fb000	\               gdi32
ELF	7e9fb000-7eb41000	Deferred        user32<elf>
  \-PE	7ea10000-7eb41000	\               user32
ELF	7eb41000-7eba6000	Deferred        advapi32<elf>
  \-PE	7eb50000-7eba6000	\               advapi32
ELF	7eba6000-7ec1e000	Deferred        rpcrt4<elf>
  \-PE	7ebb0000-7ec1e000	\               rpcrt4
ELF	7ec1e000-7ec51000	Deferred        ws2_32<elf>
  \-PE	7ec30000-7ec51000	\               ws2_32
ELF	7ec51000-7ec5e000	Deferred        libnss_files.so.2
ELF	7ec5e000-7ec78000	Deferred        libnsl.so.1
ELF	7ec78000-7ec81000	Deferred        libnss_compat.so.2
ELF	7ec81000-7ec95000	Deferred        msimg32<elf>
  \-PE	7ec90000-7ec95000	\               msimg32
ELF	b5334000-b533b000	Deferred        libxdmcp.so.6
ELF	b533b000-b533f000	Deferred        libxau.so.6
ELF	b533f000-b5361000	Deferred        libxcb.so.1
ELF	b5361000-b7082000	Deferred        libnvidia-glcore.so.310.19
ELF	b7082000-b7086000	Deferred        libnvidia-tls.so.310.19
ELF	b7087000-b70b3000	Deferred        libm.so.6
ELF	b70b3000-b70c5000	Deferred        libxext.so.6
ELF	b70c5000-b71fb000	Deferred        libx11.so.6
ELF	b71fb000-b7201000	Deferred        libxv.so.1
ELF	b7201000-b725e000	Deferred        libturbojpeg.so
ELF	b725f000-b7264000	Deferred        libdl.so.2
ELF	b7264000-b7344000	Deferred        libgl.so.1
ELF	b7344000-b74ee000	Deferred        libc.so.6
ELF	b74ee000-b7509000	Deferred        libpthread.so.0
ELF	b7511000-b751d000	Deferred        libnss_nis.so.2
ELF	b751d000-b765f000	Dwarf           libwine.so.1
ELF	b7660000-b7700000	Deferred        librrfaker.so
ELF	b7700000-b7703000	Deferred        libdlfaker.so
ELF	b7705000-b7727000	Deferred        ld-linux.so.2
ELF	b7727000-b7728000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000028    0
	00000027    0
	00000020    0
	00000017    0
	00000010    0
	0000000f    0
00000012 mscorsvw.exe
	0000001c    0
	0000001b    0
	00000016    0
	00000013    0
00000014 explorer.exe
	00000015    0
0000001d winedevice.exe
	00000025    0
	00000022    0
	0000001f    0
	0000001e    0
00000023 plugplay.exe
	00000029    0
	00000026    0
	00000024    0
0000002a Uplay.exe
	00000052    0
	00000050    0
	0000004e    0
	0000004d    0
	00000049    0
	00000048    0
	00000067    0
	00000061    0
	00000060    0
	0000005f    0
	0000005e    0
	0000005c    0
	0000005b    0
	0000005a    0
	0000004f    0
	0000004c    0
	0000004b    0
	0000004a    0
	0000002c    0
	0000002d    0
	0000000d    0
	00000009    0
	0000000b    0
	00000047    0
	00000046    0
	00000045    0
	00000044    0
	00000043    0
	00000042    0
	00000041    0
	00000040    0
	0000003f    0
	0000003e    0
	0000003d    0
	0000003c    0
	0000003b    0
	0000003a    0
	00000039    0
	00000038    0
	00000036    0
	00000035    0
	00000034    0
	00000033    0
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
	0000002e    0
	0000002b    0
00000054 (D) C:\Program Files\Far Cry 3\bin\FC3Updater.exe
	00000059    0
	00000057    0 <==
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

To previous post, error linking to FC3Updater.exe
But Map Editor launching without any troubles and working well.
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

Code: Select all

err:module:attach_process_dlls "ubiorbitapi_r2_loader.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Far Cry 3\\bin\\farcry3.exe" failed, status c0000142
Installed successfully without errors. DLL was override after installing.
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

After a long testing I thinking it's not a Wine bug.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Far Cry 3 launching

Post by lahmbi5678 »

Ubuntu 12.10 (especially the 64 bit variant) is known to have some issues with wine. I'd recommend you to try the game with another distribution like opensuse or fedora, preferably 32 bit version. If it still wouldn't work, file a bug.
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

lahmbi5678 wrote:Ubuntu 12.10 (especially the 64 bit variant) is known to have some issues with wine. I'd recommend you to try the game with another distribution like opensuse or fedora, preferably 32 bit version. If it still wouldn't work, file a bug.
I'm using a 32-bit version. And I'm has change from 12.04 because on 12.10 can launch much more games without problems (as for me). Really. And this one have error 0x0000142. I'm looking for any report like this and have find the same number for Windows users. Difference just in 0xc0000142.
xpander69
Newbie
Newbie
Posts: 1
Joined: Fri Nov 30, 2012 3:49 pm

Re: Far Cry 3 launching

Post by xpander69 »

i got it working when copyed ubiorbitapi_r2_loader.dll and ubiorbitapi_r2.dll from assasins creed 3.
somehow the ones that shipped with far cry dont work (even for some windows users)

quick gameplay video also:

https://www.youtube.com/watch?v=JTtLSnCjMSY
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

Can confirm, it works. xpander69, thanks for your solution.
Jmoocher
Newbie
Newbie
Posts: 1
Joined: Thu Dec 20, 2012 3:36 pm

Re: Far Cry 3 launching

Post by Jmoocher »

I have no idea how to fix this.. I have the same problem, the FC3Updater.exe can someone walk me through what i need?
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

Jmoocher wrote:I have no idea how to fix this.. I have the same problem, the FC3Updater.exe can someone walk me through what i need?
Try AppDB. In a few words, game doesn't work without fixed dll's. I can't claim this, but perhaps it's so.
team
Newbie
Newbie
Posts: 1
Joined: Sun Jan 06, 2013 1:37 pm

Re: Far Cry 3 launching

Post by team »

hi there,
i tried hard to install FC3 without success with wrapper wineskin. I read this in porting team http://portingteam.com/topic/8262-wine-atifix-engine/ and a reply at my question was:

This patch is applied to Wine source, not to any wrapper nor Wineskin.
For using it you have to download the Wine sorce and put this patch file inside sources directory. Then you should cd to this source folder using terminal and type "patch -p1 < nameofthepatch.patch" (i think this particular patch is a nameofthepatch.dif) without quotes and then compile this patched source trought Winery.

I got ATiShaderPatch.diff and I'm not able to create a launcher. i download wine-1.3.13 but I don't know how to use it.
My mac is an i7 ati radeon hd 5750 osx mountain lion.

thank you for your help.
Sazex
Newbie
Newbie
Posts: 4
Joined: Sat Jan 12, 2013 1:17 am

Re: Far Cry 3 launching

Post by Sazex »

Hi, I'm having a problem installing as well on 12.10 ubuntu 64bit , wine version 1.5.18, however, I'm receiving a different error message, plus the game starts a loading screen before crashing
Here I've made a video:
http://youtu.be/LzO3ozqQLSU

Can anyone help me?
rancidthree
Level 1
Level 1
Posts: 5
Joined: Mon Jan 21, 2013 3:14 pm

Re: Far Cry 3 launching

Post by rancidthree »

xpander69 wrote:i got it working when copyed ubiorbitapi_r2_loader.dll and ubiorbitapi_r2.dll from assasins creed 3.
somehow the ones that shipped with far cry dont work (even for some windows users)
...
Thanks for the info.

I get the exact same error as the original post at top of this page.
Setup:
Ubuntu 12 64bit with latest patches,
wine-1-5-19 32 bit build from source in a 386 chroot
as per http://wiki.winehq.org/WineOn64bit (chroot method).
[Note wine-1-5-22 the default from wine ppa updates, or
built in 32 bit chroot FAILS badly -- don't try that one...]

Wine 1-5-19 32 bit works great for other games and
for a few things in Far Cry 3 started with uplay, I used:
wine "$HOME/.wine/drive_c/Program Files/Ubisoft/FarCry 3/bin/farcry3.exe" -uplay_steam_mode -language=English -steam_mode
as recommended at WinHq page.

This worked from Uplay:
1) entering game key + key verification success,
2) correctly updates game from network
MODERATOR: yes, this means I use a valid Uplay account here
and legally purchased software PC DVD game for FC3 -- that still NOT work in WINE (below)
3) update from network success
4) run map editor and play maps in game success
WINE FAILS THEN:
Starting game from Uplay it instantly gets the error exactly as this thread (top of page) down to:
00000064 (D) C:\Program Files\Ubisoft\FarCry 3\bin\FC3Updater.exe
00000051 0
00000065 0 <==

This is using the official FC3 DVD, if it fails with WINE without AC3 dll, and
fails again after UPDATE complete from Ubisoft site then
how can this game be rated SILVER in APPDB?
The ONLY workaround that seems to work in all the pages
requires to use another game (AC3) version of these drivers?
ubiorbitapi_r2_loader.dll
ubiorbitapi_r2.dll
SILVER rated here:
http://appdb.winehq.org/objectManager.p ... ngId=75538

Note: Several internet sites claim to have authentic AC3 versions of these dll
offer non-working and/or very-suspicious (1+ MB) replacement dll.
-- Tested 2 sites [removed url] in throw-away wine bottles, do not try these!

Does anyone know a real fix to get Far Cry 3 to work with wine??
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Far Cry 3 launching

Post by dimesio »

rancidthree wrote: This is using the official FC3 DVD, if it fails with WINE without AC3 dll, and
fails again after UPDATE complete from Ubisoft site then
how can this game be rated SILVER in APPDB?
The only rating that requires things to work "out of the box" is platinum. http://appdb.winehq.org//help/?sTopic=m ... er_ratings
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Far Cry 3 launching

Post by core »

rancidthree, you can send a log file with error to Bugzilla. It help to solve the problem.
Sazex
Newbie
Newbie
Posts: 4
Joined: Sat Jan 12, 2013 1:17 am

Re: Far Cry 3 launching

Post by Sazex »

I've got Far Cry 3 running (somewhat) on Ubuntu 12.10 64 bit wine version 1.5.22, I can get all the way past the first mission when you are running away from Vaas, but when it passes the title screen, it crashes, saying un-handled page fault 32 bit something.... Also when I change my resolution the game crashes, but when I restart the game, it starts with the changed resolution. Also the first time I got it to work, I had done some changes in the dll libraries, and I was able to get past the title screen in windowed mode. Changing the graphical settings does not seem to change the graphics, (by that I mean ultra looks just like low) It looks fine for the most part, except it has a small framerate issue.
rancidthree
Level 1
Level 1
Posts: 5
Joined: Mon Jan 21, 2013 3:14 pm

Re: Far Cry 3 launching

Post by rancidthree »

core wrote:rancidthree, you can send a log file with error to Bugzilla. It help to solve the problem.
Thanks I opened http://bugs.winehq.org/show_bug.cgi?id=32801

I have a suspicion, uplay game will fail with this bug, while perhaps stream-mode will bypass it and enter the game?
It would be great if someone can confirm, when you enter the (1 time) game authentication key from wine run.
1) If you started with Uplay -- the key goes to a Uplay game -- you may be doomed.
2) If you started with -steam-mode etc, the key goes to a Steam game, you may be able to play the game in wine based on previous posts.

Ubisoft seems to have gotten a lot of issues with keys allocated exclusively to Steam versus Uplay confusing all gamers, etc.
I supposed if you started in 1) above like me -- you can't play the game until a fix is available (stuck to use uplay mode).
rancidthree
Level 1
Level 1
Posts: 5
Joined: Mon Jan 21, 2013 3:14 pm

Re: Far Cry 3 launching

Post by rancidthree »

Sazex wrote:I've got Far Cry 3 running (somewhat) on Ubuntu 12.10 64 bit wine version 1.5.22, I can get all the way past the first mission when you are running away from Vaas, but when it passes the title screen, it crashes, saying un-handled page fault 32 bit something.... Also when I change my resolution the game crashes, but when I restart the game, it starts with the changed resolution. Also the first time I got it to work, I had done some changes in the dll libraries, and I was able to get past the title screen in windowed mode. Changing the graphical settings does not seem to change the graphics, (by that I mean ultra looks just like low) It looks fine for the most part, except it has a small framerate issue.
Did you get the game via Steam download or Uplay (e.g. DVD)?
1.1) When you entered the 1st time Activation key were you running?
farcry3.exe -uplay_steam_mode -steam-mode
1.2) When you start the game as above are you still running?
farcry3.exe -uplay_steam_mode -steam-mode

+ Changing resolution crashes many games, usually when starting the game again, the correct resolution is in place...
+ Page fault with 32 bit something... you may need to make sure wine 1.5.22 was build in 32 bit mode.
Sazex
Newbie
Newbie
Posts: 4
Joined: Sat Jan 12, 2013 1:17 am

Re: Far Cry 3 launching

Post by Sazex »

Sorry for the long reply, but I actually got Far Cry 3 to get passed the Title screen, and now I can kind of far, as long as I don't die, or rush into areas.
I have three dll overides
d3d11
d3dx11_42
d3dx11_43

before I had them all set to disabled.
When I change d3dx11_42 and d3dx11_43 to native, I can get past the radio tower mission, which I think is a step ahead of where I was before, but I still have crashes, that force me to restart the game, and the occasional graphical itch. Frame rate also is still weird, fine enough to play, but still noticeable.
Did you get the game via Steam download or Uplay (e.g. DVD)?
1.1) When you entered the 1st time Activation key were you running?
farcry3.exe -uplay_steam_mode -steam-mode
1.2) When you start the game as above are you still running?
farcry3.exe -uplay_steam_mode -steam-mode
To be honest, I pirated the game, but I do plan to purchase it if it works on my computer, I pirated it before I bought it to make sure I could get it to work, which so far isn't the case, I'm hoping a new wine update can fix the page fault 32 bit problem (which is what is causing my game to crash every time I die or rush into a mission.
Page fault with 32 bit something... you may need to make sure wine 1.5.22 was build in 32 bit mode.
I was running Far Cry 3 on 64 bit, but after I read this I reinstalled it onto a 32 bit virtual drive, and I'm still getting the same crash :(
rancidthree
Level 1
Level 1
Posts: 5
Joined: Mon Jan 21, 2013 3:14 pm

Re: Far Cry 3 launching

Post by rancidthree »

I was running Far Cry 3 on 64 bit, but after I read this I reinstalled it onto a 32 bit virtual drive, and I'm still getting the same crash :(
Thanks for a clear and honest the response.

If/when you get an official game, perhaps get it via steam just to get a steam key.
I purchased the DVD version and the key is exclusively for Uplay, never accepted in steam-mode -- I wasted my game budget $ so far!

Search for the 32 bit issue string in winehq bugzilla, or quote some of the error in response.
If you cannot find same bug already, then open a new bug, this will help.
[When login at winehq bugzilla for some reason, you need to always login back with your email address, not you screen name.]

Good luck.
rancidthree
Level 1
Level 1
Posts: 5
Joined: Mon Jan 21, 2013 3:14 pm

Re: Far Cry 3 launching

Post by rancidthree »

d3d11
d3dx11_42
d3dx11_43
Are you running farcry3_d3d11.exe? Why do you need d3dx11, there are issues with drx 11 support.
Have you tried game only running only from in d3dx9 mode and from farcry3.exe?
The winehq page for this game recommands d3dx9, this may be cause of your crashes...
Sazex
Newbie
Newbie
Posts: 4
Joined: Sat Jan 12, 2013 1:17 am

Re: Far Cry 3 launching

Post by Sazex »

Are you running farcry3_d3d11.exe? Why do you need d3dx11, there are issues with drx 11 support.
Have you tried game only running only from in d3dx9 mode and from farcry3.exe?
The winehq page for this game recommands d3dx9, this may be cause of your crashes...
Actually I forgot to mention this but the d3d11 is set to disabled, and I'm pretty sure I am running the game off of farcry3.exe, because I once tried to run from farcry3_d3d11.exe, and it crashed before it even started...

Hmm, when I go to settings, it says I am using Direct x9, and it doesn't allow me to change that option, so I believe I am using Directx9, but like I said before, if I try to change the graphical settings from high to low, the actual graphics stay the exact same. So maybe there's a connection here?
Locked