> For the complete documentation index, see [llms.txt](https://evanthebearge.gitbook.io/minecraft-earth-map/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://evanthebearge.gitbook.io/minecraft-earth-map/minecraft-earth-tiles/setting-up-worldpainter.md).

# Setting up WorldPainter

* Open **WorldPainter**
* Click “**Edit**” and select “**Preferences**”

![](/files/umElFruCgMCM0rkq9C53)

* Switch to the “**Defaults**” tab and align your settings to the below screenshot:

<figure><img src="/files/fFEu2c9qHSXM8XmwzpjY" alt=""><figcaption><p>TIles 'Defaults' settings for WorldPainter</p></figcaption></figure>

* Open "Configure default border, terrain, and layer settings"
* Align your settings exactly to the below screenshot:

<figure><img src="/files/qOWRJnxQON8ab22CiKC6" alt=""><figcaption><p>General Page</p></figcaption></figure>

* Switch to the “**Caves, Caverns and Chasms**” tab and *<mark style="color:red;">deactivate</mark>*: “**Caves everywhere”, “Caverns everywhere” and “Chasms everywhere**”. This will fix cave generation for the map. Make sure your settings align with the screenshot

<figure><img src="/files/TkoY44bHu48UuFATmniF" alt=""><figcaption><p>Settings</p></figcaption></figure>

Lastly, switch to the "**Other Layers"** and disable all settings.

<figure><img src="/files/4ke1BgrVMs4SJ3RYaOwS" alt=""><figcaption><p>Settings</p></figcaption></figure>

* Press “**OK**” to save the settings.

<figure><img src="/files/fLdy3WWINYAaLZwS3QMU" alt=""><figcaption></figcaption></figure>

#### Now you can create Tiles with the correct export settings. The reason why we have to do this manually is that the custom script cannot be programmed to do so.

## Assigning more RAM to WorldPainter

Sometimes WorldPainter does not allocate&#x20;

Go to the installation folder of WorldPainter (most likely C:\Program Files\WorldPainter) and open the file: "**wpscript.vmoptions**" with a text editor.

<figure><img src="/files/CTPLFUC4AUZijpW9CkuI" alt=""><figcaption></figcaption></figure>

Add the following line at the end of the file:

{% hint style="warning" %}
*Instead of 16, you should enter the amount of RAM you have installed in your computer (minus a little bit, for example, 14G, when you have 16GB installed). **Never** allocate too much memory—your system still needs some to function!*
{% endhint %}

```html
-Xmx16G
```
