Running Battlefield 1942 gives following errors

Questions about Wine on Linux
Locked
beterzelfs
Level 1
Level 1
Posts: 5
Joined: Tue Oct 02, 2012 8:51 am

Running Battlefield 1942 gives following errors

Post by beterzelfs »

The installation of Battlefield 1942 and it's patches went seamlessly. Though, when I try to run Battlefield 1942 I get the following error.

Code: Select all

fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2
What does this mean and how can I fix it?

I'm using Wine version 1.5.14 in Ubuntu 12.04
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Running Battlefield 1942 gives following errors

Post by DanKegel »

fixme's aren't bugs. They might help diagnose an actual bug, though. Is the game misbehaving?
beterzelfs
Level 1
Level 1
Posts: 5
Joined: Tue Oct 02, 2012 8:51 am

Re: Running Battlefield 1942 gives following errors

Post by beterzelfs »

The game doesn't start at all.

What can I do to discover what's going wrong?
beterzelfs
Level 1
Level 1
Posts: 5
Joined: Tue Oct 02, 2012 8:51 am

Re: Running Battlefield 1942 gives following errors

Post by beterzelfs »

After installation a desktop item appeared. When I run the command of that item I get the following in the terminal.

Code: Select all

err:wineboot:pendingRename couldn't get file attributes (2)
fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Running Battlefield 1942 gives following errors

Post by vitamin »

"SecDrv" service is a Safedisk driver. Make sure you properly installed your game from a CD/DVD. See http://wiki.winehq.org/CopyProtection for some additional information. To me it seems new gcc versions broke Safedisk for good. Not even mentioning Ubuntu...
beterzelfs
Level 1
Level 1
Posts: 5
Joined: Tue Oct 02, 2012 8:51 am

Post by beterzelfs »

According to http://wiki.winehq.org/CopyProtection the following versions of gcc do work with wine and copyprotection.

4.5
4.2.x (this isn't certain, and may vary for Safedisc vs Securom)
4.4.x
3.4.x
3.3.x

How do I find out what version of gcc I'm using and what determines what version of gcc I'm using at the moment or what version of gcc I have to use.
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re:

Post by dimesio »

beterzelfs wrote: How do I find out what version of gcc I'm using
Open a terminal and type

Code: Select all

gcc --version
beterzelfs
Level 1
Level 1
Posts: 5
Joined: Tue Oct 02, 2012 8:51 am

Re: Running Battlefield 1942 gives following errors

Post by beterzelfs »

Ok. Currently I'm running gcc version 4.6.3

Right now I'm installing gcc version 4.5. Do I have to remove version 4.6.3 or do I have to configure somewhere that 4.6 won't be used for running battlefield?
Locked