Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:12 01 Dec 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : UnZip Program for MMBasic

Author Message
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1200
Posted: 11:14pm 29 Nov 2026
Copy link to clipboard 
Print this post

I've been wanting to write an UnZip program for a while, mostly so that a CMM2 or PicoMite that is capable of downloading files from the internet can grab zipped files and turn them into runnable files. So recently I decided it was time. I wrote the extractor for simple stored archives myself, but figured I would try out an AI for the Huffman compression stuff. The free version of ChatGPT seemed to be up to the task, and I learned some stuff in the process.

Here is a first version for others to try. I've run it successfully on a CMM2(G2) but it ought to run on other platforms too. Not blindingly fast, but quite useable. Benefits from OPTION COMPILE ON.

At this point, the front end is rather crude. You can select a ZIP and that's about it. Unzipping happens to the same directory, although sub-directories are created if necessary. You can not yet view the contents of or choose to unzip individual files within an archive.

Test and let me know your experiences. BEWARE! Existing files get over written!
UnZip04.zip
(Maybe a more full featured loadable app will magically appear.   )
Visit Vegipete's *Mite Library for cool programs.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 2178
Posted: 03:48am 30 Nov 2026
Copy link to clipboard 
Print this post

Haven't tested yet but much appreciated    
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026