A near-bankrupt Polish studio gambles its future on adapting an obscure fantasy novel into a video game, launching a global franchise.