My apologies for being a total Wine NOOB.
I've been trying to get anything to work on Wine (with little success).
Panzer General II is supposed to be rated as Gold. I can get it to load fine. It starts, and I can even get to the start of a scenario/campaign. The main problem is it doesn't load the maps or anything into the map area.
I ran winedbg and got this:
fixme:win:EnumDisplayDevicesW ((null),0,0x33f848,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d:IWineD3DDeviceImpl_Release (0x133f20) Device released with resources still bound, acceptable but unexpected
fixme:d3d:dumpResources Leftover resource 0x13c9d8 with type 1,WINED3DRTYPE_SURFACE
I'm using Fedora 9 (Sulphur) and an nVidia 8500GT graphics card. My xorg.conf file looks like this:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1360x768"
HorizSync 31.5 - 48.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 32
EndSubSection
EndSection
Railroad Tycoon 2 is also supposed to run fine in Wine.
It loads fine, and when I go to run it, it gets past the intro and the main page opens, but the cursor cannot interact with anything (ie I can't click on Single Player, or any other button). I also have to TAB out of the game by keeping another program open (else I have to reboot the program as the entire machine just stops except I can still move the cursor). Once I've tabbed out of the game I can then close it from the taskbar.
Running winedbg gave me this output:
fixme:win:EnumDisplayDevicesW ((null),0,0x33eb2c,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
Very similar to the other output.
Have been through everything I could find that mentions similar outputs. Most say it is fixed using an nVidia driver (which I have) as it's an ATI bug.
Any suggestions?
Cheers,
David
Panzer General 2 - Railroad Tycoon 2
http://wiki.winehq.org/256ColorsWorkaroundsfixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
http://bugs.winehq.org/show_bug.cgi?id=7334
Hi Dimesio,
Sorry for not getting back earlier but whilst trying to resolve this I totally messed up my machine ... (short version, I tired to install Ubuntu and accidentally partitioned it over the Fedora installation. I've been messing around with Ubuntu since then).
Anyway, I'd previously tried all of that before I posted and non of it worked.
I figured it might be something to do with how my graphics card was set up (though it runs Linux stuff perfectly well, including 3D games etc).
Ubuntu is now in the same situation as the Fedora release was. Everything up to date and none of the things listed on this site work, and I'm still getting the same errors.
Now I'm using the official nvidia driver instead of the linux nv driver ... but still no difference.
I'll keep working at trying to find a solution and will post what I do once I get around the issue. In the meantime, if anyone else has any suggestions they would be appreciated.
Cheers,
Sorry for not getting back earlier but whilst trying to resolve this I totally messed up my machine ... (short version, I tired to install Ubuntu and accidentally partitioned it over the Fedora installation. I've been messing around with Ubuntu since then).
Anyway, I'd previously tried all of that before I posted and non of it worked.
I figured it might be something to do with how my graphics card was set up (though it runs Linux stuff perfectly well, including 3D games etc).
Ubuntu is now in the same situation as the Fedora release was. Everything up to date and none of the things listed on this site work, and I'm still getting the same errors.
Now I'm using the official nvidia driver instead of the linux nv driver ... but still no difference.
I'll keep working at trying to find a solution and will post what I do once I get around the issue. In the meantime, if anyone else has any suggestions they would be appreciated.
Cheers,
Actually, all my problems with games seem to revolve around the same exception I keep getting.
0016:Call PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=WINE_PREATTACH,res=(nil))
0016:Ret PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=WINE_PREATTACH,res=(nil)) retval=1
0016:Call PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_ATTACH,res=(nil))
0016:Ret PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
0010:Call PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_DETACH,res=0x1)
0010:exception in PE entry point (proc=0x7e43d360,module=0x7e430000,reason=PROCESS_DETACH,res=0x1)
0010:Ret PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
I found imm32.dll was missing in the System folder, so I installed it there, but the same exception kept occurring. I also installed it in the system32 folder (just in case) and it still has the same problem. I've fiddled with the WINE config etc only to find regardless of telling it to use native or builtin it seems to have the same problem.
Any suggestions???
Thanks,
David
0016:Call PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=WINE_PREATTACH,res=(nil))
0016:Ret PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=WINE_PREATTACH,res=(nil)) retval=1
0016:Call PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_ATTACH,res=(nil))
0016:Ret PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
0010:Call PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_DETACH,res=0x1)
0010:exception in PE entry point (proc=0x7e43d360,module=0x7e430000,reason=PROCESS_DETACH,res=0x1)
0010:Ret PE DLL (proc=0x7e43d360,module=0x7e430000 L"imm32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
I found imm32.dll was missing in the System folder, so I installed it there, but the same exception kept occurring. I also installed it in the system32 folder (just in case) and it still has the same problem. I've fiddled with the WINE config etc only to find regardless of telling it to use native or builtin it seems to have the same problem.
Any suggestions???
Thanks,
David
Railroad Tycoon 2 now working
Okay, I still can't get Panzer General 2 working. (same problem in bugzilla that Mars is having - no maps or units showing).
BUT, I have managed to get Railroad Tycoon 2 working. Very weird, but I've found if I start it up and then eject the CD from the CD Drive and wait till it ejects (takes about five minutes), then the program starts working.
Only difficulty I'm having is the bottom part of the screen is chopped off and I can't get scroll down to that section.
This means playing the game without being able to use any of the controls down there, and without being able to see how much money etc I have.
I did play through the first scenario without a problem.
Just for the record, I'm now on Ubuntu 8.1 Intrepid Ibex 64 bit version. I also had to upgrade the nVidia driver to 180.11 (which I believe is still in beta release) as I was getting some weird errors in normal Ubuntu software with nVidia 177 driver.
I hope this helps anyone with a similar Railroad Tycoon 2 problem and if anyone knows how to get it to work without having to eject the CD it'd be appreciated.
Cheers,
David
BUT, I have managed to get Railroad Tycoon 2 working. Very weird, but I've found if I start it up and then eject the CD from the CD Drive and wait till it ejects (takes about five minutes), then the program starts working.
Only difficulty I'm having is the bottom part of the screen is chopped off and I can't get scroll down to that section.
This means playing the game without being able to use any of the controls down there, and without being able to see how much money etc I have.
I did play through the first scenario without a problem.
Just for the record, I'm now on Ubuntu 8.1 Intrepid Ibex 64 bit version. I also had to upgrade the nVidia driver to 180.11 (which I believe is still in beta release) as I was getting some weird errors in normal Ubuntu software with nVidia 177 driver.
I hope this helps anyone with a similar Railroad Tycoon 2 problem and if anyone knows how to get it to work without having to eject the CD it'd be appreciated.
Cheers,
David