Results 1 to 10 of 10

Thread: [SCRIPT] Kazaa Lite Installer (Wine)

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159

    [SCRIPT] Kazaa Lite Installer (Wine)

    I managed to get Kazaa lite to run on my system, simply by following the instructions from http://www.jbisbee.com/files/kazaa_howto.txt



    Now, I have started to write a script to automate this

    Code:
    # knx-kazaa 0.1
    # downloads, installs and configures Kazaa lite (not pretty, but works...)
    # make sure you have the neccessary licenses in order to use the .dlls
    # by probono
    # GPL
    
    echo "Starting winesetup. Please click 2x 'Next' and then 'finish' in the following screens. The script will then continue."
    winesetup
    
    cd ~
    wget ftp://ftp.freenet.de/pub/filepilot/w...02_english.exe
    
    # move original dlls
    cd ~/.wine/fake_windows/Windows/System
    mv commctrl.dll commctrl.dll.orig
    mv comctl32.dll comctl32.dll.orig
    mv comdlg32.dll comdlg32.dll.orig
    mv msvcrt.dll msvcrt.dll.orig
    mv rasapi32.dll rasapi32.dll.orig
    mv shdoclc.dll shdoclc.dll.orig
    mv shdocvw.dll shdocvw.dll.orig
    mv shlwapi.dll shlwapi.dll.orig
    mv urlmon.dll urlmon.dll.orig
    mv wininet.dll wininet.dll.orig
    
    # Get required dlls to get KaZaA Lite to work
    cd ~/.wine/fake_windows/Windows/System
    wget http://www.drd.dyndns.org/softlib/win98se/commctrl.dll
    wget http://www.drd.dyndns.org/softlib/win98se/comctl32.dll
    wget http://www.drd.dyndns.org/softlib/win98se/comdlg32.dll
    wget http://www.drd.dyndns.org/softlib/win98se/msvcrt.dll
    wget http://www.drd.dyndns.org/softlib/win98se/rasapi32.dll
    wget http://www.drd.dyndns.org/softlib/win98se/shdoclc.dll
    wget http://www.drd.dyndns.org/softlib/win98se/shdocvw.dll
    wget http://www.drd.dyndns.org/softlib/win98se/shlwapi.dll
    wget http://www.drd.dyndns.org/softlib/win98se/urlmon.dll
    wget http://www.drd.dyndns.org/softlib/win98se/wininet.dll
    
    # edit wine config
    cat >> ~/.wine/config <<EOF
    [Version]
    "Windows" = "win98"
    
    [AppDefaults\\Kazaa.exe\\DllOverrides]
    "*" = "builtin, native, so"
    "commctrl" = "native"
    "comctl32" = "builtin"
    "shdoclc" = "native"
    "shdocvw" = "native"
    "shlwapi" = "native"
    "comdlg32" = "native"
    EOF
    
    echo "Starting Kazaa Lite installation. Please click 7x 'Next' and then 'Install' and 'Finish' in the following screens."
    wine kazaa_lite_202_english.exe
    
    echo "Congratulations, you now can start Kazaa lite from the desktop icon!"
    However, this crashes Wine when starting Kazaa. What am I doing wrong? As I said, everything works when I install it manually following the instructions from the link above.

  2. #2
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22
    The only thing i can think of, is this:

    Code:
    # edit wine config
    cat >> ~/.wine/config <<EOF
    [Version]
    "Windows" = "win98"
    
    [AppDefaults\\Kazaa.exe\\DllOverrides]
    "*" = "builtin, native, so"
    "commctrl" = "native"
    "comctl32" = "builtin"
    "shdoclc" = "native"
    "shdocvw" = "native"
    "shlwapi" = "native"
    "comdlg32" = "native"
    EOF
    this piece of the script gets excecuted every time you run it and it doesn't look at what's allready in the config file.

    I think that config file is messed up and causes wine to crash

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by Wirf
    this piece of the script gets excecuted every time you run it
    You run the script only once to install the thing. After you have installed it, you dont't have to run the script again, you should then be able to use the Kazaa desktop icon. (As I said, when I do everything by hand as in the instructions, Kazaa runs fine!)

  4. #4
    Member registered user
    Join Date
    Apr 2003
    Posts
    30

    How does this work?

    Are you guys remastering the image? Or do you install on the HD? Are you simply running persistent homes? How do you install new software under Knoppix, execially kazaa.

    thanks

    Cy

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    I run this from CD, with USB stick

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    You might try this site: http://frankscorner.org/

    It's a veritable treasure trove of help with wine. There is a forum as well. There is a link on the front page that gives some advice on how to get kazaa working under wine.

  7. #7
    Junior Member
    Join Date
    Jul 2003
    Posts
    1
    I followed the instruction but I got this errors message when I run the wine:

    .......
    .......
    Font metrics: 98.8% done
    Font metrics: 98.9% done
    Font metrics: 99.0% done
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 45 (X_OpenFont)
    Value in failed request: 0x2000eac
    Serial number of failed request: 11428
    Current serial number in output stream: 11429
    Wine failed with return code 1


    Does anyone could know what the problem?

    Thank you

  8. #8
    Junior Member
    Join Date
    Aug 2003
    Posts
    1
    well I just came across this forum by search with google for kazaa to work with wine when I read your message and as I faced not long time ago the same problem and asked the same question (except it was the knoppix french forum..sometimes it can be informative!!) I got a post few minutes after and I cannot tell you how much happy i was when i discovered it was working so great after this little trick!

    All you've got to do is to copy from your windows font directory all items to your fake windows font directory and run wine once again.
    Don't ask me why as I got gobsmacked why a hell version 3.1 on my hdd was working well while in fact 3.2 needs those fonts nevertheless that's all you've got to do.

  9. #9
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Sorry I didn't see this before, but szp is right. I had the font problem happen before with an app that run under WINE. I discovered on my own that copying Windows fonts into .wine/fake_windows/Windows/Fonts/ solves the problem. This must be a recent bug, because the app used to work fine.

  10. #10
    Member registered user
    Join Date
    Sep 2003
    Posts
    41
    I succeeded using the new instructions at frankscorner for installing kazaa lite 2.4.2. The installed program finds and downloads files; I use xmms to play them back.

    I'm running Knoppix from the cd with a usb memory stick.

Similar Threads

  1. Replies: 11
    Last Post: 02-20-2005, 11:10 AM
  2. Wrong MBR for Lilo when using koppix 3.7 HD installer script
    By devellino in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-29-2004, 03:16 AM
  3. Script to run Dreamweaver in Wine?
    By probono in forum Ideas
    Replies: 0
    Last Post: 04-19-2003, 12:32 AM
  4. kazaA
    By super2man in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-03-2003, 01:23 AM
  5. Wine X (CVS) Script for HD Install
    By BionicToothpick in forum The Lounge
    Replies: 0
    Last Post: 12-11-2002, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012 picture

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012

$109.99



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$110.30



1 X IBM 720 POWER SERVER WITH 32 GB RAM picture

1 X IBM 720 POWER SERVER WITH 32 GB RAM

$344.97



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00