[Question] DB2 file structure menu

User Tag List

Results 1 to 12 of 12
  1. #1
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] DB2 file structure

    can anyone link an information about DB2 (of course wow) files structure? can't find no where(( just I can't understand a meanings of some bytes\\
    or may be exist some parser, what allow convert back csv to db2?

    if you want to send me PM - check a free space in your inbox for answer at first!

    [Question] DB2 file structure
  2. #2
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks. but 4 bytes before locale is not looks as "tableHash" - it's still identical for different versions of same named files with different content.
    for sample, for all versions of "Item-sparse.db2" it's always = "4EE59B91".
    also header of "KeyChain.db2" looks simple strange - it have a 33 "FieldsCount", 36 "RecordSize" and only one record for "12911" (in "locale-enGB.MPQ"), while for "13623" it have 4 records with same 33 "FieldsCount" and 36 "RecordSize".

    if you want to send me PM - check a free space in your inbox for answer at first!

  4. #4
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No idea, never looked at that stuff. The link is to TOM_RUS' svn.

  5. #5
    sitnspinlock's Avatar Elite User CoreCoins Purchaser
    Reputation
    398
    Join Date
    Sep 2010
    Posts
    439
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wrote one to dump db2 to csv after it is loaded into memory if you are interested. let me know ;p

  6. #6
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I already have db2 to scv converter, I need to convert it back - csv to db2.

    if you want to send me PM - check a free space in your inbox for answer at first!

  7. #7
    sitnspinlock's Avatar Elite User CoreCoins Purchaser
    Reputation
    398
    Join Date
    Sep 2010
    Posts
    439
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what is your goal here? There is probably another way to go about this ;p

  8. #8
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want try to append not available (models without item id), or unused models of equipment (if it exist).

    if you want to send me PM - check a free space in your inbox for answer at first!

  9. #9
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems I understand all of data, except "tableHash" and how recognize a type/len of field (column). just I have no anymore unknown bytes except "tableHash" and any manipulation with this bytes or file name have no affect on converter. it's always converts all data correctly. it's really confuse me. someone can help in this?

    if you want to send me PM - check a free space in your inbox for answer at first!

  10. #10
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if some one interested - I finished article, where I wrote all what I could understand DB2 - MMOwned Wiki
    would be nice if some one would make it "more english" x)

    if you want to send me PM - check a free space in your inbox for answer at first!

  11. #11
    92eatos's Avatar Contributor
    Reputation
    104
    Join Date
    Aug 2009
    Posts
    220
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    VX2 the item.db2 has the same structure like the old item.dbc had
    basicly itemid, displayid, sheet, type, slotid

    item-sparse.db2 well i have seen on some servers it has the structure of item_template table from trinity well (skyfire )

  12. #12
    VX2's Avatar Contributor
    Reputation
    205
    Join Date
    Dec 2009
    Posts
    262
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mainly yes. but db2 header have an additional values. also for tables with string fields, db2 have an additional "indexes" section. for converting to csv it's may be just ignored, but to convert it back to db2 it must exist and be correct.

    if you want to send me PM - check a free space in your inbox for answer at first!

Similar Threads

  1. [QUESTION] client files protection. signature structure.
    By VX2 in forum World of Warcraft General
    Replies: 7
    Last Post: 11-06-2018, 02:36 AM
  2. [QUESTION] Mpq Files
    By LJN in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 01-13-2008, 06:19 AM
  3. [Question] .Blp files.
    By Emuchild in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 12-05-2007, 07:24 AM
  4. [Question] .BLP file conversions.
    By Frombehind in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 10-21-2007, 12:22 AM
  5. Question, WMO files ->Help
    By thesixth in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 08-16-2007, 01:56 PM
All times are GMT -5. The time now is 09:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search