# Download and Prepare

## Enter Desktop Mode

* If you are using a USB-C hub, connect it to your Steam Deck now.
* Enter **Desktop Mode** on your Steam Deck.

## Download P4G CEP <a href="#download-p4g-cep" id="download-p4g-cep"></a>

* Download the latest version of **P4G CEP** now if you haven't already.

<table data-header-hidden><thead><tr><th width="184"></th><th></th></tr></thead><tbody><tr><td>Site</td><td>Link</td></tr><tr><td>Download from <strong>GameBanana</strong></td><td><a href="https://gamebanana.com/mods/download/50961">https://gamebanana.com/mods/download/50961</a></td></tr><tr><td>Download from <strong>Nexus Mods</strong></td><td><a href="https://www.nexusmods.com/persona4golden/mods/11?tab=files">https://www.nexusmods.com/persona4golden/mods/11?tab=files</a></td></tr></tbody></table>

## Set Up P4G-Mods folder

We will use a dedicated directory for our P4G modding tools. If you ever need to create a file backup, take a screenshot, or write down a note, save it in this folder to stay organized.

<details>

<summary>Important Terms</summary>

**P4G-Mods** folder: A unified folder for your P4G modding setup.

There are four folders in the **P4G-Mods** folder:

* **\_Reloaded-II**: This folder contains the **Reloaded II** mod loader.
  * You'll learn more about Reloaded II soon!
* **Backups**: Use this folder to store any important files or folders you want to save.
* **Notes:** Use this folder to store any information you think is worth keeping.
* **Setup:** Use this folder to store the prerequisite runtimes your modding tools need.

</details>

### Prepare P4G-Mods Folder

* Extract your downloaded P4G CEP archive.
* Open the extracted archive and locate the **P4G-Mods** folder inside.

### Move P4G-Mods Folder

* Move the **P4G-Mods** folder to a suitable location on your Steam Deck's **internal storage**.

{% hint style="info" %}
We recommend creating a new folder in your home directory such as **/home/deck/Mods/** and placing your **P4G-Mods** folder inside it.
{% endhint %}

<figure><img src="/files/356QeB34mEMpt5rQkZ1c" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
**Double-check your directory path!**

Make sure your **P4G-Mods** folder is NOT in any of these locations:

* Any **Wine** or **wineprefix** directory
* Any **Steam** or **Steam library** directory
* The **Persona 4 Golden** game folder
* Any directory that actively syncs data to the cloud (Dropbox, etc.)
  * Backups that run manually or on an infrequent schedule are okay

If your **P4G-Mods** folder is in one of these locations, you must move it to a different location before continuing. As mentioned above, we recommend **/home/deck/Mods/**.
{% endhint %}

## Download Prerequisites

{% hint style="danger" %}
Reloaded II regularly updates its prerequisites, so these instructions may be outdated.

Check the Reloaded II [**website**](https://reloaded-project.github.io/Reloaded-II/) and [**GitHub repository**](https://github.com/Reloaded-Project/Reloaded-II/) for up-to-date information.
{% endhint %}

There are a few core runtime libraries our modding tools need to run. We will install them later using a program called **Protontricks**.

* Download these prerequisites to your **/P4G-Mods/Setup/** directory:

<table><thead><tr><th width="344.5">Prerequisite</th><th>File Name</th></tr></thead><tbody><tr><td><a href="https://dotnet.microsoft.com/en-us/download/dotnet/9.0"><strong>.NET 9 Desktop Runtime (Windows x64)</strong></a></td><td><code>windowsdesktop-runtime-9.0.##-win-x64.exe</code></td></tr><tr><td><a href="https://dotnet.microsoft.com/en-us/download/dotnet/9.0"><strong>.NET 9 Desktop Runtime (Windows x86)</strong></a></td><td><code>windowsdesktop-runtime-9.0.##-win-x86.exe</code></td></tr><tr><td><a href="https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022"><strong>Visual C++ Redistributable (Windows x64)</strong></a></td><td><code>vc_redist.x64.exe</code></td></tr><tr><td><a href="https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022"><strong>Visual C++ Redistributable (Windows x86)</strong></a></td><td><code>vc_redist.x86.exe</code></td></tr></tbody></table>

{% hint style="warning" %}
Make sure you are downloading the **Windows** versions of each prerequisite and that you download both the **x64** and **x86** versions. You should have **4 EXE files** when you are done.
{% endhint %}

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

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

<figure><img src="/files/8JV02zJc8RMhhuvf5wrG" alt=""><figcaption></figcaption></figure>

## Moving On

{% content-ref url="/pages/j0mBkpSzrLOLgt09A88U" %}
[Install Flatpaks](/install/install-flatpaks.md)
{% endcontent-ref %}


---

# 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://p4g-deck.cep.one/install/download-and-prepare.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.
