Can't launch Crysis

Questions about Wine on Linux
Locked
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Can't launch Crysis

Post by Dreamsorcerer »

I'm trying to launch Crysis from Steam, but can't seem to get it to run. Upon attempting to launch, the resolution changes and the screen messes up in the way that all fullscreen programs do for a second, but then it just crashes, and never loads the game.

I've used winetricks to install everything recommended, except for tahoma because the server times out. I've also added the -dx9 steam launch option. I've also set OffscreenRenderingMode=fbo and UseGLSL=disabled in regedit.

Any ideas on how to get this to run? Is there an easy way to get any useful information, console output for a steam game?

I'm using Wine 1.7.29 on Gentoo.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't launch Crysis

Post by dimesio »

Graphics card/driver? If it's not a newish Nvidia card and the proprietary driver, that may be the problem.

Post terminal output. http://wiki.winehq.org/FAQ#get_log
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

dimesio wrote:Graphics card/driver?
It's an ATI 290X with the proprietary driver (catalyst?), have used it for native games such as HL2.
dimesio wrote:Post terminal output. http://wiki.winehq.org/FAQ#get_log
Right, but if I'm running it from steam, then I'm getting the debug output from Steam, and presumably missing the log from the actual game when it launches, or would it appear within the steam log?
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

And, if that is the case, then I'm attaching all of the output from the terminal that appeared after I clicked the launch button.

Or, I won't attach it because text files are not allowed... Posted it here instead: http://pastebin.com/J7u5pyr7
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't launch Crysis

Post by dimesio »

Code: Select all

err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
What it says.

Code: Select all

err:d3d:resource_init Out of adapter memory
Try setting VideoMemorySize in the registry; Wine may not be detecting it correctly.

Finally, there is https://bugs.winehq.org/show_bug.cgi?id=18799. The most recent test report for the Steam version of Crysis, which rates it gold, does not say anything about using a patched version of Wine, but it is possible the user "forgot" to mention that in order to get the test report accepted. So if all else fails, try the patch in the bug report.
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

dimesio wrote:

Code: Select all

err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
What it says.

Code: Select all

err:d3d:resource_init Out of adapter memory
Try setting VideoMemorySize in the registry; Wine may not be detecting it correctly.
Setting that, or reenabling GLSL gets rid of those errors, but makes no improvement in launching the game. Output is now: http://pastebin.com/Wb4RktJg

I'll give the patch a go tomorrow.
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

Unfortunately, no improvement using the patch. Still just crashes.

http://pastebin.com/X3acaNb1
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

I've just tried out the other games I have installed, and Crysis Wars and Crysis Warhead exhibit the same problems.

Crysis 2 however, appears to be working, though before launching it warns that my graphics card might be too old, and thinks that it's a Radeon HD 5600 or something. The GPU it thinks I have also changes if I disable GLSL, but in both cases it's wrong.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't launch Crysis

Post by dimesio »

Try adding the VideoPciDeviceID and VideoPciVendorID for your card to the registry.
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

Unfortunately, that made 0 difference. I've attached screenshots of the error message, and of regedit in case there is something I've done wrong.
Attachments
Crysis 2 wrong GPU
Crysis 2 wrong GPU
crysis2.png (9.76 KiB) Viewed 5107 times
Regedit
Regedit
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't launch Crysis

Post by dimesio »

I don't have that card, so I have no way of knowing whether what you put in was correct or not. It's possible that Wine is not detecting the card correctly.

What happens with a game that doesn't use the Crysis engine?
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

As I said, Crysis 2 is working even with the warning message. After clicking through the message, I can run the game on ultra settings and everything appears to run perfectly. It's just the first Crysis (engine) that is broken, it doesn't even launch to the menu or anything, it simply crashes as soon as it opens a window.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't launch Crysis

Post by dimesio »

The first Crysis engine is known to be irreparably buggy in Windows, too, and the bug I pointed out was closed as WONTFIX for that reason. The patch is the only workaround I know of.
Dreamsorcerer
Level 2
Level 2
Posts: 14
Joined: Tue Oct 28, 2014 10:16 am

Re: Can't launch Crysis

Post by Dreamsorcerer »

OK, so finally got somewhere. I downloaded an iso version of Crysis, and was able to get the 64bit version to run. Looking at the files, the Steam version appears to be missing the bin64 directory. Maybe by swapping some of the files around, it might be possible to get the Steam version running, but I'll just play through what I've got working.

For some reason, the game only works with GLSL disabled, and then won't allow any of the settings to be changed from low, so it looks pretty crap, but atleast it's playable.
ZombieRedShirt
Level 3
Level 3
Posts: 86
Joined: Fri Oct 07, 2011 6:25 am

Re: Can't launch Crysis

Post by ZombieRedShirt »

DreamSorcerer, I have been able to get Crysis to load by using a patched version of wine 1.7.12. I think you know the patch I'm talking about. But I also needed to use Taskset to get it to actually launch. This involves using a crack or adding taskset to your steam launch script.

It works like this. "taskset -c "the cores you want to use, ie, 1,2,3,4" wine crysis.exe" In my case, it's "taskset -c 1,2,3,4,5,6,7 wine crysis.exe". This will get it running. For launching from Steam, just replace crysis.exe with Steam.exe.
Locked