It sounds pretty obvious, but Movies and Games that are based on book often are better written.
I think more books should be turned into video games. like Metro series and the Witcher series both are very excellent games with good writing. Now If I would compare the Witcher with Dragon Age for example. Dragon Age would not hold a candle on The Witcher. and even the elder scrolls -what i consider the father of W/CRPGs- are not as polished when it comes to writing scenarios, sure the Elder Scrolls has a great lore but it is mostly background stuff and is poorly implemented most of the time. On the other hand The Witcher while you do play as a single character (Geralt) you do feel like you're part of this world and you're not just "role playing" you are Geralt and you do care about his friends.
Then we have Dragon Age, which is (and this is just my opinion of course) made by bioware, a developer studio that hires writers that would probably feel at home in sites like Fanfiction.net. Even though they have been doing games way longer than CDProject Red, their games feel like they were just rip offs of many novels and molded into a sexy and amatuer fanfiction.
Now we also have the Metro series, which is ,for a shooter game is expertly written, that is because it borrows heavily from the source material, and the source material is good. So you don't have to worry about hiring shitty writers.
Western RPGs try too hard to be "Epic" and "Huge" when they should instead focus on writing on set scenarios and tell more personal stories. A lot of people say that having a mute protagonist is a good thing, because you project your own view on the character or something. But that's way too dull, You really don't feel anything interesting is happening when your character is just picking up options on a list. Your character have to have some emotions not a "Yes" "No" thing.
Elder scrolls for example suffer from having characters that are just there to offer you quests, same with MMOs. all the characters you meet are shallow and once you talk to them they're pretty much done. I say instead of trying to have "HUGE EPIC WORLD" make one that is smaller but more interesting.
There are exceptions of course for the mute character thing, Bloodborne/Dark/Demon's Souls I think was expertly written, but that game is very clastrophobic and dark that you feel every piece of dialog even if it is small actually means something. And it is a bit more obscure compared to the other WRPGs, in that it never tells you anything about the world you just have to figure it out yourself. It is not trying to be "Epic" but tries to be "Mysterious"