Skip to content

Commit

Permalink
fix: add safe mode game launch config, remove -game from hammer
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Dec 21, 2024
1 parent b442a3d commit 1a8722b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
8 changes: 7 additions & 1 deletion res/config/momentum.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
"action": "${ROOT}/bin/${PLATFORM}/chaos",
"arguments": ["-game", "${GAME}", "-dev", "-console", "-tools"],
"icon_override": "${GAME_ICON}"
},
{
"name": "Momentum Mod - Safe Mode (No Custom Content)",
"type": "command",
"action": "${ROOT}/bin/${PLATFORM}/chaos",
"arguments": ["-game", "${GAME}", "-nousermount", "-nocustommount"],
"icon_override": "${GAME_ICON}"
}
]
},
Expand All @@ -27,7 +34,6 @@
"name": "Hammer Editor",
"type": "command",
"action": "${ROOT}/bin/win64/hammer",
"arguments": ["-game", "${GAME}"],
"os": "windows"
},
{
Expand Down
10 changes: 8 additions & 2 deletions res/config/p2ce.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"game_default": "p2ce",
"window_height": 575,
"window_height": 600,
"mod_template_url": "https://github.com/StrataSource/p2ce-mod-template/archive/refs/heads/main.zip",
"supports_p2ce_addons": true,
"sections": [
Expand All @@ -20,6 +20,13 @@
"action": "${ROOT}/bin/${PLATFORM}/chaos",
"arguments": ["-game", "${GAME}", "-dev", "-console", "-tools"],
"icon_override": "${GAME_ICON}"
},
{
"name": "Portal 2: CE - Safe Mode",
"type": "command",
"action": "${ROOT}/bin/${PLATFORM}/chaos",
"arguments": ["-game", "${GAME}", "-nousermount", "-nocustommount"],
"icon_override": "${GAME_ICON}"
}
]
},
Expand All @@ -30,7 +37,6 @@
"name": "Hammer Editor",
"type": "command",
"action": "${ROOT}/bin/win64/hammer",
"arguments": ["-game", "${GAME}"],
"os": "windows"
},
{
Expand Down
8 changes: 7 additions & 1 deletion res/config/revolution.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
"action": "${ROOT}/bin/${PLATFORM}/revolution",
"arguments": ["-game", "${GAME}", "-dev", "-console", "-tools"],
"icon_override": "${GAME_ICON}"
},
{
"name": "Portal: Revolution - Safe Mode (No Custom Content)",
"type": "command",
"action": "${ROOT}/bin/${PLATFORM}/chaos",
"arguments": ["-game", "${GAME}", "-nousermount", "-nocustommount"],
"icon_override": "${GAME_ICON}"
}
]
},
Expand All @@ -27,7 +34,6 @@
"name": "Hammer Editor",
"type": "command",
"action": "${ROOT}/bin/win64/hammer",
"arguments": ["-game", "${GAME}"],
"os": "windows"
},
{
Expand Down

0 comments on commit 1a8722b

Please sign in to comment.