The MASM Forum

General => The Workshop => Topic started by: Borneq on August 07, 2015, 03:55:39 AM

Title: Where I can find SFX begin data?
Post by: Borneq on August 07, 2015, 03:55:39 AM
I wanna list files from ACE archive. I found that for .ace file I need  go to to 0x35 byte and read structure:
    fill0 - unknown for me, 7 bytes
    packedSize - 4 bytes
    size - 4 bytes
    dosDateTime - 4 bytes
    fill1 - unknown for me, 14 bytes
    textLen - 2 bytes
    text - textLen bytes
But how found data from sfx exe files? their size is about 70 KB. I read PE header but I can't found where begin data.
Title: Re: Where I can find SFX begin data?
Post by: TouEnMasm on August 07, 2015, 04:39:35 AM

find a compressor ace with it's source code,like peazip (more than one format) and study it
Title: Re: Where I can find SFX begin data?
Post by: Vortex on August 07, 2015, 05:51:55 AM
The archive is coming just after the SFX stub. If you wish to see, here is a small project :

http://masm32.com/board/index.php?topic=2291.0