About this mod
How to build a mod using your own strings (names and descriptions) for gwent cards.
- Requirements
- Permissions and credits
- Create a base directory for your mod (modDir) - D:\Mods\GwentCardsStrings
* you can choose other drives and directory names - Download the zipped gwent_en.csv file.
- Unzip the downloaded file to modDir.
- Download w3strings encoder.
- Unzip the downloaded file and copy w3strings.exe to modDir.
- Layout of files and directories.
D:\Mods\GwentCardsStrings
D:\Mods\GwentCardsStrings\gwent_en.csv
D:\Mods\GwentCardsStrings\gwent_en_values.csv
D:\Mods\GwentCardsStrings\w3strings.exe
Csv file editing
- Open gwent_en.csv for editing (Notepad++).
* more information about the csv file format: w3strings.
The gwent_en.csv file contains records that have keys for names and descriptions.
gwint_name_geralt - name key
gwint_desc_geralt - description key
Only 8 records are uncommented in the file. The commented lines start with a semicolon.
Triple question marks (???) are placeholders for your names and descriptions. - Replace placeholders with your own names and descriptions.
* don't forget to remove the semicolon
The gwent_en_values.csv file contains original text values of the game.
Building a mod
- Create a batch file in modDir - build.bat
- Add content to the file.
@echo off
set copycmd=/Y
set modDir=D:\Mods\GwentCardsStrings
set gameDir=D:\Games\The Witcher 3 Wild Hunt
set id_space=6789
set modName=modGwentCardsStrings
if not exist "%modDir%\w3strings" mkdir "%modDir%\w3strings"
call w3strings.exe --encode "%modDir%\gwent_en.csv" --id-space %id_space%
move /Y gwent_en.csv.w3strings "%modDir%\w3strings\en.w3strings"
del /F gwent_en.csv.w3strings.ws
robocopy "%modDir%\w3strings" "%modDir%\Packed\%modName%\content" /S
robocopy "%modDir%\Packed" "%gameDir%\mods" /S
pause - Check variables.
modDir - your mod base directory
gameDir - The Witcher 3 Wild Hunt base directory
id_space - 4 digits, used as the middle part of the ids in csv file - 211(6789)014
In case of conflict with other mod, you need to change this base number (just add +1 and try again) in build and csv file (all records). - Save changes and run the file.
- Check that your mod modGwentCardsStrings has been copied to The Witcher 3 Wild Hunt mods directory.
Other mods
Gwent Cards and Textures
Gwent Cards and Attributes