whatisgithub

What is daydream-checkpoints?

alink536/daydream-checkpoints — explained in plain English

Analysis updated 2026-05-18

0LuaAudience · generalComplexity · 3/5LicenseSetup · moderate

In one sentence

A Project Zomboid mod that lets you save by sleeping and rewind the whole world back to that morning if you die.

Mindmap

mindmap
  root((Daydream Checkpoints))
    What it does
      Sleep saves checkpoint
      Death rewinds world
      Nightmare narration
    Tech stack
      Lua mod
      PowerShell watcher
      Zig built DLL
    Use cases
      Full save rewind
      Configurable cadence
      Build from source
    Audience
      Project Zomboid players

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Save progress in Project Zomboid by sleeping instead of manual saves.

USE CASE 2

Rewind the entire game world back to the last checkpoint after dying.

USE CASE 3

Configure how many in-game days pass between automatic checkpoints.

USE CASE 4

Build the auto-start helper yourself from source instead of using the prebuilt DLL.

What is it built with?

LuaPowerShellC

How does it compare?

alink536/daydream-checkpointsalerque/silex.sileallquixotic/esoguildactivityaddon
Stars0
LanguageLuaLuaLua
Last pushed2025-04-172019-05-28
MaintenanceStaleDormant
Setup difficultymoderatemoderatemoderate
Complexity3/53/52/5
Audiencegeneraldevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a companion PowerShell watcher process running alongside the game, the auto-start DLL may trigger antivirus warnings.

MIT license: free to use, modify, and redistribute, as an original independent work.

So what is it?

Daydream Checkpoints is a mod for the survival game Project Zomboid, Build 42, that turns sleeping in the game into a checkpoint system. Every time your character wakes up, the game saves and takes a snapshot of that save. If you later die, the death screen gains a new option: wake up at the last checkpoint, which fully rewinds the world back to that morning, including your inventory, the map, and every zombie, while your survivor remembers the death as a bad dream. This is a true save-level rewind rather than a simple heal-and-continue second chance, and it works in singleplayer only. You can control how often checkpoints are created through the mod's options menu, setting a minimum number of in-game days between checkpoints, with zero meaning a checkpoint on every sleep. Under the hood, the mod is split into two parts because Project Zomboid streams its world to disk continuously and its scripting layer cannot directly touch save files. The in-game mod detects sleeping and death and writes small request files, while a separate companion program called the watcher, a small PowerShell process, does the actual work of copying and restoring the save folder. This watcher needs to be running for checkpoints to actually save or restore, and it starts automatically through a small helper file placed next to the game's executable. Installing it means downloading a ready-made zip from the releases page and extracting it into your Project Zomboid installation folder, then enabling the mod from the in-game mods menu. The project is upfront that its auto-start helper file is unsigned and may trigger antivirus warnings, and it points to the full source code if you would rather build the helper yourself using the Zig compiler rather than trust the prebuilt version. The mod is released under the MIT license as an original work, built independently against the base game's own tools, and is not affiliated with the game's developer, The Indie Stone.

Copy-paste prompts

Prompt 1
Walk me through installing Daydream Checkpoints into my Project Zomboid folder.
Prompt 2
Explain how the watcher process restores my save after death.
Prompt 3
Help me build the dinput8.dll from source using Zig.
Prompt 4
How do I configure the minimum days between checkpoints?

Frequently asked questions

What is daydream-checkpoints?

A Project Zomboid mod that lets you save by sleeping and rewind the whole world back to that morning if you die.

What language is daydream-checkpoints written in?

Mainly Lua. The stack also includes Lua, PowerShell, C.

What license does daydream-checkpoints use?

MIT license: free to use, modify, and redistribute, as an original independent work.

How hard is daydream-checkpoints to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is daydream-checkpoints for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.