VOGONS Driver Library

Discussion about old PC hardware.

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 09:38

elianda wrote:Please add a possibility to enter details description with a fixed width font. There are a lot readmes in old driver archives that have text mode tables. This usually gets unreadable if I copy this to the details field. Oh an using the code tag seems to ignore CR/LF, so it gets even more unreadable ;-).


That's no good! I'll see what I can do about it! :)
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 09:45

OK, using the code tags will space out tables properly.

http://www.vogonsdrivers.com/getfile.php?fileid=91

Edit: I imagine that those garbled characters were Extended ASCII characters before they felt the wrath of my amateur character set handling? ;)
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby DonutKing » 2011-12-21 @ 09:54

The file I just tried was called AU88309x.zip
I also tried Win9x2048.zip and w9x3220whqleng_drv.zip

using google chrome if that makes any difference. All files are less than 30MB
User avatar
DonutKing
Oldbie
 
Posts: 1765
Joined: 2008-1-03 @ 03:23
Location: Australia

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 10:10

Yeah I've done all dev and testing using Chrome too... Bizzarre.

Forgive me for asking, but you're definitely not using the image field instead of the driver field or something, right?

Because I just renamed a random file to AU88309x.zip and it uploaded no worries. I can't think of what it might be.
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby DonutKing » 2011-12-21 @ 10:32

yep I'm definitely using the topmost field. I jsut tried IE8 but it seems to just be sitting there on doupload.php.

maybe my internet machine is broken
If you are squeamish, don't prod the beach rubble.
User avatar
DonutKing
Oldbie
 
Posts: 1765
Joined: 2008-1-03 @ 03:23
Location: Australia

Re: The Unofficial VOGONS Driver Library

Postby ProfessorProfessorson » 2011-12-21 @ 10:46

Nah I'm getting "Prohibited driver file extension:" messages also no matter if its a rar'ed file or not, so its not just you. Using Firefox right now. Lemme try IE real fast.

EDIT: Tried uploading in IE, its a no go also, same Prohibited message no matter the file type.
User avatar
ProfessorProfessorson
Member
 
Posts: 347
Joined: 2011-6-21 @ 00:19

Re: The Unofficial VOGONS Driver Library

Postby elianda » 2011-12-21 @ 10:52

I tried with some larger file (my complete GUS collection) which is just named gus_complete.rar and I get also "Prohibited driver file extension:".
I would have expected some other error, since it is larger than 30 MB. I would also like to see a error message if the file size exceeds the limits at the start of the upload and not an error after it uploaded ~100 MB+.

Edit: Is there a list of forbidden and allowed extensions?
(Regex Rule Check maybe?)
Last edited by elianda on 2011-12-21 @ 10:59, edited 1 time in total.
User avatar
elianda
l33t
 
Posts: 2169
Joined: 2006-4-21 @ 16:56
Location: Halle / Germany

Re: The Unofficial VOGONS Driver Library

Postby ProfessorProfessorson » 2011-12-21 @ 10:54

Yeah, file size on the ones I tried to up are a tad over 6MB and 8MB. Its like 5AM where I am at right now, so I need to hit bed. I will check back in on this later today if I have time.
User avatar
ProfessorProfessorson
Member
 
Posts: 347
Joined: 2011-6-21 @ 00:19

Re: The Unofficial VOGONS Driver Library

Postby elianda » 2011-12-21 @ 11:16

Please check your algorithm that checks filenames.
I tried SPEA_MEDIA_GALLERY_5_95_AllDrivers_0395.2.rar and it failed with Prohibited driver file extension: .
I'am not sure why your check detects '.' as file extension there. It seems to have problems with multiple '.' in the filename.

Edit: Retried with SPEA_MEDIA_GALLERY_5_95_AllDrivers_0395_2.rar but same error: Prohibited driver file extension: .

?!? :confused:
User avatar
elianda
l33t
 
Posts: 2169
Joined: 2006-4-21 @ 16:56
Location: Halle / Germany

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 11:49

Code: Select all
$allowed_driver_extensions = array("zip","rar","7z","iso","bin","arj","lha","lzh");


And we check the extension thusly:

Code: Select all
$drvext = substr($_FILES["driverfile"]["name"],strripos($_FILES["driverfile"]["name"],".")+1);


So it should look for the rightmost "." and get all the characters the right of it.

But I think I found the problem. There are two settings in php.ini that affect upload size.

upload_max_filesize and post_max_size.

upload_max_filesize is enforced by the host, and is hardwired to 32MB. post_max_size can be set by me, and was only set to 8MB by default. *facepalm*

Give it another go now, guys.

As far as limiting the filesize before you upload, that can be arranged, but the method might not work on older browsers. I'll do my best to make it as compatible as possible though!
Last edited by SquallStrife on 2011-12-21 @ 11:54, edited 1 time in total.
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 11:54

elianda wrote:Please check your algorithm that checks filenames.
I tried SPEA_MEDIA_GALLERY_5_95_AllDrivers_0395.2.rar and it failed with Prohibited driver file extension: .
I'am not sure why your check detects '.' as file extension there. It seems to have problems with multiple '.' in the filename.

Edit: Retried with SPEA_MEDIA_GALLERY_5_95_AllDrivers_0395_2.rar but same error: Prohibited driver file extension: .

?!? :confused:


Yup, before just now, if the file was over 8M, then PHP was silently trashing it, and setting $_FILES["driverfile"]["name"] to an empty string. And of course, ".nothing" is not a permitted extension!

I scratched my head for a while over that one, believe me!
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 12:23

OK, there's some basic JavaScript in there now that will give you a little warning if the file you've selected is over 30 million bytes. It doesn't work on IE8, but does work on FireFox 9 and Chrome. Might work on IE9, haven't got it installed to test.

I'll do a changelog tomorrow, it's 10:25PM and I'm sleepy. :(
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2011-12-21 @ 22:24

2011-12-22
- Set post_max_size to 32M in php.ini. This should stop the "Invalid file extension" error for files over 8MB.
- Added a JavaScript check for file size to the upload form (doesn't stop you uploading, it just gives you a red warning if the file you chose is too big) Supported on Chrome and Firefox. Doesn't seem to work on Safari or Internet Explorer. I'm looking for an alternative that's more accommodating.
- Usernames and Passwords have been sent to everybody that has uploaded or contributed a file. If these accounts don't work, PM me. If you want to change your password, hang tight, that facility is on the way.
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby sebaz_ri » 2011-12-22 @ 10:36

@SquallStrife I'm stuck without an account
Image
User avatar
sebaz_ri
Member
 
Posts: 155
Joined: 2011-5-08 @ 22:49

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2012-1-07 @ 05:47

Good news boys and girls, I'm on the ViRGE (ha!) of a breakthrough with the FTP upload thing. Stay tuned!
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2012-1-07 @ 10:54

I need a volunteer to test something, any takers?

If all goes well, FTP access should be up and running in the next 24 hours. :D
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2012-1-07 @ 13:43

First changes for 2012! Yay!

2012-01-07
==========
- Home page now shows 20 most recently uploaded files, instead of a flat list of every file. This should make it load faster as we add more drivers!

- Beta FTP functionality is available. I'm looking for testers!

- Removed the category links from the "You are now logged in" page, as clicking them would cause you to have to log in again, and left a stale login token in the database.
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby RoyBatty » 2012-1-08 @ 20:49

I have offered to test ftp and upload quite a bunch of discs but you don't reply my pm's.
User avatar
RoyBatty
Member
 
Posts: 427
Joined: 2009-8-22 @ 11:37

Re: The Unofficial VOGONS Driver Library

Postby SquallStrife » 2012-1-08 @ 21:11

Hi Roy, sorry about that, I did see your PM. When you sent it, I was planning on having FTP working "soon" so I was just going to reply when it was working. Sadly it's taken until now, so I apologise.

Let me get it all set up for you. A PM will be incoming shortly! :)
VogonsDrivers.com | Link | News Thread
[retro swim] | Link | Release Thread
Follow me on Twitter: https://twitter.com/RetroSwimAU
User avatar
SquallStrife
l33t
 
Posts: 2781
Joined: 2010-2-06 @ 15:18
Location: Drowning in consoles

Re: The Unofficial VOGONS Driver Library

Postby RoyBatty » 2012-1-08 @ 21:38

Got it, will upload some stuff today.

Is there a filesize limit?
User avatar
RoyBatty
Member
 
Posts: 427
Joined: 2009-8-22 @ 11:37

PreviousNext

Return to General Old Hardware

Who is online

Users browsing this forum: tegrady, Yahoo [Bot] and 12 guests