44 lines
1.8 KiB
Markdown
44 lines
1.8 KiB
Markdown
# 7D2D Modding Commands
|
|
|
|
## Game Paths
|
|
- Steam install: `C:\Steam\steamapps\common\7 Days To Die`
|
|
- Mod staging: `C:\7D2D`
|
|
- Mod launcher: `C:\Program Files (x86)\7D2DModLauncherV5\ModLauncherV5.exe`
|
|
- Mod launcher config: `C:\Users\lynda\AppData\Roaming\7D2DModLauncher\ModLauncher.txt`
|
|
|
|
## Launching the Game
|
|
1. Open `7D2DModLauncherV5` from Start Menu or run `C:\Program Files (x86)\7D2DModLauncherV5\ModLauncherV5.exe`
|
|
2. Select desired mod/profile
|
|
3. Click Play
|
|
|
|
## Mod Development Workflow
|
|
|
|
### Simple Modlets (vanilla folder)
|
|
1. **Edit** modlet files in `mods/` in this repo
|
|
2. **Enable/sync**: `.kilo/scripts/modlet.ps1 -Action enable` (first time) or `.kilo/scripts/modlet.ps1 -Action sync` (updates)
|
|
3. **Test**: Launch the game and start a new save
|
|
4. **Disable**: `.kilo/scripts/modlet.ps1 -Action disable` when done testing
|
|
5. **Commit**: `git add mods/ && git commit -m "..." && git push origin main`
|
|
|
|
### Full Mods (mod launcher)
|
|
1. Create/update mod files in this repo
|
|
2. Copy or sync modified files to the mod launcher's game copy under `C:\7D2D\v3\<mod_name>\`
|
|
3. Launch via Mod Launcher to test
|
|
|
|
## Script Reference
|
|
|
|
| Command | Action |
|
|
|---------|--------|
|
|
| `.kilo/scripts/modlet.ps1 -Action enable` | Copy all modlets from `mods/` to Steam `Mods` folder |
|
|
| `.kilo/scripts/modlet.ps1 -Action disable` | Delete all modlets from Steam `Mods` folder |
|
|
| `.kilo/scripts/modlet.ps1 -Action sync` | Update already-enabled modlets with latest changes |
|
|
| `.kilo/scripts/modlet.ps1 -Action status` | Show which modlets are enabled/disabled |
|
|
|
|
## Current Installed Mods
|
|
See `ENVIRONMENT.md` for the full list of installed mods and their paths.
|
|
|
|
## Notes
|
|
- Current target version is 3.x
|
|
- v3 mods are available in the mod launcher under `C:\7D2D\v3\`
|
|
- Always close the game before enabling/disabling/syncing modlets
|