Skip to content

Commit 4621a1a

Browse files
committed
Update cc-scripting.md
1 parent 15f2113 commit 4621a1a

1 file changed

Lines changed: 18 additions & 12 deletions

File tree

docs/crystal-chips/cc-scripting.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -331,34 +331,34 @@ will execute a PBAT file named MY_FILE.PBT with the arguments specified. Most of
331331

332332
#### Needs documentation:
333333

334-
EVAL SETTITLE
334+
EVAL SETTITLE - Evaluate a line
335335

336-
EVAL ADDWIDGET
336+
EVAL ADDWIDGET - Evaluate a line
337337

338-
SKIPBACK
338+
SKIPBACK - When returning from a submenu, this menu is skipped(ie returns to the menu before this menu).
339339

340-
RETURN 0/-1
340+
RETURN 0/-1 - Remove the script from memory if the return value is <0
341341

342-
EXIT 0/-1
342+
EXIT - 0/-1 Exit from the script (0 )and do not keep it in memory (-1)
343343

344344
FORMAT
345345

346-
$BM.MAJOR_VER$
346+
$BM.MAJOR_VER$ - BootManager major version
347347

348-
$BM.MINOR_VER$
348+
$BM.MINOR_VER$ - BootManager major version
349349

350-
$BM.PATCH_VER$
350+
$BM.PATCH_VER$ - BootManager patch version
351351

352352

353-
$BM.CC_MAJOR_VER$
353+
$BM.CC_MAJOR_VER$ - Crystal Chip major version
354354

355-
$BM.CC_MINOR_VER$
355+
$BM.CC_MINOR_VER$ - Crystal Chip minor version
356356

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.
358358

359359
PARSEPATH "$PWD$" "SRC_DEV" "SRC_PATH" "SRC_FILE"
360360

361-
KEEP
361+
KEEP - keeps in ram for quick recall of script
362362

363363
LOADEXEC "EEELF" "$ARG1$" $ARG2$
364364

@@ -368,6 +368,8 @@ LOADEXEC "IRX"
368368

369369
IF MATCHES
370370

371+
IF NOT MATCHES
372+
371373
REBOOTIOP "rom0:UDNL rom0:OSDCNF"
372374

373375
PEEK
@@ -380,6 +382,10 @@ UNMOUNT
380382

381383
SAVEVARS
382384

385+
SETAUTH - Set the disc authentication type: "OFF", "PS1" or "PS2"
386+
387+
LOADIMG/UNLOADIMG - load and unload an image for theming
388+
383389
```*``` wildcard(s)
384390

385391
```?``` single character wildcard

0 commit comments

Comments
 (0)