Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQO reading #251

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

MQO reading #251

wants to merge 2 commits into from

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Jul 16, 2022

Based on some work by @Hazado and references from Drizzle, this seems to be able to read all the MQO files. I'm going to say that editing/writing is probably not safe for now.

For most cases, we can rely on the Class Versions map, except for the case of messages included within responders. That necessitated the addition of a pvMqo entry to PlasmaVersion and a very specific filename/SeqPrefix check to decide when to use it or not 😞

This also adds support for the plCloneSpawnModifier class. Currently this is unused in Uru and MOUL, so we'll always try to read an MQO version if it's MOUL-ish data. Given that the class implementation is actually probably broken in Uru, it makes sense for us to update it in H-uru/Plasma to match MQO at some point so that it's actually usable, but that's neither here nor there.

There's a handful of version checks for Choru data that I've been carrying around locally for a few years in here too. I can try to split them out into their own commit if that's a problem.

Closes #247

@@ -85,6 +85,7 @@ class HSPLASMA_EXPORT PlasmaVer
pvPrime = MAKE_VERSION(2, 0, 63, 11),
pvPots = MAKE_VERSION(2, 0, 63, 12),
pvMoul = MAKE_VERSION(2, 0, 70, 0),
pvMqo = MAKE_VERSION(2, 0, 70, 1),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

H-uru/Plasma is currently 2.0.70.2, FWIW.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That ends up not really mattering because that's handled via the ClassVersions stuff.

MQO isn't really 2.0.70.1, we just need something to use as a flag because of the missing ClassVersions for messages :(

dpogue and others added 2 commits December 24, 2024 22:44
I believe this is only ever used for MQO.
Co-Authored-By: Edmond Mondor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MQO prps fail to open correctly
2 participants