Skip to content

Parse Maplestory Map.wz files to extract important information about all elements (objects, npcs, background etc...)

Notifications You must be signed in to change notification settings

sirLimbs/Limbs_XML_Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parse Maplestory Map.wz files to extract important information about all elements (objects, npcs, background etc...)

Limbs' XML Parser:

This is a Python script that parses XML files and extracts specific information from them. Specifically, it looks for string elements in the XML file and outputs information based on the element's name and attributes.

Features:

  • XML File Parser
  • XML File Comparer

Diff: (XML File Comparer)

In this script, the file compare button is used generate a unified diff of the two files and display it in the output text box of the GUI. 
The diff is displayed with the filename at the top of the output, followed by the differences between the two files. 
The added and deleted lines are indicated with a + and - respectively, and the modified lines are indicated with both symbols. 
The context lines are displayed with a space at the beginning of the line.

How to Use:


(Use the packed executable located in the dist folder)
or
- Clone this repository to your local machine
- Install PyInstaller
- `pip install pyinstaller`
- Open a terminal or command prompt and navigate to the directory where you cloned this repo.
- Compile the code using PyInstaller
- `pyinstaller --onefile xml_editor.py`
- This command will create a single executable file in the dist directory.

Dependencies:

This script requires the following Python packages:

  • tkinter for the GUI
  • xml.etree.ElementTree for parsing the XML files

Future Improvements:

Some possible improvements to this script include:

  • Adding more options for output formatting (e.g. JSON, CSV)
  • Allowing the user to specify which elements they want to extract
  • Adding error handling for invalid XML files
  • Add a XML Formatting button

License:

This script is licensed under the MIT License. See LICENSE for more information.

MIT License

Credits:

This script was created by Limbs. If you have any questions or feedback, feel free to contact me on discord .limbs

About

Parse Maplestory Map.wz files to extract important information about all elements (objects, npcs, background etc...)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages