![]() |
Using SmartLaunch with Bittorrent
I found Smartlaunch at www.subsys.de. It will launch any file-object from commandline or via drag and drop, developed as an addon to PMSEEK, to launch a file from the search-resultbox in pmseek.
Features: WPS Launch (via association); open folder (file-directory) or os/2-window (file-directory); open the file with userdefined editors or viewers; copy the file to a userdefined director.
I use Smartlaunch to manage my bittorrent downloads and I use Torpak from Dink! It is less than 110 Kb and uses cTorrent as the client. I have two setups. The first one uses a modified rexx script from Alex Taylor, that sets the upload speed to 100Kb/s (green icon). And the second one uses Dink's frontend that has a 2Kb/s upload speed (blue torrent icon below).

Setting up Bittorrent
You can download Torpak from my site. Unzip it e:\Tor or any directory you want. Just make sure that the partition has plenty of space.
Make an icon on your WPS called Torrent/2, using path & filename of:
e:\tor\tor.exe
working directory:
e:\tor
go over to the "Window" tab and for Object open behavior check
"Create new window".
Download a modified ctorrent file, unzip and copy act.exe to the e:\Tor directory. act.exe is just "colored" original OS/2 port of ctorrent and will be used by the cBT_GET script.
Download the modified cBT_GET.CMD script that works with ctorrent and copy it to the e:\Tor directory.
Here is the entire package: cBT_GET.zip
If you have a firewall, open ports 2690 <= 2706 cTorrent starts at 2706 and searches for an available port in decreasing order until it finds one or exhausts all ports down through 2106.
Setting up Smartlaunch
Download Smartlaunch from www.subsys.de. Use the installer or the program will not function. After installation, open up the Smartlaunch setup and enter the values as seen below:

I use viewer #1 to start the cBT_GET script that sets the parameters for ctorrent. Mainly the upload speed 100K/s, show % complete in windows list and custom icon.
Viewer #2 uses dinks front end and does not need any parameters. It is nice and easy and handles everything.
Setting up your Browser
Cruise over to your favorite torrent site and click on the download link for a torrent file. When your browser asks how to handle this file. Point it to Smartlaunch and tell it to use it everytime. See below:

I work nights, so my favorite site is www.tvtorrents.com, plus it is really fast. My download for 350 MB is about 6 to 15 min. for one TV show.
I modifed the BT_GET rexx script by Alex Taylor, so I do not have to set the option for viewer #1 every time. Now it works with ctorrent, so no more python! Thanks to Alex Taylor for the great articles on Bittorrent, that got me started.
Please send any comments or corrections !

References
Smartlaunch home page:
Smartlaunch at www.subsys.de
Torpak created by Dink:
You can download Torpak from my site.
BT_GET rexx script:
Alex Taylor - www.cs-club.org/~alex
More Information - BT_GET
Alex Taylor wrote an article for OS/2 VOICE which describes BitTorrent and BT_GET in more detail. The article is available on the WWW at:
www.os2voice.org/VNL/past_issues/VNL0704H/vnewsf4.htm
BitTorrent and OS/2 -Part 2
www.os2voice.org/VNL/past_issues/VNL0507H/feature_5.html
BT_GET was first published in an article appearing in the July 2004 edition of OS/2 VOICE. The version included here has been updated somewhat.
BT_GET is public domain software.
