Getting Started - KarbonAKitt/CVWiki GitHub Wiki
Extracting Game Files
To get assets for editing and finding references, you will need to extract Code Vein's pak files. While you can extract a single file at a time, it is recommended to extract all files to a separate folder for convenience.
Note the files generated with the following method will not be directly editable. The files will be in .uasset, .ubulk, and .uexp format, which will need to be converted into their proper file types if they can be for further use.
Below are two methods to extract .pak files
The unrealpak.exe Extract-All Method
- Download unrealpak-bundle.zip with the bundled extract and pack script here.
- Unpack the archive you downloaded anywhere you want.
- Select and drag any of the .pak files from Code Vein's install directory, usually
C:\Program Files (x86)\Steam\steamapps\common\CODE VEIN\Content\Paks\
onto Extract-Pak.bat.
- The extracted files will be placed into the same folder, this may take several seconds to minutes to finish.
The umodel Individual-Extract Method
- If you wish to extract a single uasset or folder file at a time, umodel can be used to export them.
- Download umodel here and launch it from umodel.exe
- When umodel opens, change the Path to game files to your Code Vein installation folder, usually
C:\Program Files (x86)\Steam\steamapps\common\CODE VEIN
before pressing OK.
- Locate the folder or asset you want to extract from within umodel's GUI.
- For single assets, right-click the item in umodel and select Save packages from the drop-down menu. Set the location you want the exported files to go to before pressing OK.
- For whole folders, right-click the folder in umodel and select Save folder packages from the drop-down menu. Set the location you want the exported files to go to before pressing OK.
Setting Up Unreal Engine
- With the Epic Games Launcher installed, navigate to the Unreal Engine tab, and then the Library sub-tab.
- Here you will install Unreal Engine Version 4.18.3 by clicking the + icon next to ENGINE VERSIONS. This will default to the latest version of Unreal Engine.
- Change the version to 4.18.3 by clicking the small arrow next to the current version, and finding 4.18.3 in the drop-down list.
- With the proper version selected, click the install button to install Unreal Engine Version 4.18.3.
- Select your installation folder, somewhere with at least 10GB of free space, and wait for the installation to complete before proceeding.
Creating a Mod Project in Unreal Engine 4
Example projects will be provided in this repository, but if you would like to create your own, you can follow these steps.
-
To create a project, you first need to launch Unreal Engine 4.18.3 from the Epic Games Launcher. This will start loading Unreal Editor and bring up a New Project prompt.
-
The project name and folder location can be anything you want, what is important here is that you choose to make a Blank project with No Starter Content before pressing Create Project to continue.
- The editor will now load your new empty project, from here you can start importing and organizing the assets your mod will use.