# How To Install

{% embed url="<https://youtu.be/w4MsR6NJrZo>" %}

### 📁 Installation Steps

{% stepper %}
{% step %}
**Download Patches**

Please download the compatibility patches from our github repository

➡️ [DOWNLOAD](https://github.com/TStudio3d/tstudio_maps_patches/archive/refs/heads/main.zip)

⚠️ **Important:** This is required if you our maps and maps from other creators!
{% endstep %}

{% step %}
**Prepare Resource Folders**

Create the following folder structure in your `resources` directory:

```
resources/
├── [tstudio_maps]/
│   ├── tstudio_zmapdata
│   ├── tstudio_audioocclusion
│   ├── tstudio_map1
│   ├── tstudio_map2
│   └── ...
└── [tstudio_maps_patches]/ # Dont add this to your server.cfg! 
    ├── tstudio_zpatch_map1_map2
    └── ...
```

{% endstep %}

{% step %}
**Install Resources**

* **Drag and drop** all `tstudio_*` resources into `[tstudio_maps]/`
  * Includes MLOs, Mappíng & tstudio\_zmapdata
* **Unzip and drop** all `tstudio_zpatch_*` resources (Step 1) into `[tstudio_maps_patches]/`
  {% endstep %}

{% step %}
**Configure server.cfg**

Add the following line to your `server.cfg`:

```cfg
ensure [tstudio_maps]
```

⚠️ **Important:** Do not manually start the `[tstudio_maps_patches]` folder – our system handles this automatically.
{% endstep %}

{% step %}
**Finalize Installation**

1. **Clear your server cache** after installation
2. **Restart your server**
   {% endstep %}

{% step %}
**Confirm Installation**

if you see the following patches starting you did everything right

<figure><img src="https://3300529709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvnCFdTkGijJK5GEWb7AR%2Fuploads%2FNIHVbOUsvOi0jl6gq8uB%2Fimage.png?alt=media&#x26;token=bb06629f-bf7d-44f2-8e55-be2ced9aaf9c" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
if you dont see **"starting map fix for XYZ"** you did something wrong and start by step 1!
{% endhint %}
{% endstep %}
{% endstepper %}

***

### 🔄 Update Process

Follow these steps to update your resources:

1. **Delete** old `tstudio_*` resources
2. **Replace** them with the new versions
3. **Clear** your server cache
4. **Restart** your server

***

### 🔧 Server Requirements

Before installation, ensure your server meets these requirements:

| Requirement           | Minimum Version                 |
| --------------------- | ------------------------------- |
| **FXServer Artifact** | `7290` or higher                |
| **Game Build**        | `3258` or higher                |
| **Recommended**       | txAdmin for resource management |

### 🚀 Performance Tips

#### Load Order Priority

* Load `tstudio_zmapdata` and `tstudio_audioocclusion` **first**
* Maintain the original file structure
* Run tests on a development server before deploying live

#### Best Practices

* ✅ Keep original filenames and folder structure
* ✅ Clear cache after each update
* ✅ Use txAdmin for easier management
* ❌ Do not rename resources or files
* ❌ Do not modify folder structure

***

### 🆘 Support & Community

Need help or want to connect with other users?

**Join our Discord:**\
<https://discord.gg/tstudio>

***

**Made with ❤️ by TStudio**

***


---

# 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://tstudio-by-turbosaif.gitbook.io/tstudio/products/how-to-install.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.
