Hi all - Steve here. I’m a programmer working on Off Grid - and I’ve had the pleasure of working on save systems recently. :)
Ha! This is really one of the short straws of game development. When I was at Sony, it was almost a rite of passage; these were the days that not only did you have to save and load, but you were responsible for ensuring things didn't die when the memory card (remember those?) was pulled out mid-operation.
Prior to this month, we had the beginnings of a save system in place, but were aware that certain things didn't seem to be working quite as they should - so I took a look.
What I discovered was that we kept a save in memory as well as writing it to disk. This is a good thing - loading a checkpoint is faster. But a side effect was that there were two code paths to reinstating a save - to load it from disk, or to just reference the save data as game data. The danger with this is that the in-memory data can reference 'live' game data, which means the save on disk diverges with this during gameplay. Lots of copying data later, the bits that weren't working quite correctly now seem much happier.
The other work I've done was on a system level. Saving and loading requires making a list of all the files available. Previously, we loaded all of these into memory - but as we cannot know how big they're going to be, this will eventually cause us all sorts of problems. I've instead created a header at the top of each save file, containing the information we need to present to the player. Load the first 1000 bytes or so of each file, grab the header, close the file.
Saving and loading done then? Certainly not! We will still have new data that needs to be added to our save structure, and I bet there are still some bugs in there. But I'm confident that we are on firmer ground than we were a month ago.
Til next time!
Steve
[ 2018-05-26 08:18:40 CET ] [ Original post ]
🎮 Full Controller Support
Gameplay utilises unique mechanics that allow you to manipulate the world and people around you with the data they unwittingly leave behind. It’s a stealth game where the player can truly hack and manipulate objects in the environment.
Players, modders, and hackers will be able to use the game to create new and interesting levels with stories about surveillance, hacking and the internet of things.
Features:
- Stealth and hacking gameplay based on use of data and environments rather than weapons and combat
- Hack into lifelike simulated networks and data with realistic hacking techniques and tools including SSH, sidejacking, and social engineering of the AI
- Contemporary storyline and missions related to real-world events surrounding data privacy and mass surveillance
- Fully moddable content encouraging players to create new and interesting levels, whether complete fantasy or mimicking hacking in the real world around them
- Outstanding audio and original soundtrack from Jonas Jensen and Lyndon Holland, the BAFTA-winning composer from the game Virginia
- OS: Ubuntu 16.4 or equivalent
- Processor: Intel Core i5 2300 or AMD FX6120Memory: 6 GB RAM
- Memory: 6 GB RAM
- Graphics: GeForce GTX 550 Ti or Radeon HD 6770
- Storage: 10 GB available space
- OS: RISC architecture is gonna change everything
- Processor: P6 chip. Triple the speed of the Pentium
- Graphics: 3Dfx Voodoo capable GFX cardSound Card: The Sound Blaster 1.0 ( "Killer Kard")Additional Notes: 28.8 KBPS Modem
[ 6138 ]
[ 3395 ]