-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.sh
More file actions
66 lines (54 loc) · 3.38 KB
/
config.example.sh
File metadata and controls
66 lines (54 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# stelmod-debug Configuration Example
# Copy this to config.sh and edit for your setup
#
# Run: cp config.example.sh config.sh
# ═══════════════════════════════════════════════════════════════════════════════
# REQUIRED SETTINGS
# ═══════════════════════════════════════════════════════════════════════════════
# Your mod's log prefix (without brackets)
# This is what appears in your log statements: log = "[MYMOD] message"
# Example: "LN" matches "[LN]" in logs
MOD_PREFIX="MYMOD"
# Path to Stellaris user data folder
# This folder contains: logs/, mod/, save games/
#
# Common paths:
# WSL: /mnt/c/Users/YourName/Documents/Paradox Interactive/Stellaris
# WSL+OneDrive: /mnt/c/Users/YourName/OneDrive/Documents/Paradox Interactive/Stellaris
# Linux: ~/.local/share/Paradox Interactive/Stellaris
# macOS: ~/Documents/Paradox Interactive/Stellaris
STELLARIS_DOCS="/mnt/c/Users/YourName/Documents/Paradox Interactive/Stellaris"
# ═══════════════════════════════════════════════════════════════════════════════
# OPTIONAL SETTINGS
# ═══════════════════════════════════════════════════════════════════════════════
# Your mod folder name (for freshness checks)
# This is the folder in STELLARIS_DOCS/mod/
# Leave empty "" to skip freshness validation
MOD_FOLDER="my_awesome_mod"
# Log file paths (usually auto-set from STELLARIS_DOCS)
# Only override if your logs are in a non-standard location
ERROR_LOG="$STELLARIS_DOCS/logs/error.log"
GAME_LOG="$STELLARIS_DOCS/logs/game.log"
# Number of lines to show by default
# Override with -n flag: ./stelmod-debug.sh game -n 100
TAIL_LINES=50
# Additional patterns to search for (pipe-separated regex)
# These are highlighted in addition to your MOD_PREFIX
# Example: "FALLBACK|DIRECT|ERROR|ORPHAN"
EXTRA_PATTERNS=""
# ═══════════════════════════════════════════════════════════════════════════════
# EXAMPLES FOR DIFFERENT SETUPS
# ═══════════════════════════════════════════════════════════════════════════════
# --- Living Network Mod (WSL + OneDrive) ---
# MOD_PREFIX="LN"
# STELLARIS_DOCS="/mnt/c/Users/fswa9/OneDrive/Documents/Paradox Interactive/Stellaris"
# MOD_FOLDER="the_living_network"
# EXTRA_PATTERNS="FALLBACK|DIRECT|ORPHAN"
# --- Generic Mod (Native Linux) ---
# MOD_PREFIX="MYMOD"
# STELLARIS_DOCS="$HOME/.local/share/Paradox Interactive/Stellaris"
# MOD_FOLDER="my_mod_folder"
# --- Generic Mod (macOS) ---
# MOD_PREFIX="MYMOD"
# STELLARIS_DOCS="$HOME/Documents/Paradox Interactive/Stellaris"
# MOD_FOLDER="my_mod_folder"