Moving and renaming in existing projects
How to avoid changing every single depotPath in your mod by hand
In Wolvenkit, save all your open tabs and close them. You don't want any files to be open in Wolvenkit for what comes next.
Move and rename your files and folders. (You might have to rename folders in the Windows Explorer)
In Wolvenkit, right-click on the top level folder under archive and select "Convert to JSON"
Open a file at the root level of the folder in Notepad++
Use "Search: Find in Files..." (Ctrl+F)
Find the name/path of your old item so you can copy and paste it
For "Directory", put the top level directory with all your json files
For "Find what" put the name
Copy the relative base path of the folder you changed, starting at archive
It will look something like
archive\\yourname\\old_folder_name
Use "Search: Find in Files..." again (Ctrl+F)
For "Directory", put the top level directory with all your json files
For "Find what", put the path you copied in the previous step
For "Replace With", put the path of your new file or folder. Make sure that you do not have any typos! The doubled slashes are necessary!
Select "Replace in Files". Notepad++ will now change the folder name for you.
Right-click on the top level folder under raw and select "Import from JSON"
Last updated