> For the complete documentation index, see [llms.txt](https://cimmerian.gitbook.io/assetto-corsa-conversion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cimmerian.gitbook.io/assetto-corsa-conversion/csp-features/decrypt-rfactor-mods.md).

# Decrypt Rfactor mods

## Preparing the environment

First you need to download the [toolset](https://cdn.discordapp.com/attachments/1013482325721485442/1037785793068019762/gmt.zip)

extract the gmt folder inside the C: root directory.

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FXF1PxKX2kaylpblBYToA%2Fimage.png?alt=media&amp;token=796e89ae-f546-4b8f-8360-4cf3edc5fa02" alt=""><figcaption></figcaption></figure>

Find the .mas file of the car that contains all the part you want, for example for CTDP mod it's form.mas (it's generallt the mas file that weight the most)

We first need to extract the gmt file from it, so we open a cmd window

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FCq4hmAzsnvkaWNZL3LJE%2Fimage.png?alt=media&amp;token=80525eae-94a2-447c-a9a3-0eee4b87c02f" alt=""><figcaption></figcaption></figure>

drag and drop the MAS2File exe on the cmd window to automatically past the path of the exe. Press space then drag and drop the mas file we were talking about, then add another space and write the path where you want to extract the gmt file (you can just chose C:gmt)

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2Fj2DLWQNHMjUvtXNMyeAM%2Fimage.png?alt=media&amp;token=f7483a31-f367-4772-b1b9-f908c70bd995" alt=""><figcaption><p>example of the command</p></figcaption></figure>

now that all gmt files are inside the gmt folder we can start decrypting them

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FcicYr6qHdflQ7usVNWKn%2Fimage.png?alt=media&amp;token=c3929e5d-6d76-4d24-8ee8-d90d9a3ae23f" alt=""><figcaption><p>all the gmt are in the gmt folder</p></figcaption></figure>

```
c:\gmt\find c:\gmt -exec c:\gmt\rfactordec -o "{}" "{}" ;
```

Insert this command in the cmd and it will start to decrypt automatically all gmt file

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FeTSpwOjYVUFTgDq9pRAV%2Fimage.png?alt=media&amp;token=1059f117-372e-407f-94e8-b38bfd572450" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2F5uaQmVFylgcN4R7OCJTr%2Fimage.png?alt=media&amp;token=a6c275ef-e56c-4083-bd24-b876dbedd1fa" alt=""><figcaption></figcaption></figure>

You can now load the gmt file in 3Dsimed, find the correct texture of the part you need and apply it (for example the skin)
