Skip to content

Player crashes when loading a map that had width and height increased through lcf2xml #3205

Open
@jetrotal

Description

@jetrotal

Broken Map:
broken_Map0003.zip

I increased a map size through those steps:

  • Convert a .lmu map to .emu through lcf2xml.exe
  • Edit the map width and height through notepad
  • convert it back to .lmu with the same tool

image
image


Then my player crashed.
The debug build returns an error about invalid vector entries:
image


The similar issue also happens on RPG_RT, but RPG_RT returns an error dialog:
image


The issue can be fixed if I use the Editor's bucket tool to fill both lower and upper tiles:
fixed_Map0003.zip

I suspect the issue is related to having a list of lower_layer or upper_layer entries smaller than the width or height.


BTW loading this map through Player is way slower than through RPG_RT. Fdelapena commend about this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashMapsMap content related. For map events please use event/interpreter instead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions