|
Forum Index : Microcontroller and PC projects : UnZip Program for MMBasic
| Author | Message | ||||
| vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1200 |
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 KingdomPosts: 2178 |
Haven't tested yet but much appreciated |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |