Gaming Love

Go Back   Gaming Love > Love Discussion > Bug reports



Bug reports Mention any bugs you find here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-27-2010, 06:28 PM   #1
Junior Member
 
Join Date: Mar 2010
Posts: 6
Default Love through Wine .. on Linux and Mac

While I hope and wait for a native version of Love for Mac and Linux, I decided to spend some time trying to get it working under Wine.

It started up fine on my Macbook Pro (with the latest wine installed from fink), but even in the low end mode the fps is too low to be realistically usable.

My Linux install is a Debian Sid 64 bit. I compile Wine myself, and I'm currently running 1.1.41 .. I play EvE quite a bit under that setup and it's stable.

Love however, starts up and shows the splash screen, then exits. The symptoms are the same as the ones reported in this thread which seems to be readonly (at least for me).

The WineHQ site doesn't have an entry for Love in the AppDB yet, and I'd like to gather some more info before getting one up there. If you're having success/bad luck please post your basic distro / hardware / specific problem..
TTimo is offline   Reply With Quote
Old 03-27-2010, 07:37 PM   #2
Senior Member
 
Amagineer's Avatar
 
Join Date: Oct 2009
Location: Canada, Eh?
Name: Atlas
Server: ATL1
Posts: 160
Default Re: Love through Wine .. on Linux and Mac

I found the solution, it was exactly what VariousArtists had suggested. I needed to use the Esound sound driver instead of ALSA or whatever else. If I recall correctly, I had to set up PulseAudio to get Wine to detect Esound.

I'm using Arch (64 bit) as my distro.
My MoBo is an Asus M3A, and my CPU is an AMD Phenom 9500
4 Gigs of Ram
And my graphics card is an NVidia 8600 Gt
I'm using the onboard soundcard.
__________________
WARNING! Do not read this sentence!
Running love on linux with wine. Needed THIS patch.
ATL1:Atlas

Last edited by Amagineer; 03-27-2010 at 07:41 PM.
Amagineer is offline   Reply With Quote
Old 03-27-2010, 11:45 PM   #3
Junior Member
 
Join Date: Mar 2010
Posts: 6
Default Re: Love through Wine .. on Linux and Mac

I dug a bit deeper into those recommendations, and I believe recent Wine releases (1.1.x) have removed esound support .. which makes sense as esd has been deprecated for some years in Linux .. what version of Wine are you running?

[edit]
I think you are right on PulseAudio though, it looks like love expects the sound device to mix from multiple source at driver level, which is often a problem on Linux unless you have an emu10k or a software solution like PA instead of just a crappy onboard sound chip..
[/edit]

Last edited by TTimo; 03-27-2010 at 11:57 PM.
TTimo is offline   Reply With Quote
Old 03-28-2010, 01:25 AM   #4
Senior Member
 
Amagineer's Avatar
 
Join Date: Oct 2009
Location: Canada, Eh?
Name: Atlas
Server: ATL1
Posts: 160
Default Re: Love through Wine .. on Linux and Mac

I'm running wine 1.1.41. I'm pretty sure esd support hasn't been discontinued seeing as I have an "EsounD" option in winecfg. I did however have to install the 32 bit Esound library before wine would see it.
__________________
WARNING! Do not read this sentence!
Running love on linux with wine. Needed THIS patch.
ATL1:Atlas
Amagineer is offline   Reply With Quote
Old 03-28-2010, 04:46 AM   #5
Junior Member
 
Join Date: Mar 2010
Posts: 6
Default Re: Love through Wine .. on Linux and Mac

Worked with another guy more familiar with Wine on the problem.

Took a while to get esound working .. I have 32 bit libesd, I was passing --with-esd to the configure script correctly etc. But it turned out I have to run esd from a terminal to see the option .. and in most cases I have to restart it between attempts.

Now I'm wondering ... is the login screen supposed to play some really low-key wind wooshing sound? I don't have a login yet (not until I'm reasonably confident I can actually run this), and it's not clear that esound is actually doing the trick rather than playing some garbled stuff.

Far as why esd is working and other stuff isn't, we have a few theories:

Quote:
kevlarman: pretty much exactly what i suspected, the esd driver is barely maintained atm, someone broke the alsa driver but not esd
kevlarman: the check that returns MMSYSERR_ALLOCATED differs quite a bit between winealsa.drv and wineesd.drv
[..]
kevlarman: looks like winealsa.drv/waveout.c doesn't want to play multiple streams
TTimo is offline   Reply With Quote
Old 03-28-2010, 11:57 PM   #6
Junior Member
 
Join Date: Mar 2010
Posts: 6
Default Re: Love through Wine .. on Linux and Mac

Success!

Got things working with the alsa backend .. patch:

Quote:
--- a/dlls/winealsa.drv/waveout.c
+++ b/dlls/winealsa.drv/waveout.c
@@ -622,7 +622,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)

if (wwo->pcm != NULL) {
WARN("%d already allocated\n", wDevID);
- return MMSYSERR_ALLOCATED;
+ return MMSYSERR_NOERROR;
}

if (dwFlags & WAVE_DIRECTSOUND)
This basically makes the Alsa backend behave the same as Esound .. I can't tell if it's a good or a bad thing but sound seems to work, and I haven't noticed any other problems.
TTimo is offline   Reply With Quote
Old 04-03-2010, 09:14 PM   #7
Junior Member
 
Join Date: Mar 2010
Posts: 6
Default Re: Love through Wine .. on Linux and Mac

Love has an AppDB entry now, that way Wine users can track working/non working state for the game, and all that good stuff:

http://appdb.winehq.org/objectManage...tion&iId=11327
TTimo is offline   Reply With Quote
Old 04-04-2010, 01:51 AM   #8
Member
 
Join Date: Mar 2010
Location: BC
Name: Siobe
Server: Atlanta 1
Posts: 73
Default Re: Love through Wine .. on Linux and Mac

Anyone else find the title slightly funny? :P

Sorry I don't have anything to contribute x..x
korncob is offline   Reply With Quote
Old 04-04-2010, 12:36 PM   #9
Senior Member
 
Join Date: Dec 2009
Location: EU
Name: Suudon
Server: UK1
Posts: 346
Default Re: Love through Wine .. on Linux and Mac

Great that somebody showed up who has a bit more experience with Wine and Linux! Bless you Timo! Wasnt able to fix that annoying linux soundcrap myself.
__________________
"I am the fabric dreams are made of. I bring chaos into order and get a smile from eternity"
"Home is where the artillery hits"
"Home is where you're up to the neck in water"
"Home is where devs make you a flying, death-spreading gunman"
"Love lets you fly"
VariousArtist is offline   Reply With Quote
Old 04-04-2010, 06:13 PM   #10
Senior Member
 
Amagineer's Avatar
 
Join Date: Oct 2009
Location: Canada, Eh?
Name: Atlas
Server: ATL1
Posts: 160
Default Re: Love through Wine .. on Linux and Mac

Well, I'll have to try that patch and see if I can get Love working with ALSA instead of EsounD. Just wondering, did either of you get any sound when you used EsounD?
__________________
WARNING! Do not read this sentence!
Running love on linux with wine. Needed THIS patch.
ATL1:Atlas
Amagineer is offline   Reply With Quote
Old 04-05-2010, 07:55 AM   #11
Member
 
Join Date: Sep 2009
Location: Trondheim, Norway
Server: UK1 and ATL1
Posts: 64
Default Re: Love through Wine .. on Linux and Mac

After loading I end up floating above the ground, with rather damaged pixels around. Sometimes objects can be seen floating. When I try to move the view, the game crashes to desktop.
Any ideas?
It has worked great before.

Ubuntu 9.10 64bit
Wine 1.0.1

EDIT: After installing Wine 1.1.41 this works great for me.
Screenshot: Imgur

Last edited by Oksavik; 04-05-2010 at 08:17 AM. Reason: fixed
Oksavik is offline   Reply With Quote
Old 04-05-2010, 09:04 AM   #12
Senior Member
 
Join Date: Dec 2009
Location: EU
Name: Suudon
Server: UK1
Posts: 346
Default Re: Love through Wine .. on Linux and Mac

Quote:
Originally Posted by Amagineer View Post
Well, I'll have to try that patch and see if I can get Love working with ALSA instead of EsounD. Just wondering, did either of you get any sound when you used EsounD?
Yes, I only got sound with Esound+emulation enabled only. All others bailed out at the sound init. Didnt knew about that workaround with Alsa. But seems Esound is removed or will be removed soon?
__________________
"I am the fabric dreams are made of. I bring chaos into order and get a smile from eternity"
"Home is where the artillery hits"
"Home is where you're up to the neck in water"
"Home is where devs make you a flying, death-spreading gunman"
"Love lets you fly"
VariousArtist is offline   Reply With Quote
Old 04-05-2010, 07:02 PM   #13
Senior Member
 
Amagineer's Avatar
 
Join Date: Oct 2009
Location: Canada, Eh?
Name: Atlas
Server: ATL1
Posts: 160
Default Re: Love through Wine .. on Linux and Mac

Well, EsounD is definitely still there, and I can confirm that the patch works, although you have to be willing to build wine from source and whatnot.
__________________
WARNING! Do not read this sentence!
Running love on linux with wine. Needed THIS patch.
ATL1:Atlas
Amagineer is offline   Reply With Quote
Old 04-30-2010, 04:59 PM   #14
Member
 
Join Date: Sep 2009
Location: Trondheim, Norway
Server: UK1 and ATL1
Posts: 64
Default Re: Love through Wine .. on Linux and Mac

After upgrading to Ubuntu 10.04, ESound has disappeared in Wine. This means that LOVE no longer works for me.

Could TTimo, or someone else explain the solution please?

Quote:
Originally Posted by TTimo View Post
Success!

Got things working with the alsa backend .. patch:
I'm not sure where to 'apply' the patch that you posted.
Oksavik is offline   Reply With Quote
Old 05-27-2010, 02:18 PM   #15
Member
 
Join Date: Sep 2009
Location: Trondheim, Norway
Server: UK1 and ATL1
Posts: 64
Default Re: Love through Wine .. on Linux and Mac

Sorry for bumping this, but does anyone play LOVE using Linux and Wine?

I've had plenty of problems with this, not being an Ubuntu-guru or anything. However, I just got it going again.

My problem was that ESound was removed when upgrading to 10.04.
The solution was WinePulse.

Installing this custom version of Wine gave me a Pulseaudio choice in the config, and it worked.

Last edited by Oksavik; 05-27-2010 at 02:38 PM. Reason: Fixed it.
Oksavik is offline   Reply With Quote
Reply

Bookmarks

Tags
apply, art, config, crashes, edit, fun, graphics, love, mac, move, patch, ubuntu, wind

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:59 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO