2026-02-25 12:02:31 +01:00
# Evolve Save Editor
CLI tool for editing [Evolve ](https://pmotschmann.github.io/Evolve/ ) browser game save files.
Export your save in Evolve (Settings > Export), run a command, and import the modified save back.
## Setup
```bash
npm install
```
## Usage
2026-02-25 16:58:25 +01:00
### Interactive mode
Run with no flags to launch an interactive menu. It reads your save from the clipboard, lets you pick actions and select individual resources, then copies the result back.
```bash
node index.js
```
### CLI mode
Pass flags for non-interactive, scriptable usage. Reads save data from your **clipboard ** by default (or from stdin/argument), applies edits, and copies the result back.
2026-02-25 12:02:31 +01:00
```bash
2026-02-25 16:46:16 +01:00
# List all resources and their current values
node index.js --list
2026-02-25 12:02:31 +01:00
# Max all capped resources
node index.js --max-resources
# Set all crafted (unlimited) resources to 100,000
node index.js --set-crafted=100000
# Combine both
node index.js --max-resources --set-crafted=100000
2026-02-25 16:46:16 +01:00
# Max only specific resources
node index.js --max-resources --only=food,stone,iron
# Set specific crafted resources to 50,000
node index.js --set-crafted=50000 --only=plywood,brick
2026-02-25 12:02:31 +01:00
# Read from stdin instead of clipboard
node index.js --max-resources < save.txt
# Print result to stdout instead of copying to clipboard
node index.js --max-resources --no-copy
```
## Options
| Flag | Description |
|------|-------------|
2026-02-25 16:46:16 +01:00
| `--list` | List all resources in the save, grouped by type (capped, crafted, special, locked) |
2026-02-25 12:02:31 +01:00
| `--max-resources` | Set all capped resources (`max > 0` ) to their max |
| `--set-crafted=N` | Set all unlimited/crafted resources (`max == -1` ) to N |
2026-02-25 16:46:16 +01:00
| `--only=a,b,c` | Only affect listed resources (comma-separated, case-insensitive). Matches resource names (e.g. `Food` ) or internal keys (e.g. `food` ). Applies to `--max-resources` and `--set-crafted` . |
2026-02-27 16:04:32 +01:00
| `--max-soldiers` | Fill garrison to max capacity and heal all wounded soldiers |
2026-02-25 12:02:31 +01:00
| `--no-copy` | Print the edited save to stdout instead of clipboard |
| `--help` | Show help |
## Workflow
1. In Evolve, go to **Settings > Export ** (copies save to clipboard)
2. Run `node index.js --max-resources`
3. In Evolve, go to **Settings > Import ** (pastes from clipboard)