This project is in Rust, but the dump command can generate JSON data for consumption in any language, so if you end up writing a packet parser for a new packet in another language please open an issue and I can port it to the Rust code.What I did to make it work was I right clicked on the file and went to the "Open with." then searched my pc in the WoWs games folder then selected worldofwarships.exe to which the replay worked. Contributingįeel free to open issues or PRs if you find any bugs or want to be able to parse any particular packets from your replay files. The contents of the versions/ folder are the intellectual property of. AcknowledgementsĪlmost all of my understanding of the packet structure comes from Monstrofil/replays_unpack's work, and a lot of the parsing code here is rewritten from that code.Īdditionally, the framing file format (surrounding the encoded packets) decoding algorithms derive from evido/wotreplay-parser. The distributed executable contains files extracted from the game, but you can provide your own data files by placing them in the versions// folder in your working directory - for example, versions/0.10.4/scripts/ should contain the scripts/ folder unpacked using the WOWS Unpack Tool. To the extent practical, though, support for older versions will be maintained - but it is not guaranteed that any version other than the "current" will work. The version policy for this component is forward-looking: After game version X is released, I won't work very hard to decode new packets from version X-1 and below. Versions 0.9.10 through 0.10.10 have currently been tested. wowsreplay file in a new issue! Supported Versions If you find one of these, please feel free to send me the. Some packets will appear as "Invalid" packets, these are packets for which the packet ID is known, but for some reason the parser decided it didn't know what to do with the packet. The DamageReceived example above is a packet that originally was a RPC method call but the dump utility converted into a more friendly format. Some entity method calls have been decoded into an application-specific payload. The "levels" key of the update command indicates the path to update, in this instance the state dictionary, updating the score key to 204.Įntity methods are encoded using the EntityMethod payload.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |