You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing some unexpected behavior, my map export fail without printing errors when run with script. It work with the GUI.
It look like to success to load the map then create entities/, region/, level.dat and session.lock but it never add anything in the 2 directories.
My script:
varfileName='Ireland.world';varexportDir='.';print('Loading world '+fileName);varworld=wp.getWorld().fromFile(fileName).go();print('Exporting world to '+exportDir);wp.exportWorld(world).toDirectory(exportDir).go();print('Done')
The terminal display:
>wpscript.exe .\exportWorld.js
WorldPainter scripting host version 2.22.1.
Copyright 2011-2024 pepsoft.org, The Netherlands.
This is free software distributed under the terms of the GPL, version 3, a copy
of which you can find in the installation directory.
Executing script "exportWorld.js" with no arguments.
Loading world Ireland.world
Exporting world to .
Done
My world is imported from a world in 1.16 and have custom biomes, but it is set to 1.19 world format.
I have tried serveral thing to debug.
Export the default map work.
Export a small part of my map didn't work.
Export the default world at loading world painter with a custom biome instead of plain work.
Export an imported from a 1.20.6 minecraft map work.
Am I doing something wrong ?
Do you have any idea of what could cause that ?
The text was updated successfully, but these errors were encountered:
Hi thanks for sharing this incredible tool.
I'm facing some unexpected behavior, my map export fail without printing errors when run with script. It work with the GUI.
It look like to success to load the map then create
entities/, region/, level.dat and session.lock
but it never add anything in the 2 directories.My script:
The terminal display:
My world is imported from a world in 1.16 and have custom biomes, but it is set to 1.19 world format.
I have tried serveral thing to debug.
Export the default map work.
Export a small part of my map didn't work.
Export the default world at loading world painter with a custom biome instead of plain work.
Export an imported from a 1.20.6 minecraft map work.
Am I doing something wrong ?
Do you have any idea of what could cause that ?
The text was updated successfully, but these errors were encountered: