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

  • herrcaptain@lemmy.ca
    link
    fedilink
    English
    arrow-up
    13
    ·
    7 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
      fedilink
      English
      arrow-up
      12
      ·
      7 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?

    • kungen@feddit.nu
      link
      fedilink
      English
      arrow-up
      9
      ·
      7 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@popplesburger.hilciferous.nl
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 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.

    • mariah@feddit.rocksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

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

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    7 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.