Site Tools
t2:gpc_scripting:macros
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
t2:gpc_scripting:macros [2019/10/01 12:32] scachi [Convert to Combo] |
t2:gpc_scripting:macros [2020/09/15 00:37] scachi [Playback] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== GPC Macros ====== | ====== GPC Macros ====== | ||
- | This section is about the **basic macro usage only** (([[t2:gtuner_iv:macro_editor_interface|Here is a more detailed tutorial]] about the Macro Editor Interface, //created by [[https://www.consoletuner.com/forum/memberlist.php?mode=viewprofile&u=766|prototype]]//)) to record your inputs as macros and use them in scripts. The maximum length of a single macro file is 24hours. ((More precisely up to 24 days, 20 hours, 31 minutes, 23 seconds and 650 milliseconds)) | + | This section is about the **basic macro usage only** (([[t2:gtuner_iv:macro_editor_interface|Here is a more detailed tutorial]] about the Macro Editor Interface, //created by [[https://www.consoletuner.com/forum/memberlist.php?mode=viewprofile&u=766|prototype]]//)) to record your inputs as macros and use them in scripts. The maximum length of a single macro file is 24 days. ((More precisely up to 24 days, 20 hours, 31 minutes, 23 seconds and 650 milliseconds)) |
''While using a macro file directly in a script requires a sd-card you can still use this without one to record your input and convert it to a combo for playback.'' | ''While using a macro file directly in a script requires a sd-card you can still use this without one to record your input and convert it to a combo for playback.'' | ||
Line 55: | Line 55: | ||
// your filename must have 8 characters or less | // your filename must have 8 characters or less | ||
if (bplay) macro_run("Example1.gmk"); | if (bplay) macro_run("Example1.gmk"); | ||
+ | else macro_stop(); | ||
} | } | ||
</code> | </code> |
t2/gpc_scripting/macros.txt · Last modified: 2020/09/15 00:37 by scachi