Results 1 to 3 of 3

Thread: libMcomp.dll

  1. #1
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    4,012
    Thanks
    302
    Thanked 1,325 Times in 758 Posts

    libMcomp.dll

    http://nishi.dreamhosters.com/u/mcomp_v0.rar

    I made a frontend for Malcolm Taylor's LibMComp.dll:

    Code:
    Usage:
    1.exe c book1 book1.rk [method] [memory]
    1.exe d book1.rk book1.unp
    "method" is the compression method from 1..17
    1-3=deflate, 4-6=deflate64, 7-12=rolz?, 13-16=fpw?, 17=pwcm?
    "memory" seems to be in bytes.
    
        m=0            m=10           m=100          m=100k         m=100m
     1  0.125s 311726  0.125s 311726  0.109s 311726  0.125s 311726  0.125s 311726 32k deflate?    sub_1001F040
     2  0.234s 300250  0.234s 300250  0.234s 300250  0.218s 300250  0.218s 300250
     3  0.218s 300247  0.234s 300247  0.234s 300247  0.218s 300247  0.218s 300247
    
     4  0.156s 302713  0.156s 302713  0.156s 302713  0.156s 302713  0.156s 302713 64k deflate64?  sub_1001F040
     5  0.265s 288084  0.266s 288084  0.266s 288084  0.265s 288084  0.281s 288084
     6  0.265s 288055  0.265s 288055  0.265s 288055  0.265s 288055  0.265s 288055
    
     7  0.109s 356351  0.110s 356351  0.125s 370593  0.218s 287529  0.281s 274633  0              sub_10006B30
     8  0.218s 356362  0.203s 356362  0.312s 353237  0.578s 274281  0.655s 259399  128
     9  0.203s 356362  0.218s 356362  0.327s 353237  0.577s 274281  0.671s 259399  512
    
    10 "j<m.o.b"       "j<m.o.b"       "j<m.o.b"     0.125s 326788  0.218s 261774  0              sub_10006B30
    11 "j<m.o.b"       "j<m.o.b"       "j<m.o.b"     0.358s 305755  0.702s 245036  128
    12 "j<m.o.b"       "j<m.o.b"       "j<m.o.b"     0.344s 305755  0.702s 245036  512
    
    13 12.590s 234726 12.699s 234726 12.512s 234726 12.511s 234726 13.120s 204255                 sub_10012CB0
    14  7.222s 253627  7.270s 253627  7.191s 253627  7.223s 253627  8.221s 207229
    15  4.010s 245409  4.025s 245409  4.025s 245409  4.009s 245409  4.602s 209888
    16  2.372s 232731  2.512s 232731  2.372s 232731  2.386s 232731  2.699s 219763
    
    17 30.217s 228702 30.202s 228702 30.108s 228702 30.046s 228702 31.933s 201535                 sub_1001D020
    
    for c=7..12 memory is up to 268386303 (=0xFFF3FFF)

  2. Thanks (4):

    Bulat Ziganshin (5th June 2016),comp1 (5th June 2016),Mike (5th June 2016),xinix (5th June 2016)

  3. #2
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    343
    Thanks
    200
    Thanked 58 Times in 42 Posts
    Great stuff as usual sir!

    EDIT I get a crash when trying to compress SFC.shar with method 17. Here's the console printout:

    Code:
    C:\lz\libMComp>libmcomp c sfc.sha sfc.mco 17
    method=17 memory=1
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    len=8000 x=8000
    wr: p=75E52980 buf=632C1C len=8000
    len=8000 x=8000
    len=8000 x=8000
    Last edited by comp1; 5th June 2016 at 17:38.

  4. Thanks:

    Shelwien (5th June 2016)

  5. #3
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    4,012
    Thanks
    302
    Thanked 1,325 Times in 758 Posts
    uh, confirmed on SFC.rar-m0 too.
    There's an "access violation" exception at .1001A852 in libmcomp.dll.
    Don't have the source of that, so can't fix it :)

  6. Thanks:

    comp1 (6th June 2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •