# Extract libshacccg.suprx

After all those years, we finally have a legal shader compiler. And thanks again to PSM. It may not have served well its original purpose, but for us it's a gift. We saw the first native hack (rejuvenate), allowing newcomer to make unity homebrew easly on our vita, and now it provide us a way to have a legal shader compiler. But for that we need to extract libshacccg.suprx first.

## The automatic way.

You can use an automatic installer by installing this vpk and launching it :&#x20;

[DOWNLOAD](https://github.com/SonicMastr/PIB-Configuration-Tool/releases)

It will automatically place the libshacccg.suprx in the correct location. Install the app, open it, then press select to chose the option of installing libshacccg, then x to install. And done !

## The manual way

### Installing the PSM runtime

First of all we need to have the PSM runtime, for those who already have the 2.01 you can skip this part.\
You will need 4 files.

1. [PKGinstallerLauncher by SKGleba](https://vitadb.rinnegatamante.it/#/info/381)
2. [The 3 files of the PSM runtime ](http://psm.cbps.xyz/devtools.php?type=psm-runtime)(1.00, 2.00, 2.01)

Put the 3 files of the PSM runtime in ux0:package (create the folder) then open PKGInstallerLauncher

![I suppose you know what option you shoud chose right?](https://1087553906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7AtNs9SliH1ds_Krp1%2Fuploads%2Fgit-blob-a9c94148112ea652198fb3b5d78186b434df47e3%2F2020-07-09-210117.png?alt=media)

Once you are in the Package Installer, install the 3 PSM runtime, 1.00, 2.00 and 2.01 (The order is very important, else it will fail)

Note : If you have a black screen instead of the pkg installer, please disable all your plugins.

![Ever wondered why is there a cinema film in the background? Me too](https://1087553906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7AtNs9SliH1ds_Krp1%2Fuploads%2Fgit-blob-113b5ad3430d47404c3ae8c0686f7b155adc7035%2F2020-07-09-210600.png?alt=media)

Once it's done, you can check in system info -> PlayStation Mobile tab the version of the runtime

![I hope you didn't sleep during french classe](https://1087553906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7AtNs9SliH1ds_Krp1%2Fuploads%2Fgit-blob-2df505efe00fb966262bb5420851cca93db7a14b%2F2020-07-09-213320.png?alt=media)

### Extracting with ShaRKF00D

ShaRKF00D is an app by [OsirizX](https://github.com/OsirizX/ShaRKF00D) made to allow user to dump the libshacccg.suprx in one step. You can get it [here](https://github.com/OsirizX/ShaRKF00D/releases/download/1.3/ShaRKF00D.vpk)

Same stuff as usual, you transfer the vpk and install it with vitashell.

![Don't worry, this one doesn't bite. Well he might ate a little part of my screen but it's cool](https://1087553906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7AtNs9SliH1ds_Krp1%2Fuploads%2Fgit-blob-348d6f05df531232df2f53ff0e0dda01924acc6f%2F2020-07-09-210409.png?alt=media)

Once you have it, it's simple. Open the app and it will do the job without any user input.

![Hackerman!](https://1087553906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7AtNs9SliH1ds_Krp1%2Fuploads%2Fgit-blob-315cc022b38db818e977b4942954cc612646c78d%2F2020-07-09-212912.png?alt=media)

Once it's finished you can check if you have the .suprx in ur0:data.

![Too fast for the menu to catch me](https://1087553906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7AtNs9SliH1ds_Krp1%2Fuploads%2Fgit-blob-2b0a0ba70595be2f681f712575813f279cb832a2%2F2020-07-09-213049.png?alt=media)

And that's all, now you are ready to use upcoming project that will rely on the shader compiler like flycast !

## Extra

\*\*Note 2 : If the app relying on libshacccg doesn't work, make sure like with retroarch that you can access ur0:data folder with its inbuilt file manager. If not, then rename ur0:data to something else, then create a data folder and move all the files here. That should make the folder visible.


---

# 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://cimmerian.gitbook.io/vita-troubleshooting-guide/shader-compiler/extract-libshacccg.suprx.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.
