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
Getting game to run: directories
Getting game to run: directories
On Sun, Oct 12, 2008 at 5:19 AM, Stevewy <[email protected]> wrote:
full path? Doing both?
--
-Austin
Does running the app from its own directory help? How about using theThis 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
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.
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.
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). The output, apart from the error message, is:
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2012 WGL Attribute
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
fixme:win:SetLayeredWindowAttributes (0x30062,0x8000000f,0,1): stub!
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2012 WGL Attribute
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
fixme:win:SetLayeredWindowAttributes (0x30062,0x8000000f,0,1): stub!
Wrong read this about how to properly run windows applications on Wine: http://wiki.winehq.org/FAQ#head-8d8c06c ... 5c730566e0Stevewy 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).
BTW you still have not answered the two questions I asked you.
Ah, well I didn't exactly "install" the game into Wine, so it doesn't appear in the Applications/Wine/programs menu in Ubuntu. Although the "right click the icon" method has worked with a lot of Windows executables before. I cannot install the game because it is downloaded as a zip file, containing a folder with all the files in. You just unpack the Zip and run the executable.
"PWD" gives:
/home/steve/Zenith
and the command I used was:
Wine Zenith.exe
Actually, I think the game is trying to start because I am now getting a terminal up (which I think is created by the Zenith program itself) saying:
Error 0009: Could not start sound @ Form.Create; Game will proceed without sound.
Unexpected Exception: Access violation at address 00000000 in module 'Zenith.exe'. Read of address 00000000
"PWD" gives:
/home/steve/Zenith
and the command I used was:
Wine Zenith.exe
Actually, I think the game is trying to start because I am now getting a terminal up (which I think is created by the Zenith program itself) saying:
Error 0009: Could not start sound @ Form.Create; Game will proceed without sound.
Unexpected Exception: Access violation at address 00000000 in module 'Zenith.exe'. Read of address 00000000