{"id":888,"date":"2022-12-21T10:46:13","date_gmt":"2022-12-21T10:46:13","guid":{"rendered":"https:\/\/byteboxmedia.support\/?p=888"},"modified":"2022-12-21T11:08:43","modified_gmt":"2022-12-21T11:08:43","slug":"event-action-launch-local-file","status":"publish","type":"post","link":"https:\/\/byteboxmedia.support\/docs\/game-launcher-creator-v3\/event-action-launch-local-file\/","title":{"rendered":"Event Action – Launch Local File"},"content":{"rendered":"\n
\"\"<\/figure>\n\n\n\n

The launch local file<\/a> action allows you to execute\/run a local executable file. Local means in the same folder or close to where your launcher.exe is run from.<\/p>\n\n\n\n

For example, if you type in my_game.exe and my_game.exe is in the same folder as your launcher.exe, then this action will run my_game.exe.<\/p>\n\n\n\n

If my_game.exe is in a sub-folder, then you need to specify this like this<\/p>\n\n\n\n

sub-folder-name\\my_game.exe<\/strong><\/p>\n\n\n\n

Symlinks are also supported, such as browsing to the folder above<\/p>\n\n\n\n

.\/my_game.exe<\/strong><\/p>\n\n\n\n

Commandline<\/h3>\n\n\n\n

You can send commandline arguments alongside the execution. For example switches like \/S1 -S1 or whatever commandline arguments your executable supports. You can also send custom variables<\/a> and internal variables into this.<\/p>\n\n\n\n

Wait for End<\/strong>
Toggling this to ON will pause (halt) the execution of the action list until this executable has finished running (process closed). This is handy if you wish to not perform any more actions until this action has completed fully.<\/p>\n","protected":false},"excerpt":{"rendered":"

The launch local file action allows you to execute\/run a local executable file. Local means in the same folder or close to where your launcher.exe is run from. For example, if you type in my_game.exe and my_game.exe is in the same folder as your launcher.exe, then this action will run my_game.exe. If my_game.exe is in […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/888"}],"collection":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/comments?post=888"}],"version-history":[{"count":2,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/888\/revisions"}],"predecessor-version":[{"id":899,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/888\/revisions\/899"}],"wp:attachment":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/media?parent=888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/categories?post=888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/tags?post=888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}