File information

Last updated

Original upload

Created by

SieeleLushen

Uploaded by

SieeleLushen

Virus scan

Safe to use

About this mod

A tool for fixing your projects in REDkit. Сhange id-space for existing strings, clear unused strings and easy link scenes with audio and lipsync files.

Requirements
Permissions and credits
Is your Strings DB filled with unused strings?

Have you f*cked up with id-space in your project?

Have you created lipsync using a great rmemr's tool but get bored with opening each scene?

REDkit Projects Fixer 3-in-1 is here to help you with all of this!


How to use:
  • Download and extract REDkit Projects Fixer
  • Make sure you have Python installed (tested on 3.13)
  • Make sure you have WolvenKit 7.2.0-nightly.2024-12-13 installed
  • Open REDkitProjectsFixer.py with any text editor and change paths in lines 17 and 20 to your paths to WolvenKit CLI and your project dir
    
  • Open command line and drag REDkitProjectsFixer.py into it
  • Set option and your_mod_nexus_id if needed and press Enter
    

There are 3 options:
  • --clean-unused will clean all unused strings from your LocalEditorStringDataBaseW3_UTF8_mod_export.csv
  • --change-id-space your_mod_nexus_id will clean all unused strings and then change strings ids for the new ones generated in your own id-space (both in LocalEditorStringDataBaseW3_UTF8_mod_export.csv and projects files)
    your_mod_nexus_id is a number from your mod's URL. E.g. for https://www.nexusmods.com/witcher3/mods/9453 it is 9453
  • --assign-audio-and-lipsync will add .wem and .re paths to scenes files. Lipsync files must be placed into <your_project_dir>\speech\en\lipsync, audio (wem) files must be placed into <your_project_dir>\speech\en\audio. All files must have proper names: <voiceFileName>.re for lipsync and <voiceFileName>.wem for audio (you can see voiceFileName in CStorySceneLine in your scene or in VOICEOVER column in LocalEditorStringDataBaseW3_UTF8_mod_export.csv)

Note: REDkit Projects Fixer 3-in-1 doesn't change LocalEditorStringDataBaseW3_UTF8_mod.db!

To change DB and get rid of unused strings in it open LocalEditorStringDataBaseW3_UTF8_mod.db with Strings DB editor for Redkit, delete all strings and import strings from LocalEditorStringDataBaseW3_UTF8_mod_export.csv. 

Some Wolvenkit conversion error might occur. Check the list of skipped files. If they have strings or should have paths to audio/lipsync you have to edit them manually until it won't be fixed.
You can find log in "logs" dir of your project (project_fixer_log--clean-unused.txt, project_fixer_log--change-id-space.txt or project_fixer_log--assign-audio-and-lipsync.txt).
Backup of changed files you can find in RedkitFixer_backups dir inside your project dir.

Thanks to: