Changes between Version 1 and Version 2 of Thrashing


Ignore:
Timestamp:
04/02/18 18:48:19 (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Thrashing

    v1 v2  
    4747If none of the above worked and you're comfortable getting your hands dirty on the command line, you can try using a script to export the world instead of using !WorldPainter. Scripts use less memory than !WorldPainter proper, so they might succeed if !WorldPainter does not. Using a text editor, create a file in the directory where your .world file is stored, named `exportworld.js`, with the following contents:
    4848
    49 {{{#!javascript
     49{{{#!js
    5050var world = wp.getWorld().fromFile(argv[1]).go();
    5151wp.exportWorld(world).toDirectory('.').go();
     
    5454Then export the world by opening a terminal or command prompt window, navigating to the directory where your .world file is stored, and executing the following command. For more information about what the "command prompt" is and how to access and use it on Windows, see [http://dosprompt.info/ this] page. Similar information can be found for Mac OS X and UNIX/Linux. Google is your friend.
    5555
    56 {{{#!bash
     56{{{#!sh
    5757wpscript exportworld.js "MyWorldName.world"
    5858}}}