D3 file parsers for C++ menu

User Tag List

Results 1 to 3 of 3
  1. #1
    d07RiV's Avatar Member
    Reputation
    5
    Join Date
    Jul 2010
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    D3 file parsers for C++

    I've been working on this project to extract various data from the game files, and I feel I've progressed pretty far with it.
    It is initially based on Enigma's parsers, which I translated to what I feel is a pretty neat C++ implementation (praise the regexps), merged with CascLib to pull data directly from the game files instead of a loaded executable. I've added a bunch of code on top of that to generate human-readable data (i.e. one can easily obtain a JSON dump of any data file, dump power tags, or generate lists of items along with their stats).
    The code is currently littered with small functions that do very specific tasks, and most of main() is commented out, I'm in the process of cleaning it up and adding more functionality.

    Here's an example of what I generated with this:
    http://ptr.d3planner.com/diff/

    Repository:
    https://github.com/d07RiV/SNOParser
    It will only build in VS2013 due to lots of C++11 features (gcc might also work, but good luck building CascLib with it).

    I'm currently a bit stuck on affixes, namely I'm trying to figure out which affixes can appear on an item. Items list specific affix groups, such as one that contains all str/dex/int bonuses, but it has all bonuses from 1-17 str to 825-1000. There are fields that probably represent item level requirement, but there is absolutely no difference between the 1xx_Str 17 (626-750) and 1xx_Str 18 (825-1000), so I have no idea how the game tells which one should appear on ancient items and which one shouldn't. It would seem that its yet another thing that's baked into the exe, or maybe isn't in the client at all (although then how does it know which stats to show in the mystic menu?).

    D3 file parsers for C++
  2. #2
    enigma32's Avatar Legendary
    Reputation
    912
    Join Date
    Jan 2013
    Posts
    551
    Thanks G/R
    4/738
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Coolio Regex ftw

  3. #3
    d07RiV's Avatar Member
    Reputation
    5
    Join Date
    Jul 2010
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks, how do you get the original AutoGenerated files though? Do you parse the type information from the Mac client or something? Btw for some reason you have the wrong SizeOf for all vectors and colors.

    Update: implemented model viewer.
    Last edited by d07RiV; 07-24-2015 at 11:45 AM.

Similar Threads

  1. [Guide] How to compile files needed for Maps, Vmaps and DBC
    By florinel76 in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 05-04-2009, 12:46 AM
  2. Larger File Upload for GIF Avatars
    By Greed in forum Suggestions
    Replies: 2
    Last Post: 03-01-2009, 03:15 PM
  3. The file hosts for your scams and your future sites.
    By stradivuckos in forum Community Chat
    Replies: 1
    Last Post: 10-21-2007, 07:23 AM
  4. Can Somebody Post me a File please for this exact Blood Elf Male Model?
    By Enix in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-02-2007, 09:47 AM
  5. What files are for druid moonkin/tauren/travel form?
    By Chango99 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 04-09-2007, 01:36 PM
All times are GMT -5. The time now is 10:33 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