English Amiga Board Amiga Lore


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 13 October 2014, 23:55   #1
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
Amiga FTP Library



Hi all!

I'm here to present you my little project : I'm always bored to find a particular version of a library when installing of upgrading my system. I recently had the idea to store them on my own server, all Classic Amiga Libraries, to join them in one place.

It may be convenient for all Classic Amiga Users or even maybe later for other systems (OS4 / Morphos, etc...).

I started a little explorer in PHP on a personal FTP and i would like any ideas that could improve this ... I don't know PHP, I had a script i changed a bit with my little HTML knowledge

i'm open to any good idea of course !

The site : http://amiga.foul.fr --> https://amiga.foul.fr

If you want to upload newer or missing library here is the FTP :

email me : foulweb at gmail dot com

(Sorry for my English, is't not my native language

Last edited by Foul; 09 May 2017 at 23:35.
Foul is offline  
AdSense AdSense  
Old 14 October 2014, 00:30   #2
Peter
Unemployed & Lovin' it
Peter's Avatar
 
Join Date: Nov 2006
Location: Kent
Age: 48
Posts: 2,614
I think this is a great idea - thanks for sharing.
Peter is offline  
Old 14 October 2014, 18:32   #3
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 427
Sure I think It's a good idea. I'm a manuac of library versions!
tolkien is offline  
Old 14 October 2014, 19:06   #4
Amiten
Registered User
Amiten's Avatar
 
Join Date: May 2011
Location: Spain
Posts: 381
Cool!!! thanks For share with us , Best of luck for your project.

all the best
Amiten
Amiten is offline  
Old 21 October 2014, 17:17   #5
yssing
Registered User
 
Join Date: Oct 2012
Location: Denmark
Posts: 14
It's a great idea. What do you want the php to do? I can easily write some php for you.
yssing is offline  
Old 21 October 2014, 19:25   #6
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
Quote:
Originally Posted by yssing View Post
It's a great idea. What do you want the php to do? I can easily write some php for you.
Thank you, the test would be the version of the file directly shawn like "type" or "date".. without changing the library name, but many of the libraries not show it. I must read with an hex editor the version inside the file... so not very easy...

If you have some ideas.. i'm open of course..

Thank you anyway for your help
Foul is offline  
Old 21 October 2014, 22:52   #7
yssing
Registered User
 
Join Date: Oct 2012
Location: Denmark
Posts: 14
<?php

$handle = fopen("uploads/something.library", "r");
if ($handle) {
while (!feof($handle)) {
$hex = bin2hex(fread ($handle , 4 ));
print $hex."\n";
}
fclose($handle);
}
?>

http://php.net/manual/en/function.bin2hex.php

php has a method for doing just that

What I would do to save the different versions of the library would be either:
1) Save the library in the database as a blob, that way you can SQL to most operations afterwards.
2) Zip pack the library and name the file with the name of the library and then the version eg. somelib_v45_12.zip and then save the name and URL in the database.
3) Create a folder for library and in that flder create subfolders containing the library versions and save the resulting URL and name in the database.

I would always save metadata in the database, it makes it easy and fast to search for information about the libraries.
yssing is offline  
Old 22 October 2014, 13:21   #8
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
Will test that ASAP
Foul is offline  
Old 23 October 2014, 11:51   #9
ma693541
Computer Wizard

ma693541's Avatar
 
Join Date: Aug 2007
Location: Ramberg/Norway
Posts: 553
Foul, look at the datestamp for the trueaga_4.3beta.library. The year show a future yearstamp, 2030.
ma693541 is offline  
Old 23 October 2014, 12:06   #10
jbenam
Italian Amiga Zealot

 
Join Date: Jan 2009
Location: Italy
Age: 29
Posts: 1,214
Excellent idea Foul, sometimes I need to look for some strange/rare libraries and I don't ever know where to find them

Quote:
Originally Posted by ma693541 View Post
Foul, look at the datestamp for the trueaga_4.3beta.library. The year show a future yearstamp, 2030.
2030? We finally know the Natami's release date, then!
jbenam is offline  
Old 23 October 2014, 12:49   #11
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
Corrected : Thx !

time to upload yours !
Foul is offline  
Old 14 January 2015, 01:16   #12
James
Registered User

 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 421
Nice idea, but needs a bit more work to be really useful...

agl_4.2.library is the QuarkTex (WinUAE only) version.
rtg_40.4024.library and rtg_40.4029.library should be moved to the Picasso96 drawer.
cddb_44.999.library is the FreeDB version and will not work on it's own.
rexxsupport_37.9(WB2.04).library is actually 34.9 the same as all the others. Why duplicate the same library multiple times for WB1 WB2 e.t.c. ? It may cause confusion - just have one copy with the WB version it first appeared in, with a + to show it is also used in newer versions. The date stamps are also misleading in many cases.
There is a rexxsupport_37.9.library reported in LibGuide, but it may be an error... I have rexxsupport_36.9.library and it is the same size as the reported 37.9.
Have lots of newer libs. Will upload...
There are a couple of updated 68k libs from the OS4 betas. Would you be OK about hosting these?
There is a doomsound_38.0.library as reported in LibGuide but it is actually an old version of hereticsound.library and does not work with Doom or the latest Heretic. I can supply it, but it will need to be clearly labelled and is of little use... But may help to prevent later confusion.

Update:
Also guigfx_20.0.library is actually the fpu version, I have the complete set of these libraries.
Having trouble connecting to your FTP so have uploaded some of them here.

Libs.lha

LHA ignored all the files with brackets, will add these and some new MUI libraries later...
I also have the patched version of popupmenu_10.10.1.library, but have not included it, as I think the author did not want it distributed...???

Last edited by James; 14 January 2015 at 02:52.
James is offline  
Old 14 January 2015, 04:10   #13
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
Thank you for reporting!

I will upload and correct all asap
Foul is offline  
Old 14 January 2015, 10:39   #14
LuMan
Amigan - an loving it!!
LuMan's Avatar
 
Join Date: Nov 2010
Location: Nottingham, UK
Age: 48
Posts: 500
Great work, Foul. This is looking really good. I'm always missing important libraries (or outdated ones), so this is a great repository for getting hold of them. Well done
LuMan is offline  
Old 14 January 2015, 13:35   #15
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
agl_4.2.library corrected
rtg_40.4024.library and rtg_40.4029.library moved to Picasso96
cddb_44.999.library is the only one found and not removed
rexxsupport.library and other double library removed

guigfx_20.0.library don't mention any fpu option ($VER: guigfx.library 20.0 (26.04.2003)) but modified anyway...

Newest Libraries Updated...

edit : FTP access ok !

Thx

Last edited by Foul; 14 January 2015 at 14:41.
Foul is offline  
Old 18 February 2015, 15:01   #16
HanSolo
Registered User

 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 139
I have some libraries to upload but cant conntct to your FTP.
HanSolo is offline  
Old 18 February 2015, 19:11   #17
kriz
Junior Member
kriz's Avatar
 
Join Date: Sep 2001
Location: No(R)Way
Age: 35
Posts: 2,305
Web site works but unable to connect to ftp here aswell .. Nice site and idea btw , cool
kriz is offline  
Old 18 February 2015, 21:03   #18
Schlachtwerk
68k RULEZ
Schlachtwerk's Avatar
 
Join Date: Jul 2010
Location: Germany
Posts: 153
Quote:
Originally Posted by kriz View Post
Web site works but unable to connect to ftp here aswell .. Nice site and idea btw , cool
Same here
Schlachtwerk is offline  
Old 19 February 2015, 05:10   #19
Michael
A1260T/PPC/BV/SCSI/NET

Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 580
Nice. Something I had planned to do a few years ago too Since LibGuide times...

But from my point of view it would have been better to sort the files in separate dirs by CPU, and have the older versions of same libs numbered by version, while keeping the optimum/current lib in ready to use form. And the php script should get the $VER: version string from the file.
Michael is offline  
Old 19 February 2015, 12:30   #20
Foul
Registered User

Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 42
Posts: 1,227
Send a message via ICQ to Foul Send a message via MSN to Foul Send a message via Skype™ to Foul
don't know why but sometime ftp upload is down must reboot my server each time...

Another way: post the libs here and i will upload them
Foul is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Opus5, KingCON, SysInfo.library (Sysmon.library) triangle Michael support.Apps 6 10 March 2014 14:08
Mediator - openpci.library and pci.library mardn78 support.Hardware 1 01 February 2014 11:11
New FTP-mirrorsite: ftp.fi.amigascne.org Sallinen Amiga scene 1 07 May 2007 16:29
PC FTP -> AMiGA Eny- support.Apps 3 11 December 2004 01:24
Amiga FTP's! ElectroBlaster Amiga scene 20 08 August 2002 13:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:35.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.22327 seconds with 13 queries