A game i downloaded wont save unless the date is before may 2020. How do i do this on fedora

  • @[email protected]
    link
    fedilink
    English
    132 months ago

    I don’t have an answer for you (other than outright changing the system time, but I’m sure you’re after a more elegant solution). I’m really curious about these circumstances though - why would the developers do that?

    • @kakes
      link
      English
      122 months ago

      Yeah, before 2000 would make sense. Before 2038 would make sense. But specifically May 2020? That feels like an intentional choice to me… but why?

    • @[email protected]
      link
      fedilink
      English
      92 months ago

      I would have thought OP wanted an achievement in The Stanley Parable (5 years without playing), but they’d need to redo their math in that case…

  • Skull giver
    link
    fedilink
    English
    5
    edit-2
    2 months ago

    Time namespaces may be the best bet if you also need to run other tools with the same time configuration alongside the game.

    For quick one-offs, there’s libfaketime with the faketime command. I’m not 100% sure that this will work with things like Wine but it should be relatively easy to test.

    • @[email protected]OP
      link
      fedilink
      English
      12 months ago

      I tried putting faketime before the lutris command in the .desktop file but i still couldnt save

  • @[email protected]
    link
    fedilink
    English
    22 months ago

    You can look up the man page for date. I’m not sure if that’ll do, but it’s pretty easy. Something like date --set="1 MAY 18:00:00" as root.