I’ve gone thru both movie & book at least 3 times each. They’re suitably close until about half way thru, where the movie takes a very different turn and plays that out.
They’re two sides of the same character, following the what-if either way.
I think I might try to find the old book and read it again. Hope it will be good, though I was always taken by PKD’s writings.