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

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tetsuro_ja
    Gold Member
    Gold Member
    • Jan 2007
    • 126

    #91
    Originally Posted by Dirio_49
    The highlight seems to be wrong.
    I think so.

    Line 4 of pre-commands in (dummy) ChapterMenu
    Code:
    4  Set gprm(6) =(mov) ??
    should be changed to
    Code:
    4  Set gprm(6) %=(mod) ??

    Comment

    • dirio49
      Platinum Member
      Platinum Member
      • Apr 2005
      • 177

      #92
      I think
      commnad 4 should be
      Code:
        4  if ( gprm(6) > N ) then { Set gprm(6) %=(mod) N }
      If Set gprm(6) %=(mod) 6 is set all the time, than if you a have a chapter less than N, the button chosen with ever be button 1 or 6.
      and you only need mod, when you have a chapter larger that N.

      Peace
      Edit:
      LOL the result is the same a having just Set gprm(6) %=(mod) N.
      ( I am not a math genius i guess )
      Code:
      ********** pre commands:
         1  Set gprm(5) =(mov) sprm(7:Chapter number (or PGN)) 
         2  if ( gprm(5) == 0 ) then { Set gprm(5) =(mov) 1 } 
         3  Set gprm(6) =(mov) gprm(5) 
         4  if ( gprm(5) > N ) then { Set gprm(6) %=(mod) N } 
         5  if ( gprm(6) == 0 ) then { Set gprm(6) =(mov) N} 
         6  Set gprm(6) *=(mul) 1024 
         7  Set gprm(5) +=(add) N-1 
         8  Set gprm(5) /=(div) N
         9  if ( gprm(5) == 1 ) then { LinkPGCN PGC 2 } 
        10  if ( gprm(5) == 2 ) then { LinkPGCN PGC 3 } 
        11  if ( gprm(5) == 3 ) then { LinkPGCN PGC 4 } 
        12  if ( gprm(5) == 4 ) then { LinkPGCN PGC 5 } 
        13  if ( gprm(5) == 5 ) then { LinkPGCN PGC 6 } 
        14  if ( gprm(5) == 6 ) then { LinkPGCN PGC 7 } 
        15  if ( gprm(5) == 7 ) then { LinkPGCN PGC 8 }
      Last edited by dirio49; 6 Jun 2007, 09:12 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

        #93
        Yes I changed makedvd.bat
        I fixed crash associated with buried spaces in path -- But forgot that change
        Last edited by FallenAngel; 6 Jun 2007, 09:55 AM.

        Comment

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

          #94
          Uploaded 6_5_2

          Seems to work better -- Added the MakeDVD.bat this time

          Comment

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

            #95
            Uploaded 6_5_2 doesn't have error no longer.

            Regards.

            Comment

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

              #96
              Dirio_49, Tetsuro_ja
              This time I'm just just the secretary. I'm letting you guys run with this.
              Hint -- It can be simplified

              Tetsuro_ja were those ifos (Muxman) pre TW (those are the ones I need to look at)

              Comment

              • dirio49
                Platinum Member
                Platinum Member
                • Apr 2005
                • 177

                #97
                @FA,

                Thanks.
                I am fine either way as long as it works.

                BTW now the original menu seems plain, because if you got the chapter menu it just takes you to the first one. .

                Again thanks.

                Edit :
                I went and modified the original Menu.

                BTW if you want to change how you create your Chapter menu, and use cells instead of PGCs. Here is the new code (the number are changed because I used it for my original menu )

                Code:
                   1  Set gprm(3) =(mov) sprm(7:Chapter number (or PGN)) 
                   5  if ( gprm(3) == 0 ) then { Set gprm(3) =(mov) 1 } 
                   6  Set gprm(4) =(mov) gprm(3) 
                   7  if ( gprm(4) > N ) then { Set gprm(4) %=(mod) N } 
                   8  if ( gprm(4) == 0 ) then { Set gprm(4) =(mov) N} 
                   9  Set gprm(4) *=(mul) 1024 
                  10  (SetHL_BTN) Set Highlighted Button =(mov) gprm(4) 
                  11  Set gprm(3) +=(add) N-1
                  12  Set gprm(3) /=(div) N
                  13  if ( gprm(3) == 1 ) then { LinkCN Cell 1 } 
                  14  if ( gprm(3) == 2 ) then { LinkCN Cell 2 } 
                  15  if ( gprm(3) == 3 ) then { LinkCN Cell 3 } 
                  16  if ( gprm(3) == 4 ) then { LinkCN Cell 4 } 
                  17  if ( gprm(3) == 5 ) then { LinkCN Cell 5 } 
                  18  if ( gprm(3) == 6 ) then { LinkCN Cell 6 } 
                  19  if ( gprm(3) == 7 ) then { LinkCN Cell 7 }
                Last edited by dirio49; 6 Jun 2007, 11:28 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

                  #98
                  Dirio --

                  I'm already using gprm4 as the resume switch.

                  I'll stick to ptt's -- thats what they are there for

                  Heres the code I tinkered up

                  1 Set gprm(5) =(mov) sprm(7:Chapter number (or PGN))
                  2 if ( gprm(5) == 0 ) then { Set gprm(5) =(mov) 1 }
                  3 Set gprm(5) +=(add) N-1
                  4 Set gprm(6) =(mov) gprm(5)
                  5 Set gprm(5) /=(div) N
                  6 Set gprm(6) %=(mod) N
                  7 Set gprm(6) +=(add) 1
                  8 Set gprm(6) *=(mul) 1024
                  9 if ( gprm(5) == 1 ) then { LinkPGCN PGC 2 }
                  10 if ( gprm(5) == 2 ) then { LinkPGCN PGC 3 }

                  Comment

                  • dirio49
                    Platinum Member
                    Platinum Member
                    • Apr 2005
                    • 177

                    #99
                    No problem.
                    i the Gprn numbers where what i used for my movie(original).

                    in there just in chase you change how you create your menu.
                    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

                      Just uploaded 6_6

                      But heres a wrinkle -- It seems kmplayer and mplayer are not resetting gprm7
                      on VMGM (or new VTS) Showtime does and so does Pgcedit

                      Everything works fine if its reset BUT
                      ambiguous if the next movie selected has less chapters then the last Movie chapter viewed
                      I'm guessing nothing will be highlighted -- Hmm Can't see a way around it
                      I'm fairly sure all hardware players reset it

                      Comment

                      • blutach
                        Not a god of digital video
                        • Oct 2004
                        • 24627

                        What is gprm(7) used for in TW? Why would a player reset a gprm?

                        If you are talking about SPRM 7, it is reset on first entry to a new title (or a jump to PTT).

                        Regards
                        Les

                        Essential progs - [PgcEdit] [VobBlanker] [MenuShrink] [IfoEdit] [Muxman] [DVD Remake Pro] [DVD Rebuilder] [BeSweet] [Media Player Classic] [DVDSubEdit] [ImgBurn]

                        Media and Burning - [Golden Rules of Burning] [Media quality] [Fix your DMA] [Update your Firmware] [What's my Media ID Code?] [How to test your disc]
                        [What's bitsetting?] [Burn dual layer disks safely] [Why not to burn with Ner0] [Interpret Ner0's burn errors] [Got bad playback?] [Burner/Media compatibility]

                        Cool Techniques - [2COOL's guides] [Clean your DVD] [Join a flipper] [Split into 2 DVDs] [Save heaps of Mb] [How to mock strip] [Cool Insert Clips]

                        Real useful info - [FAQ INDEX] [Compression explained] [Logical Remapping of Enabled Streams] [DVD-Replica] [Fantastic info on DVDs]


                        You should only use genuine Verbatim or Taiyo Yuden media. Many thanks to www.pcx.com.au for their supply and great service.

                        Explore the sites and the programs - there's a gold mine of information in them

                        Don't forget to play the Digital Digest Quiz!!! (Click here)

                        Comment

                        • tetsuro_ja
                          Gold Member
                          Gold Member
                          • Jan 2007
                          • 126

                          Thanks for TestBed6_6.
                          I will try TestBed6_6 from now.

                          I also found an issue in processing about sprm(7).
                          How is the following method ?

                          After line 1 "Set gprm(5) =(mov) sprm(7:Chapter number (or PGN))",
                          add one line "if ( gprm(5) > TC ) then { Set gprm(5) =(mov) 1 }".
                          (TC is the total number of chapters in each title)

                          This method is not yet perfect.

                          How about the next solution.
                          Code:
                          1  Set gprm(5) =(mov) sprm(4:Title number in volume) 
                          2  if ( gprm(5) == TN ) then { Goto line 5 }   // TN is actual title number
                          3  Set gprm(5) =(mov) 1 
                          4  Goto line 7 
                          5  Set gprm(5) =(mov) sprm(7:Chapter number (or PGN)) 
                          6  if ( gprm(5) == 0 ) then { Set gprm(5) =(mov) 1 } 
                          7  Set gprm(5) +=(add) N-1   // N is the number of chapters per page
                          8  Set gprm(6) =(mov) gprm(5) 
                          9  Set gprm(5) /=(div) N
                          10 Set gprm(6) %=(mod) N 
                          11 Set gprm(6) +=(add) 1 
                          12 Set gprm(6) *=(mul) 1024 
                          13 if ( gprm(5) == 1 ) then { LinkPGCN PGC 2 } 
                          14 if ( gprm(5) == 2 ) then { LinkPGCN PGC 3 }
                          Last edited by tetsuro_ja; 6 Jun 2007, 11:48 PM.

                          Comment

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

                            Yes Blutach I meant sprm7
                            and thats what I thought also --- But i'm seeing that jumping from vts movie root to movie selector to another Vts root to scenes would not reset sprm7 --no title played
                            Tetsuro_ja
                            yes I thought of that -- No far from perfect
                            hmm how about setting gprm 6 to say 54321 on movie link back to vmgm and ttn post command
                            then the test would be
                            if (g6==54321) g5=1; else g5=s7; -- (DVDAUTHOR coding)

                            Yes I think that does it since the Movies button is the only way back --
                            Damn --I should have seen that hours ago
                            It starts scenes clean in all cases

                            Tetsuro_ja Just saw your edit -- the big question is is sprm4 being reset in the above situation --from what I'm seeing in some software/hardware players the answer is sometimes--- Still no ttn content entered
                            I'll run with the above trick
                            Last edited by FallenAngel; 7 Jun 2007, 12:05 AM.

                            Comment

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

                              Damn -- only works the first time you enter scenes -- same problem if you exit scenes to main then back to scenes.
                              I'll test the sprm4 and see if its more reliable -- if not I think I'll have to think about removing the whole Highlight last chapter trick --its just to shaky

                              edit
                              Sprm4 seems better kmplayer and mplayer seem to like it. and 2 hardware players
                              though I seem to remember using this trick before when testing for resume status and powerDvd choking

                              edit And two other hardware players crashed and burned

                              Can't see a way around it without the ability to reset those sprms -- Unless someone can come up with a viable way I'll have to remove it
                              Last edited by FallenAngel; 7 Jun 2007, 05:29 AM.

                              Comment

                              • dirio49
                                Platinum Member
                                Platinum Member
                                • Apr 2005
                                • 177

                                Dirty solution but it works, you just skip
                                2 Set gprm(5) =(mov) sprm(7:Chapter number (or PGN))
                                since you reset Gprm 4,if you click menu Because if Gprm 4 is zero, then you never played that movie
                                also we have to reset Gprm 5, probably in the place same we reset Gprm 4

                                Code:
                                ********** pre commands:
                                 [COLOR="Blue"]  1  if ( gprm(4) == 0 ) then { Goto line 3 } [/COLOR]
                                   2  Set gprm(5) =(mov) sprm(7:Chapter number (or PGN)) 
                                   3  if ( gprm(5) == 0 ) then { Set gprm(5) =(mov) 1 } 
                                   4  Set gprm(5) +=(add) 5 
                                   5  Set gprm(6) =(mov) gprm(5) 
                                   6  Set gprm(6) %=(mod) 6 
                                   7  Set gprm(6) +=(add) 1 
                                   8  Set gprm(6) *=(mul) 1024 
                                   9  Set gprm(5) /=(div) 6 
                                  10  if ( gprm(5) == 1 ) then { LinkPGCN PGC 2 } 
                                  11  if ( gprm(5) == 2 ) then { LinkPGCN PGC 3 } 
                                  12  if ( gprm(5) == 3 ) then { LinkPGCN PGC 4 } 
                                  13  if ( gprm(5) == 4 ) then { LinkPGCN PGC 5 } 
                                  14  if ( gprm(5) == 5 ) then { LinkPGCN PGC 6 } 
                                ********** post commands:
                                   1  Exit 
                                ********** cell commands:
                                Last edited by dirio49; 7 Jun 2007, 12:55 PM.
                                Birthdays are good. Statistics show that the people who have the most live the longest .

                                Comment

                                Working...