Myth II in linux with or without wine

Talk about anything here.
GameJunkieJim
Posts: 10
Joined: Mon Aug 13, 2007 10:26 pm

Post by GameJunkieJim »

Issue with black screen solved by simply switching to software rendering. There has to be a further fix possible to get OpenGL working, but as for now, software is going to have to work.

Another issue I had was the lack of sound under Wine. This was almost as easily solved.

Wine simply wasn't making any audio available to the application, so Myth assumed there was no sound card.

For anyone else having the problem, I fixed it by running winecfg

Under Audio, disable OSS and enable ALSA, and click apply, go to the Applications, then add Myth II to the list ( I don't know if this is necessary, but I did it anyway) and set it to run compatible with Windows 98.

Ta Daa sound.

Maybe this will help some people.
qwarqwa
Posts: 36
Joined: Sun Jun 24, 2007 9:45 am

Post by qwarqwa »

WINE 0.9.59
Basically everything Myth works perfectly, my computer is just pretty crappy

Working:
Modern version; everything (except "windowed mode" ?)

Broken:
"Classic" version just crashes, drawing rainbow stripes over the whole screen.
Wine doesn't accelerate intel video cards
Alsa output + pulse audio = loud static (you need to use oss in wine and start myth with padsp)

As of wine 0.9.45
What Works!
- Only the "Classic" 1.6 update works
- All sound stuttering & latency with ALSA have been resolved.
- OpenGL

What Doesn't?
- "Modern" 1.6
- DirectX (anything from slight corruption around effects to lockups)
- FIXED Crazy bug with the some windows and scroll bars

Image

Issues
- If you wish to use PulseAudio with wine, you need to use the padsp command, this still gives you nice per-application audio mixing.
For example...
1. padsp winecfg [click on the "Audio" tag. Tick the "OSS" box. Click "test audio" to check it works]
2. padsp wine [path to myth]
3. Enjoy your ear-gasm

- On a crash Myth will switch to "software rendering" or "direct x" seemingly at random.

- Mouse gestures "leak" through regardless of the focused application

Everything else is super fucking peachy!

Image
Last edited by qwarqwa on Thu May 01, 2008 2:20 am, edited 13 times in total.
vinylrake
Posts: 3591
Joined: Wed Apr 07, 2004 12:52 pm
Location: here
Contact:

Post by vinylrake »

Lots of Myth stuff at http://mythgraveyard.org.
Sometimes I put hard to find stuff in my my Udogs folder.
Bladetooth
Posts: 15
Joined: Sun Nov 18, 2007 11:20 pm
Location: Boston

Myth on OLPC?

Post by Bladetooth »

Linux Myth code is AWOL? That sucks. There goes my dream of a port of Myth II to OLPC (and getting lots of poor African kids hooked on wight explosions). Can’t something be done?
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

Works under Wine 1.1.1 on FreeBSD 7.

Basically all defaults, with Classic. Seems only Software mode works, but I haven't experimented with that much. I'll update if I find something more...

-DA
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

A few more notes:

Modern build *runs* under the aforementioned settings. Much like classic, I can only get it to be bearable with software mode. Direct3D forces full screen and is about .01 FPS, and open GL crashes. The only resolution it will play at in modern is 640x480. Tiny units!

-DA
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

Alright, now that I realized how dumb I am, I got some updates:

Lesson One: Compile Wine with HAL support mb...

After I did this classic runs great in OpenGL and D3D. Much better in OpenGL.

Modern runs the same as before.
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

OK! Update! And 4 posts in a row. Like anyone reads this…

Anyway, it seems myth fails to run in wine > 1.0.0. In 1.0.0 it is perfect, without a doubt, but 1.1.4 either crashes X or just won't run (Traceback mentions some ddraw error and its inability to switch from 32 to 16).

-DA
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Post by Myrd »

Submit some bug reports to winehq. :P
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

Myrd wrote:Submit some bug reports to winehq. :P
Im in the process!

EDIT:

http://bugs.winehq.org/show_bug.cgi?id=15077

There is one. Ill add comment I suppose...

EDIT:

Resolved in 1.1.5!

-DA
qwarqwa
Posts: 36
Joined: Sun Jun 24, 2007 9:45 am

Post by qwarqwa »

Death's Avatar wrote: After I did this classic runs great in... D3D. Much better in OpenGL.
For some reason intel GMA adaptors dont work with either.
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

qwarqwa wrote:
Death's Avatar wrote: After I did this classic runs great in... D3D. Much better in OpenGL.
For some reason intel GMA adaptors dont work with either.
Is there 3d acceleration with the intel drivers? That's the only problem I could think of...

-DA
qwarqwa
Posts: 36
Joined: Sun Jun 24, 2007 9:45 am

Post by qwarqwa »

I don't have the laptop anymore, but according to glxinfo direct rendering worked, I could run 3d screen savers.

Anyway it was a GMAx3100.

Opengl would draw parts of the scene fine but other parts still had whatever was last displayed (ie. a screensaver, video etc) and had decent frame rate but flash slightly.

D3D would shade all the triangle thingos pink to yellow and ran at less than a frame a second and eventualy take the whole computer down with it.

Both would run only once I started xorg in thousands of colors (16bit).

I wrote what version of the drivers I was using somewhere but I cant find it now.
doughnet
Posts: 14
Joined: Sun Sep 23, 2007 12:14 pm

Re: Myth II in linux with or without wine

Post by doughnet »

I have the Loki CDS with installation if anyone wants it let me know.
User avatar
haravikk
Site Admin
Posts: 987
Joined: Mon Mar 22, 2004 12:56 pm
Location: Scotland

Re: Myth II in linux with or without wine

Post by haravikk »

You should be able to run the Myth games fine on Linux if you use Sun's Virtual Box, as it has good support for OpenGL, be sure to get version 3 if you've ever tried an older version. It requires a Windows installation though as it's a typical virtual machine solution.
Being Haravikk gets you girls like these:
Image
Post Reply