Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 81
  1. #21
    EmuTalk Member SarahHarp's Avatar
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    106
    Ok thanks, (Heh I was hoping you'd respond, your an inspiration )



    • Advertising

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

  2. #22
    EmuTalk Member SarahHarp's Avatar
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    106
    What would happen if there wern't any uncompressed files? All the CMDL's start with 1 (=compressed) O_o; Would I have to uncompress them, how would you do that?

  3. #23
    EmuTalk Member thakis's Avatar
    Join Date
    Feb 2005
    Posts
    159
    Hmm, that won't be easy.
    You could compare compressed and uncompressed files of the same file type (for example, "ELSC" in Metroid1). You know that the compressed file has a fixed header, so try to make up a decompression scheme that yields this known header. The compression method could even be some public compression format (zlib, ...).
    Another approach would be to disassemble the .dol (dol is a gamecube .exe), step through it in an emulator (dolwin is open source, I don't know if dolphin comes with a debugger) until you find the piece of code that does the decompression and copy it. (yagcd has documentation on the .dol file format).

    Good luck ;-)

  4. #24
    EmuTalk Member BlueFalcon7's Avatar
    Join Date
    Oct 2005
    Location
    Detroit, MI, USA
    Posts
    747
    i read somewhere recently about file extensions that windows uses a 3 letter file extension and mac uses a 4 letter file extensions (with exceptions like .dmg and .mp3) so i wonder if metroid prime was made with a mac and then archived for purposes of reducing header clutter, and so it can go into an iso and also for file type help, theres filext.com

  5. #25
    EmuTalk Member thakis's Avatar
    Join Date
    Feb 2005
    Posts
    159
    Metroid itself doesn't use any file extensions, they are added by mpakdump. And it's not true that windows uses 3 letter extensions - back in the DOS days, only three letters were supported. Nowadays, three letters are the most common, but there are four or more letters as well (.html, .class, .manifest, ...). And .png files have the extension .png on Macs as well.

  6. #26
    EmuTalk Member BlueFalcon7's Avatar
    Join Date
    Oct 2005
    Location
    Detroit, MI, USA
    Posts
    747
    thats sort of what i meant, i was not clear that windows also uses 4 letters but i read in the index of the windows XP help and support center and it says "In the Macintosh environment, a four-character sequence that identifies the type of a Macintosh file. The Macintosh Finder uses the file type and file creator to determine the appropriate desktop icon for that file."

  7. #27
    EmuTalk Member thakis's Avatar
    Join Date
    Feb 2005
    Posts
    159
    Hey,

    I had a some spare time today, and I managed to write a decompressor for the compressed files. It was rather easy, the files are simply compressed with zlib. I attached it to my post which has the other two programs (mpakdump, mtexdump) attached as well (8th post in this thread).

    The .CMDL format doesn't look to hard to reverse once it's uncompressed, so give it a shot...if you are interested in computer game file formats, this is a really good opportunity to get started

    EDIT: if you see a file which has 0x78da near the beginning, it's pretty certainly a zlib file (with maximal compression).
    Attached Thumbnails Attached Thumbnails 01_27979463.txtr.bti.png  
    Last edited by thakis; December 22nd, 2005 at 17:23.

  8. #28
    EmuTalk Member
    Join Date
    Jul 2005
    Posts
    30
    ...and there was much rejoicing. good work, thakis.

  9. #29
    EmuTalk Member SarahHarp's Avatar
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    106
    Wow, I knew I should've tried zlib... though I thought it couldn't be that easy...

    Anyways thank you so much ^_^

    --Sarah

  10. #30
    EmuTalk Member
    Join Date
    Nov 2005
    Posts
    7
    I don't have any MP1 files for testing but I do have MP2. The mpakdump tool still works. But the 1_***.txtr files are no longer compressed the same way it seems. The first 4 bytes are still the decompression size but it's like there's no other header info. Any ideas? Or a single MP1 1_***.txtr file for comparision that I could use to see the differences?

Page 3 of 9 FirstFirst 12345 ... LastLast

Similar Threads

  1. Dolphin beta running Resident Evil 4, Metroid Prime 2
    By Martin in forum Emulation64.com News
    Replies: 3
    Last Post: August 14th, 2008, 14:40
  2. Metroid Prime?
    By captainrad in forum Dolphin
    Replies: 3
    Last Post: July 31st, 2004, 22:43
  3. Wow Metroid Prime sales!
    By tbag in forum Gaming
    Replies: 8
    Last Post: December 1st, 2002, 03:54
  4. Metroid Prime Trailer
    By t0rek in forum Talk of the Town
    Replies: 2
    Last Post: November 8th, 2002, 02:37
  5. Metroid Prime trailer music
    By NicePics in forum Talk of the Town
    Replies: 0
    Last Post: June 13th, 2002, 15:17

Posting Permissions

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