You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/crystal-chips/cc-scripting.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,34 +331,34 @@ will execute a PBAT file named MY_FILE.PBT with the arguments specified. Most of
331
331
332
332
#### Needs documentation:
333
333
334
-
EVAL SETTITLE
334
+
EVAL SETTITLE - Evaluate a line
335
335
336
-
EVAL ADDWIDGET
336
+
EVAL ADDWIDGET - Evaluate a line
337
337
338
-
SKIPBACK
338
+
SKIPBACK - When returning from a submenu, this menu is skipped(ie returns to the menu before this menu).
339
339
340
-
RETURN 0/-1
340
+
RETURN 0/-1 - Remove the script from memory if the return value is <0
341
341
342
-
EXIT 0/-1
342
+
EXIT - 0/-1 Exit from the script (0 )and do not keep it in memory (-1)
343
343
344
344
FORMAT
345
345
346
-
$BM.MAJOR_VER$
346
+
$BM.MAJOR_VER$ - BootManager major version
347
347
348
-
$BM.MINOR_VER$
348
+
$BM.MINOR_VER$ - BootManager major version
349
349
350
-
$BM.PATCH_VER$
350
+
$BM.PATCH_VER$ - BootManager patch version
351
351
352
352
353
-
$BM.CC_MAJOR_VER$
353
+
$BM.CC_MAJOR_VER$ - Crystal Chip major version
354
354
355
-
$BM.CC_MINOR_VER$
355
+
$BM.CC_MINOR_VER$ - Crystal Chip minor version
356
356
357
-
CYCLETRAY
357
+
CYCLETRAY - Causes the CDVD drive to recheck the disc. Parameters can be "WAIT", "NOWAIT" or nothing(which is the same as "WAIT"). "WAIT" means "wait until disc has authenticated and fail if disc does not authenticate". "NOWAIT" returns immediately after telling the CDVD drive to reauthenticate.
358
358
359
359
PARSEPATH "$PWD$" "SRC_DEV" "SRC_PATH" "SRC_FILE"
360
360
361
-
KEEP
361
+
KEEP - keeps in ram for quick recall of script
362
362
363
363
LOADEXEC "EEELF" "$ARG1$" $ARG2$
364
364
@@ -368,6 +368,8 @@ LOADEXEC "IRX"
368
368
369
369
IF MATCHES
370
370
371
+
IF NOT MATCHES
372
+
371
373
REBOOTIOP "rom0:UDNL rom0:OSDCNF"
372
374
373
375
PEEK
@@ -380,6 +382,10 @@ UNMOUNT
380
382
381
383
SAVEVARS
382
384
385
+
SETAUTH - Set the disc authentication type: "OFF", "PS1" or "PS2"
386
+
387
+
LOADIMG/UNLOADIMG - load and unload an image for theming
0 commit comments