Skip to content

Normalize VAR section before outputting ALLOC in decompiled file #272

@x87

Description

@x87

Some old compiled script may have suffered from #223 and have negative indexes stored in SB Footer's VAR section.

After #251 this results in lines like this:

Alloc($var, -1000)

Also some variable names could be malformed and contain invalid characters (e.g. // ). Need to investigate whether it is still possible for CustomVariables.ini to have such names.

Alloc($var//[0], -1000)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions