Data Realms Fan Forums http://45.55.195.193/ |
|
B24 + Linux (Wine) => "Failed to load datafile" at statup http://45.55.195.193/viewtopic.php?f=72&t=21061 |
Page 1 of 1 |
Author: | Shuffle [ Sat Jan 08, 2011 11:54 am ] |
Post subject: | B24 + Linux (Wine) => "Failed to load datafile" at statup |
Hi everyone. First of all, let me thank Data Realms for this wonderful game. Then, let me thank you, community guys for all those great MODS and scenes. Now, my problem... I played CC for a few hours on my Linux box right after I purchased it (along with the rest of the Indie Bundle 2). Was a bit disappointed by the lagginess. Then I got to run it on a Windows host with (mostly) no problems except sometimes a crash or two. But I don't have a permanent access to that box, so I can't just let it go that way (who just thought I'm already addicted? They would be right ![]() Just so that you know, my Linux box is several orders of magnitude (yeah, at least ![]() [For a short version, start here ![]() Thus I installed the Win version using Wine. No problem. It's when I want to run it that my problem arises... To run it, i would cd <install dir> because I know that otherwise it often causes trouble. Anyway, the program craches and displays a messagebox saying that it could not find Base.rte/GUIs/Sounds/MenuEnter.wav Of course, that file exists, and I double-checked the usual upper/lower case thing (for those who don't know, it is a common problem because Windows is not case sensitive regarding file names... while most other non-Microsoft OSes are). I think it's just a path issue, but I have not found how to solve it yet. Would someone happen to? edit: Oh, BTW, I'm using Kubuntu 10.10 (Maverick) and Wine 1.2.1 |
Author: | Shuffle [ Sat Jan 08, 2011 5:51 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
Hmmm... I thought I got it when I read the output of the strace program (a debugging tracer), because line 63563 read: Quote: strace output, line 63563: stat64("/home/shuffle/.wine/dosdevices/c:/Jeux/Cortex Command/Base.rte/GUIs/Sounds/MenuEnter.wav", {st_mode=S_IFREG|0644, st_size=50700, ...}) = 0 So I though "yay, it's because it's prepending the current directory to the wine path. But noooo... this is really the normal behaviour. As a proof: Quote: $ ls -l "/home/shuffle/.wine/dosdevices/c:/Jeux/Cortex Command/Base.rte/GUIs/Sounds/MenuEnter.wav" (roughly equivalent to a dir command in the DOS console, but with even more info) -rw-r--r-- 1 shuffle shuffle 50K 2010-12-13 19:33 /home/shuffle/.wine/dosdevices/c:/Jeux/Cortex Command/Base.rte/GUIs/Sounds/MenuEnter.wav So yes, the file exists, yes the CC executable could read it and no, it's not even an empty file. I'm stuck. Again. ![]() |
Author: | Asmageddon [ Sun Jan 09, 2011 2:42 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
Solutions that come to my mind: 1) Try reinstalling(and perhaps re-downloading installer) 2) There are some problems with interoperability of *.wav files between Windows and Linux, afaik. Perhaps try setting Wine to emulate sound? |
Author: | Lizardheim [ Sun Jan 09, 2011 2:46 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
The same sound file occationally fails to load on windows too. It usually works again after I start it again after the error happens. |
Author: | Asmageddon [ Sun Jan 09, 2011 6:14 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
Lizard wrote: The same sound file occationally fails to load on windows too. It usually works again after I start it again after the error happens. Sounds weird... and suspicious |
Author: | Shuffle [ Thu Jan 13, 2011 6:59 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
Hello again! I reinstalled it with no luck, so I took a look at "sound emulation", as suggested by Asmageddon (thanks by the way). After some nasty fight with wine config, I was about to give up. But I remembered a secret nija technique that could help me. I tried it, and... I finally managed to get... another error! Well, at least it is not sound-related this time. For the record, I "solved" (or sould I say "got around"?) the previous problem by launching the .exe in a JACK-ified Wine instance (still using the OSS wine output, but wrapped with jacklaunch). For people who don't know, JACK is a realtime low latency connection-based sound server (it rocks ![]() Short version starts here... The new problem started with a missing DLL: msvcp80.dll So I ran to my favourite DLL download site to get it, and put it in Wine's system32\ folder. Now, as you probably guessed, it doesn't work much better, BUT I get yet another error: So, I suppose that DLL alone is not enough, I must get the complete VCredist package. Winetricks (a cool script) will help me with that, but my question is: which version should I install? |
Author: | Roast Veg [ Thu Jan 13, 2011 11:19 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
msvcp80.dll should be included in msvcp90.dll Get rid of the '80, it's causing the last error you were getting. I know it sounds like one step back, but you did it unnecessarily. |
Author: | Shuffle [ Sun Jan 16, 2011 3:16 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
Roast Veg wrote: Get rid of the '80, it's causing the last error you were getting. I know it sounds like one step back, but you did it unnecessarily. I tried. Of course, wine complained '80 did not exist anymore, so I copied '90 to '80 but I got the same error. Then I fiddled around with winetricks. Installed "ie6" (prerequisite), "dotnet20" (.Net 2.0 Framework) and "vcrun2005" (Visual C++ 2005 Redistributable), but I still get the same error message. I'm not sure it was here before, but I also have a console error message: Quote: "MSVCR80.dll" failed to initialize, aborting I think I'm going to have to be (very) patient and play only when I can have access to a Windows box. ![]() Anyway, I was planning to buy a SSD soon (price drop these last months makes them almost affordable now) to run a Windows and some "big" (commercial) games, so that might solve all my problems. But I don't like this "solution" much, I suppose you understand why... Bottomline: I'm still open to solutions and suggestions, but I'm mostly giving up the "active" search for a solution myself. |
Author: | Asmageddon [ Sun Jan 16, 2011 8:59 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
No idea, runs fine for me. What Wine/kernel/xorg/etc. versions do you have? |
Author: | Shuffle [ Sun Jan 16, 2011 11:51 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
Wine: 1.2.1 Kernel: 2.6.35 Xorg: 1.9.0 etc: Kubuntu 10.10 (Maverick) up-to-date |
Author: | omark [ Mon Jul 18, 2011 7:42 pm ] |
Post subject: | Re: B24 + Linux (Wine) => "Failed to load datafile" at statup |
I also have the menuenter.wav problem using Linux. Both with and without Wine, tried downloading multiple times. Downloaded from the humblebundle page. I have played with that same pc earlier, so I'm stumped. :S I so wanted to play some CC... Does anyone have a solution? |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |