Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compression > #4028 > unrolled thread

Compact Pro

Started byEli the Bearded <*@eli.users.panix.com>
First post2021-04-05 02:31 +0000
Last post2021-08-09 01:10 +0000
Articles 7 — 3 participants

Back to article view | Back to comp.compression


Contents

  Compact Pro Eli the Bearded <*@eli.users.panix.com> - 2021-04-05 02:31 +0000
    Re: Compact Pro firstname lastname <nmtpycjz@gmail.com> - 2021-04-15 17:50 -0700
      Re: Compact Pro Eli the Bearded <*@eli.users.panix.com> - 2021-04-17 04:58 +0000
        Re: Compact Pro LLG <tanarriscourge@yahoo.com> - 2021-08-07 04:57 -0700
          Re: Compact Pro Eli the Bearded <*@eli.users.panix.com> - 2021-08-08 06:20 +0000
            Re: Compact Pro LLG <tanarriscourge@yahoo.com> - 2021-08-08 10:33 -0700
              Re: Compact Pro Eli the Bearded <*@eli.users.panix.com> - 2021-08-09 01:10 +0000

#4028 — Compact Pro

FromEli the Bearded <*@eli.users.panix.com>
Date2021-04-05 02:31 +0000
SubjectCompact Pro
Message-ID<eli$2104042227@qaz.wtf>
In the 1990s, I registed my copy of Compact Pro and used it extensively
for Mac file compression. Besides firing up an emulator to run an
extractor, anyone know how to decompress the .cpt files it made?

I've checked here already:

http://www.cyclos.com/compactpro.htm

Old Mac and DOS binaries, but I was hoping for something I could run on
Linux (preferred) or NetBSD.

Elijah
------
has also emailed the support address there

[toc] | [next] | [standalone]


#4032

Fromfirstname lastname <nmtpycjz@gmail.com>
Date2021-04-15 17:50 -0700
Message-ID<cfe45b0e-e761-47d0-8a6a-4571ede468b8n@googlegroups.com>
In reply to#4028
On Monday, April 5, 2021 at 12:31:21 PM UTC+10, Eli the Bearded wrote:
> In the 1990s, I registed my copy of Compact Pro and used it extensively 
> for Mac file compression. Besides firing up an emulator to run an 
> extractor, anyone know how to decompress the .cpt files it made? 

> Old Mac and DOS binaries, but I was hoping for something I could run on 
> Linux (preferred) or NetBSD. 

try this, it says it supports compact pro:
http://ibiblio.org/pub/linux/utils/compress/macutils.tar.gz

[toc] | [prev] | [next] | [standalone]


#4033

FromEli the Bearded <*@eli.users.panix.com>
Date2021-04-17 04:58 +0000
Message-ID<eli$2104170038@qaz.wtf>
In reply to#4032
In comp.compression, firstname lastname  <nmtpycjz@gmail.com> wrote:
> On Monday, April 5, 2021 at 12:31:21 PM UTC+10, Eli the Bearded wrote:
>> Old Mac and DOS binaries, but I was hoping for something I could run on 
>> Linux (preferred) or NetBSD. 
> try this, it says it supports compact pro:
> http://ibiblio.org/pub/linux/utils/compress/macutils.tar.gz

Says it does, but apparently not. It didn't compile out of the box,
because some variables were declared 'extern' and 'static', so I
dropped the statics, eg:

< static char *lzh_pointer;

>        char *lzh_pointer;

But it just gives me CRC errors. These files do decompress with the DOS
program I have (but then I get DOS names out, with long filenames
shortened with tildes), so I don't believe the files are corrupt as a
CRC might imply.

Oh well. Thanks for the effort. I may find a use for other things in
that package.

Elijah
------

[toc] | [prev] | [next] | [standalone]


#4040

FromLLG <tanarriscourge@yahoo.com>
Date2021-08-07 04:57 -0700
Message-ID<da2e2c5b-571d-4ab1-a0fa-4502925ecfa6n@googlegroups.com>
In reply to#4033
> But it just gives me CRC errors. These files do decompress with the DOS 
> program I have (but then I get DOS names out, with long filenames 
> shortened with tildes), so I don't believe the files are corrupt as a 
> CRC might imply. 

I looked at the DOS unpacker and the macutils sources and they look very close and should work OK. I could debug the issue if you provide some CompactPro archives to test.

[toc] | [prev] | [next] | [standalone]


#4041

FromEli the Bearded <*@eli.users.panix.com>
Date2021-08-08 06:20 +0000
Message-ID<eli$2108080218@qaz.wtf>
In reply to#4040
In comp.compression, LLG  <tanarriscourge@yahoo.com> wrote:
>> But it just gives me CRC errors. These files do decompress with the DOS 
>> program I have (but then I get DOS names out, with long filenames 
>> shortened with tildes), so I don't believe the files are corrupt as a 
>> CRC might imply. 
> 
> I looked at the DOS unpacker and the macutils sources and they look
> very close and should work OK. I could debug the issue if you provide
> some CompactPro archives to test.

Ooo. That's exciting.

Sure:

https://qaz.wtf/tmp/compactpro/

Eight files of various sizes and content.

Elijah
------
has not seen the DOS program's source code

[toc] | [prev] | [next] | [standalone]


#4042

FromLLG <tanarriscourge@yahoo.com>
Date2021-08-08 10:33 -0700
Message-ID<88b4d523-8841-48ba-99e7-4a3ee28af4efn@googlegroups.com>
In reply to#4041
> Eight files of various sizes and content. 

That's easy. Replace the entire table in crc/zip.c with the normal one starting with 0x77073096 (easily found online).

I also made a Python script to extract the archives.

[toc] | [prev] | [next] | [standalone]


#4043

FromEli the Bearded <*@eli.users.panix.com>
Date2021-08-09 01:10 +0000
Message-ID<eli$2108082014@qaz.wtf>
In reply to#4042
In comp.compression, LLG  <tanarriscourge@yahoo.com> wrote:
> > Eight files of various sizes and content. 
> That's easy. Replace the entire table in crc/zip.c with the normal one
> starting with 0x77073096 (easily found online).

I found that table here http://www.mrob.com/pub/comp/crc-all.html

Tricksy thing that macutils source. crc/zip.c is a generated file but
the makefile doesn't make that clear. When I did "rm *.o; make" in
the crc directory, it built makecrc first and overwrote my changes
to zip.c, producing a libcrc.a that was still broken. I thought I
might have forgotten to save the changes when everything worked
exactly as before.

$ diff -u makefile.orig makefile
--- makefile.orig       2021-08-08 18:06:24.871687850 -0700
+++ makefile    2021-08-08 18:06:45.539250712 -0700
@@ -10,10 +10,10 @@
 	fi
 
 clean:
-	-rm -f $(CRCC) $(CRCO) libcrc.a makecrc makecrc.o
+	-rm -f $(CRCO) libcrc.a makecrc makecrc.o
 
 $(CRCC):	makecrc
-	./makecrc
+	echo NOT RUNNING ./makecrc
 
 makecrc:	makecrc.o
 	cc -O -o makecrc makecrc.o
$

> I also made a Python script to extract the archives.

With a working CRC this tool seems pretty good. Thanks for the pointer.

Elijah
------
also upped the PATCHLEVEL define for the build

[toc] | [prev] | [standalone]


Back to top | Article view | comp.compression


csiph-web