# C5: Decrypting the EBOOT

Now we need to decrypt the EBOOT.BIN so we can patch it with the **patch.yml** we just created. First, get the license file (.rap) of the game (remember, **NPUB** is for America and **NPEB** is for Europe). I won't be providing links for it, but if you've made it this far, you probably know where to find it either way.

{% hint style="warning" %}
It probably is the best moment to advise you to keep a good backup of the *vanilla, unmodded* **EBOOT.BIN**, just in case anything goes wrong you can try again.
{% endhint %}

You will need the [TrueAncestor SELF Resigner](https://www.psx-place.com/threads/trueancestor-self-resigner-v1-98-by-jjkkyu.3722/) for this part. Download it and extract it wherever you feel like, but I'd recommend creating a folder for all the modding related stuff. Put the .rap file in the *raps* folder, and the EBOOT.BIN in the folder with the executable file, just like this.

<figure><img src="https://3517447842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoHg6F5JKG5QaZJ7PfHd%2Fuploads%2FKwcEkMwWLPcKmM2UehjY%2Fimage.png?alt=media&#x26;token=3ca50ae4-78de-4b1d-a352-4abec548500f" alt=""><figcaption></figcaption></figure>

Done? Cool, now open the resigner tool. You'll see this.

<figure><img src="https://3517447842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoHg6F5JKG5QaZJ7PfHd%2Fuploads%2FBbxv1QKIqjg6CjxmkVrk%2Fimage.png?alt=media&#x26;token=d5ac3666-cd32-4478-9505-84c4fea68055" alt=""><figcaption><p>so much... green...</p></figcaption></figure>

* If you're using *CFW*, you don't need to change the Output Method or the Compress Data option. Simply press '1' and then Enter.
* If you're using *HEN*, press O and Enter+Enter three times, so the Output Method changes to \[3.XX STD]. Then press D, then Enter and Y and Enter to change the Compress Data option to \[OFF]. After that press '1' and Enter.

The program will decrypt the EBOOT.BIN into a EBOOT.ELF, and it will be right next to the EBOOT.BIN. Take the EBOOT.ELF and move on to the next chapter.
