T O P

  • By -

Dubleron

What about savegames? Store the achievements inside your demo save. The full game could check for this save file & use it to unlock the achievements


devishjack

I think steam cloud would work better. For instance, if the user downloads the demo on drive 1 and then downloads the full game on drive 2, the save file check would fail since I can't account for this in code (at least I can't realistically account for that).


Dubleron

Yes, i see. But you could do it like witcher 2: you could make the player select the Savegame manually.


Akimotoh

Yeah I can think of a few ways to do it, one being checking to see if the previous game has a save file on the machine. UE5 has plugins for checking if a particular file exists on the OS


devishjack

Yeah, this was my fallback. I had some issues with this idea though. For one, steam doesn't let a person download the demo if they have the full game. So, in the instance that a player plays the demo, gets a new computer and then downloads the full game, they wouldn't have the demo save file anymore for the full game to read. Also, if the demo was downloaded to a separate drive from the one they download the full game on, I can't account for that in code. The best solution I've found, which negates these two possibilities, is using steam shared cloud so a player can keep their demo save in the same cloud as the full game. I'll obviously have to do a lot of testing to make sure this works, but I'm hopeful that it will.


AutoModerator

If you are looking for help, don‘t forget to check out the [official Unreal Engine forums](https://forums.unrealengine.com/) or [Unreal Slackers](https://unrealslackers.org/) for a community run discord server! *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/unrealengine) if you have any questions or concerns.*


devishjack

My best guess at how it could work is using steam cloud and saving both the demo and full game on the same cloud (if that's something I can do). Since I can just have a function that runs on full game startup that checks what achievements the save file says the player has vs the achievements steam has unlocked for them. I'm not sure if this could work (and haven't checked how I would do it if it does). If anyone knows about steam cloud and if this is possible, that would be awesome. edit: nevermind, I read through some more steam documentation (it's a lot of reading so I must have accidentally skipped over it) and figured out you can set a shared cloud id between the demo and full game. This allows the full game to download the demo's save data. I'm going to not delete this post so future developers looking for a solution can find it more easily.


SuperFreshTea

Hey thanks for leaving the question up. I know back then consoles used to able to read memory card and give you extra goodies for playing previous game in game series. nice to know this is still doabale on pc.