# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://evanthebearge.gitbook.io/minecraft-earth-map/minecraft-earth-tiles/setting-up-worldpainter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
