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

Create a better mod/patch file format #56

Open
apocalyptech opened this issue Aug 20, 2023 · 0 comments
Open

Create a better mod/patch file format #56

apocalyptech opened this issue Aug 20, 2023 · 0 comments
Labels
enhancement New feature or request needs investigation Still need to nail down exactly what the issue is

Comments

@apocalyptech
Copy link
Contributor

There's a number of things we'd like to do in BLCMM which would require updates to the mod/patch file format (some examples: issues #9, #14, #16, and #17). For most of those, the changes required to support it are pretty minimal, but there's one other complicating factor: the current .blcm format isn't the best, and rather than continue to patch it up over time, it might make more sense to just move to something better.

The current format sort of looks like XML but deviates from XML in many ways. This was intentional at the time -- The Java-based XML parsers that LightChaosman had tried out were prohibitively slow and memory-hungry at the time. Bigger mods would become essentially unmanageable. So, a lighter-weight XMLish format was created instead, with custom parsing which could be a bit quicker. Those concerns might not apply anymore today, and it's possible that there's faster XML-parsing engines out there which could be used instead, even if the "default" ones are still slow.

However, I don't think anyone's really fond of XML anyway, so if we're gonna do a full revamp, I'd probably prefer doing something totally different anyway. apple1417's started a gist with some more background and some preliminary suggestions, which as-proposed there would be YAML-based. That might be a decent place to start, and at any rate we'd want to make sure to coordinate this with unrealsdk development and Command Extensions, so that we can ensure things continue to work all right.

@apocalyptech apocalyptech added enhancement New feature or request needs investigation Still need to nail down exactly what the issue is labels Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs investigation Still need to nail down exactly what the issue is
Projects
None yet
Development

No branches or pull requests

1 participant