> For the complete documentation index, see [llms.txt](https://noskill.gitbook.io/titanfall2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noskill.gitbook.io/titanfall2/chinese/how-to-start-modding/modding-introduction/modding-tools/ru-he-shi-yong-rspnvpk.md).

# 如何使用RSPNVPK

RSPNVPK is a new VPK repacker written by [Mr Steyk](https://github.com/mrsteyk) which creates a VPK patch rather than repacking the entire VPK. It can repack a VPK, replace, add, or delete files in a VPK. It can't, however unpack a VPK, so you would still have to use the VPKTool if you need to do that.

You can get the latest version from Mr Steyek's repository on the [releases page](https://github.com/mrsteyk/RSPNVPK/releases).

## Usage

{% hint style="info" %}
Unlike the VPKTool, only the `englishclient` VPK files are edited, so you will only have to backup the `englishclient` VPK files in your `Titanfall2/vpk` directory to restore your game files. Because RSPNVPK does not make back ups, make sure to back up your files before editing.
{% endhint %}

To edit a VPK, create a folder with the name of the VPK you are looking to make modifications to. For example, if you are trying to modify `englishclient_frontend.bsp.pak000_dir.vpk`, rename the folder `englishclient_frontend.bsp.pak000_dir`. For each file you want to edit/add/replace, you want to create the filepath that those files would be in. For example, [if you wanted to change `r1_english.txt`](/titanfall2/chinese/modding/user-interface/text-modding-r1_language.md), you would put the edited file in `englishclient_frontend.bsp.pak000_dir\resource`.

![](https://2905920047-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LPXG6BIVWwbrvVSOiBw%2F-MeB5xxX2rcGwU17b--E%2F-MeBHMPR6fBqfajosiTH%2Fimage.png?alt=media\&token=1e243040-204c-470d-8b0a-993c8c01eb6a)

To delete files in the VPK, just add a `.delete` extension to that file in the correct filepath. In this example [I will remove the sunflares from the game](broken://pages/-M_awxQfxCMjU8QyKU6D):

![](https://2905920047-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LPXG6BIVWwbrvVSOiBw%2F-MeB5xxX2rcGwU17b--E%2F-MeBIE2eQY1HzjwIcx8t%2Fimage.png?alt=media\&token=a3fcbdec-3fc3-4259-84e8-31af74f064d5)

Once you are done with your edits, copy your folder and the VPK file into the RSPNVPK folder:

![](https://2905920047-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LPXG6BIVWwbrvVSOiBw%2F-MeB5xxX2rcGwU17b--E%2F-MeBIjHyyoVxJXM1_BGz%2Fimage.png?alt=media\&token=b5ad8eff-3c91-4597-9aba-31f0e3b9a56f)

Next, drag the VPK file onto `RSPNVPK.exe`, and a window showing what files will be edited will be opened:

![](https://2905920047-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LPXG6BIVWwbrvVSOiBw%2F-MeB5xxX2rcGwU17b--E%2F-MeBJHdOXEOsC9Wy6br5%2Fimage.png?alt=media\&token=94d21c62-7657-4cea-b310-ce977e9d66d7)

When the tool is done, you can press ENTER to close the tool and you will have a new `client_frontend.bsp.pak000_228.vpk` file. Copy both of the VPK files these files to your game directory to install your modifications.
