How to get yoville working on Ubuntu 8.10 and firefox

This weekend I installed Ubuntu as a dual boot on 3 systems on our family network. The general idea is to wean us off of using Windows and enjoy free software, therefore being “free”.

I started off using this free program to repartition all three computers hard drive into two partitions, one for Windows (leaving enough space to install more applications in windows) and one for a new install of Ubuntu 8.10. (this = SystemRescueCd) did a great job allowing me to use existing disk space and install a decent distribution of linux. I initially had problerms on two of the three systems due to the fact I was using a beta CD image of Ubuntu 8.10 (which was downloaded back in the summer months). After starting the install, Ubuntu would fail by exiting out to a command prompt (watching carefully I could see XServer was failing, which made me think it was a video driver issue?). Turns out that after trying the 8.10 release CD image (And downloading another 700+ MB image) my problems went away and the install completed fine. Both failing systems were Gigabyte motherboards with onboard Geforce 8200 chipsets (which had problems at some point during the 8.10 development).

Now that Ubuntu was installed, I allowed all of the system updates to download and voila… 3 beautifully functional free installations. The family was astounded by how many free programs there were and how well they work. We were totally sold on Ubuntu… until the yoville issue was discovered! The short explanation is that the Adobe Player v10 does NOT work with yoville for Ubuntu (and perhaps other linux distros? as of this writing).

The yoville solution:

To fix the problem you need to do two things.

#1: You need to remove EVER trace of the existing shockwave player. You usually do this by going to: System / Admin / Software Packages and find the entry for Flash player and select remove all. Also goto: System / Search for files and enter the filename: libflashplayer.so

#2: Download the flash player v9 which is known to work with yoville from: here. This is a large download because adobe decided to package up this version with ALL v 9 players for every operating system. Once downloaded extract the contents into a temp folder. Navigate to the folder called: 9r124 and extract the file: flashplayer_9r124_linux.tar.gz and finally open a command prompt and navigate to the folder where you extracted th contents of the last file mentioned. Run the following commands:

chmod +x flashplayer-installer

sudo ./flashplayer-installer

*NOTE: the second command will ask you for the admin password, you need admin access to properly install this package.

Follow the prompts, at one point it may ask for the path to your firefox / mozilla browser, I had to manually enter the path as follows: /usr/lib/firefox-3.0.0.5/

but you may need to look in user/lib to see what folder your web browser is installed. Once you get past the prompts, it will ask about installing for another browser, just enter: n.

That’s it! Now open firefox and yoville should work.

Delete every instance that the search finds.

Another note for anyone interest is how well Wine works in Ubuntu! Wine (wine is not an emulator) allows you to run windows applications from inside linux. What a fantastic application it is indeed! To save a lot of time you should install winetricks which basically gives you an easier way to install win32 modules like the ever important directx suite. After installing wine and winetricks and directx we were able to get Track Mania working under Ubuntu! Many great windows applications work via the wine layer.

Although the idea is wean us away from windows, the reality is that it will take time to learn and prove out Ubuntu (and linux) for our entire family needs. Wine allows us to do just that. Another surprise was that TimeTracker partially works under Ubuntu. That is shocking to me because it makes HEAVY use of both documented and undocumented Win32 API’s. Perhaps one day there will be a version of TimeTracker that works in both Windows and Linux? But that is another story!

UPDATED — Monday January 5, 2009

-=-=-=-=-=-=-=-=-=-=-=-=-=

Item #1: After the family did a fair amount of testing we discovered that there is NO RELIABLE / CONSISTENT way to play yoville using the linux flash plugin. We tried MANY different versions of the plugin and they all exhibit random problems in yoville.

Item #2: I thought I would try ies4linux and install the IE flash plugin in this pseudo emulated IE environment. While this does appear to work with yoville (After installing the flash plugin for IE 6 for windows via wine) the performance is hideous and the screen flickers badly.

Item #3: I was almost ready to give up when I asked myself.. what is the real problem? The real problem revolves around the fact that the flash player for linux is buggy. But the same player for windows is not. I decided to try installing firefox for windows and see if that works. It DOES WORK 100%! Here is what you do (I assume you already have wine installed):

1. Download firefox for windows from here

2. Install the downloaded version using wine (right click the file you downloaded and select open in WINE)

3. Once complete you’ll get a link on your desktop to firefox for windows!

4. Visit the yoville main page and select the link for the flash player and download / install it

5. Go back to the yoville start page

5. Enjoy yovill’ing!

This works 100% everywhere in yoville.. of course it does it is running the same windows programs that work when running through the windows operating systems!


23 Responses to How to get yoville working on Ubuntu 8.10 and firefox

  1. Pingback:How to get yoville working on Ubuntu 8.10 and firefox | Ubuntu-News

  2. Thanks for the tip… I have tried many of the flash plugins and many of the browsers…

  3. Several flash-based games like gaia online and others, does not work with flash 10 for unix-based operating systems (MAC OS included)
    The problem here is that adobe does not support very well this “branch” of users since they do not pay licenses like windows users do and therefore it’s a bad plugin.
    Lots of programmers have created “alternatives” to adobe’s flash player, but, unfortunately, they are not good enough.

    The best solution is to install wine and then firefox 2.0.11 because 3.0 it’s still buggy with wine.

  4. After months of trying to get Facebook Yoville to work in Linux for my wife, I discovered Puppy Linux 4.2 on a live cd and it works perfectly out of the box ( http://www.puppylinux.org ). It recognizes most wireless cards right away and if not, the drivers can be found online.

    This is nice, no Wine, no Explorer…we have Linux Mint 7 installed on the hard drive and run Puppy Linux live off the cd, we never need to install it on the hard drive, although you can. Puppy Linux is only about 100 megabytes and very fast.

    Since this works with Yoville, it should also do fine with Texas Hold’m and other games that don’t work with Flash Player 10 in Linux.

  5. Avatar vagrale13
    vagrale13 says:

    Hi all!!!
    The best way to play yoville with ubuntu 8.10 & 9.04 is to use seamonkey browser!!
    And after that there will be no problem !!
    Just work perfect with seamonkey!!
    😉

  6. Just tried SeaMonkey web browser and voila.. another way to get Yoville working flawlessly on Linux! Nice find.

  7. Linux can have the latest version of flash and it will do no good. The PROBLEM is with YoVille. They are too lazy to test their apps with anything but windows. The code in Yoville that needs fixed is like one line.

    Launch Yoville like normal and then click .. (like normal) then hit your tab key and enter, then hit the tab again and enter, wash rinse reapeat. After dicking around this way it’ll connect to the default server.

    Once you are in yoville some of the menus may not display right at first (like the buddy list) TO FIX THAT: you just use the keyboard (sans mouse) (arrow keys in the buddy list’s case) and the menu will then refresh and behave correctly from then on.

  8. I tried Yoville using Seamonkey and it didn’t log in — same error as their server hangs at 75%.

    Reason is, Seamonkey needs flash installed, so if you copy the flash plugin or download and install it, it still hangs.

    How did the users who were able to use Seamonkey get in? Are you using Flash 9 or 10?

    I also tried the trick of removing 10 and installing 9 and still no luck.

    My friend who absolutely LOVES Linux Mint is frustrated by the folks at Yoville…

  9. We used the stock install of seamonkey from the Ubuntu’s Applications -> Add / Remove. I beleive seamonkey works because it doesn’t use a failing component that Firefox uses to communicate with the flash plugin (np something was the name of the failing component).

    Thanks

  10. My family doesn’t play Yoville, but they do play Farmtown / Pet Society / Farmville / etc.

    I’ve tried Linux Mint 5 and Linux Mint 7 (both Gnome and XFCE desktops), Fedora 11 (Gnome and XFCE), PCLinuxOS, Debian Lenny – I can’t get ANY of them to play these games adequately and I’m thoroughly frustrated. I’ve installed OSSv4 and dumped Pulseaudio, I’ve install ATI proprietary drivers, nothing seems to work.

    For example, I had the Linux Mint 5 XFCE install tuned to the point that running Pet Society in Firefox used less than 20% CPU and only 80MB of memory. But the video rendering was still slow and objects on the screen seemed to “skip” or “warp” as if frames were being lost rather than displayed.

    Is the answer to just run these games via a browser within WINE? Or is Seamonkey the way to go?

  11. I’d say best option is using seamonkey (use the default version that ships with your Linux distro). IT seem to have better performance than using WINE or even firefox. Another option which is more involved is to install Sun VirtualBox and a Virtual Install of Windows XP.

  12. OK, I’ll try Seamonkey first and then try WINE if that fails.

  13. So I did a fresh install of the Linux Mint 7 Live CD. Purged all packages related to Firefox and Flash.

    Installed Seamonkey and reinstalled Flash. Also installed WINE with Firefox and Flash for Windows.

    Haven’t tested either with Facebook games yet, but preliminary results with Youtube are discouraging. Stuttering video with skipping frames – basically the same behavior I’ve seen all along.

  14. Fresh install of Xubuntu 9.04, plus Seamonkey 1.1.18 and latest Flash player is MUCH improved. Pet Society is the worst game in terms of performance, and my daughter actually played it this morning, despite it being somewhat slow. Both her and my wife say it’s faster than natively in WinXP – that’s the first time I’ve heard either of them say that. I haven’t updated wlan, video, or audio yet, so definitely making progress.

    Haven’t tried WINE yet, but I’m finally ENCOURAGED for the first time in this whole process.

  15. WINE is definitely a no-go. Installed IE6 using winetricks and then installed the latest flash player. I didn’t even really get to test flash – it took almost 30 seconds just to load the Youtube homepage. So IE is just slow.

  16. Problem solved!

    While Seamonkey with Flash was “okay” my daughter’s response wasn’t overwhelming enough to halt my OCD-like quest for better performance.

    Last night, I install Chromium (aka Google Chrome, but for Linux) and Midori.

    You’ve probably heard of the former, but the latter is a little obscure. Midori is actually the standard browser for the XFCE desktop. If you look around, you’ll find alot of KDE and Gnome users talking about how fast Konqueror (KDE) and Epiphany (Gnome) are. If the stock browsers are the fastest in KDE and Gnome, I thought I would try Midori and see if it would help.

    Chromium was a no-go. It was just as bad as native Firefox and IE/Firefox under WINE were on Linux Mint. Choppy, slow, out-of-sync. Just awful.

    And then I tried Midori. Two words: PROBLEM SOLVED!

    My daughter got up this morning and I told her I had something I wanted her to try. That was 2 hours ago. She’s still playing.

    So for anybody still looking for a solution – try installing the stock browser for your desktop (KDE=Konqueror, XFCE=Midori, Gnome=Epiphany).

  17. FYI, installing Midori should be simple enough by using your package manager (ie. Synaptic in Ubuntu) but getting it to work requires some shell work.

    You have to “point” Midori to the location of your the flashplayer plugin.

    To do so temporarily (in Ubuntu) use:

    export MOZ_PLUGIN_PATH=”/usr/lib/mozilla/plugins:/opt/mozilla/lib/plugins”

    If you want to make it permanent (hint: YOU DO) add this line to your /etc/environment file (this only works in Ubuntu and Debian to my knowledge, other distros use environment variables differently):

    MOZ_PLUGIN_PATH=”/usr/lib/mozilla/plugins:/opt/mozilla/lib/plugins”

    Both of the above examples assume that your libflashplayer.so file are in /usr/lib/mozilla/plugins or opt/mozilla/lib/plugins. For me, I don’t have Firefox installed, and I have Seamonkey, Chromium, and Midori all using the same plugin. Therefore, I have it installed to /usr/lib/flashplayer. So the line in my /etc/environment is:

    MOZ_PLUGIN_PATH=”/usr/lib/flashplayer”

  18. FYI, I highly recommend installing the latest version of Midori. It didn’t take long before my daughter got the 0.1.x version I got from the Ubuntu repos to crash. The Ubuntu repos contain an older version of webkit (the renderer used by Midori) as well.

    Go here and add this PPA to your software sources, then update webkit and libsoup to the latest versions:

    https://launchpad.net/~webkit-team/+archive/ppa

    Finally, add this PPA to your software sources and upgrade to the latest version of Midori:

    https://launchpad.net/~midori/+archive/ppa

    I’ve been surfing around Youtube for about 45 minutes without a crash yet.

  19. Just checking back with a quick update – Flash + Firefox is MUCH improved in Karmic Koala. So there’s hope for the future. 🙂

  20. I installed the flashplayer plugin version 10.1 Beta 2. I followed Craciun Dan’s guide at Tuxarena and then posted adjusted guide for Mandriva users at my own little blog. Works perfectly, and I haven’t noted any problems using You Tube as some have found with this pre-release by adobe. Feel free to follow my name link and comment as well. Thanks for all you help.

  21. Because the flash is Beta, you can do this,
    without change something of your system :

    1)go to http://www.mozilla.com/
    and download Firefox for Linux

    2)go to http://labs.adobe.com/downloads/flash
    and download Flash Player 10.1 Beta 2
    Download plug-in for Linux (TAR.GZ, 4.3 MB)

    3)extract two archives
    open firefox folder – go to plugins folder
    delete archive libnullplugin.so
    open install_flash_player_10_linux folder
    copy archive libflashplayer.so
    and paste into the folder plugins.

    Then close Firefox and
    open with double clik firefox archive (of the folder)
    and play yoville! 🙂

    http://www.youtube.com/watch?v=M9vyyiYuLZ0

  22. Try the latest google chrome Verry fast browser and it has Shockwave Flash 10.1 r53 integrated in it verry fast and stable in my system I have been converted a few versions back but now the conversion is complete thanks google for making my life so easy and letting me use linux all the time !

  23. Avatar spokkel
    spokkel says:

    I have read up on this 75% issue now for 3 full days. I play YoVille using Explorer and Firefox and they both have the same problems. After reading up on this problem extensively, I have come to the conclusion that this is not the fault of any browser/plug-in/whatever, but it is a Zynga issue that needs to be addressed.

    If anybody has a cure, PLEASE publish it.