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
  •  


Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁 picture

Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁

$182.65



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License picture

SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License

$249.00



Domino Lotus Server 5.0.7 for OS/2 WSeB, RH Linux 6, Solaris, AIX, HP-UX, Win NT picture

Domino Lotus Server 5.0.7 for OS/2 WSeB, RH Linux 6, Solaris, AIX, HP-UX, Win NT

$60.00



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$16.99



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$449.96



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$674.96



8x 240GB SSD 1U Rackmount Deduplication Compression Backup RAID Server X10DRW-iT picture

8x 240GB SSD 1U Rackmount Deduplication Compression Backup RAID Server X10DRW-iT

$499.00



1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB picture

1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB

$419.00