{"id":45991,"date":"2024-02-27T21:00:32","date_gmt":"2024-02-27T19:00:32","guid":{"rendered":"https:\/\/simucube.com\/command-line-options\/"},"modified":"2024-02-27T21:00:36","modified_gmt":"2024-02-27T19:00:36","slug":"command-line-options","status":"publish","type":"page","link":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/","title":{"rendered":"Command line options"},"content":{"rendered":"
\n

Tuner accepts a few command line arguments for allowing automating some actions and allowing profile switching using external applications. <\/p>\n

\n
<\/span>sc-tuner.exe [options] [<profile file>]\n    Launching secondary instance will pass the arguments to the primary instance\n\nOptions:\n    profile file  - Path to profile file that should be switched to\n                    Note that using this to swich profile will discard\n                    any changes to the currently active profile\n    --start-all   - Start all connected devices. Works only when given to the secondary\n                    instance. WILL CAUSE DEVICES TO MOVE.\n    --tray        - Don't create a window. Only launch as a tray icon.\n                    Also doesn't raise the window on top if this is given for the secondary instance\n    -h\/--help     - Print this information and exit.\n    -v\/--version  - Print software version number and exit.\n<\/code><\/pre>\n<\/div>\n

For safety reason (and regulations) –start-all option only allows starting pedals, when there is already Tuner instance running and Tuner is started with the option. This purposefully makes it harder to cause pedals to move without user interaction.<\/p>\n

Passing path to profile will cause that profile to be imported, and then Tuner will immediately switch to that profile, discarding all changes to the previously selected profile. If the given profile file is older than or the same as previously imported version of the profile, the file is only used to find the correct profile, but it isn’t actually used. This avoids the need to re-export changed profiles for purposes of automated profile switching.<\/p>\n

How to implement hotkeys for switching between profiles\u00b6<\/a><\/h2>\n
    \n
  1. Export the profiles that you want to use to some local directory with descriptive names. For hotkey purposes it might be good idea to name exported profile files by names refering to the hotkeys (eg. hotkey_1.td2p<\/code>) so switching the profile opened by the hotkey is easy by simply exporting some other profile and overwriting the file.<\/li>\n
  2. Create shortcut that starts the Tuner with correct options<\/li>\n
  3. Copy SimucubeTuner shortcut from desktop to some other directory and rename it<\/li>\n
  4. Right click it and open its properties.<\/li>\n
  5. Add command line arguments to Target text input after the path to sc-tuner.exe<\/li>\n
  6. \"C:Program FilesSimucubeTunersc-tuner.exe\" --tray \"C:UsersSimucubehotkey_profileshotkey1.td2p\"<\/code><\/li>\n
  7. Click ok<\/li>\n
  8. Now if the shortcut is clicked, Tuner is started if it isn’t already running and hotkey1.td2p<\/code> profile is activated. Test that it works correctly.<\/li>\n
  9. Use keyboard manufacturer’s software, Stream Deck or other tool that allows launching programs with external input and add mapping that launches the previously created shortcut, when a key is pressed.<\/li>\n
  10. --start-all<\/code> option can also be added to start pedals if they aren’t in active state already, but it is usually better to make separate shortcut for that functionality.<\/li>\n<\/ol>\n<\/div>\n

    <\/p>\n","protected":false},"excerpt":{"rendered":"

    Tuner accepts a few command line arguments for allowing automating some actions and allowing profile switching using external applications. sc-tuner.exe [options] [<profile file>] Launching secondary instance will pass the arguments to the primary instance Options: profile file – Path to profile file that should be switched to Note that using this to swich profile will…<\/p>\n","protected":false},"author":5610,"featured_media":0,"parent":45990,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"page-docs.php","meta":{"_acf_changed":false,"footnotes":""},"acf":[],"yoast_head":"\nCommand line options - Simucube<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Command line options - Simucube\" \/>\n<meta property=\"og:description\" content=\"Tuner accepts a few command line arguments for allowing automating some actions and allowing profile switching using external applications. sc-tuner.exe [options] [<profile file>] Launching secondary instance will pass the arguments to the primary instance Options: profile file - Path to profile file that should be switched to Note that using this to swich profile will...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/\" \/>\n<meta property=\"og:site_name\" content=\"Simucube\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/simucube\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-27T19:00:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Simucube\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/\",\"url\":\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/\",\"name\":\"Command line options - Simucube\",\"isPartOf\":{\"@id\":\"https:\/\/simucube.com\/#website\"},\"datePublished\":\"2024-02-27T19:00:32+00:00\",\"dateModified\":\"2024-02-27T19:00:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/simucube.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simucube Online Guide\",\"item\":\"https:\/\/simucube.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Simucube Tuner\",\"item\":\"https:\/\/simucube.com\/docs\/tuner\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Command line options\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/simucube.com\/#website\",\"url\":\"https:\/\/simucube.com\/\",\"name\":\"Simucube\",\"description\":\"The Sim Racer's Soul\",\"publisher\":{\"@id\":\"https:\/\/simucube.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/simucube.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/simucube.com\/#organization\",\"name\":\"Simucube\",\"url\":\"https:\/\/simucube.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/simucube.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/simucube.com\/app\/uploads\/2021\/09\/simucube-logo-1200x1200-white-on-black.png\",\"contentUrl\":\"https:\/\/simucube.com\/app\/uploads\/2021\/09\/simucube-logo-1200x1200-white-on-black.png\",\"width\":1200,\"height\":1200,\"caption\":\"Simucube\"},\"image\":{\"@id\":\"https:\/\/simucube.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/simucube\",\"https:\/\/x.com\/Simucube\",\"https:\/\/www.instagram.com\/simucube\",\"https:\/\/www.linkedin.com\/company\/simucube\",\"https:\/\/www.youtube.com\/c\/SIMUCUBE\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Command line options - Simucube","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/","og_locale":"en_GB","og_type":"article","og_title":"Command line options - Simucube","og_description":"Tuner accepts a few command line arguments for allowing automating some actions and allowing profile switching using external applications. sc-tuner.exe [options] [<profile file>] Launching secondary instance will pass the arguments to the primary instance Options: profile file - Path to profile file that should be switched to Note that using this to swich profile will...","og_url":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/","og_site_name":"Simucube","article_publisher":"https:\/\/www.facebook.com\/simucube","article_modified_time":"2024-02-27T19:00:36+00:00","twitter_card":"summary_large_image","twitter_site":"@Simucube","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/","url":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/","name":"Command line options - Simucube","isPartOf":{"@id":"https:\/\/simucube.com\/#website"},"datePublished":"2024-02-27T19:00:32+00:00","dateModified":"2024-02-27T19:00:36+00:00","breadcrumb":{"@id":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simucube.com\/docs\/tuner\/command-line-options\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/simucube.com\/docs\/tuner\/command-line-options\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simucube.com\/"},{"@type":"ListItem","position":2,"name":"Simucube Online Guide","item":"https:\/\/simucube.com\/docs\/"},{"@type":"ListItem","position":3,"name":"Simucube Tuner","item":"https:\/\/simucube.com\/docs\/tuner\/"},{"@type":"ListItem","position":4,"name":"Command line options"}]},{"@type":"WebSite","@id":"https:\/\/simucube.com\/#website","url":"https:\/\/simucube.com\/","name":"Simucube","description":"The Sim Racer's Soul","publisher":{"@id":"https:\/\/simucube.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simucube.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/simucube.com\/#organization","name":"Simucube","url":"https:\/\/simucube.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/simucube.com\/#\/schema\/logo\/image\/","url":"https:\/\/simucube.com\/app\/uploads\/2021\/09\/simucube-logo-1200x1200-white-on-black.png","contentUrl":"https:\/\/simucube.com\/app\/uploads\/2021\/09\/simucube-logo-1200x1200-white-on-black.png","width":1200,"height":1200,"caption":"Simucube"},"image":{"@id":"https:\/\/simucube.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/simucube","https:\/\/x.com\/Simucube","https:\/\/www.instagram.com\/simucube","https:\/\/www.linkedin.com\/company\/simucube","https:\/\/www.youtube.com\/c\/SIMUCUBE"]}]}},"_links":{"self":[{"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/pages\/45991"}],"collection":[{"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/users\/5610"}],"replies":[{"embeddable":true,"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/comments?post=45991"}],"version-history":[{"count":2,"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/pages\/45991\/revisions"}],"predecessor-version":[{"id":46146,"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/pages\/45991\/revisions\/46146"}],"up":[{"embeddable":true,"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/pages\/45990"}],"wp:attachment":[{"href":"https:\/\/simucube.com\/wp-json\/wp\/v2\/media?parent=45991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}