This is a newbie question, so forgive me if you've heard it a million times before. I've just downloaded a Windows game called "Zenith". The website did confirm it worked on Linux under Wine. However, the game does not start because when I click on the executable, it says it cannot load an image from the /media directory. This game is, apparently, meant to be portable so all files are contained in folders below where the main executable is. But wine can't find it. Or rather it says it "cannot open" it. It's a PNG file but I doubt if that has any bearing. Does anyone have any advice, or am I asking in the wrong place? Steve W
On Sun, Oct 12, 2008 at 5:19 AM, Stevewy <wineforum-user at winehq.org> wrote:> This is a newbie question, so forgive me if you've heard it a million times before. > > I've just downloaded a Windows game called "Zenith". The website did confirm it worked on Linux under Wine. However, the game does not start because when I click on the executable, it says it cannot load an image from the /media directory. This game is, apparently, meant to be portable so all files are contained in folders below where the main executable is. But wine can't find it. Or rather it says it "cannot open" it. It's a PNG file but I doubt if that has any bearing. > > Does anyone have any advice, or am I asking in the wrong place? > > Steve W > > > > > >Does running the app from its own directory help? How about using the full path? Doing both? -- -Austin
I am running it from its own directory, and using the full path. I don't know whether the problem is that the folder holding this file that the main prog cannot find, is called "media", and wine is confusing the /media folder for the Linux system with the /media subfolder containing this image that it cannot find. The program does run fine under Windows XP - it's just getting it to run under Wine that is not happening. Is there a setting in Wine that will tell it to find all folder references underneath its current position in the directory tree, rather than thinking /media refers to the Linux directory? Thanks for any advice you can give.
Stevewy wrote:> Well, in Ubuntu you can just right-click on the executable icon in Nautilus and select "Open with Wine windows emulator". However, in a terminal window I type "Wine" and give the full pathname (which is in an ext3 Linux partition).Wrong read this about how to properly run windows applications on Wine: http://wiki.winehq.org/FAQ#head-8d8c06cf7fb33269c085a07531b61e5c730566e0 BTW you still have not answered the two questions I asked you.