Crashday: RakNet.dll failed to initialize

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ADI64
Level 1
Level 1
Posts: 5
Joined: Wed Jun 03, 2009 4:02 am

Crashday: RakNet.dll failed to initialize

Post by ADI64 »

Hey all,

I have got a weird problem.
Crashday worked some weeks ago flawlessly (some gfx bugs though).
Recently I wanted to play it again and made a wine update to 1.22, hoping that the gfx bugs are fixed.
Instead, the game refuses to start.

Code: Select all

[adi64@tux Crashday]$ wine Crashday.exe 
err:module:attach_process_dlls "RakNet.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\share\\programme\\Atari\\Crashday\\Crashday.exe" failed, status c0000005
I thought the update broke it, but my friend also did the wine update, and the game works fine for him (some gfx bugs are fixed for him).
We both use ArchLinux, he uses the 32bit version, I got the 64bit version.
I tried removing and reinstalling it, tried different patches (1.0 -> 1.1, inofficial 1.1 -> 1.2), tried a different wineprefix and even cleared my .wine folder.
Then I thought my executable or the dll may be corrupted and took those from my friend, but it still didn't work.

Edit: I removed wine 1.22 and installed the stable 1.01, but the game is still broken. So I assume it has nothing to do with the update.

Anyone got an idea what I could do?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Crashday: RakNet.dll failed to initialize

Post by vitamin »

ADI64 wrote:err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\share\\programme\\Atari\\Crashday\\Crashday.exe" failed, status c0000005
You have to properly install all programs on Wine.
ADI64
Level 1
Level 1
Posts: 5
Joined: Wed Jun 03, 2009 4:02 am

Re: Crashday: RakNet.dll failed to initialize

Post by ADI64 »

vitamin wrote: You have to properly install all programs on Wine.
Thanks for your reply!

I installed Crashday normally from CD, running setup.exe.
The setup completed successfully.

Apart from that, Crashday also worked without installation on Linux (installation from Windows), just starting the exe with wine went fine (but I had to do the configuration again, of course).
ADI64
Level 1
Level 1
Posts: 5
Joined: Wed Jun 03, 2009 4:02 am

Post by ADI64 »

Well, the installation completed successfully, but the game still doesn't work.
What I wanted to say with my above post is that I don't think it has something to do with the setup of the game.
ADI64
Level 1
Level 1
Posts: 5
Joined: Wed Jun 03, 2009 4:02 am

Post by ADI64 »

Okay, problem solved! :D
It wasn't actually a wine problem, but here is what happened:
Somehow my ext3 partition where Crashday is located was mounted with 'noexec' flag, so obviously wine couldn't execute the .dll file.
I added 'exec' to the mount flags in /etc/fstab and now everything is fine :wink:
Locked