An open API service indexing awesome lists of open source software.

https://github.com/bonsaibauer/cs1datasync

City Skylines 1 Mod for Filesync
https://github.com/bonsaibauer/cs1datasync

city city-skylines filesharing filesync hamachi mod skylines

Last synced: 7 months ago
JSON representation

City Skylines 1 Mod for Filesync

Awesome Lists containing this project

README

          

# CS1 Datasync

[![Repository](https://img.shields.io/badge/Repository-CS1__Datasync-blue?style=flat&logo=github)](https://github.com/bonsaibauer/CS1Datasync)
![License](https://img.shields.io/badge/License-MIT-blue)
![Visitors](https://visitor-badge.laobi.icu/badge?page_id=bonsaibauer.CS1Datasync)

[![Report Problem](https://img.shields.io/badge/Report-new_Problem_or_Issue-critical?style=flat&logo=github)](https://github.com/bonsaibauer/CS1Datasync/issues/new)
![GitHub Stars](https://img.shields.io/github/stars/bonsaibauer/CS1Datasync?style=social)
![GitHub Forks](https://img.shields.io/github/forks/bonsaibauer/CS1Datasync?style=social)

---

This mod lets you **automatically synchronize Mods and Assets between players** when playing Cities: Skylines (CS1).
That way, everyone has the same setup without manually copying files.

## Requirements
- **Hamachi** (or another VPN tool) to connect players’ PCs.
- **Harmony Mod** (mandatory, as many mods rely on it).
- All players need the **CS1 File Sync Mod** installed.

## How it works
- One player starts as the **Sender** → shares their installed Mods & Assets.
- Other players connect as **Receivers** → automatically download missing files.
- File transfer happens via **HTTP** directly from PC to PC.

The mod works with the **standard CS1 directories**:
- **Mods**: `%LOCALAPPDATA%\Colossal Order\Cities_Skylines\Addons\Mods`
- **Assets**: `%LOCALAPPDATA%\Colossal Order\Cities_Skylines\Addons\Assets`
- **Steam Workshop content**: is detected and synchronized too.

This means:
- You can sync Workshop mods/assets from a Steam user to someone **without Workshop access**.
- Perfect for multiplayer sessions where everyone needs the **exact same setup**.

## Setup
1. Start **Hamachi** and join the same virtual network.
2. In game:
- **Sender**: click *Start Sender*.
- **Receiver**: enter the **Sender’s Hamachi IP** and the **port** (default: `5005`).
3. Once you see *Connected* → click *Synchronize*.
4. The mod downloads and updates Mods & Assets automatically.

---

## Development

To build the mod yourself, you need:

- **.NET Framework 3.5 SDK**
- **MSBuild** (version `17.14.23+b0019275e` or newer)

Build command (run in the repo root):

```powershell
msbuild .\CS1.FileSync.csproj /p:Configuration=Release /t:Build
```

This will produce the compiled DLLs in the `bin\Release` folder.

---

## Contributing

Contributions are welcome!

- **Translations**: add a new language file under
`resources/lang/.json`.
- **Bug fixes / features**: open a pull request on GitHub.
- **Issues / feedback**: use the GitHub Issues section.

---

👉 In short: **Workshop → normal CS1 folders → shared with your friends**.
Great if not everyone uses the Steam Workshop, but you still want a synced set of Mods & Assets for multiplayer.

---

## Buy Me A Coffee
If this project has helped you in any way, do buy me a coffee so I can continue to build more of such projects in the future and share them with the community!

Buy Me A Coffee