Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 06:28
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to run Yahoo Messenger 9 in Wine
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sat 02 May 2009, 12:59    Post subject:  How to run Yahoo Messenger 9 in Wine  

Hmmm ...

About a month ago, I looked into the possibility of a stable yahoo messenger with wine. It was a slow process as I didn't have much spare time to play with. About a week ago, I had a very stable and usable setup with ym8.1 and wanted to get some people who wants ym to join in and try my config. Alas, a few days later, I no longer able to login with ym8.1 even on a windows system. Yahoo has made some changes (I guess it's the protocols) that makes login difficult if not impossible for ym8.

So, I started from scratch and it seems that I have found another config that allows me to use ym9.0 with wine. Almost everything is working except a few stuffs that is not currently supported by wine (most probably) due to core internal stubs.

Stuffs with issues
1. Main Menu bar skinning. Not working (most probably) due to lack of wine internal functions.
2. Alphablending. Also not working due to wine limited support.

Stuffs not tested (yet)
1. webcam
2. chat rooms (it was working in ym8.1. Untested in ym9)

I list here all the necessary steps to have a working ym9 on wine.

Quicksetup for geeks :
1. Install and setup wine
2. Install flash9
3. Setup dll overrides for ym
4. Copy all the required dlls
5. Install and run ym

Detailed setup instructions for lamers (like me) :

1. Install wine. Recent versions will work fine. I'm using wine 1.1.20. Previous version tested to also work was wine 1.1.18.

2. Copy some (useful) fonts to wine folder, ie. Arial, Tahoma, Trebucet, etc.

3. For first time wine setup, run winecfg and setup audio

4. Install flash9 activeX. Use a standalone installer. If you don't know where to get one then ask google. If you're still blurred then get one from oldapps.com/oldversion.com. Don't miss this step as this is REQUIRED for ym.

5. Setup the dll overrides for ym9. Find it in the attached archive below. Either enter them manually or use :

# regedit ym9.reg


6. Get the dlls into windows\system32. You have three choices. One, use winetricks or equivalent to get these dlls. Two, go hunt down your windows CD and copy over the dlls. Three, look through windows updates for the dlls. Full dll list can be found in the attached file.

7. Get a recent version of yahoo messenger 9, ex: ym 9.0.2152. The standalone installer is recommended but the ym9 web installer will also work. Using ym9 web installer will also install flash10 and other stuffs.

8. Open ROX-Filer and look for any .exe in wine (ex: /root/.wine/drive_c/windows/explorer.exe). Right click on it and set run action to 'wine "$@" 2>/dev/null'. This allows you to run any .exe from ROX.

9. Cross all your fingers and click on ym installer.

10. YahooMessenger will run right after installing. Login and say yahoo!

Rgds



Sample screenshots:


Fullscreen ym main window Fullscreen IMwindow

Q&A

Q1. How to gain access to main menu ?
A1. Click on the desired ym window and press alt key or if you know the menu shortcut then press alt+menu_shortcut (ex: alt+m in main window).

Q2. I get black bar in main window ?
A2. Alphablending not fully working in wine. Set your contacts to compact list.

Q3. I can't move/resize the window ?
A3. Use alt+right_click for jwm and then resize.

Q4. How to display the main menu bar then ?
A4. Ask winehq.org to implement GetMenuBarInfo. I'm lame with C and don't have the luxury (yet) to do this. I've also experimented with the skins but haven't made much progress due to limited time.

Q5. I clicked on one of my contact/friend but no IMwindow appears or only half appears ?
A5. A (wine botched) skinning related issue. Click the window twice on your taskbar to min-max it and it will come out and play nicely.

Q6. How do I close/minimize the IMwindow ?
A6. The (wine botched) skinning makes the hotzones a little off. Move your mouse a little lower to get the min/max/close button highlighted. Using the taskbar also works.

Q7. Are those dlls overrides really necessary ?
A7. Very subjective issue. I use dlls with least dependency with supported functions required by ym9. There's no absolute yes/no here. Anyone is encouraged to find/use dlls after checking its dependency. Wine still has a long way to go in supporting all required windows functions.

Q8. Where can I find these dlls ?
A8. Your windows CD or system ?

Q9. How do I use native browser seamonkey in wine ?
A9. Get the attached natbrowine archive. Put seamonkey.exe in windows folder and add winebrowser.reg to the registry (ie. regedit winebrowser.reg).

Q10. Errr, ym does not run ?
A10. Open a terminal in yahoo! folder and run it manually, ie. wine YahooMessenger.exe .... you'll see where and why it breaks ... That'll keep you entertained ...



+=+
natbrowine.zip
Description  use native seamonkey as wine default browser
zip

 Download 
Filename  natbrowine.zip 
Filesize  426 Bytes 
Downloaded  653 Time(s) 
dll-list.zip
Description  list of dlls to copy. Place 'em into wine's windows/system32
zip

 Download 
Filename  dll-list.zip 
Filesize  697 Bytes 
Downloaded  856 Time(s) 
ym9-reg.zip
Description  yahoo messenger 9 dll wine override list
zip

 Download 
Filename  ym9-reg.zip 
Filesize  360 Bytes 
Downloaded  896 Time(s) 
Back to top
View user's profile Send private message 
ragaman

Joined: 14 Jan 2007
Posts: 186

PostPosted: Thu 14 May 2009, 10:26    Post subject:  

Finally a how-to in installing (and running, I hope) YM in Linux. Thanks Patriot.
Back to top
View user's profile Send private message 
sirald66

Joined: 02 Jun 2009
Posts: 2

PostPosted: Tue 02 Jun 2009, 22:10    Post subject:    

Wowzers, looks like I have my work cut out.

You have certainly progressed much further than I could have just by hacking.

Added my feedback to WineHQ's BugZilla
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Wed 03 Jun 2009, 01:58    Post subject:  

Hmmm .....

I'm currently still running wine 1.1.20 with a newly configured ym9 using "pure" xp dlls replacements. The dll list is quite huge ... It's running stable with no crashes. Logins, send/receive texts, send/receive files, emoticons, IMvironments all fully working. Other issues as listed above still stands.

Haven't got the time to build wine 1.1.22 yet and I don't think ym9 can fully run solely on wine dlls for several more releases. I've read your (@sirald66) bug report on winehq. Those crashes can occur due to either flash, jscript or shdocvw components ... Sadly, a lot of stuffs in wine is still not fully implemented for ym9 to function right ... Also still seeing a lot of stubs in wine ...

I'll see if I can minimize the dll list when I have more time ...

Rgds
Back to top
View user's profile Send private message 
w00tz

Joined: 04 Aug 2009
Posts: 6

PostPosted: Tue 04 Aug 2009, 12:03    Post subject:  

Hello everyone, hello Patriot.
Any more updates on this subject?
For the past few days I have been struggling with making it work.

I was once able to log in, open a conversation window and send messages. The messages would reach the intended person, but if he wrote me back I could see nothing. The cool thing was it would not crash.

I can't seem to reproduce this anymore. Now I can only log in and if I open up a conversation window, it crashes with the following error:
Code:
wine: Unhandled page fault on read access to 0x00000000 at address 0x5e4eba (thread 0009), starting debugger...


I followed your howto, except the following:
msxml3a.dll is missing from Windows. And I don't quite understand how important is step number 8 - Rox-filer.

Additions:
In your reg key you put native for every library override, this however seems to error with the following:
Code:
err:module:import_dll Library COMCTL32.dll (which is needed by L"C:\\Program Files\\Yahoo!\\Messenger\\YahooMessenger.exe") not found
err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found
err:module:import_dll Library shell32.dll (which is needed by L"C:\\windows\\system32\\wininet.dll") not found
err:module:import_dll Library WININET.dll (which is needed by L"C:\\Program Files\\Yahoo!\\Messenger\\YahooMessenger.exe") not found

...so on and so forth...
Code:

err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Yahoo!\\Messenger\\YahooMessenger.exe" failed, status c0000135

I must use Builtin then native. Also Builtin seems to work too.

After starting YM9, it gives the following warning:
Code:
fixme:ras:RasEnumConnectionsA RAS support is not implemented! Configure program to use LAN connection/winsock instead!


I once copied an original installation of Windows over the windows in wine.
I think that is when it almost worked for me. I was running under root then. Maybe this matters?!
Also, in a previous attempt, the ads from YM were working. But not now anymore.

Details:
OS: Ubuntu 9.04, 2.6.28-14 kernel
Wine: 1.1.26. Installed along with wine-gecko.
Flash 9 and Flash 10 installed without error.

Awaiting an answer from you.
Thanks mate.
untitled.JPG
Description 
jpg

 Download 
Filename  untitled.JPG 
Filesize  227.88 KB 
Downloaded  391 Time(s) 

Last edited by w00tz on Wed 05 Aug 2009, 09:57; edited 1 time in total
Back to top
View user's profile Send private message 
sirald66

Joined: 02 Jun 2009
Posts: 2

PostPosted: Tue 04 Aug 2009, 14:57    Post subject:  

Patriot, I appreciate your effort and am following along.

I tried WineTricks but had some issue, will have to try again.
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Wed 05 Aug 2009, 07:23    Post subject:  

Hmmm .....

@wootz

About fixme:ras:RasEnumConnectionsA, that one is a minor issue. Wine haven't implemented it yet and using ms dll will just bork things up (actually w98 dll is ok, xp dll is not) ...

I can't remember off-hand what was the actual step I did to use native comctl32 instead of built-in wine. For one, I disabled :

/drive_c/windows/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest

There's (probably) a step that I couldn't recall in-between disabling the above.

I wouldn't encourage copying over the entire windows binaries over to wine. Here's how I do it, I use dependency walker to see if a particular dll is suitable with wine. I must have tested hundreds of dlls (ranging from win98se -> nt4 -> win2k -> xp). Then, match it with the apps that I want to use. Most of the time, wine dlls are fine with majority of the apps. The tricky ones are apps that relies heavily on ms intimate stuffs (DirectX, mshtml, msxml, jscripts, flash comes to mind).

Ym8 was a lot easier as I was able to use win98 dlls ... Ym9 is basically (I think) a winxp dependent app as the new ym skinning engine seems to have winxp uxtheme dependency.

Basically, the ads, info pages & IMvironments requires mshtml and flash (and yes, not having flash borks everything). The messages box requires richedit/mshtml. The skinning seems to need msxml. The one that glues 'em together seems to be jscript. There's several other stuffs running in between to make ym9 live in harmony ...

@sirald66, @wootz & anyone else interested

I'm unable to do much right now due to time constraints. However, I'm still keen to have ym9 running with minimum dll replacement.

I've just grabbed wine 1.1.26 sources and will make a few binary set this weekend. I'll start from scratch again and I hope I'll be able to provide a more reliable method/dlls for running ym9 on wine.


Rgds
Back to top
View user's profile Send private message 
w00tz

Joined: 04 Aug 2009
Posts: 6

PostPosted: Wed 05 Aug 2009, 08:20    Post subject:  

Great news Patriot, thank you for the quick response.
I'm eagerly waiting your results.
I'll keep playing with this and see if I reach any outcome.
Back to top
View user's profile Send private message 
w00tz

Joined: 04 Aug 2009
Posts: 6

PostPosted: Wed 05 Aug 2009, 12:06    Post subject:  

Boy do I have some great news.. I finally made it work.
I didn't do much. basically I just copied dlls. Great program that Dependency Walker BTW.

I'll come back again and say what I did after I redo the whole thing from scratch, just to make sure it works again.

Here's the screenshot Very Happy :
1.JPG
Description  Victoryyyy :D
jpg

 Download 
Filename  1.JPG 
Filesize  198.02 KB 
Downloaded  426 Time(s) 
Back to top
View user's profile Send private message 
ragaman

Joined: 14 Jan 2007
Posts: 186

PostPosted: Thu 06 Aug 2009, 06:14    Post subject:  

Been following this thread eagerly. Thanks for the effort guys. More power to you.
Back to top
View user's profile Send private message 
w00tz

Joined: 04 Aug 2009
Posts: 6

PostPosted: Tue 11 Aug 2009, 09:03    Post subject:  

Steps-by-step.
1. Install the latest wine. I used version 1.1.30. http://www.winehq.org/download
Also install wine-gecko (should be installed automatically with wine).

2. Open up a terminal and run the winecfg command. It will set up the wine environment for the current user. Full path is: /home/$username/.wine/drive_c . Press OK afterwards.

3. Install flash9. Go to www.oldversion.com and search for it there. Then install it using wine flash9p.exe .

4. Import the attached ym9.reg. It is what Patriot wrote in his reg. I did not change that. I just changed the overrides to "Native then Builtin" because those worked for me. Use regedit ym9.reg .

5. Copy and overwrite the dlls to /home/YourUserName/.wine/drive_c/windows/system32 folder (list is attached). I got my dlls from XP.

6. Get the yahoo web installer. I used that because it also installs flash 10, which is needed. Use wine msgr9us.exe. If the install progress hangs, just press CTRL+C in the terminal and run again the installer.

7. Have fun. If you're a girl, send me a kiss and think about me when you're sleeping Laughing

Waiting for reviews.

Tip: If the flash ads do not load then most probably ym will crash. Make sure you followed the steps correctly.

Patriot wrote:

Q1. How to gain access to main menu ?
A1. Click on the desired ym window and press alt key or if you know the menu shortcut then press alt+menu_shortcut (ex: alt+m in main window).

Q2. I get black bar in main window ?
A2. Alphablending not fully working in wine. Set your contacts to compact list.

Q6. How do I close/minimize the IMwindow ?
A6. The (wine botched) skinning makes the hotzones a little off. Move your mouse a little lower to get the min/max/close button highlighted. Using the taskbar also works.


Working: Buzz, IMVironment, Audibles, Fonts, Smileys, Avatars, Photo Sharing, Archive, Webcam, Calling.

Known Bugs:
- When trying to add a new contact to your list, ym will crash.
- Games require java. Try installing that and see if they work.

Everything else not tested.
dlls-to-use.zip
Description 
zip

 Download 
Filename  dlls-to-use.zip 
Filesize  270 Bytes 
Downloaded  593 Time(s) 
ym9reg.zip
Description 
zip

 Download 
Filename  ym9reg.zip 
Filesize  335 Bytes 
Downloaded  682 Time(s) 

Last edited by w00tz on Wed 07 Oct 2009, 09:09; edited 2 times in total
Back to top
View user's profile Send private message 
Almas

Joined: 27 Aug 2009
Posts: 3

PostPosted: Thu 27 Aug 2009, 13:12    Post subject:  Thank you  

Thank you. You guys are rock!!! Very Happy Now I will try it. Thank you thank you.
I'm not girl, if you were girl I would kiss you kkk Very Happy
Back to top
View user's profile Send private message 
Almas

Joined: 27 Aug 2009
Posts: 3

PostPosted: Fri 28 Aug 2009, 08:58    Post subject:  Can't login  

Followed w00tz instruction. Installed OK baut can't login to yahoo with my ID and password Sad.

Can you give me a advice?
Back to top
View user's profile Send private message 
ragaman

Joined: 14 Jan 2007
Posts: 186

PostPosted: Fri 28 Aug 2009, 11:31    Post subject:  

Same experience as Almas here.

Screenshot attached.
Screenshot.jpg
Description 
jpg

 Download 
Filename  Screenshot.jpg 
Filesize  131.5 KB 
Downloaded  423 Time(s) 
Back to top
View user's profile Send private message 
w00tz

Joined: 04 Aug 2009
Posts: 6

PostPosted: Mon 31 Aug 2009, 08:33    Post subject:  

@Almas, you've got to give more details / screenshot.

@ragaman, as far as I can see from the screenshot, the smiley face is missing; the window is white. That means that:
1. flash 9 or 10 (or both) isn't installed correctly
2. there is a dependency problem (missing dlls?)

Trying now to reproduce this problem.
edit: Can't reproduce it.. on every machine I try, if I follow the steps described previously, it works.

Try again. Or give me remote access and I can try it.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0900s ][ Queries: 12 (0.0057s) ][ GZIP on ]