Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slingplayer for Linux via Wine HOWTO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
retroman
Apprentice
Apprentice


Joined: 18 Nov 2004
Posts: 207
Location: Stuttgart

PostPosted: Fri Jan 12, 2007 4:49 pm    Post subject: Slingplayer for Linux via Wine HOWTO Reply with quote

I have sucessfully installed Slingplayer on one desktop and one laptop today. The Desktop has an Nvidia card and the laptop an intel graphics card. The following document is based on the How to run slingplayer on the linux OS by Andrew Butkus on Sling community.
I have made some changes to coencide with Gentoo, as well as correct some errors in the original document.

The original document may be found here.
http://www.slingcommunity.com/article/17253/

I - Downloads and wine installation

1. Install Wine - As of today the current release 0.9.22 will work fine.

I have the following flags set, though im not sure if adding or subtracting any of these USE flags will have any benefit.

Code:

emerge -pv wine
[ebuild   R   ] app-emulation/wine-0.9.22  USE="X alsa arts cups esd gif jpeg ncurses opengl oss xml -dbus -glut -hal -jack -lcms -ldap -nas -scanner" 0 kB


2. While that is running you can download the latest slingplayer, in my case US/CANADA from this link..

http://download.slingmedia.com/player/pc/SlingPlayer_PC_1.4.0.206_Setup-US.exe

3. Also, Download the following support libraries here

http://www.slingcommunity.com/downloads/wine/slingplayer_dependancies.zip

4. Finally download one more required DLL gdiplus.dll from dll-files.com typing the dll name in the search box.
http://www.dll-files.com/


II - Slingplayer installation

1. With the wine installation finished execute the installation program from the console in the directory where SlingPlayer_PC_1.4.0.206_Setup-US.exe resides

Code:
wine SlingPlayer_PC_1.4.0.206_Setup-US.exe


Quote:
It is important to note that the install process within wine has several long delays, this is normal


2. When prompted to install certain microsoft libraries, say yes.

3. Use all of the default settings throughout the install. At the end It will ask you if you would like to reboot. Say no.

4. When slingplayer opens, close it. There is still more work to do.

5. Make sure that wine has fully exited on its own when slingplayer closes and returns you to the command prompt. This may take a minute or so. Once done there may be some lingering processes from the installation running.

from ps -aef
Code:

root     11327 11249  6 17:21 pts/5    00:00:01 c:\PROG~FBU\COMM~CP1\INST~JM1\Driver\1150\INTE~MEX\IDriver.exe -Embedding
root     11404 11327  1 17:21 pts/5    00:00:00 c:\PROG~FBU\COMM~CP1\INST~JM1\Driver\1150\INTE~MEX\IDriverT.exe -Embedding


you can kill these processes if they are still open after wine has exited



III - Libraries and DLL's

1. Extract slingplayer_dependancies.zip to a directory of your choice well call it /data for the next example. And well assume your home directory is /home/user

Copy all of the DLL files into the wine system32 directory

Code:
cp /data/*.dll /home/user/.wine/drive_c/windows/system32


**The gdiplus.dll which you downloaded must be extracted from the zip file it was delivered in and copied to the system32 directory

Code:
cp /LOCATION_OF/gdiplus.dll /home/user/.wine/drive_c/windows/system32


2. Register the DLL's

Code:

wine /home/user/.wine/drive_c/windows/system/regsvr32.exe /home/user/.wine/drive_c/windows/system32/msxml3.dll
wine /home/user/.wine/drive_c/windows/system/regsvr32.exe /home/user/.wine/drive_c/windows/system32/qcap.dll
wine /home/user/.wine/drive_c/windows/system/regsvr32.exe /home/user/.wine/drive_c/windows/system32/quartz.dll


3. Configure winecfg. Run it from the terminal

Code:
winecfg


go to libraries and add the following from the dropdown list and configure them as follows...

Code:

msxml3     native
qcap        native,builtin
quartz      native,builtin


press ok to exit

IV - Install Media player libraries

1. In the same directory you extracted the DLL's, /data/ in this example is a file called MPSetupXP.exe run this from the /data directory with wine.

Code:
wine MPSetupXP.exe


Disregard any initial errors.

You should see a license agreement and an installation status, followed by another error. If you do not get to the license agreement you have done something out of order or missed registering a DLL.

At the end of the install click finish

V - Winecfg revisited

1. run winecfg again from the command line

Code:
winecfg


2. click on the graphics tab

3. Configure as follows:

Allow directx app to............ (unchecked)
Enable Desktop double....... (checked)
Allow window manager to... (checked)
Emulate a virtual desktop (checked)
640x480
Vertex shader support hardware
Allow pixel shader checked


VI - Slingplayer configure

1. run slingplayer

Code:

wine /home/user/.wine/drive_c/Program\ Files/Sling\ Media/SlingPlayer/SlingPlayer.exe


2. If the Slingplayer directory comes up hit close and select player ----> Slingplayer options, from the menu

3. I de-selected the VMR technology box becuse it caused problems with the Nvidia card. Try it first with this option unchecked.

4. The goto Slingbox------> sling directory on the main menu to configure the connection as normal


****Important note****

If you get an error on the sling box connection which states that the sling player will not work becuase something wasnt registered properly......


1. exit the slingplayer program

2. re-run the slingplayer installation once more.
Code:
wine SlingPlayer_PC_1.4.0.206_Setup-US.exe


Installation will run again, you will notice some words may be missing from the dialogue boxes. Thats ok, just press OK and install the software.

3. After the installation is finished, you can now run slingplayer again.

Code:

wine /home/user/.wine/drive_c/Program\ Files/Sling\ Media/SlingPlayer/SlingPlayer.exe



Now it should work correctly.

Finished!!!

http://www.mydelorean.net/pics/screencap40.jpg
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Fri Jan 12, 2007 6:06 pm    Post subject: Reply with quote

make a howto on www.gentoo-wiki.com
Back to top
View user's profile Send private message
RockCrusha
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2004
Posts: 91

PostPosted: Sun Mar 18, 2007 11:50 pm    Post subject: Reply with quote

Thanks! worked like a charm!
Back to top
View user's profile Send private message
paulbiz
Guru
Guru


Joined: 01 Feb 2004
Posts: 508
Location: St. Louis, Missouri, USA

PostPosted: Sat Feb 23, 2008 5:14 pm    Post subject: Reply with quote

Even easier: emerge wine then run the script from http://www.slingcommunity.com/group/39/Slingux-Slingers-for-Linux/ to download, install and configure automatically.
Back to top
View user's profile Send private message
paulbiz
Guru
Guru


Joined: 01 Feb 2004
Posts: 508
Location: St. Louis, Missouri, USA

PostPosted: Thu Jul 10, 2008 3:36 am    Post subject: Reply with quote

It seems SlingPlayer doesn't work anymore in newer Wine versions. Has anyone gotten it to work?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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