TitleWriter 4.72 - *** Update 31 July 2008, ***

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dirio49
    Platinum Member
    Platinum Member
    • Apr 2005
    • 177

    Fa, not there here it is copy and paste

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <dvdauthor dest="E:\THE_WEDDING_DATE3\Titlewriter\Menu" allgprm="1" >
    <vmgm>
    <menus>
    <pgc entry="title">
    <pre>{g7=0;if(g0==0) g1=0;g2=12345;if(g1 >= g2) jump menu 3;g0=g0+1;g0=g0*1024;button=g0;g0=0;}</pre>
    <button>jump title 1;</button> 
    <button>jump title 2;</button> 
    <button>jump title 3;</button> 
    <button>jump menu 2;</button> 
    <vob file="E:\THE_WEDDING_DATE3\Titlewriter\Menu\menuout0.mpg" pause="inf" />
    </pgc>
    <pgc>
    <pre>if(g1>=12345){g1=0;jump menu 1;} else {g1=12345;jump title 1;}</pre>
    </pgc>
    <pgc>
    <pre>if(g1 lt 12345) jump menu 1;if(g0 > 123)g0 -=124;if(g0==123)g0=0;
    g2=0;if(g2==g0) jump title 1;
    g2=1;if(g2==g0) jump title 2;
    g2=2;if(g2==g0) jump title 3;
    </pre>
    </pgc>
    </menus>
    </vmgm>
    <titleset>
    <menus>
    </menus>
    <titles>
    
    <pgc><pre>if(g0==123){g0+=0;call vmgm menu entry title;} g0=123;</pre>
    <vob file="C:\DOCUMENTS AND SETTINGS\user\MY DOCUMENTS\TITLEWRITERVER4_11\TOOLS\dummy.vob" chapters="00:00:00,00:00:01,00:00:02,00:00:03,00:00:04,00:00:05,00:00:06,00:00:07,00:00:08,00:00:09,00:00:10,00:00:11,00:00:12,00:00:13,00:00:14,00:00:15,00:00:16,00:00:17,00:00:18,00:00:19,00:00:20,00:00:21,00:00:22,00:00:23,00:00:24,00:00:25,00:00:26,00:00:27,00:00:28,00:00:29,00:00:30,00:00:31,00:00:32,00:00:33,00:00:34,00:00:35,00:00:36,00:00:37,00:00:38,00:00:39"/>
    
    <post>{g0=1;call vmgm menu entry title;}</post>
          </pgc>
    </titles>
    </titleset>
    <titleset>
    <menus>
    </menus>
    <titles>
    
    <pgc><pre>if(g0==123){g0+=1;call vmgm menu entry title;} g0=123;</pre>
    <vob file="C:\DOCUMENTS AND SETTINGS\user\MY DOCUMENTS\TITLEWRITERVER4_11\TOOLS\dummy.vob" chapters="00:00:00,00:00:01,00:00:02,00:00:03,00:00:04,00:00:05,00:00:06,00:00:07,00:00:08,00:00:09,00:00:10,00:00:11,00:00:12,00:00:13,00:00:14,00:00:15,00:00:16,00:00:17,00:00:18,00:00:19,00:00:20,00:00:21,00:00:22,00:00:23,00:00:24,00:00:25,00:00:26,00:00:27,00:00:28"/>
    
    <post>{g0=2;call vmgm menu entry title;}</post>
          </pgc>
    </titles>
    </titleset>
    <titleset>
    <menus>
    </menus>
    <titles>
    
    <pgc><pre>if(g0==123){g0+=2;call vmgm menu entry title;} g0=123;</pre>
    <vob file="C:\DOCUMENTS AND SETTINGS\user\MY DOCUMENTS\TITLEWRITERVER4_11\TOOLS\dummy.vob" chapters="00:00:00,00:00:01,00:00:02,00:00:03,00:00:04,00:00:05,00:00:06,00:00:07,00:00:08,00:00:09,00:00:10,00:00:11,00:00:12,00:00:13,00:00:14,00:00:15,00:00:16,00:00:17,00:00:18,00:00:19,00:00:20,00:00:21,00:00:22,00:00:23,00:00:24,00:00:25,00:00:26,00:00:27"/>
    
    <post>{g0=3;exit;}</post>
          </pgc>
    </titles>
    </titleset>
    </dvdauthor>
    Last edited by dirio49; 7 Jul 2007, 09:33 AM.
    Birthdays are good. Statistics show that the people who have the most live the longest .

    Comment

    • dirio49
      Platinum Member
      Platinum Member
      • Apr 2005
      • 177

      Here is the code, i found it , but it does not show up in the ifos

      it is shows up in the wrong pgc
      <pre>if(g1 lt 12345) jump menu 1;if(g0 > 123)g0 -=124;if(g0==123)g0=0



      it is together with
      this commands
      Code:
      if(g1 lt 12345) jump menu 1;if(g0 > 123)g0 -=124;if(g0==123)g0=0;
      g2=0;if(g2==g0) jump title 1;
      g2=1;if(g2==g0) jump title 2;
      g2=2;if(g2==g0) jump title 3;
      Last edited by dirio49; 7 Jul 2007, 09:40 AM.
      Birthdays are good. Statistics show that the people who have the most live the longest .

      Comment

      • FallenAngel
        Digital Video Specialist
        Digital Video Specialist
        • Jun 2003
        • 816

        Oh S%^&t --Its me -- those commands currently only come in when VMGM menu pages >1

        Sorry --

        Fixed Uploaded 7_6_4

        Comment

        • dirio49
          Platinum Member
          Platinum Member
          • Apr 2005
          • 177

          now it woks. Thanks


          Time for both of us to take a break
          Last edited by dirio49; 7 Jul 2007, 09:48 AM.
          Birthdays are good. Statistics show that the people who have the most live the longest .

          Comment

          • tetsuro_ja
            Gold Member
            Gold Member
            • Jan 2007
            • 126

            Hi, FA.

            7_6_4 -- It is impossible to get TitleMenu when TitleMenu button is pressed during PlayAll playing (PgcEdit trace mode). There is no problem since there is RootMenu button.

            My solution

            VMGM , LU 1 (en) , 1 (0:01) 4b. TitleM - Chapters: n/a, Programs: 1, Cells: 1

            ********** pre commands:
            1 Set gprm(7) =(mov) 0
            2 if ( gprm(0) == 123 ) then { Set gprm(0) =(mov) 0 } <= moved up here
            3 if ( gprm(0) == 0 ) then { Set gprm(1) =(mov) 0 }
            4 Set gprm(2) =(mov) 12345
            5 if ( gprm(1) >= gprm(2) ) then { (JumpSS) Jump to VMGM PGC 3 }
            6 if ( gprm(0) > 123 ) then { Set gprm(0) -=(sub) 124 }
            7 Set gprm(0) +=(add) 1
            8 Set gprm(0) *=(mul) 1024
            9 (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
            10 Set gprm(0) =(mov) 0
            Code:
            {g7=0;[COLOR="Navy"]if(g0==123)g0=0[/COLOR];if(g0==0) g1=0;g2=12345;if(g1 >= g2) jump menu 3;if(g0 > 123)g0 -=124;g0=g0+1;g0=g0*1024;button=g0;g0=0;}
            Last edited by tetsuro_ja; 7 Jul 2007, 02:58 PM.

            Comment

            • tetsuro_ja
              Gold Member
              Gold Member
              • Jan 2007
              • 126

              Hi, FA.

              7_6_4 -- Can't create menus for 99 movies (Both with VTS menus and without VTS menus). On Menu Creation Error -> Failure

              6_25 -- Can create menus for 99 movies. It is very stable.

              Regards

              Comment

              • FallenAngel
                Digital Video Specialist
                Digital Video Specialist
                • Jun 2003
                • 816

                If you move that comand up you lose (during play all) Remote ch back button link from title 2 to 1 (it just skips to titlemenu)

                A better way is to just PUO the Title Menu button
                Last edited by FallenAngel; 7 Jul 2007, 05:54 PM.

                Comment

                • tetsuro_ja
                  Gold Member
                  Gold Member
                  • Jan 2007
                  • 126

                  Originally Posted by FallenAngel
                  If you move that comand up you lose (during play all) Remote ch back button link from title 2 to 1 (it just skips to titlemenu)
                  I don't lose anything.
                  2 to 1 by PrevPGCN link --> gprm(0)=124
                  TitleMenu button pressed --> gprm(0)=123
                  Last edited by tetsuro_ja; 7 Jul 2007, 06:32 PM.

                  Comment

                  • FallenAngel
                    Digital Video Specialist
                    Digital Video Specialist
                    • Jun 2003
                    • 816

                    Uploaded 7_7

                    Fixed -- 99Movies -- Trivial Typo
                    Simplified/Reduced DVDCommands
                    Tetsuro_ja -- Applied a slight variation of your fix.

                    I think its time to stop adding new options for a day or so, see if the codebase is somewhat stable and just apply fixes to the current options (if necessary)

                    Comment

                    • jinjin_jp
                      Digital Video Enthusiast
                      Digital Video Enthusiast
                      • Aug 2006
                      • 315

                      very much for TestBed7_7.

                      It works as all what I wanted.

                      Regards.

                      Comment

                      • tetsuro_ja
                        Gold Member
                        Gold Member
                        • Jan 2007
                        • 126

                        Many thanks, FA.

                        Today is the Festival of the Weaver (Vega).

                        Comment

                        • tetsuro_ja
                          Gold Member
                          Gold Member
                          • Jan 2007
                          • 126

                          TestBed7_7 -- I created VMG menus for 99 movies (one chapter each movie). Menu creation time 3:32
                          There was a difference between MPC and WMP on playback of this DVD compilation.
                          MPC -- Next Chapter Button can't work. Prev Chapter Button can work.
                          WMP -- Next/Prev Chapter Buttons can work.

                          Comment

                          • FallenAngel
                            Digital Video Specialist
                            Digital Video Specialist
                            • Jun 2003
                            • 816

                            Now that is odd -- the next is a std exit to post commands (theres nothing fancy there) I gather that this was without menus.

                            I'll try it here -- though MPC isn't even on my list as "close to DVD hardware"
                            KMPlayer is much closer

                            the next update will be a variable target selector on pre command jmps with these options

                            Prior Movie Last Chapter (Enable Always) -- I like this one it sings
                            Prior Movie Last Chapter (Only During PlayAll)
                            Prior Movie First Chapter
                            Restart This Movie
                            Restart First Movie

                            (Actually all done -- playing with it here)

                            I think this is very close to JinJin_jp request (Option 4)

                            Comment

                            • jinjin_jp
                              Digital Video Enthusiast
                              Digital Video Enthusiast
                              • Aug 2006
                              • 315

                              Thanks for much improvement.
                              I think this is very close to JinJin_jp request (Option 4)
                              If possible, my request is Option 2.
                              I think Option 4 is easist way because it is no need to modify command.
                              Anyway, your method of variable target selector is best.

                              Regards
                              Last edited by jinjin_jp; 9 Jul 2007, 09:48 AM.

                              Comment

                              • tetsuro_ja
                                Gold Member
                                Gold Member
                                • Jan 2007
                                • 126

                                As to Next/Prev PGCN links --
                                Originally Posted by FallenAngel
                                KMPlayer is much closer
                                When the same DVD compilation is played with KM player, Next Chapter Button can work but Previous Chapter Button can't work.
                                This DVD compilation seems to be problematic. Malfunction may be because this DVD compilation comprises titles each having too short playback time (e.g. 1 sec).
                                However, PgcEdit trace mode and IfoEdit "DVD Play" work as I expected.
                                When the DVD compilation comprises titles each having too short playback time (e.g. 1 sec), almost software players seem to be unable to work as I expected.

                                Does the playback time of a title have any restriction?

                                Thanks
                                Last edited by tetsuro_ja; 9 Jul 2007, 03:14 PM.

                                Comment

                                Working...