TitleWriter ver 4.21 - add DVD text/Menus/Automation - 19 May2007

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • southrngntlmn
    Junior Member
    Junior Member
    • Jul 2005
    • 36

    big thanks

    a huge thank you to fallen angel for your instructions. I am currently working on a porject and im sure it will work. thanks again for your help to this "newbie".

    T

    Comment

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

      You are welcome
      Now it gets fun here have to add a button to the Play Menus in multimovie compiliations with original menus to allow option to return to vmg switcher. adding the button is easy (it will have to be invisible). -- Figuring out which pgc's contain the Play menu button -- theres the rub.

      Right now the only way to the vmg is via the ttn exit strategy in Original menu's

      I may have to let the user see the menu
      Last edited by FallenAngel; 3 May 2007, 02:35 AM.

      Comment

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

        Is it legal that the button is not exist which is corresponding to SPRM 8(highlighed button number)?

        I noticed when confirming by PgcEdit's TraceMode, for example which the number of title is 6.
        When selecting next button (button number="5") in page 1, PgcEdit shows about page 2
        "Warning: The SPRM 8; highlighed menu button number is out of range.
        SPTM 8 button value: 5120[button 5]
        Valid button number range for this menu: 1 to 4
        The button 1 will be selected by default"

        If it is invalid, is it possible to create hided menu buttons and have always 6 buttons in last page even if the number of selected titles is not full of 4?

        Regards.
        Last edited by jinjin_jp; 3 May 2007, 02:39 AM.

        Comment

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

          Hell -- When did that get lost -- At some point dvdauthor started ignoring my global settings -- oh well fixed in attached.
          Much simpler to just set the highlighted button to 1 in all menus
          See what I mean about the little things coming back to bite you
          Last edited by FallenAngel; 6 May 2007, 12:17 PM.

          Comment

          • southrngntlmn
            Junior Member
            Junior Member
            • Jul 2005
            • 36

            LOL..gotta tell you what happened

            Fallen Angel> thanks again so much for the help your program and directions worked perfectly...EXCEPT....I tried to play my re-authored dvd in my dvd rom and it played in Spanish audio. Problem???!!! I Dont KNOW Spanish....lol.. i accidently kept the wrong audio checked (feels foolish) .
            Luckily i checked it first b4 burning. (Another wise thing to do from now on)

            I had to laugh..i cant believe i did that. Oh, well i'm now going to re-author it again.

            had to tell you....

            T

            Comment

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

              Thanks for the new TW.
              It seems to be no warning by "set the highlighted button to 1 in all menus".

              Actually I prefer previous feature i.e. the button of the title which replayed is highlighed when return to menu.
              So "set the highlighted button to 1" is need only in last page of menu. Other all pages have 6 buttons and will have no ptoblem.

              I thought below method. What about do you think?
              VMGM-pgc of last page of selecting movie
              ********** pre commands:
              1 Set gprm(0) =(mov) 0
              2 Set gprm(3) =(mov) 4
              3 if ( gprm(3) < sprm(8:Highlighted button number) ) then { (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1) }
              VMGM-pgc of other pages of selecting movie don't have
              ********** pre commands:
              (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)

              I'm glad if you point out problem or give me any advise cosidering TW's entire structure.

              But I noticed this idea will have the problem at least when utilize Generic VTS Menu.
              This TW's method will be safe under cosidering various cases.

              Regards.
              Last edited by jinjin_jp; 4 May 2007, 03:13 AM.

              Comment

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

                jinjin_jp -- No I don't think I'll consider that option as an addition to TW -- the set to 1 is safe in all cases KISS -- The more gprms I use the dizzier the navigation may become when readding orig menus -- I can't count on higher gprm's remaining unmodified in those cases

                Of course you can tinker Post TW to your hearts content --though you will find it will get old after a while.

                I think you have a problem -- sprm 8 isn't set on DVD load--the highlighted button is usually set before any menu entry -- you will need a set highlight 1024 in FP

                It just feels/seems a little hairy relying on sprm(8) to be in range for all prior menus after playback of ttn, pgc chains you can't control. But thats just me (the burnt child)

                southrngntlmn
                ::Always check before burning when readding Orig Menus -- especially the play button and a chapter button in the middle of the Movie. The Navigation will go lala in roughly 3 out of 10 cases (Fix with Happyface) it usually takes about a minute

                At least you caught it
                Last edited by FallenAngel; 4 May 2007, 05:48 AM.

                Comment

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

                  Thanks for the advise, FA.
                  I didn't know "sprm 8 isn't set on DVD load". It is significant for modifying command.

                  I'm going to give up modifying to highlight the button of the title which replayed before returning to menu.
                  Highlighted button is always 1 after replaying title, if "set highlight 1024 in FP" because always go through FP after replaying title.
                  My idea doesn't have constant result, highlted button will be different when go to last menu page or come from last page, according to how many buttons last page has.
                  And most of all, current TW's command is most safe.

                  Regards.

                  Comment

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

                    JinJin_jp a fairly safe way to do it would be to set 2 gprms -- 1 to menu page number in Pre menu and 1 gprm to the sprm 8 on ttn pre entry

                    then add these commands after the skip to page conditionals
                    set highlight 1
                    if Gprm-savedbutton != 0
                    then if gprm-pagehold!=thispage goto line +2
                    set highlight gprm-savedbutton
                    line+2:


                    essentially
                    set highlight is set to 1
                    then if last movie was from this page load the highlight the old button

                    then modify ttn post commands to jump to vmgm title menu not FP

                    then set all gprms to 0 in Vmgm fp

                    AArgh
                    Your logic needs the page number of the last vmg menu that called a movie to be saved to work properly

                    Some times I wish they had more then 1 command in navpacks for each button. But I understand the limit (That would make things duck soup)
                    Last edited by FallenAngel; 4 May 2007, 03:06 PM.

                    Comment

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

                      Thanks very much explanation, FA.

                      I can't understand. Is it correct to understanding below?


                      it would be to set 2 gprms -- 1 gprm to the sprm 8 on ttn pre entry
                      (All VTST is common,)
                      VTST *
                      ********** pre commands:
                      1 Set gprm(0) =(mov) 0
                      2 Set gprm(4) =(mov) sprm(8:Highlighted button number)


                      it would be to set 2 gprms -- 1 to menu page number in Pre menu

                      then add these commands after the skip to page conditionals
                      set highlight 1
                      if Gprm-savedbutton != 0
                      then if gprm-pagehold!=thispage goto line +2
                      set highlight gprm-savedbutton
                      line+2:
                      essentially
                      set highlight is set to 1
                      then if last movie was from this page load the highlight the old button
                      (When having 2 menu page,)
                      VMGM , LU 1 (en) , 1
                      ********** pre commands:
                      1 if ( gprm(0) == 0 ) then { Set gprm(1) =(mov) 0 }
                      2 Set gprm(2) =(mov) 12345
                      3 if ( gprm(1) == gprm(2) ) then { (JumpSS) Jump to VMGM PGC 4 }
                      4 Set gprm(2) =(mov) 4
                      5 if ( gprm(0) > gprm(2) ) then { (JumpSS) Jump to VMGM PGC 2 }
                      6 Set gprm(0) =(mov) 0
                      7 if ( gprm(4) != gprm(0) ) then { (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1) }
                      8 if ( gprm(3) != 1 ) then { Goto line 10 }
                      9 (SetHL_BTN) Set Highlighted Button =(mov) gprm(4)
                      10 Set gprm(3) =(mov) 1
                      VMGM , LU 1 (en) , 2
                      ********** pre commands:
                      1 Set gprm(0) =(mov) 0
                      2 if ( gprm(4) != gprm(0) ) then { (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1) }
                      3 if ( gprm(3) != 2 ) then { Goto line 5 }
                      4 (SetHL_BTN) Set Highlighted Button =(mov) gprm(4)
                      5 Set gprm(3) =(mov) 2


                      then modify ttn post commands to jump to vmgm title menu not FP
                      (All VTST is common, last is a little diffrent,)
                      VTST *
                      ********** post commands:
                      1 Set gprm(0) =(mov) Movie
                      2 (CallSS) Call the VMGM Title menu, resume cell 1


                      then set all gprms to 0 in Vmgm fp
                      VMG , First-Play PGC
                      ********** pre commands:
                      1 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
                      2 Set gprm(0) =(mov) 0
                      3 Set gprm(1) =(mov) 0
                      4 Set gprm(2) =(mov) 0
                      5 Set gprm(3) =(mov) 0

                      6 Set gprm(4) =(mov) 0
                      7 (JumpSS) Jump to VMGM Title menu

                      Regards.

                      edit; I forgot
                      Last edited by jinjin_jp; 4 May 2007, 11:00 PM.

                      Comment

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

                        well almost

                        1 if ( gprm(0) == 0 ) then { Set gprm(1) =(mov) 0 }
                        2 Set gprm(2) =(mov) 12345
                        3 if ( gprm(1) == gprm(2) ) then { (JumpSS) Jump to VMGM PGC 4 }
                        4 Set gprm(2) =(mov) 4
                        5 if ( gprm(0) > gprm(2) ) then { (JumpSS) Jump to VMGM PGC 2 }
                        6 Set gprm(0) =(mov) 0
                        7 if ( gprm(4) != gprm(0) ) then { (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1) }
                        8 if ( gprm(3) != 1 ) then { Goto line 10 }
                        9 (SetHL_BTN) Set Highlighted Button =(mov) gprm(4)
                        10 Set gprm(3) =(mov) 1

                        (I don't think line 7 will work correctly it doesn't set highlight to 1 if both are 0)

                        I think I'd do it this way

                        6 (SetHL_BTN) Set Highlighted Button =(mov)1 set the highlight in all cases
                        7 if(gprm(3) != currentpage) then goto line 10 if either the page =0 or last button =0 then skip resetting
                        8 if (gprm(4) == 0) then goto line 10
                        9 (SetHL_BTN) Set Highlighted Button =(mov) gprm(4)
                        10 Set gprm(3)=(mov)currentpage
                        11 Set gprm(0)=(mov)0 this is the current last line of each pre block

                        one more thing
                        in the Play all pgc
                        Set gprm(3)=0;
                        Set Gprm(4)=0;

                        I think bad things will happen on exiting the play all condition without these added

                        its the little things that always come back to get you
                        Last edited by FallenAngel; 4 May 2007, 08:21 PM.

                        Comment

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

                          Thanks for detail explanation. It seems to work well.

                          one more thing
                          in the Play all pgc
                          Set gprm(3)=0;
                          Set Gprm(4)=0;
                          Where shoule it inserted in? Where inserted seems to have different meaning because "go to" exists.


                          By the way, there is another way which proposed from Japanese friend like below.

                          (1)Command of NEXT button of each menu page:
                          Set gprm(4) =(mov) 1; Link PGCN PGC "the number of next pgc"

                          (2)Pre-command of each VMGM-pgc:
                          (before)
                          (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
                          Set gprm(0) =(mov) 0
                          =>(after)
                          if ( gprm(0) == 0 ) then { Set gprm(0) =(mov) 1 }
                          Set gprm(0) %=(mod) 4
                          if ( gprm(0) == 0 ) then { Set gprm(0) =(mov) 4 }
                          if ( gprm(4) == 1 ) then { Set gprm(0) =(mov) "the number of next button" }
                          Set gprm(0) *=(mul) 1024
                          (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
                          Set gprm(4) =(mov) 0
                          Set gprm(0) =(mov) 0

                          (3)post-command of last title: (this is for return to menu)
                          Set gprm(0) =(mov) "the number of last title"
                          Set gprm(1) =(mov) 0
                          (CallSS) Call the First PGC, resume cell 1

                          Regards.

                          Comment

                          • southrngntlmn
                            Junior Member
                            Junior Member
                            • Jul 2005
                            • 36

                            help fallen angel

                            hey F.A> I restored my comp due to some problems and NOW when i open titlewriter where the "icon" was to go to dvd shrink it has ?????'s on the icon.

                            when i click it it looks like i have to set everything up and in my settings it shows path to transcoder> nokey play sound>nokey post transcoder options>nokey can you tell me what i need to put in these places???

                            thanks for the help

                            T

                            Comment

                            • southrngntlmn
                              Junior Member
                              Junior Member
                              • Jul 2005
                              • 36

                              i figured it out fa&gt;

                              i thought i needed to re-install titlewriter and dvd shrink but when i did there was 2 folders of the same.

                              thanks anyways

                              T

                              Comment

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

                                southerngntlmn --When you restored you Killed off the registry entries TW created.
                                Yes that icon comes up when the source path (either in tools or settings is invalid
                                found the browse button in settings eh

                                jinjin_jp

                                A problem with his method ttn post command-- His set gprm(1)=0 kills play all in all cases



                                Big But
                                his basic idea is to calculate the page and button from the value of gprm(0) in pre commands of each menu -- not requiring ttn command modification or registers containing page/button info over time -- (remember I can't trust register stability when readding orig menus)--
                                I think I'm willing to implement a variation of set page/last buttton called in TW source -- Yes I am --Wait a day or so -- Coding commands in menu loops in dvdauthor xml's is tricky and this literally kills all current Next page logic.
                                So ignore the gprm(3) and 4 -- you won't need to deal with them
                                Last edited by FallenAngel; 5 May 2007, 04:32 AM.

                                Comment

                                Working...