All pastes #1805218 Raw Edit

Miscellany

public text v1 · immutable
#1805218 ·published 2010-02-22 00:19 UTC
rendered paste body
<?xml version="1.0" encoding="utf-8"?>
<dvdauthor dest="/home/robert/svn/tovid/testing/tovid_demo_test" jumppad="0">
  <vmgm>
    <menus>
      <video aspect="4:3"/>
      <pgc entry="title">
        <pre>
        if ( g5 eq 0 ) g5 = 1;
        if ( g6 eq 0 ) g6 = 1; button = g6 * 1024;
        if (g8==0) g7=0;
        if (g8==1)
          if ( g7 eq 1 ) jump titleset 1 menu;
          if ( g7 eq 2 ) jump titleset 2 menu;
          if ( g7 eq 3 ) jump titleset 3 menu;
        </pre>
        <post>
        jump cell 1;
        </post>
        <button name="1">g1=1; g5=1; g6=1; jump titleset 1 menu;</button>
        <button name="2">g1=1; g5=1; g6=2; jump titleset 2 menu;</button>
        <button name="3">g1=1; g5=1; g6=3; jump titleset 3 menu;</button>
        <button name="4">g4=1; g7=1; g8=1; jump titleset 1 menu entry root;</button>
        <vob file="/tmp/todisc-work.0/VMGM.mpg" pause="10"/>
      </pgc>
    </menus>
  </vmgm>
  <titleset>
    <menus>
      <video aspect="4:3"/>
      <pgc>
        <button name="1">g5=1; jump title 1;</button>
        <button name="2">g5=2; jump title 2;</button>
        <button name="3">g5=3; jump title 3;</button>
        <button name="4">g4=1; jump title 1 chapter 1;</button>
        <button name="5">g2=1; g3=1000; g6=1; jump vmgm menu;</button>
        <vob file="/tmp/todisc-work.0/animenu1-1.mpg" pause="inf"/>
        <pre>
             button = g5 * 1024;
             if (g8==0) { g7=0; g4=0; }
             if (g7==1) { g4=1; jump title 1 chapter 1; }
        </pre>
        <post> jump cell 1; </post>
      </pgc>
    </menus>
    <titles>
      <video  />
      <pgc>
        <vob file="/tmp/todisc-work.0/1-1.mpg" chapters="00:00:00.000,00:00:32.143,00:01:04.286,00:01:36.429,00:02:08.572,00:02:40.715" />
        <pre>g8=0;</pre>
        <post>
        g8=1;
        if (g4==1) jump title 2 chapter 1; call menu;
</post>
      </pgc>
      <pgc>
        <vob file="/tmp/todisc-work.0/1-2.mpg" chapters="00:00:00.000,00:00:32.894,00:01:05.788,00:01:38.682,00:02:11.576,00:02:44.470" />
        <pre>g8=0;</pre>
        <post>
        g8=1;
        if (g4==1) jump title 3 chapter 1; call menu;
</post>
      </pgc>
      <pgc>
        <vob file="/tmp/todisc-work.0/1-3.mpg" chapters="00:00:00.000,00:00:38.110,00:01:16.220,00:01:54.330,00:02:32.440,00:03:10.550" />
        <pre>g8=0;</pre>
        <post>{ if (g7>0) {
                   g8=1;
                   if (g7>=3) { g7=0; g4=0; } else g7=2;
                call vmgm menu entry title; }
                     }
                call menu;
        </post>
      </pgc>
    </titles>
  </titleset>
  <titleset>
    <menus>
      <video aspect="4:3"/>
      <pgc>
        <button name="1">g5=1; jump title 1;</button>
        <button name="2">g5=2; jump title 2;</button>
        <button name="3">g5=3; jump title 3;</button>
        <button name="4">g4=1; jump title 1 chapter 1;</button>
        <button name="5">g2=1; g3=1000; g6=2; jump vmgm menu;</button>
        <vob file="/tmp/todisc-work.0/animenu2-1.mpg" pause="inf"/>
        <pre>
             button = g5 * 1024;
             if (g8==0) { g7=0; g4=0; }
             if (g7==2) { g4=1; jump title 1 chapter 1; }
        </pre>
        <post> jump cell 1; </post>
      </pgc>
    </menus>
    <titles>
      <video  />
      <pgc>
        <vob file="/tmp/todisc-work.0/2-1.mpg" chapters="00:00:00.000,00:00:10.004,00:00:20.008,00:00:30.012,00:00:40.016,00:00:50.020" />
        <pre>g8=0;</pre>
        <post>
        g8=1;
        if (g4==1) jump title 2 chapter 1; call menu;
</post>
      </pgc>
      <pgc>
        <vob file="/tmp/todisc-work.0/2-2.mpg" chapters="00:00:00.000,00:00:32.894,00:01:05.788,00:01:38.682,00:02:11.576,00:02:44.470" />
        <pre>g8=0;</pre>
        <post>
        g8=1;
        if (g4==1) jump title 3 chapter 1; call menu;
</post>
      </pgc>
      <pgc>
        <vob file="/tmp/todisc-work.0/2-3.mpg" chapters="00:00:00.000,00:00:37.031,00:01:14.062,00:01:51.093,00:02:28.124,00:03:05.155" />
        <pre>g8=0;</pre>
        <post>{ if (g7>0) {
                   g8=1;
                   if (g7>=3) { g7=0; g4=0; } else g7=3;
                call vmgm menu entry title; }
                     }
                call menu;
        </post>
      </pgc>
    </titles>
  </titleset>
  <titleset>
    <menus>
      <video aspect="4:3"/>
      <pgc>
        <button name="1">g5=1; jump title 1;</button>
        <button name="2">g5=2; jump title 2;</button>
        <button name="3">g5=3; jump title 3;</button>
        <button name="4">g4=1; jump title 1 chapter 1;</button>
        <button name="5">g2=1; g3=1000; g6=3; jump vmgm menu;</button>
        <vob file="/tmp/todisc-work.0/animenu3-1.mpg" pause="inf"/>
        <pre>
             button = g5 * 1024;
             if (g8==0) { g7=0; g4=0; }
             if (g7==3) { g4=1; jump title 1 chapter 1; }
        </pre>
        <post> jump cell 1; </post>
      </pgc>
    </menus>
    <titles>
      <video  />
      <pgc>
        <vob file="/tmp/todisc-work.0/3-1.mpg" chapters="00:00:00.000,00:00:10.004,00:00:20.008,00:00:30.012,00:00:40.016,00:00:50.020" />
        <pre>g8=0;</pre>
        <post>
        g8=1;
        if (g4==1) jump title 2 chapter 1; call menu;
</post>
      </pgc>
      <pgc>
        <vob file="/tmp/todisc-work.0/3-2.mpg" chapters="00:00:00.000,00:00:32.894,00:01:05.788,00:01:38.682,00:02:11.576,00:02:44.470" />
        <pre>g8=0;</pre>
        <post>
        g8=1;
        if (g4==1) jump title 3 chapter 1; call menu;
</post>
      </pgc>
      <pgc>
        <vob file="/tmp/todisc-work.0/3-3.mpg" chapters="00:00:00.000,00:00:38.110,00:01:16.220,00:01:54.330,00:02:32.440,00:03:10.550" />
        <pre>g8=0;</pre>
        <post>{ if (g7>0) {
                   g8=1;
                   if (g7>=3) { g7=0; g4=0; } else g7=4;
                call vmgm menu entry title; }
                     }
                call menu;
        </post>
      </pgc>
    </titles>
  </titleset>
</dvdauthor>