# BatchMux Navigation configuration file.
# Edit at your own risk!

# Number of VMG menu pages
set ::vmg::menupages 3

# Page1:
# Type of menu 0 --> static; 1 --> motion
set ::vmg::menutype(1) 0

# Number of buttons leading to "Titles"
set ::vmg::titlebut(1) 3

# "Play All" button number (0 --> "Play All" button not present)
set ::vmg::playallbut(1) 4

# Page2:
# Type of menu 0 --> static; 1 --> motion
set ::vmg::menutype(2) 0

# Number of buttons leading to "Titles"
set ::vmg::titlebut(2) 3

# "Play All" button number (0 --> "Play All" button not present)
set ::vmg::playallbut(2) 4

# Page3:
# Type of menu 0 --> static; 1 --> motion
set ::vmg::menutype(3) 0

# Number of buttons leading to "Titles"
set ::vmg::titlebut(3) 3

# "Play All" button number (0 --> "Play All" button not present)
set ::vmg::playallbut(3) 4

# Test 6 --> Start with the usual menu, then, once a given title is
#        --> selected, play that title and continue until the last
#        --> title in the menu has finished
#        --> Function "Play all in the menu page, starting from title x"
#        --> Number of commands to change: 5 for each menu page (end of
#        --> PGC checking the button pressed) + 1 + Menupages-1 (in the
#        --> PGC testing from return to menu after title played)
# Replace the precommand 7 of the VMG_Lu1_Pgc4 PGC
# if ( gprm(14) == 3 ) then { Goto line 10 }
set ::precommand::replace 7 VMG_Lu1_Pgc4 {[00 A1 00 0E 00 03 00 0A]}
# Replace the precommand 8 of the VMG_Lu1_Pgc4 PGC
# Set gprm(13) =(mov) 200
set ::precommand::replace 8 VMG_Lu1_Pgc4 {[71 00 00 0D 00 C8 00 00]}
# Replace the precommand 9 of the VMG_Lu1_Pgc4 PGC
# if ( gprm(14) == 4 ) then { Set gprm(13) =(mov) 100 }
set ::precommand::replace 9 VMG_Lu1_Pgc4 {[71 A0 0E 0D 00 64 00 04]}
# Replace the precommand 10 of the VMG_Lu1_Pgc4 PGC
# Set gprm(12) =(mov) 20
set ::precommand::replace 10 VMG_Lu1_Pgc4 {[71 00 00 0C 00 14 00 00]}
# Append one precommand at the end of the VMG_Lu1_Pgc4 PGC
# LinkPGCN PGC1
set ::precommand::append VMG_Lu1_Pgc4 {[20 04 00 00 00 00 00 01]}
# Replace the precommand 8 of the VMG_Lu1_Pgc5 PGC
# if ( gprm(14) == 6 ) then { Goto line 11 }
set ::precommand::replace 8 VMG_Lu1_Pgc5 {[00 A1 00 0E 00 06 00 0B]}
# Replace the precommand 9 of the VMG_Lu1_Pgc5 PGC
# Set gprm(13) =(mov) 200
set ::precommand::replace 9 VMG_Lu1_Pgc5 {[71 00 00 0D 00 C8 00 00]}
# Replace the precommand 10 of the VMG_Lu1_Pgc5 PGC
# if ( gprm(14) == 7 ) then { Set gprm(13) =(mov) 100 }
set ::precommand::replace 10 VMG_Lu1_Pgc5 {[71 A0 0E 0D 00 64 00 07]}
# Replace the precommand 11 of the VMG_Lu1_Pgc5 PGC
# Set gprm(12) =(mov) 20
set ::precommand::replace 11 VMG_Lu1_Pgc5 {[71 00 00 0C 00 14 00 00]}
# Append one precommand at the end of the VMG_Lu1_Pgc5 PGC
# LinkPGCN PGC1
set ::precommand::append VMG_Lu1_Pgc5 {[20 04 00 00 00 00 00 01]}
# Replace the precommand 8 of the VMG_Lu1_Pgc6 PGC
# if ( gprm(14) == 9 ) then { Goto line 11 }
set ::precommand::replace 8 VMG_Lu1_Pgc6 {[00 A1 00 0E 00 09 00 0B]}
# Replace the precommand 9 of the VMG_Lu1_Pgc6 PGC
# Set gprm(13) =(mov) 200
set ::precommand::replace 9 VMG_Lu1_Pgc6 {[71 00 00 0D 00 C8 00 00]}
# Replace the precommand 10 of the VMG_Lu1_Pgc6 PGC
# if ( gprm(14) == 10 ) then { Set gprm(13) =(mov) 100 }
set ::precommand::replace 10 VMG_Lu1_Pgc6 {[71 A0 0E 0D 00 64 00 0A]}
# Replace the precommand 11 of the VMG_Lu1_Pgc6 PGC
# Set gprm(12) =(mov) 20
set ::precommand::replace 11 VMG_Lu1_Pgc6 {[71 00 00 0C 00 14 00 00]}
# Append one precommand at the end of the VMG_Lu1_Pgc6 PGC
# LinkPGCN PGC1
set ::precommand::append VMG_Lu1_Pgc6 {[20 04 00 00 00 00 00 01]}
# Insert one precommand in the VMG_Lu1_Pgc7 PGC
# if ( gprm(13) != 200 ) then { Goto line 4 }
set ::precommand::insert VMG_Lu1_Pgc7 {[00 B1 00 0D 00 C8 00 04]}
# Insert one precommand in the VMG_Lu1_Pgc7 PGC
# if ( gprm(0) == 3 ) then { Set gprm(13) =(mov) 0 }
set ::precommand::insert VMG_Lu1_Pgc7 {[71 A0 00 0D 00 00 00 03]}
# Insert one precommand in the VMG_Lu1_Pgc7 PGC
# if ( gprm(0) == 6 ) then { Set gprm(13) =(mov) 0 }
set ::precommand::insert VMG_Lu1_Pgc7 {[71 A0 00 0D 00 00 00 06]}


