Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Extreme compession tool?  (Read 9013 times)

0 Members and 1 Guest are viewing this topic.

Vikram Varaprasad



    Intermediate
  • Thanked: 6
    Re: Extreme compession tool?
    « Reply #15 on: November 07, 2009, 03:47:17 AM »
    Quote
    It's empty. Every single character in the extracted Image is ascii 0.

    Amazing...... :o what's happening ? while i got the files but you told it was written with 0's
    I can't believe this ? why it was happening like that........................... ??? ??? ???
    Vikram...

    Quantos



      Guru
    • Veni, Vidi, Vici
    • Thanked: 170
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Guru
    • OS: Linux variant
    Re: Extreme compession tool?
    « Reply #16 on: November 08, 2009, 09:57:04 AM »
    You are obviously doing something wrong.  Especially if you are seeing compression ratios that are that high.  It's just not possible to compress them that much.

    <edit>  Are you sure that you aren't just compressing the links to the files?  </edit>
    Evil is an exact science.

    Vikram Varaprasad



      Intermediate
    • Thanked: 6
      Re: Extreme compession tool?
      « Reply #17 on: November 08, 2009, 08:51:29 PM »
      No no no man....... they are files, I uncompressed and installed MSOffice 2003. But I don't know what happened when you uncompressed them. It's working on my desktop as well as on my notebook. I verified once again.....
      Vikram...

      Quantos



        Guru
      • Veni, Vidi, Vici
      • Thanked: 170
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Guru
      • OS: Linux variant
      Re: Extreme compession tool?
      « Reply #18 on: November 08, 2009, 08:58:27 PM »
      I don't think that you did what you think that you did.
      Evil is an exact science.

      Vikram Varaprasad



        Intermediate
      • Thanked: 6
        Re: Extreme compession tool?
        « Reply #19 on: November 08, 2009, 09:08:17 PM »
        I compressed them, and still i'm using them........
        Vikram...

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Extreme compession tool?
        « Reply #20 on: November 08, 2009, 09:09:24 PM »
        you can't use a compressed file.... unless they are compressed via the NTFS filesystem feature.
        I was trying to dereference Null Pointers before it was cool.

        Vikram Varaprasad



          Intermediate
        • Thanked: 6
          Re: Extreme compession tool?
          « Reply #21 on: November 08, 2009, 09:13:19 PM »
          what i was did is here....

          1)I downloaded winrar version 3.80
          2)I copied the contents of my xp os into a folder
          3)I copied MSOffice, Nero, VLC and some other files into the same folder where i put the windows.
          4) Now using Nero 7 i make an image file of these
          5) then I compressed that image file, and it came to 2MB

          I gave it to my friends and they told it's working....
          Vikram...

          Quantos



            Guru
          • Veni, Vidi, Vici
          • Thanked: 170
            • Yes
            • Yes
          • Computer: Specs
          • Experience: Guru
          • OS: Linux variant
          Re: Extreme compession tool?
          « Reply #22 on: November 08, 2009, 09:16:05 PM »
          And you say that it went from what size before compression to what size after compression?
          Evil is an exact science.

          Vikram Varaprasad



            Intermediate
          • Thanked: 6
            Re: Extreme compession tool?
            « Reply #23 on: November 08, 2009, 09:17:03 PM »
            Before compression 3.4GB
            After compression  2MB
            Vikram...

            patio

            • Moderator


            • Genius
            • Maud' Dib
            • Thanked: 1769
              • Yes
            • Experience: Beginner
            • OS: Windows 7
            Re: Extreme compession tool?
            « Reply #24 on: November 09, 2009, 06:13:34 AM »
            Not possible i say.
            " Anyone who goes to a psychiatrist should have his head examined. "

            Quantos



              Guru
            • Veni, Vidi, Vici
            • Thanked: 170
              • Yes
              • Yes
            • Computer: Specs
            • Experience: Guru
            • OS: Linux variant
            Re: Extreme compession tool?
            « Reply #25 on: November 09, 2009, 09:10:53 AM »
            No, that's positively unheard of.
            Even 3.4 Gig to 2 Gig would be absolutely astounding.
            Evil is an exact science.

            patio

            • Moderator


            • Genius
            • Maud' Dib
            • Thanked: 1769
              • Yes
            • Experience: Beginner
            • OS: Windows 7
            Re: Extreme compession tool?
            « Reply #26 on: November 09, 2009, 09:15:37 AM »
            Wonder why the compressed files are empty ? ?

             ::)
            " Anyone who goes to a psychiatrist should have his head examined. "

            Salmon Trout

            • Guest
            Re: Extreme compession tool?
            « Reply #27 on: November 09, 2009, 10:35:26 AM »
            what i was did is here....

            1)I downloaded winrar version 3.80
            2)I copied the contents of my xp os into a folder
            3)I copied MSOffice, Nero, VLC and some other files into the same folder where i put the windows.
            4) Now using Nero 7 i make an image file of these
            5) then I compressed that image file, and it came to 2MB

            I gave it to my friends and they told it's working....


            So we add piracy to the charge of falsehood...

            patio

            • Moderator


            • Genius
            • Maud' Dib
            • Thanked: 1769
              • Yes
            • Experience: Beginner
            • OS: Windows 7
            Re: Extreme compession tool?
            « Reply #28 on: November 09, 2009, 02:40:17 PM »
            Why would it work for them and not the Expert ...one wonders ? ?
            " Anyone who goes to a psychiatrist should have his head examined. "

            BC_Programmer


              Mastermind
            • Typing is no substitute for thinking.
            • Thanked: 1140
              • Yes
              • Yes
              • BC-Programming.com
            • Certifications: List
            • Computer: Specs
            • Experience: Beginner
            • OS: Windows 11
            Re: Extreme compession tool?
            « Reply #29 on: November 09, 2009, 03:07:57 PM »
            I just double-checked what I saw in the file with the following routine:

            Code: [Select]
            Public Sub CheckBytes(Byval onFile as String)
                Dim StreamOfFile as BCFile.FileStream
                Dim StringRead as String,CountMismatch as Long
                Set StreamOfFile = BCFile.OpenStream(onfile)
               
                Do Until StreamOfFile.AtEndOfStream
                    StringRead = StreamofFile.ReadString(32768,strRead_ANSI)
                    if StrComp(Stringread,String$(len(stringread),vbnullchar)) <> 0 then
                        debug.Print "Compare mismatch"
                        countmismatch = countmismatch+1
                    End If
                Loop
                StreamOfFile.CloseStream()
                debug.print "number of 32K blocks that contain non-null characters:" & countmismatch

            End Sub


            I ran it on the extracted image. the result was that there were 0 32K blocks containing non-null characters.

            This is not a valid image, and the only reason it is 20MB in size is because the entire thing is just one character repeated billions of times. In fact, 20MB is far more then would be necessary, the only thing you'd need to compress this file is a Unsigned long integer to store the number of bytes, so it could be reduced to only 8 bytes.

            Wondering why it worked for your friends is irrelevant. Because it did not. There is not "it probably didn't work" or even an inkling of a possibility that it worked. saying it worked is analogous to saying you were able to turn a cooked egg into a raw egg again.

            lastly, what exactly are you copying? your explanation is not clear. you copied the contents of your XP OS? Is this the CD, your windows directory, or what? same with the other entries. copying your program files folder is pointless and even if you had a valid archive from that it would be completely useless. And larger then 20MB.
            I was trying to dereference Null Pointers before it was cool.