This post will teach you why and how to fix it.
"Just get it working"
- Uninstall the Creation Kit if you already have it installed
- Download and unzip the QuickFix.zip attachment
- Run Link.bat as an admin
- Install the Creation Kit via Steam
- Replace SkyrimEditor.ini on your Enderal folder with the one from the zip
- Optionally, extract the "E - Scripts.bsa" archive to your Data folder to make scripts editable
The Creation Kit can only be executed from the steamapps\common\Steam folder. Additionally, it is hardcoded to look for Documents\My Games\Skyrim.ini and Documents\My Games\SkyrimPrefs.ini, which Enderal doesn't use.
The SKSE version that comes with Enderal doesn't support the current version of the Creation Kit, so you cannot run the CK through SKSE to use the SkyrimRedirector plugin to redirect those files.
We're going to use Symbolic Links. These are like shortcuts, but they're followed automatically by any program without any extra logic. If you make a symbolic link at My Games\Skyrim that has My Games\Enderal as a target, every file that is read or written to My Games\Skyrim will end up at My Games\Enderal instead.
Unfortunately, you can only create Symbolic Links as an admin in Windows. So, in order to run any scripts or commands that follow, make sure you're running as an Administrator.
To make a symbolic link named LinkName targeting the directory TargetDir in cmd, you can use:
Code: Alles auswählenIf you're making a symbolic link named LinkName targeting the file TargetFile in cmd, you can use:
mklink /D "LinkName" "TargetDir"
Code: Alles auswählenTo make a symbolic link named LinkName targeting the file or directory TargetItem in PowerShell, you can use:
mklink "LinkName" "TargetFile"
Code: Alles auswählenThe Solution
New-Item -Type SymbolicLink -Path "LinkName" -Target "TargetItem"
If you want to keep the Creation Kit at steamapps\common\Skyrim, you can just make a symbolic link at Skyrim\Data targeting the directory Enderal\Data. This works, but doesn't help with organization if you want to keep both Skyrim and Enderal installed at the same time.
So it might be better to rename your Skyrim folder, make a symbolic link at steamapps\common\Skyrim targeting the directory steamapps\common\Enderal, then copy the CK files to the Enderal folder or re-download it on Steam so that the files are copied there automatically.
This way, you can change which installation the CK will run on just by changing the "Skyrim" link to point to "Enderal" or to your actual Skyrim folder, and all files are kept in a single folder if you have just Enderal installed. This is the method used by the Quick-Fix.
Additionally, you'll have to edit your SkyrimEditor.ini to point to the right .bsa files. You can use the SkyrimEditor.ini included in the QuickFix.zip, or find the [Archive] section and add or replace the following entries:
Code: Alles auswählenWhile those are the bare minimum required to run the CK, Skyrim.ini and SkyrimPrefs.ini are also read by the program to apply extra options such as the 3D rendering quality. You'll have to make three links in your documents folder to redirect those: One link named My Games\Skyrim targeting the directory My Games\Enderal, one link named My Games\Skyrim\Skyrim.ini targeting the file My Games\Enderal\Enderal.ini, and one link named My Games\Skyrim\SkyrimPrefs.ini targeting My Games\Enderal\EnderalPrefs.ini.
SResourceArchiveList=Skyrim - Animations.bsa, Skyrim - Interface.bsa, Skyrim - Meshes.bsa, Skyrim - Misc.bsa, Skyrim - Shaders.bsa, Skyrim - Sounds.bsa, Skyrim - Textures.bsa, Skyrim - Voices.bsa, Update.bsa SResourceArchiveList2=E - Meshes.bsa, E - Music.bsa, E - Scripts.bsa, E - Sounds.bsa, E - Textures1.bsa, E - Textures2.bsa, E - Textures3.bsa, L - Textures.bsa, L - Voices.bsa
The directory link alone is not sufficient like the other links because the names of the files are different in this case.
If you open the CK now, you'll notice that it works, but you're unable to see any script sources. That's because the script source files in Enderal come packed in a .bsa, but the Creation Kit can only read loose files.
You'll need to use a program that can read .BSAs, such as Bethesda Archive Extractor, to open the "Data\E - Scripts.bsa" archive and extract the "scripts\source" folder from inside the .BSA to your Data folder.
When you're done, your should have a bunch of .psc files inside of the Enderal\Data\Scripts\Source directory, and the CK should show you the source code of scripts and let you edit them now.
24 February 2019: The script no longer relies on "_ReadPaths.bat", so this should fix issues with Right Click -> Run as Admin changing the current path to System32. Thanks OverDev for pointing this out.