From 6cb6de68ca1ece56aa494cd87f61b26425d3c15c Mon Sep 17 00:00:00 2001 From: KryvasCZ <57132342+KryvasCZ@users.noreply.github.com> Date: Thu, 23 Feb 2023 17:34:53 +0100 Subject: [PATCH] Update README.md --- ui/README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/ui/README.md b/ui/README.md index 74edb11..b065f6f 100644 --- a/ui/README.md +++ b/ui/README.md @@ -1 +1,33 @@ -UI for launching games with Custom built controllers +## UI for launching games with Custom built controllers +### How to use ? +- Add a new variale in **Vars.js** and set it to game exe path +- Add new switch switch case in +```javascript +switch (vers) { + case 3: + execFile(AsphyxiaPath); + execFile(SDVX3Path); + //console.log(vers); + break; + case 4: + execFile(AsphyxiaPath); + execFile(SDVX4Path); + break; + case 5: + execFile(AsphyxiaPath); + execFile(SDVX5Path); + break; + case 6: + execFile(NewVar) + default: + break; +``` +With execFile(your variable) +Like this: +```javascript + case 6: + execFile(NewVar) +``` + +- Add ```