Poster | Thread |
Framiga
| |
Re: AMITorrent is almost ready.. Posted on 4-Dec-2004 15:43:31
| | [ #21 ] |
|
|
|
Elite Member |
Joined: 5-Jul-2003 Posts: 2213
From: Unknown | | |
|
| @Raziel
Amigift doesn't works (for now) under AOS4, due ixemul.library NOT supported by AOS4.
The author has already built a no-ixemul version but not fully working.
Sorry
2Nd chance . . . to build an ixemul.library AOS4 compliant
Last edited by Framiga on 04-Dec-2004 at 03:47 PM.
_________________
|
|
Status: Offline |
|
|
jiyong
| |
Re: AMITorrent is almost ready.. Posted on 4-Dec-2004 15:59:10
| | [ #22 ] |
|
|
|
Cult Member |
Joined: 25-Oct-2003 Posts: 594
From: Lelystad, The Netherlands | | |
|
| @Montag
Did they already include hashing on the OpenFT Net? (Sort of CRC check) |
|
Status: Offline |
|
|
Toaks
| |
Re: AMITorrent is almost ready.. Posted on 4-Dec-2004 16:06:25
| | [ #23 ] |
|
|
|
Elite Member |
Joined: 10-Mar-2003 Posts: 8042
From: amigaguru.com | | |
|
| @afxgroup
thanx andrea , this will make alot of people happy!.
_________________ See my blog and collection website! . https://www.blog.amigaguru.com |
|
Status: Offline |
|
|
Anonymous
| |
Re: AMITorrent is almost ready.. Posted on 4-Dec-2004 17:56:03
| | [ # ] |
|
| @Framiga
No reason to apologize
Thanks for the note |
|
|
|
|
Montag
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 10:44:51
| | [ #25 ] |
|
|
|
Regular Member |
Joined: 8-Apr-2003 Posts: 104
From: Italy, underground | | |
|
| @jiyong
I'm not using the OpenFT network, but if I remember well it uses MD5 for the hashing. _________________ [url=http://www.abundantsoft.com/forums/forumdisplay.php?s=&forumid=38&pagenumber=1&sortfield=la |
|
Status: Offline |
|
|
runetrek
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 12:49:42
| | [ #26 ] |
|
|
|
Member |
Joined: 24-Nov-2003 Posts: 65
From: Norway | | |
|
| |
Status: Offline |
|
|
spudmiga
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 16:24:37
| | [ #27 ] |
|
|
|
Cult Member |
Joined: 12-Dec-2002 Posts: 855
From: England, United Kingdom | | |
|
| @runetrek
If it is anything like Tomato Torrent on the Macintosh, then you guys are all in for a real treat! _________________ Founder of NWAG - North West Amiga Group
Night Operations
A1200 020/28MHz + 64Mb / 4Gb CF / OS 3.1.4.1 / 1438S A500+ / 2Mb A600 |
|
Status: Offline |
|
|
nicomen
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 16:56:41
| | [ #28 ] |
|
|
|
Cult Member |
Joined: 5-Nov-2003 Posts: 539
From: Trondheim, Norway | | |
|
| @afxgroup
> I would thanks nicomen too for it's great website.. if you are a developer cannot miss its site!
My pleasure :) Looking forward to testing amitorrent ;D
_________________ Nicolas Mendoza |
|
Status: Offline |
|
|
tomazkid
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 18:12:54
| | [ #29 ] |
|
|
|
Team Member |
Joined: 31-Jul-2003 Posts: 11694
From: Kristianstad, Sweden | | |
|
| @eMike
Quote:
If it is anything like Tomato Torrent on the Macintosh, then you guys are all in for a real treat! |
Or
Azureus
Azureus needs java though, so guess it won't run on AOS4 for some time...
works fine with Linux though Last edited by tomazkid on 05-Dec-2004 at 06:13 PM.
_________________ Site admins are people too..pooff! |
|
Status: Offline |
|
|
KrasH
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 19:50:54
| | [ #30 ] |
|
|
|
Regular Member |
Joined: 6-Jan-2003 Posts: 115
From: Canberra, Australia | | |
|
| A while back (almost a year), I was given an Amiga compile of ctorrent to try out. I was suprised at how good it was. To get it to work "automatically" it was just a matter of configuring iBrowse's MIME settings, using the ".torrent" extension as the way to get the ctorrent port to run. Was suprisingly easy to setup and it seemed to work quite well.
However, since I haven't used my A4000 060/PPC in a while since, I use Azureus for my torrent need's on my windblows box.
_________________ Amiga 4000 CSPPC [retired] Intel i7 3930K @ 4.3Ghz / Corsair H100 / Asus Rampage IV Extreme / 16 GB / 2 x 240GB Corsair Force GT SSD / 2 x EVGA 2GB 680GTX SC Sig / 3 x Benq XL2420T 27" iMac / i7 @ 3.4 / 680mx / 3TB Fusion / 32GB RAM |
|
Status: Offline |
|
|
afxgroup
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 23:13:49
| | [ #31 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| |
Status: Offline |
|
|
Anonymous
| |
Re: AMITorrent is almost ready.. Posted on 5-Dec-2004 23:56:46
| | [ # ] |
|
| @afxgroup
Isn't the *original* bittorrent written in Python (http://www.bittorrent.com/), and didn't someone here already port Python to OS4? I know the default GUI downloader is based on wxPython (obviously not available for OS4) but looking at the source it looks like there is a headless as well as a curses downloader amongst others. It should run on OS4 already, depending on how complete the port of Python to OS4 is.
BTW - anther good torrent site is suprnova.org.
Markus. |
|
|
|
|
trgse
| |
Re: AMITorrent is almost ready.. Posted on 6-Dec-2004 16:59:04
| | [ #33 ] |
|
|
|
Regular Member |
Joined: 11-Mar-2003 Posts: 315
From: tellus | | |
|
| @markus_wankus
Quote:
Isn't the *original* bittorrent written in Python
|
yes, but there are clients written in C, C++, C# and probably something else too, the most known is probably libbt (a link library which implements pretty much everything of bittorrent except the UI) and CTorrent (a shell client).
_________________ MicroSoft Game Studios == |
|
Status: Offline |
|
|
philips
| |
Re: AMITorrent is almost ready.. Posted on 6-Dec-2004 17:44:06
| | [ #34 ] |
|
|
|
Member |
Joined: 16-Jul-2004 Posts: 21
From: London | | |
|
| ctorrent kinda sucks. i would like to see bittornado on the amiga, though :) |
|
Status: Offline |
|
|
afxgroup
| |
Re: AMITorrent is almost ready.. Posted on 8-Dec-2004 11:30:01
| | [ #35 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| @ALL
i'm not sure if release a beta version of AMITorrent. There are this problems/bugs I should correct..
1) On large files the initial wait is very tedious.. this is because I have no DMA active and so the creation of files (0 filled) is very slow 2) On program close, if file is not complete, the program does not save the current downloaded pieces 3) I have used a scroller to "simulate" a progress bar.. it is very very very ugly.. :( 4) I'm not sure but when the program close.. sometimes the communication with other peers is still available.. 5) Other few bugs..
If you want to test it tell me and I publish it on os4depot.
N.B. You need sha library to using AMITorrent. It is needed for hash of files. If someone has a SHA function.. _________________ http://www.amigasoft.net |
|
Status: Offline |
|
|
afxgroup
| |
Re: AMITorrent is almost ready.. Posted on 8-Dec-2004 11:59:23
| | [ #36 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| now WITH A STUPID SINGLE INSTRUCTION the bug number 2 is resolved.. so stupid.. _________________ http://www.amigasoft.net |
|
Status: Offline |
|
|
Rassilon
| |
Re: AMITorrent is almost ready.. Posted on 8-Dec-2004 12:13:33
| | [ #37 ] |
|
|
|
Cult Member |
Joined: 10-Mar-2003 Posts: 540
From: Office desk, Wandsworth, London, UK | | |
|
| @afxgroup
Sounds as though it is approaching a useable state. Why not post a beta on on OS4depot
Lewis _________________ If you don't know what you need to know by the time you need to know it then its not worth knowing |
|
Status: Offline |
|
|
aldur
| |
Re: AMITorrent is almost ready.. Posted on 8-Dec-2004 12:29:05
| | [ #38 ] |
|
|
|
Super Member |
Joined: 16-Oct-2003 Posts: 1274
From: Armagh | | |
|
| @afxgroup
by zero filled I take it you mean a bit value of zero and not the digit zero
is it possible to create a character array of 1024 elements all equal to binary value 0 the create a copy of the array with 1024*1024 elements then basically write/flush the desired array x number of times until you have only a couple of hundred characters to write then write them quickly
I think there is a way of doing this by creating a memory block fillin the memory block with values then writing the memopry block to a file (think about an image, when you do a fill on an blank image it fillis it in really quickly because an image is a 1D array (same as a file (serial)) and you just write it out.
an image that is 100 px x 100px has a total of 10000 pixels (index 0 - 9999) (x,y) cords = index z width = 100 z = (y * width )+x; so corrds (56,34) = (34 * 100)+56 = (3400+56) = index of 3456 on our 1d array
you should be able to do this im sure someone will point out the proper code for generating a file of size x
if you are creating a 100Mb file then when you have a 1Mb memory block you could just write it out 100 times
int create_blank_file(file_name, file_size){ // some code here }
incase this is possible ( and I think it is ) you might be able to allocate larger blocks of memory (100 Mb at a time) if so you will need to check memory availablity and set a max block size to be half what ever memory is available no point killing a machine. but on an amiga with 1Gb of ram you should be able to go click thud 250Mb file exist (your save routine would be the bottle neck) Last edited by aldur on 08-Dec-2004 at 12:36 PM. Last edited by aldur on 08-Dec-2004 at 12:33 PM. Last edited by aldur on 08-Dec-2004 at 12:30 PM.
_________________ Aldur ------------------------------ |
|
Status: Offline |
|
|
xeron
| |
Re: AMITorrent is almost ready.. Posted on 8-Dec-2004 12:58:18
| | [ #39 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| @afxgroup
Wouldn't it be better to have a directory for partial downloads, and each incomplete file is stored as a collection of files in a directory. Say I'm downloading "bigfile.avi", you store it in a bunch of files:
PartialDownloads/bigfile.avi/00000000.part PartialDownloads/bigfile.avi/00000001.part PartialDownloads/bigfile.avi/00000052.part PartialDownloads/bigfile.avi/00010236.part
And when all the parts are downloaded, you join them to Downloads/bigfile.avi and delete the bigfile.avi folder from partialdownloads. This creates less strain on the filesystem, and doesn't take up more space than the chunks you've downloaded. _________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
aldur
| |
Re: AMITorrent is almost ready.. Posted on 8-Dec-2004 13:18:35
| | [ #40 ] |
|
|
|
Super Member |
Joined: 16-Oct-2003 Posts: 1274
From: Armagh | | |
|
| @xeron
funny was thinking of this after I posted (thought never thought of the strain)
so how would you work it ?
A. would you say use ten thread and it creates ten parts of (total file size in bytes \ number of threads)
or
B. would you just create 1 Mb files for each part and each thread takes one file until finished then mmoves onto the next available part until all down, then join,
with B (which I would go for) you could have a blank 1Mb file that you would just copy to the appropraite location and create it if it doesn't exist the only part file you would have to manually create would be the last one because it is less than one Mb
ie if !file_exists(blank.bit){ create_blank_file blank.bit 1048576 } copy blank.bit ram: copy ram:blank.bit /path/part00001.bit copy ram:blank.bit /path/part00002.bit copy ram:blank.bit /path/part00003.bit copy ram:blank.bit /path/part00004.bit copy ram:blank.bit /path/part00005.bit ... copy ram:blank.bit /path/part00999.bit create_blank_file /path/part01000.bit 123456
copy the first file to ram then copy from ram a copy for HD to HD is probably slower than ram to HD
where create_blank_file takes two parameters path/filename and file size in bytes
Last edited by aldur on 08-Dec-2004 at 01:21 PM.
_________________ Aldur ------------------------------ |
|
Status: Offline |
|
|