https://github.com/denolfe/gamingconfiglinker
🎮 Symlink gaming config files from central location to desired location
https://github.com/denolfe/gamingconfiglinker
Last synced: over 1 year ago
JSON representation
🎮 Symlink gaming config files from central location to desired location
- Host: GitHub
- URL: https://github.com/denolfe/gamingconfiglinker
- Owner: denolfe
- Created: 2019-09-01T01:46:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-09T05:02:49.000Z (over 4 years ago)
- Last Synced: 2025-02-08T20:24:05.807Z (over 1 year ago)
- Language: PowerShell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gaming Config Linker
Easily symbolically link your gaming configs, so that they can be version controlled in a single repository
3 types of linking are supported:
- Single file linking
- Directory linking
- All files within directory linked individually via the `linkAll: true` property
```text
symbolic link created for C:\Users\username\Saved Games\Respawn\Apex\local\settings.cfg <<===>> C:\gaming-configs\apex\settings.cfg
symbolic link created for C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg <<===>> C:\gaming-configs\csgo\autoexec.cfg
symbolic link created for C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\cfg\autoexec.cfg <<===>> C:\gaming-configs\tf2\autoexec.cfg
symbolic link created for C:\Users\username\Documents\My Games\Warfork 2.1\basewf\config.cfg <<===>> C:\gaming-configs\warfork\config.cfg
symbolic link created for C:\Users\username\Documents\My Games\Warfork 2.1\basewf\huds <<===>> C:\gaming-configs\warfork\huds
```
## Usage
- Create a new repo designed for housing all of your gaming configs and move at least 1 config into it
- Add as git submodule `git submodule add git@github.com:denolfe/GamingConfigLinker.git _linker` or `git submodule add https://github.com/denolfe/GamingConfigLinker.git _linker`
- Create a `config.json` file modelled after `config.example.json` in this repo
- Create simple script to execute the script called `link.cmd` with the following contents
```cmd
powershell _linker/link.ps1 config.json
```
- Execute that script from cmd prompt
If all goes well, you should see output of the linking commands.
```cmd
symbolic link created for C:\Game1\config.cfg <<===>> C:\MyConfigs\Game1\myconfig.cfg
```
If there are any errors, ensure your file paths are all correct.