Advertisement

Saved Variables 2 XML Converter

  Download the Curse Client

Last Update: Oct. 29, 2006 (1 year ago)
Category: Data Export
Tags: data and export
Project Manager: abusement
Current Version: Saved Variables 2 XML Converter 1.0.1.0
(for World of Warcraft 1.12.0)
Downloads Today: 2
Downloads Total: 3,167
Favorites: 10
Comments: 4
  • About Saved Variables 2 XML Converter
  •  

SV2XML by Joshua (Undead Mage - Geistlos on Garona) email: abusement@imtraum.com

Description:
The World of Warcraft Saved Variables XML converter was created to make parsing the Saved Variable data from the Addons of World of Warcraft much simpler by converting the files to XML format that is easier to consume from applications other than World of Warcraft.

Please email any bugs or suggestions to me at abusement@imtraum.com

Requirements:
You must have the .NET 2.0 framework installed on your computer. You can download this at http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en

Usage:
Opening and Converting a file:
Simply click on File --> Open Addon to select the saved variables file that you want to convert. The file will then be parsed and converted to XML format and presented for you to copy/paste into your own application or text document/editor. Note that large files can take a while to open.

Saving as XML:
Once a file has been converted you can:
click File --> Save to save the converted XML to the same path and file name as the saved variables file with the files extension replaced by .xml. Example: autobar.lua becomes autobar.xml.
click File --> Save As to save the converted XML to a filename and path of your choosing.

Known Issues:
- With very large addon files there may be a delay between the actual file parsing and its display in the main document display window. This is due to the large amount of data being printed to the window and performance will be highly dependant on your hardware.
- The multi-threading that handles the document parsing needs additional testing. If the application hangs please let me know so I can do further investigation.

Future Plans:
- Make the paths for output xml files as well as the default path to WoW configurable.
- Enhance error handling for open and save operations.
- Create a nice application icon.
- Change the art on the about page.
- Use indented xml formatting in the text display window.
- Optimize memory usage in the parsing engine.

  • Downloads (4)
  •  
Advertisement

You need to login or register to post comments.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
 
  • March 22, 2007, 10:07AM (1 year, 5 months ago)

    Does this work with the 2.0 changes and the newest LUA formats? I've tried to run it on SW_Stats files and get the following error:

    Open operation failed, the message was: The line specified could not be parsed or does not adhere to the formatting specification for saved variable files.Line: 12, Text: " 1, -- [1]"

  • Dec. 5, 2006, 05:42AM (1 year, 8 months ago)

    i got error message when i wanna to install .msi package

  • Nov. 30, 2006, 07:47AM (1 year, 8 months ago)

    I spent many hours working with the output from this program. It seems to generate the output files very well.

    I think i have an issue with the output iteself, i hadn't used xslt in years so maybe thats what took so long, but trying to put the output into a format which could be assigned to a schema was rather hard.

    The problem stems from Lua's use of integer and string table keys, and the enclosing tag being ambiguous.

    <element index="SW_BarFrame1">

     <element index="Docked">
    
       <data name="1" value="1"/>
    
     </element>
    
     <data name="Selected" value="2"/>
    
    

    </element>

    isnt the <data> tag showing 2 different things the first one is a integer table index, the 2nd is a string index. Also, the use of name vs index seems odd, it seems like the 2nd data tag should have index="seletect" not name="selected", or element should have name="Docked" and data name=1 should be data index=1

    How do you use the data? I ended up writing an xslt to rename all the element nodes to the attribute node if it was not [0-9]+, so that i could use it to generate xml that i could put a schema on and feed into other programs.

    yielding:

    <SW_BarFrame1>

     <Docked>
    
       <data name="1" value="1"/>
    
     </Docked>
    
     <Selected value="2"/>
    
    

    </SW_BarFrame1>

    Its alot easier to generate a schema for this type of data

  • Oct. 25, 2006, 11:12AM (1 year, 10 months ago)

    Can you upload a zip of your source code / project?

 
  • Similar Addons
  •  
  1. 178 CT_RaidTracker ... Data Export and Raids & ...
  2. 47 CurseProfiler 2.0 Data Export
  3. 46 WowCardioRaid Data Export and Combat
  4. 31 Jadrie's MobInfo2 ... Data Export
  5. 29 ... Data Export
Advertisement