Hi everyone. So, I decided to replay whole trilogy of Prince of Persia after many years, beat the first game and started Warrior Within right away. But the game starting to crash. First time in prologue, when there should be cutscene played, where enemy ship is about to hit yours. After restart, it no longer crashes, but it happens later on the island. When you roll under the first gate and about to reach the second gate before the castle, game will start freezing, and then two things will happen. 1. Either game just crashes back to desktop, with the error when it says that the game ended unexpectedly or 2. It will give you a BSOD after freezing.
But I found the solution to this problem. For my case at least. And all you have to do to solve this problem, is to turn off the fog in options/video options/ after you launch the game again. After that, this game didn't crashed on me never. But, since I disabled fog, some problems started to show up. Like, in some places textures were becoming black, in other places visual effects are missing, and sometimes the game runs faster than it should. And thanks to that, in some cutscenes, the sound is a little bit off from what's happening on the screen. And then there is a little bugs with shadows. And I think that this happens because I'am running Windows 10 from SSD and game from hard drive separately.
Anyway, if anyone can add the information about the fog problem and how to solve it, which I told above, to the main page of the game, so that people knew the solution to the problem, if anyone happens to face the same problem as me, I would be happy. I could do it myself but I'am new to editing info about games in here, and the editing itself looks confusing for me.