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


Groups > comp.compression > #4043

Re: Compact Pro

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.compression
Subject Re: Compact Pro
Date 2021-08-09 01:10 +0000
Organization Some absurd concept
Message-ID <eli$2108082014@qaz.wtf> (permalink)
References <eli$2104042227@qaz.wtf> <da2e2c5b-571d-4ab1-a0fa-4502925ecfa6n@googlegroups.com> <eli$2108080218@qaz.wtf> <88b4d523-8841-48ba-99e7-4a3ee28af4efn@googlegroups.com>

Show all headers | View raw


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

Back to comp.compression | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web