Skip to content

Add separate bitfield support for keeping track of read added lines #497

Description

@PringlesGang

Added lines currently just add to the line IDs where they are inserted. Because the read-lines bitfield is densely packed, line-read bits start overlapping with ones from subsequent scripts. We need to properly support tracking the read status of these added lines without overlap.

Could be done here (and then probs LB as well) or MgsScriptTools (possibly both).

A possible solution on the MgsScriptTools side is to give added lines a very large line ID that escapes the regular assigned bitfield into further unused space in the save file.

A possible solution on the Impacto side would be checking against script sizes in Is/SetLineRead() and accessing a different bitfield if it would go out of bounds for the script.

Metadata

Metadata

Assignees

Labels

mediumMedium issue

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions