DEV Community

Cover image for πŸ”₯ Bonfire Backup: Never Lose Your Dark Souls III Progress Again
mmrmagno
mmrmagno

Posted on

πŸ”₯ Bonfire Backup: Never Lose Your Dark Souls III Progress Again

Submitted for the Boot.dev Hackathon 2025 πŸ†

The Problem

Every Dark Souls III player knows the fear: corrupted save files, accidental deletions, etc... Losing dozens of hours of carefully cultivated character builds and hard-earned progress is a nightmare that haunts the Undead.

The Solution: Bonfire Backup βš”οΈ

I built Bonfire Backup, a Dark Souls III save file backup and synchronization tool that uses Git version control to keep your precious save files safe across the void (With the option to use a remote repository). Think of it as your personal Firekeeper for save data protection.

Bonfire Backup Screenshot

Key Features

πŸ›‘οΈ Automatic Save Detection - Finds your Dark Souls III saves automatically across Windows and Linux
☁️ Git-Based Backup - Uses Git version control with remote repository sync
πŸ”„ Real-time Auto-Sync - File watching with automatic backups when saves change
πŸ“ Manual Control - Full backup and restore functionality when you need it

Technical Implementation

  • Electron + React + TypeScript - Cross-platform desktop application
  • File System Watching - Real-time detection of save file changes using Chokidar
  • Git Integration - Automated version control using simple-git library
  • Auto-Detection - Smart save path discovery for

Why This Matters

Gaming save data is precious. Unlike other files, saves represent time, effort, and personal achievement that can't easily be recreated.

Installation

Linux

curl -sSL https://raw.githubusercontent.com/mmrmagno/bonfire-backup/main/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

Windows (PowerShell as Administrator)

irm https://raw.githubusercontent.com/mmrmagno/bonfire-backup/main/install.ps1 | iex
Enter fullscreen mode Exit fullscreen mode

Testing Without Dark Souls III

Don't own the game? No problem! Create a test save file:

echo "test save data" > DS30000.sl2
Enter fullscreen mode Exit fullscreen mode

Then point the app to this file - it works exactly the same way!

What I Learned

Building this taught me about:

  • Cross-platform file system differences
  • Real-time file watching patterns
  • Git automation in desktop apps
  • Electron's security model with context isolation

Repository

⭐ Check out the code: github.com/mmrmagno/bonfire-backup


Praise the Sun! β˜€οΈ

Remember: A true Undead never loses hope... or their save files.

Top comments (0)