REDmod for mod devs
Using Redmod to create mods.
Summary
This page tells you how to use REDmod for mod creation.
Wait, that's not what I want!
What is REDmod? (Developer version)
REDmod is a command line tool developed by CDPR and Yigsoft, which allows us to interact with game files in a variety of ways.
Modules for mod creators:
Folder Structure
An example REDmod might look something like this:
When sharing you mod, you would package the folder that is the name of the mod. You could also package the mods folder with the "mod folder", but it is not necessary and it is assumed one might have other mods in their mods
folder anyways.
info.json
For a REDmod to be recognized and loaded by the game engine, you must include an info.json
file. This file sits in the root folder of the mod's folder at the same level as the subfolders containing your modded files. There are two required entries and a few optional entries that can be in this json file. At minimum a name
field and a version
field are needed:
In the above:
The
name
field is the mod's name and should generally be the same as the folder theinfo.json
file sits in.The
version
field is the mod's version. The version should generally use "Semantic Versioning"The
description
field is optional for all mods, but it is generally suggested one should include it so other tools have something to display for a given mod.
INFO - Semantic Versioning is a method of versioning where each number gives meaning for a release based on their position. It uses the format
MAJOR.MINOR.PATCH
where aMAJOR
release change is one which will break workflows,MINOR
could break a workflow but is generally safe and might introduce deprecations, and aPATCH
is a small non breaking change that all users on the sameMAJOR
andMINOR
can update to without any issues.
Last updated