Full capture sessions for the client mod - #886
Draft
Swofty-Developments wants to merge 3 commits into
Draft
Conversation
Chunk exports could only be taken as a whole snapshot of everything loaded, written to a fixed saves directory, and converted to polar one world at a time against a live client level. Add single-chunk capture, an explicit output path, and a region read-back so a caller can hold many worlds without keeping their chunk data in memory, and let polar conversion take a registry access and run a batch of worlds under one minestom init.
Capturing a gamemode meant running several recorders by hand and stitching their output together afterwards, and none of them survived a world change. Add a single session that records everything the client observes until it is stopped: every world as its own segment in anvil and polar form, menus with their items and components, the inventory, chat, the scoreboard, tab, boss bars, titles, sounds, particles, block changes, entities, and the player's own clicks and commands, as one json object per line per stream. Worlds are segmented on server switch, respawn and level change, and are never overwritten. Chunks are kept as first seen so a segment is the world on arrival, with later edits arriving as block events, and a transition that lands back in the world it just left is merged instead of duplicated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.