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
  •  


MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



TEAMGROUP 1x32GB DDR4 2666mHz Memory Module (Read Description) picture

TEAMGROUP 1x32GB DDR4 2666mHz Memory Module (Read Description)

$67.50



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Micron 32GB (2x16GB) DDR4-2666 PC4-21300 ECC Registered 288-Pin DIMM picture

Micron 32GB (2x16GB) DDR4-2666 PC4-21300 ECC Registered 288-Pin DIMM

$850.00



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



Corsair Vengeance LPX DDR4 SDRAM DIMM 288-Pin Desktop RAM 2 Modules picture

Corsair Vengeance LPX DDR4 SDRAM DIMM 288-Pin Desktop RAM 2 Modules

$30.00