You might remember my complaint from yesterday, where I talked about a bug that killed my Prey playthrough. I managed to solve the problem. What I found might also help all the other people experiencing strange broken quests triggersAt least on the PC. If you’re playing on a console you’re on your own. Sorry.. I don’t know. It turns out that (at least in my case) this is an issue with save data collisions between different games.
Note: This post is spoiler-free, aside from the names of levels and random screenshots of the first fifteen minutes.
Prey is pretty good in terms of PC creature comforts for a game of 2017. It’s got quicksave and quickload and they’re reasonably fast to useThis isn’t one of those game engines that purges EVERYTHING from memory when doing a quickload.. But it’s still a game of 2017, which means there are some console-minded design decisions impacting the interface. Specifically, you get three save “slots”.
Now, each of those slots can hold multiple saves. If you start a game in Slot 1, within that slot you can have multiple auto saves, quick saves, and manual saves. This isn’t inherently a bad system. If you and your little brother are both playing through the game, this system means you can both have your own games without the save files getting all mixed together. The “only three active campaigns at a time” limit is a little alien to my PC sensibilities, but whatever. It’s odd, but I’m okay with it.
Or I would be, if it wasn’t for the problems it caused…
I said yesterday that I was starting my second playthrough. This is not technically correct. It’s actually my third. My very first game ended in failure.
My problem was that I was too greedy. I hate leaving behind locked containers, so I kept spending my neuromodsSkill points, basically. You don’t get XP in Prey. Instead, neuromods are simply collected in the world. Or you can fabricate them yourself if you’ve got the blueprint and the materials. on things to help me open more locked rooms and boxes. I put points into hackingI regret this one. The hacking minigame commits the dual sin of being both terrible and difficult at higher levels., into moving heavy stuffBecause often vents are blocked by heavy machinery, repairSo I could repair the elevators and broken doors to gain access., and enlarging my inventory so I could collect more crapMost of which was low-value junk that wasn’t worth the sacrifices I spent to collect it.. The problem is that I wasn’t really putting points into combat and survivability.
But Prey is a new game with old-school sensibilities, and in this kind of game you can’t get away with bullshit like this forever. Or at least, not until you really understand the systems well enough to get through with an underpowered character. It’s certainly an unwise way to play on your first trip through.
I’d been in a death-spiral for a least an hour. My underpowered damage output meant that fights took longer, which meant I took more damage, which drained my ammunition and healing resources. And yet I continued to spend all of my resources on building more neuromods instead of bullets, and I spent the neuromods on exploration-based stuff. I finally hit a wall when I got to the Deep Storage level and ran into a foe that was literally un-killable for me. I shot it with every bullet I owned (which wasn’t many) and hit it with every grenade I had, and it still wasn’t dead. And I didn’t have enough healing to run up and tank the damage while I finished it off with my wrench.
Maybe there was a way to stealth past itSpoiler: There is. The exit just didn’t look like what I was expecting and it was hard to see while being chewed up by the monster., but I couldn’t make it work. And deep down I knew that even if I pushed through this area with save-scumming, I could run into the same problem again five minutes later. Maybe I could beat it if I turned the difficulty down, but that would still leave me with almost no bullets going forward. No, this playthrough was done.
In a strange way, this actually made me appreciate the game more. I like that you have the freedom to make a broken character. Yes, it sucks to run into a wall like this. But the alternative is for a game to be built around a “no build is invalid” philosophy, which means that the game is kind of toothless and your choices are more aesthetic than practicalLike the BioShock Infinite system of “Do you want to kill people with lightning, or fire?”. For your build choices to be meaningful they need to have consequences, and I was simply dealing with the consequences of poor choices.
At any rate, I started a whole new game in the second save slot. I got to the end, had a fantastic timeWith a better build, better equipment, and better knowledge of the mechanics, that foe in Deep Storage wasn’t bad at all., and the next morning began yet another playthrough. Rather than using the third slot, I decided to re-use Slot 1. I mean, I’m never going back to that dead-end game, right? I don’t want to come back later and get all the different games confused. And why waste the space, right?
The Save System
As I said yesterday, the problem arose when I got to the area called the G.U.T.S. There were no enemies to fight. All the loot-able containers were empty. My quest log stopped updating. The allies stopped calling me on the radio. Suddenly the game was empty.
For the record, if you stick to the main quest then in this part of the game your progression will go like this:
Lobby » Psychotronics » G.U.T.S. » Arboretum » Crew Quarters » Deep Storage.
Yesterday I realized that “no monsters around, and all the containers are empty” is kind of a good description of what the gameworld looks like after the player has gone through. Remembering that I began game #3 in the slot replacing game #1, I wondered if somehow data from the two games was getting mixed together. I mean, it’s kind of funny that the problem arose just as I began to get close to where game #1 ended.
Checking in the Prey save folder, I did find some suspicious stuff going on. At the top level are three folders, one for each of your slots.
So far so good. Under each of those is another folder for every save associated with that particular campaign. It might look something like this:
The interesting thing here is that “temp” directory. It’s at the same level as the saves, which would imply it has information not tied to any particular save.
If we look inside any of these directories, it will contain a list of files, like so:
So there’s a couple of “save” files, which probably hold player data and maybe some global gamestate information, and then individual files for all the levels.
Prey isn’t a linear corridor game. The world is persistent and dynamic. You can make changes to the world, and those changes are maintained across level boundaries. If I drop a wrench in the lobby and move one of the chairs, the game will remember that. I can take an elevator to another level, then go through an airlock to another level, then go on a spacewalk to reach another level, and then go through another airlock to return to the lobby, and that wrench will still be on the floor and the chair will be right where I left it.
The trick here is that you can’t cram the entire world – all 14 or so areas – into memory at once. While I’m dicking around throwing corpses off the upper balcony in the lobbyDon’t judge me., the game can’t also be keeping track of where all the wrenches and monster giblets were back in Psychotronics.
That’s what I think the
/temp directory is all about. That’s a running snapshot of what the rest of the gameworld looks like. It’s all the levels I’ve visited in the past. If I hit quicksave, then it saves a snapshot of the current level and player data into /quickslot0 or whatever. At the same time, it takes all those files from
/temp and copies them into
/quickslot0. That way
/quickslot0 has a full image of the whole gameworld. If I go to another level, play for three hours, and then load some other save, then the contents of that save directory will be copied into
This is just conjecture on my part, but it seems a likely explanation.
Looking at my save game folder, I saw that some files clearly didn’t belong. For example, there was an
arboretum.level in a game where I hadn’t visited the arboretum yet. Even more suspicious was that the timestamp on that file was three days old, even though I began the playthrough the day before!
I deleted the suspect files and fired up the game to find out it was still broken. I looked in the saves directory to see the files had mysteriously re-appeared. Steam cloud save had noticed these files were “missing”, and helpfully restored them from backup.
Here is what happened to me, which should also work as repro instructions”How to reproduce a problem.” if by some chance this is read by someone who can solve it:
- Begin a game. Play through more than one area. Exit game so that Steam cloud takes a snapshot of the save folder.
- Begin a new game in the same slot as before.
- Before catching up to the previous game, hard reboot the computer without exiting the game. Just turn the power off or whatever. (My PC actually crashed.) This means Steam Cloud won’t be updated properly.
- After rebooting, run the game again. Steam cloud should make a mess of things. It won’t overwrite your new saves, but it will “restore” those unwanted files from the first playthrough.
- Continue to play. Eventually you should progress into the levels already cleared in the first playthrough and everything will break.
You probably don’t need to start over the way I did. Simply reverting to an earlier save might be enough to trigger this.
While Steam Cloud is involved in the crime, I don’t think it’s the guilty party. Other games can survive these sorts of mishaps without suffering from save-file madness. Steam is smart enough to not clobber new saves with older ones from the cloud. But Prey’s saves span multiple files, which means Steam cloud will restore missing files from the cloud, even if they’re supposed to be missing. Having said that, I don’t understand the rules of Steam cloud saves well enough to understand what Prey should be doing differently.
Maybe the problem is that Steam is restoring unwanted files to
/temp, or maybe it’s restoring the files to
/temp has nothing to do with it. I didn’t do the Steam integration of Good Robot, so I don’t know how you’re supposed to handle this. Maybe there’s a way to tell Steam, “No seriously, this file is gone on purpose, forget it”. Maybe you should have some kind of playthrough-unique IDLike the timestamp of when the player began this particular run. added to those level files and ignore files with mismatched IDs so different playthroughs can’t be mixed together like this. Or maybe just use the file timestamps to weed out ones that don’t belong.
For me the solution was to turn off cloud saves and delete all files older than the start of the game. This seems to have fixed the problem. I played all the way through to Deep Storage and the game seems to be behaving itself so far.
This not only explains my problem, it might also explain some of the strange broken quests people are reporting. In most games a buggy quest means that lots of people will have the game break at the same point. But if Prey is mishandling cloud saves in unexpected edge-cases (like if Steam is closed without properly uploading saves after a game session) then it could cause the more distributed chaos we’re seeing where no two people have exactly the same problem.
That’s my theory anyway.
 At least on the PC. If you’re playing on a console you’re on your own. Sorry.
 This isn’t one of those game engines that purges EVERYTHING from memory when doing a quickload.
 Skill points, basically. You don’t get XP in Prey. Instead, neuromods are simply collected in the world. Or you can fabricate them yourself if you’ve got the blueprint and the materials.
 I regret this one. The hacking minigame commits the dual sin of being both terrible and difficult at higher levels.
 Because often vents are blocked by heavy machinery
 So I could repair the elevators and broken doors to gain access.
 Most of which was low-value junk that wasn’t worth the sacrifices I spent to collect it.
 Spoiler: There is. The exit just didn’t look like what I was expecting and it was hard to see while being chewed up by the monster.
 Like the BioShock Infinite system of “Do you want to kill people with lightning, or fire?”
 With a better build, better equipment, and better knowledge of the mechanics, that foe in Deep Storage wasn’t bad at all.
 Don’t judge me.
 ”How to reproduce a problem.”
 Like the timestamp of when the player began this particular run.
The Gradient of Plot Holes
Most stories have plot holes. The failure isn't that they exist, it's when you notice them while immersed in the story.
Even allegedly smart people can make life-changing blunders that seem very, very obvious in retrospect.
Grand Theft Railroad
Grand Theft Auto is a lousy, cheating jerk of a game.
Batman v. Superman Wasn't All Bad
It's not a good movie, but it was made with good intentions and if you look closely you can find a few interesting ideas.
WAY back in 2005, I wrote about a D&D campaign I was running. The campaign is still there, in the bottom-most strata of the archives.