- Joined
- Aug 19, 2008
- Messages
- 491
Hi people,
I started working on w3x_t this autumn. It's meant to be a C++ library for converting W3X files into easily navigable data structs, and vice versa, very much like how WC3MapTranslator converts W3X files to JSON. I wanted it to be easy to integrate with StormLib so everyone could use it instead of writing their own w3x interpreter every god damn time like it is now.
Right now it can read every w3x sub-file (output as a string by StormLib) except .wai as a struct, and can write one or two of the sub-files back (to a string which can be read by StormLib). There are no usage instructions for the library unfortunately, but if you're familiar with CMake and have look around /lib/ and /src/main.cc it shouldn't be too hard to figure out how to use it.
That's as far as I got before I lost interest. I dunno if it'll ever be finished. It's open source now and if anyone thinks this is a worthy side project then I'll be sure to review and merge pull requests.
I started working on w3x_t this autumn. It's meant to be a C++ library for converting W3X files into easily navigable data structs, and vice versa, very much like how WC3MapTranslator converts W3X files to JSON. I wanted it to be easy to integrate with StormLib so everyone could use it instead of writing their own w3x interpreter every god damn time like it is now.
Right now it can read every w3x sub-file (output as a string by StormLib) except .wai as a struct, and can write one or two of the sub-files back (to a string which can be read by StormLib). There are no usage instructions for the library unfortunately, but if you're familiar with CMake and have look around /lib/ and /src/main.cc it shouldn't be too hard to figure out how to use it.
That's as far as I got before I lost interest. I dunno if it'll ever be finished. It's open source now and if anyone thinks this is a worthy side project then I'll be sure to review and merge pull requests.