libMPQ Problems... menu

User Tag List

Results 1 to 3 of 3
  1. #1
    counted's Avatar Contributor Authenticator enabled
    Reputation
    203
    Join Date
    Mar 2008
    Posts
    183
    Thanks G/R
    11/108
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    libMPQ Problems...

    I had wowMapper working a couple of patches ago and recently went back to it now that I have better ability to generate quest data.

    When i fired up my previously working version, bam. It is broken.

    I traced through the code and found out that libMPQ now thinks the part *.wdt file is encrypted and can not decrypt it. I loaded the MPQ file in MPQEditor and the encrypted flag is not set.

    I traced into libMPQ functions:

    int32_t libmpq__block_open_offset(mpq_archive_s *mpq_archive, uint32_t file_number) {

    and found that

    /* check if the archive is protected some way, sometimes the file appears not to be encrypted, but it is. */
    if (mpq_archive->mpq_file[file_number]->packed_offset[0] != rb) {

    /* file is encrypted. */
    mpq_archive->mpq_block[mpq_archive->mpq_map[file_number].block_table_indices].flags |= LIBMPQ_FLAG_ENCRYPTED;
    }

    is true and it is flagging the file as encrypted.

    I commented this check out and wowMapper works fine again and extracts the adts that i am looking for.

    Anyone have an idea what I am doing wrong or what changed in a recent patch?

    thanks,

    -counted

    libMPQ Problems...
  2. #2
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess this is libMPQ incorrectly detecting the patch flag as an encryption flag because afaik libMPQ doesn't handle patched files/archives.
    You might want to switch to stormlib instead.

  3. #3
    counted's Avatar Contributor Authenticator enabled
    Reputation
    203
    Join Date
    Mar 2008
    Posts
    183
    Thanks G/R
    11/108
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help. Will start on "stormMapper" tonight.

    regards,

    -counted

Similar Threads

  1. Problem with CE.
    By Eldretch in forum World of Warcraft General
    Replies: 1
    Last Post: 08-08-2006, 06:49 PM
  2. realm list problem
    By robtuner in forum World of Warcraft General
    Replies: 2
    Last Post: 07-21-2006, 09:08 AM
  3. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
  4. wow emu problem
    By bezike in forum World of Warcraft General
    Replies: 0
    Last Post: 07-09-2006, 04:45 PM
  5. Site problems
    By Shanaar in forum Community Chat
    Replies: 10
    Last Post: 05-14-2006, 01:15 AM
All times are GMT -5. The time now is 07:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search