Little Faith Posted May 30, 2002 Is it possible to get the Freedoom resource file in other formats than .gz? I just downloaded shareware Winzip and it doesn't seem to be able to handle them. Since I am written up for a level it would be really nice to have it. 0 Share this post Link to post
Zro Posted May 30, 2002 I downloaded shareware WinZip also, just to unzip Freedoom, and it worked. Did you assign winzip to handle .GZ files? 0 Share this post Link to post
Fredrik Posted May 30, 2002 Try rename the downloaded .gz file to .wad. 0 Share this post Link to post
Little Faith Posted May 30, 2002 Thanks Fred. I have to learn to listen to other people. :( 0 Share this post Link to post
Jon Posted May 30, 2002 Yeah... the apache server (I think) supports on-the-fly compression and IE gets confused and auto-decompresses it. 0 Share this post Link to post
fraggle Posted May 30, 2002 Jon said:Yeah... the apache server (I think) supports on-the-fly compression and IE gets confused and auto-decompresses it. IE automagically decompresses gzipped files for you, but when it asks for the filename for the downloaded file, it doesnt remove the ".gz" extension. The result is, it downloads it, decompresses it, then passes the already-decompressed file to winzip, which thinks its corrupted. There is an explanation note of this on the website already.. 0 Share this post Link to post
boris Posted May 31, 2002 Well, my IE seems not to decompress it on-the-fly. It saves the file as freedoom.wad.gz, and I can open and decompress it with WinRAR. 0 Share this post Link to post
Jon Posted May 31, 2002 I just did this: $ echo "hi, this is jon yes yes yes yes yes" > hehe.txt $ gzip hehe.txt Then downloaded the file with IE and catted it, and I got binary, so its not just IE. I think its an IE fault in conjunction with apache configured to do gzip compression on the fly. 0 Share this post Link to post
fraggle Posted June 1, 2002 Some versions seem to decompress it, some dont, from what I've seen. 0 Share this post Link to post
Jon Posted June 2, 2002 Same version of IE for me decompresses the wad.gz on arioch's server but doesn't decompress that txt I gzipped on a university machine. I reckon its something to do with apache's mod_gzip 0 Share this post Link to post
fraggle Posted June 2, 2002 Heres the header response: HTTP/1.1 200 OK Date: Sun, 02 Jun 2002 21:23:28 GMT Server: Apache/1.3.24 (Unix) Debian GNU/Linux mod_gzip/1.3.19.1a PHP/4.2.1 mod_t hrottle/3.1.2 mod_perl/1.26 Last-Modified: Sat, 25 May 2002 20:59:32 GMT ETag: "15a6f-34ae1e-3ceffb34" Accept-Ranges: bytes Content-Length: 3452446 Content-Type: application/x-doom Content-Encoding: x-gzip So its sending the content type as application/x-doom, but encoded using gzip compression. You may be right. 0 Share this post Link to post
fraggle Posted June 6, 2002 I put up a CGI for downloading that sends the correct content type, hopefully this should fix it. 0 Share this post Link to post
cph Posted June 7, 2002 A CGI will prevent resuming downloads, however, which may be important for those of us on modems. Perhaps we can work around this in the server config. Does http://freedoom.despayre.org:81/cph-test/test.gz work as we want? That takes just a couple of lines in the .htaccess. http://httpd.apache.org/docs/mod/mod_mime.html#addencoding http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.5 0 Share this post Link to post
fraggle Posted June 7, 2002 Yep, it does. Thanks cph, you're clearly much more experienced with Apache than I am :) 0 Share this post Link to post
Jon Posted June 7, 2002 Cool, I'm glad we got that sorted. Good work (as always) cph! 0 Share this post Link to post