Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Zip-files

  1. #1
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780

    Zip-files

    I was wondering about zip-files...
    Having examined them closely, I came up with the following:

    Zip-files have an ending-header, a central header and a local header.



    The problem I got, is that I don't know where the actual file data is. I'd need this, but I don't have an offset. Anyone has an idea how to do or where the offset is?
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member Jsr's Avatar
    Join Date
    Nov 2001
    Location
    Sweden
    Posts
    54
    Shouldn't it be easier to look at some dokuments or something?
    "There is no such thing as a free lunch"
    - Milton Friedman

  3. #3
    EmuTalk Member Glurak's Avatar
    Join Date
    Nov 2001
    Location
    Germany
    Posts
    109
    ...

  4. #4
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    Thanks! This'll help big time!
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  5. #5
    EmuTalk Member Mayco's Avatar
    Join Date
    Nov 2001
    Location
    Belgium
    Posts
    218
    that's what i call a usefull site

  6. #6
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    I think I understand how the zip-files works now. But still, I can't get the info I want. It complains that everytime I feed the decompress-function of the zlib that the dat is incorrect (return error -3).
    I've tried to increase and decrease the position where to begin read from, but it still doesn't work.
    The number of bytes I read is equal to which the local header says the compressed size is.

    Any idea what's wrong here?
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  7. #7
    Warrior for God The Khan Artist's Avatar
    Join Date
    Mar 2002
    Location
    Purgatory
    Posts
    1,103
    What are you trying to do? Extract one file from a zip with multiple files?



  8. #8
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    Originally posted by The Khan Artist
    What are you trying to do? Extract one file from a zip with multiple files?
    Nah, I just want the rom-header of zipped roms.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  9. #9
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    Hmmm, so I guess no one knows what's wrong...
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  10. #10
    Moderator Hacktarux's Avatar
    Join Date
    Nov 2001
    Location
    France
    Posts
    1,174
    Maybe if you use the unzip.c and unzip.h files used for example in pj64 and 1964 you can get the infos you need (i don't know exactly what these files do).

Page 1 of 2 12 LastLast

Posting Permissions

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