Gunmen of the Apocalypse

Kryten contracts a deadly computer virus, and Rimmer and Co are forced to enter his electronic mindscape. They find themselves in a wild west town, facing a gunfight against metaphysical gunslingers.