import { PanelSectionRow } from "@decky/ui";
import { ConfigurationData } from "../config/configSchema";
interface UsageInstructionsProps {
config: ConfigurationData;
}
export function UsageInstructions({ config }: UsageInstructionsProps) {
return (
<>
Usage Instructions
Click "Copy Launch Option" button, then paste it into your Steam game's launch options to enable frame generation.
~/lsfg %command%
{/*
{`Current Configuration:
• DLL Path: ${config.dll}
• Multiplier: ${config.multiplier}x
• Flow Scale: ${Math.round(config.flow_scale * 100)}%
• Performance Mode: ${config.performance_mode ? "Yes" : "No"}
• HDR Mode: ${config.hdr_mode ? "Yes" : "No"}
• Present Mode: ${config.experimental_present_mode || "FIFO (VSync)"}
• DXVK Frame Rate: ${config.dxvk_frame_rate > 0 ? `${config.dxvk_frame_rate} FPS` : "Off"}`}
*/}
The configuration is stored in ~/.config/lsfg-vk/conf.toml and hot-reloads while games are running.
>
);
}