Repository navigation
clever way to launch a Steam shortcut through d3dmetal? #598
|
I can't launch a particular program directly from Highball because it crashes (environment is set to I discovered that if I launch it as a Steam Shortcut inside Steam Sikarugir (wrapper), the game launches and successfully plays thru GPTK 3.0. I tried creating a shortcut in Highball Steam but my understanding is Steam itself launches under DXMT and the game complains about not meeting a DX12 requirement (launched from Steam) and quits. Is there a clever way to launch a DX12 game through Steam in Highball? |
Replies: 1 comment 2 replies
|
You've got the cause right. When your environment is set to D3DMetal, Highball opens Steam's own window with DXMT on purpose, because Steam's web UI stays black under D3DMetal (SteamRestart.swift). Anything you start from inside that Steam window inherits the client's environment, renderer included. For real Steam library games Highball works around this: Play restarts the client in the game's mode and starts it with The trick is to cold-start Steam itself in D3DMetal and hand it the shortcut's URL, so Steam and the shortcut both come up on the D3DMetal stack:
Caveats:
If you build the CLI from source, this does the same thing as a one-off, without changing the launcher's settings: highball bottle kill <env> # make sure no Steam client is running
highball run <env> Steam --renderer d3dmetal -- -silent "steam://rungameid/<long number>"
If it works, a |
You've got the cause right. When your environment is set to D3DMetal, Highball opens Steam's own window with DXMT on purpose, because Steam's web UI stays black under D3DMetal (SteamRestart.swift). Anything you start from inside that Steam window inherits the client's environment, renderer included. For real Steam library games Highball works around this: Play restarts the client in the game's mode and starts it with
-silent -applaunch <appid>. A non-Steam shortcut isn't a game Highball knows about, though, so when you click it in Steam it gets DXMT.The trick is to cold-start Steam itself in D3DMetal and hand it the shortcut's URL, so Steam and the shortcut both come up on the D3DMetal s…