Hi,
I'm using Q DVD-Author to create a menu template, then modifying the xml file to create a "switched" menu like the one described at
http://www.geocities.com/samanthalane/dvd/index.html . I have 5 videos and 5 different menus (each with only one button), Q DVD-Author appears to have created 2 titlesets out of those. I've created ActionDown buttons for each menu which work great to cycle through each of the menus. "Select/Enter" plays the titles from each menu properly - until it cycles around to the top menu again. When it does that, the button is already highlighted (selected), and pressing "Select/Enter" doesn't play the video assigned to it like it does when the DVD is first played. Pressing "Select/Enter" in the first menu, after cycling all the way through, sends you to the next menu like the ActionDown button does.
I hope this makes sense, and I'm hoping someone can spot an obvious error or omission in the following relevant XML files:
##### dvdauthor.xml
<dvdauthor dest="/video/July_Cinelerra_Project/qdvd_author/multi_menu_test3/" jumppad="yes" >
<vmgm>
<menus>
<video format="ntsc" aspect="16:9" resolution="720x480" />
<pgc entry="title" >
<pre> { if ( g2 gt 0 ) {
if ( g2 eq 1 ) jump titleset 1 menu entry root;
if ( g2 eq 2 ) jump titleset 2 menu entry root;
jump title 1;
}
}
</pre>
<vob file="/tmp/multi_menu_test3/Main Menu VMGM_menu.mpg" pause="inf" />
<button name="01_Button_1" > { g2=0; g3=1; jump titleset 1 menu entry root; } </button>
<button name="ActionDown1">{ g2=1; g3=2; jump titleset 2 menu entry root; } </button>
</pgc>
</menus>
</vmgm>
<titleset>
<menus>
<pgc entry="root" >
<pre> {
if ( g3 gt 0 ) {
if ( g3 eq 1 ) { g3=0; jump title 1 chapter 1; }
if ( g3 eq 2 ) { g3=0; jump title 2 chapter 1; }
if ( g3 eq 3 ) { g3=0; jump title 3 chapter 1; }
if ( g3 eq 4 ) { g3=0; jump title 4 chapter 1; }
if ( g3 eq 5 ) { g3=0; jump title 5 chapter 1; }
jump vmgm menu entry title;
}
} </pre>
<post> { g2 = 1; jump vmgm menu entry title; } </post>
</pgc>
</menus>
<titles>
<video format="ntsc" resolution="720x480" />
<pgc pause="0" >
<vob file="/video/July_Cinelerra_Project/qdvd_author/multi_menu_test3/out1.mpg" pause="0" />
<post> { g2=0; call vmgm menu entry title; } </post>
</pgc>
<pgc pause="0" >
<vob file="/video/July_Cinelerra_Project/qdvd_author/multi_menu_test3/out2.mpg" pause="0" />
<post> { g3=2; g2=2; call titleset 2 menu entry root; } </post>
</pgc>
<pgc pause="0" >
<vob file="/video/July_Cinelerra_Project/qdvd_author/multi_menu_test3/out3.mpg" pause="0" />
<post> { g3=3; g2=2; call titleset 2 menu 2; } </post>
</pgc>
<pgc pause="0" >
<vob file="/video/July_Cinelerra_Project/qdvd_author/multi_menu_test3/out4.mpg" pause="0" />
<post> { g3=4; g2=2; call titleset 2 menu 3; } </post>
</pgc>
<pgc pause="0" >
<vob file="/video/July_Cinelerra_Project/qdvd_author/multi_menu_test3/out5.mpg" pause="0" />
<post> { g3=5; g2=2; call titleset 2 menu 4; } </post>
</pgc>
</titles>
</titleset>
<titleset>
<menus>
<video format="ntsc" aspect="16:9" resolution="720x480" />
<pgc>
<vob file="/tmp/multi_menu_test3/SubMenu 1_menu.mpg" pause="inf" />
<button name="01_Button_1" > { g2=1; g3=2; jump vmgm menu entry title; } </button>
<button name="ActionDown2">{ g2=1; g3=3; jump menu 2; } </button>
</pgc>
<pgc>
<vob file="/tmp/multi_menu_test3/SubMenu 2_menu.mpg" pause="inf" />
<button name="01_Button_1" > { g2=1; g3=3; jump vmgm menu entry title; } </button>
<button name="ActionDown3">{ g2=1; g3=4; jump menu 3; } </button>
</pgc>
<pgc>
<vob file="/tmp/multi_menu_test3/SubMenu 3_menu.mpg" pause="inf" />
<button name="01_Button_1" > { g2=1; g3=4; jump vmgm menu entry title; } </button>
<button name="ActionDown4">{ g2=1; g3=5; jump menu 4; } </button>
</pgc>
<pgc>
<vob file="/tmp/multi_menu_test3/SubMenu 4_menu.mpg" pause="inf" />
<button name="01_Button_1" > { g2=1; g3=5; jump vmgm menu entry title; } </button>
<button name="ActionDown5">{ g2=0; g3=0; jump vmgm menu entry title; } </button>
</pgc>
</menus>
<titles>
<pgc/>
</titles>
</titleset>
</dvdauthor>
#### Main Menu VMGM/menu.xml
<subpictures>
<stream>
<spu transparent="fefffe" force="yes" end="00:00:00.0" select="/tmp/multi_menu_test3/Main Menu VMGM/selected.png" start="00:00:00.0" highlight="/tmp/multi_menu_test3/Main Menu VMGM/highlighted.png" >
<button y0="83" y1="174" x0="77" name="01_Button_1" x1="229" down="ActionDown1" />
<action name = "ActionDown1" />
</spu>
</stream>
</subpictures>
##### SubMenu 4/menu.xml
<subpictures>
<stream>
<spu transparent="fefffe" force="yes" end="00:00:00.0" select="/tmp/multi_menu_test3/SubMenu 4/selected.png" start="00:00:00.0" highlight="/tmp/multi_menu_test3/SubMenu 4/highlighted.png" >
<button y0="310" y1="386" x0="498" name="01_Button_1" x1="631" down="ActionDown5" />
<action name = "ActionDown5" />
</spu>
</stream>
</subpictures>