From: "AndrewJ" Newsgroups: comp.os.msdos.djgpp References: <001101bfc2e7$86689ce0$5112ddcc AT lhaglund> Subject: Re: UPX Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: Date: Tue, 23 May 2000 22:42:33 GMT NNTP-Posting-Host: 24.42.120.18 X-Complaints-To: abuse AT home DOT net X-Trace: news2.rdc1.on.home.com 959121753 24.42.120.18 (Tue, 23 May 2000 15:42:33 PDT) NNTP-Posting-Date: Tue, 23 May 2000 15:42:33 PDT Organization: @Home Network Canada To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > It was easier than it seemed. I just unziped it and draged it to upx. > I shrunk it too 200 kb so thats good. I sped crafty up a little bit. > Does anyone know any more ways to speed up crafty? Rewrite the code using better methods and algorithms. Compressing a file doesn't speed it up, it actually slows it down (at startup), although with UPX it's not too bad, since UPX's decompression speed is fairly quick. To make it smaller, did you 'strip' the final executable? This assumes, of course, that you built it yourself with DJGPP. Oh, and if you do a lot of work in a DOS box, you might do well to put UPX in the /WINDOWS/COMMAND or %DJDIR%/BIN directories. Drag 'n drop... phegh, I spit at drag 'n drop. AndrewJ