To unlock the dark side ending in Star Wars: The Force Unleashed, you need to make a specific choice near the end. When you reach Vader, jump down the staircase instead of following the other path.
Doing so leads you into a confrontation with him and unlocks the dark side ending.
It is a dramatic alternative finale for players who want to see the darker outcome.