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

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

Open
jetrotal opened this issue Apr 9, 2024 · 0 comments
Labels
Crash Maps Map content related. For map events please use event/interpreter instead

Comments

@jetrotal
Copy link
Contributor

jetrotal commented Apr 9, 2024

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

@Mimigris Mimigris added Crash Maps Map content related. For map events please use event/interpreter instead labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Maps Map content related. For map events please use event/interpreter instead
Development

No branches or pull requests

2 participants