UnrealScript - Joshhhuaaa/EnhancedSC GitHub Wiki
Setup
To begin compiling UnrealScript for Splinter Cell, you'll need the following:
- A copy of Splinter Cell installed.
- Download and extract the UnrealScript source code into your Splinter Cell directory. You can download the Enhanced SC or the reconstructed v1.3 UnrealScript below:
- A decent text editor. Visual Studio Code is recommended, along with the UnrealScript extension.
[!TIP] It's a good idea to copy the game's original files into a separate folder and work there. That way, your main installation stays untouched, and you won't need to reinstall if something breaks.
Directory structure
├── Animations
├── Core
├── Echelon
├── EchelonCharacter
├── EchelonEffect
├── EchelonGameObject
├── EchelonHUD
├── EchelonIngredient
├── EchelonMenus
├── EchelonPattern
├── Editor
├── Engine
├── LipSynch
├── Maps
├── Save
├── Sounds
├── StaticMeshes
├── System
├── Textures
├── UDebugMenu
├── UWindow
├── Videos
├── Compile.cmd
└── CompileAll.cmd
About the UnrealScript Source
All versions of Splinter Cell running the latest patch have had their UnrealScript source files stripped out by Ubisoft. To reconstruct the code, the Russian v1.1 version was used as a starting point, as it was the latest known version that still included the full source. From there, code from versions 1.2 and 1.3 was manually added to match the final release.
The PS3 version of Splinter Cell includes the complete UnrealScript source, which served as a reference when restoring v1.3 functionality. Additionally, tools like UE Explorer were used to decompile the stripped PC packages, providing a rough approximation of the original scripts where needed.
Compiling UnrealScript
To compile the UnrealScript, simply run either Compile.cmd
or CompileAll.cmd
. This will compile the .uc
files into .u
package files, which will be placed in your System
folder.
Compile.cmd
compiles only the packages modified by Enhanced SC.CompileAll.cmd
compiles all packages, including those Enhanced SC doesn't currently modify.
At the moment, Enhanced SC uses the default v1.3 versions of the following packages:
Core.u
EchelonEffect.u
EchelonGameObject.u
Editor.u
UWindow.u
UDebugMenu.u
There's no harm in recompiling these, but it's not necessary unless you're modifying them.