Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > IFO/VOB Editors

Reply
 
Thread Tools Display Modes
Old 10th September 2004, 16:53   #1  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
Problems adding menu with Titlewriter to episode DVD done with DVD Shrink

So far I've been quite happy with way episode DVDs are re-authored with DVD Shrink since I could use PgcEdit easily to have the 'title'-key jump between episodes. Now that I'm returning to ripping some arc-run compilations from my original Buffy DVDs I'd like to have a small menu which depicts the episode titles so I know which eps are on a certain DVD.

What I want is actually quite simple:
  • rip 4 eps for 1 DVD with DVD Shrink
  • generate a menu template in DVDLab Pro
  • add this menu to the DVD with Titlewriter

The menu itself is very basic, since I do not need any language or chapter selection (I can do this during playback using my remote); it's a simple page with 4 buttons, each of which jumps to the corresponding episode:

Code:
> ep 1
  ep 2
  ep 3
  ep 4
and every time one ep is finished the selector '>' should be placed in front of the next ep, so when ep 2 ends I'll be returned to the menu where ep 3 is already selected. This works fine with DVD Lab, however when I use Titlewriter to add the menu it does not work 100% as intended.

Whenever an ep is finished, the player jumps back to the menu but it does not select the following ep as the one to be played next. The first ep is always selected no matter which ep stopped playing.

You see, I'm very fond of this method cause it saves quite some time compared to having to reauthor the whole stuff, even if DVDlab saves some time already cause one does not have to demultiplex streams. I've also tried to fool around a little using PgcEdit but when I open the DVD manipulated with Titlewriter I do get an error message (pls see attached screenshot).

So here are my questions:
  • how do I make the following ep the selected one when one ep is finished?
  • is it possible to continue with the next ep without being returned to the menu? I could not draw these connection lines in DVDlab but it should be possible since my DVDs re-authored with DVD Shrink do also have 4 titlesets and automatically do play the next episode!
  • how could I use the 'title' button to jump to the next ep instead and make the 'menu' button on the remote return to the menu (as you can author with DVD Maestro)?

TIA!

Last edited by Chetwood; 10th September 2004 at 16:56.
Chetwood is offline   Reply With Quote
Old 10th September 2004, 16:57   #2  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
Weird, I couldn't see any link to an attachment so I'm trying it again with this post.
Attached Images
 
Chetwood is offline   Reply With Quote
Old 11th September 2004, 00:42   #3  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
Try to add the menu with PgcEdit's Import Menu function: right click on the VTST 1 / TTN 1 entry in the right panel, and select "Import Menu".

Also, use the "DVDShrink Remote Buttons" macro (with all options enabled).

Then post your DVD commands here: go to the menu Info -> DVD Commands, then type Ctrl-A and Ctrl-C to copy the whole text, and paste it in your reply.
I will then try to explain what you want...
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)

Last edited by r0lZ; 11th September 2004 at 00:52.
r0lZ is offline   Reply With Quote
Old 11th September 2004, 04:35   #4  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by Chetwood
Weird, I couldn't see any link to an attachment so I'm trying it again with this post.
Keep in mind that attachments have to be approved by a moderator.
__________________
2COOL
2COOL is offline   Reply With Quote
Old 11th September 2004, 09:02   #5  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
thanks for stepping in

Quote:
Originally posted by r0lZ
Also, use the "DVDShrink Remote Buttons" macro (with all options enabled).
I assume that skipping the first and the last checkbox
  • When in chapter 1, allow the 'Prev Chapter' button to go back to the beginning of the current title?
  • At the end of the last title, automatically loop back to the first title?

should have no influence on the proper importing of the external menu? Usually I skip those two boxes cause I don't want this behaviour, however for this attempt I checked all boxes as you said.

So here's the code:


Code:
DVD "M:/test"
DVD-TEXT General Name: ""
Provider ID: ""
Number of VTS: 4


VMG (VIDEO_TS.IFO)
------------------

  VMG / FP-PGC
        ********** pre commands:
        [00 A1 00 00 00 01 00 05]   1  if ( gprm(0) == 1 ".." ) then { Goto line 5 } 
        [00 A1 00 00 00 02 00 06]   2  if ( gprm(0) == 2 ".." ) then { Goto line 6 } 
        [00 A1 00 00 00 03 00 07]   3  if ( gprm(0) == 3 ".." ) then { Goto line 7 } 
        [30 02 00 00 00 01 00 00]   4  (JumpTT) Jump to Title 1 
        [30 02 00 00 00 02 00 00]   5  (JumpTT) Jump to Title 2 
        [30 02 00 00 00 03 00 00]   6  (JumpTT) Jump to Title 3 
        [30 02 00 00 00 04 00 00]   7  (JumpTT) Jump to Title 4 
        ********** post commands:
        ********** cell commands:


  VMGM / LU 1 (en):

    VMGM / LU 1 (en) / 1  Title
        ********** pre commands:
        [30 06 00 00 00 00 00 00]   1  (JumpSS) Jump to First Play PGC 
        ********** post commands:
        ********** cell commands:



VTS 1 (VTS_01_0.IFO)
--------------------

  VTSM 1 / LU 1 (en):

    VTSM 1 / LU 1 (en) / 1  Title
        ********** pre commands:
        [71 00 00 0B 00 00 00 00]   1  Set gprm(11) =(mov) 0 ".." 
        [71 00 00 0D 00 00 00 00]   2  Set gprm(13) =(mov) 0 ".." 
        [30 06 00 02 00 C0 00 00]   3  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:


    VTSM 1 / LU 1 (en) / 2  (0:00)
        ********** pre commands:
        [71 00 00 0C 04 00 00 00]   1  Set gprm(12) =(mov) 1024 ".." 
        [71 A0 0B 0C 08 00 00 05]   2  if ( gprm(11) == 5 ".." ) then { Set gprm(12) =(mov) 2048 ".." } 
        [71 A0 0B 0C 0C 00 00 07]   3  if ( gprm(11) == 7 ".." ) then { Set gprm(12) =(mov) 3072 ".." } 
        [71 A0 0B 0C 10 00 00 09]   4  if ( gprm(11) == 9 ".." ) then { Set gprm(12) =(mov) 4096 ".." } 
        [71 A0 0B 0C 04 00 00 0B]   5  if ( gprm(11) == 11 ".." ) then { Set gprm(12) =(mov) 1024 ".." } 
        [71 A0 0B 0C 00 00 00 03]   6  if ( gprm(11) == 3 ".." ) then { Set gprm(12) =(mov) 0 ".." } 
        [00 A1 00 0C 00 00 00 09]   7  if ( gprm(12) == 0 ".." ) then { Goto line 9 } 
        [46 00 00 00 00 0C 00 00]   8  (SetHL_BTN) Set Highlighted Button =(mov) gprm(12) 
        [71 00 00 0B 00 02 00 00]   9  Set gprm(11) =(mov) 2 ".." 
        [71 00 00 0F 00 02 00 00]  10  Set gprm(15) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 0B 00 03 00 00]  12  Set gprm(11) =(mov) 3 ".." 
        [20 04 00 00 00 00 00 02]  13  LinkPGCN PGC 2 
        ********** cell commands:
        ********** menu buttons commands:
        VOB ID 1,  Cell ID 1  (First NAV pack=0)
        1 Group,  Start button=0,  Select button=0,  Action button=0
        button  1: [30 02 00 00 00 01 00 00]  (JumpTT) Jump to Title 1 
        button  2: [30 02 00 00 00 02 00 00]  (JumpTT) Jump to Title 2 
        button  3: [30 02 00 00 00 03 00 00]  (JumpTT) Jump to Title 3 
        button  4: [30 02 00 00 00 04 00 00]  (JumpTT) Jump to Title 4 



  VTST 1 / TTN 1  (21:34)  Title 1
        ********** pre commands:
        [71 00 00 00 00 01 00 00]   1  Set gprm(0) =(mov) 1 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   3  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [71 00 00 00 00 01 00 00]   5  Set gprm(0) =(mov) 1 ".." 
        [30 08 00 00 01 00 00 00]   6  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 2 (VTS_02_0.IFO)
--------------------

  VTSM 2: no menu.

  VTST 2 / TTN 1  (21:35)  Title 1
        ********** pre commands:
        [71 00 00 00 00 02 00 00]   1  Set gprm(0) =(mov) 2 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   3  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [71 00 00 00 00 02 00 00]   5  Set gprm(0) =(mov) 2 ".." 
        [30 08 00 00 01 00 00 00]   6  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 3 (VTS_03_0.IFO)
--------------------

  VTSM 3: no menu.

  VTST 3 / TTN 1  (21:36)  Title 1
        ********** pre commands:
        [71 00 00 00 00 03 00 00]   1  Set gprm(0) =(mov) 3 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 80 00 00 00]   3  (SetSTN) Set Sub-picture stream = 0, off 
        ********** post commands:
        [71 00 00 00 00 03 00 00]   5  Set gprm(0) =(mov) 3 ".." 
        [30 08 00 00 01 00 00 00]   6  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 4 (VTS_04_0.IFO)
--------------------

  VTSM 4: no menu.

  VTST 4 / TTN 1  (21:36)  Title 1
        ********** pre commands:
        [71 00 00 00 00 00 00 00]   1  Set gprm(0) =(mov) 0 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   3  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [30 08 00 00 01 00 00 00]   5  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


This code results in the following behaviour:

The DVD starts with no menu but with the first ep instead and I can use the title-button to jump between eps as I usually do when I rip with DVD Shrink and implement no menu. I'm looking forward to your explanations on what commands to manipulate to achieve the desired behaviour. Thanks for your time.

Last edited by Chetwood; 11th September 2004 at 09:06.
Chetwood is offline   Reply With Quote
Old 11th September 2004, 11:37   #6  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
Re: thanks for stepping in

Quote:
I assume that skipping the first and the last checkbox
- When in chapter 1, allow the 'Prev Chapter' button to go back to the beginning of the current title?
- At the end of the last title, automatically loop back to the first title?
should have no influence on the proper importing of the external menu? Usually I skip those two boxes cause I don't want this behaviour, however for this attempt I checked all boxes as you said.
Right.
However, I recommand checking the last option, because you will have a menu. Therefore, jumping back to the first title will in fact jump back to the menu. See next post...
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)
r0lZ is offline   Reply With Quote
Old 11th September 2004, 11:51   #7  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
[EDIT:] The correct solution is explained here.

As I can see, your DVDLab menu is a Title menu, not a Root menu. This will not allow to use the Title menu button to skip to the next title. You should however enable this function when applying 'DVDShrink Remote Buttons', if you want to use option 1 of point 3 explained below.

Important: You should import the Title menu in the VMGM, not in the VTS 1 (this will replace the title menu PGC created by 'DVDShrink Remote Buttons' function).
Here is what you should have as the starting point (changes are highlighted in bold):

Code:
VMG (VIDEO_TS.IFO)
------------------

  VMG / FP-PGC
        ********** pre commands:
        [00 A1 00 00 00 01 00 05]   1  if ( gprm(0) == 1 ".." ) then { Goto line 5 } 
        [00 A1 00 00 00 02 00 06]   2  if ( gprm(0) == 2 ".." ) then { Goto line 6 } 
        [00 A1 00 00 00 03 00 07]   3  if ( gprm(0) == 3 ".." ) then { Goto line 7 } 
        [30 02 00 00 00 01 00 00]   4  (JumpTT) Jump to Title 1 
        [30 02 00 00 00 02 00 00]   5  (JumpTT) Jump to Title 2 
        [30 02 00 00 00 03 00 00]   6  (JumpTT) Jump to Title 3 
        [30 02 00 00 00 04 00 00]   7  (JumpTT) Jump to Title 4 
        ********** post commands:
        ********** cell commands:


  VMGM / LU 1 (en):

    VMGM / LU 1 (en) / 1  Title
        ********** pre commands:
        [71 00 00 0B 00 00 00 00]   1  Set gprm(11) =(mov) 0 ".." 
        [71 00 00 0D 00 00 00 00]   2  Set gprm(13) =(mov) 0 ".." 
        [30 06 00 02 00 C0 00 00]   3  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:


    VMGM / LU 1 (en) / 2  (0:00)
        ********** pre commands:
        [71 00 00 0C 04 00 00 00]   1  Set gprm(12) =(mov) 1024 ".." 
        [71 A0 0B 0C 08 00 00 05]   2  if ( gprm(11) == 5 ".." ) then { Set gprm(12) =(mov) 2048 ".." } 
        [71 A0 0B 0C 0C 00 00 07]   3  if ( gprm(11) == 7 ".." ) then { Set gprm(12) =(mov) 3072 ".." } 
        [71 A0 0B 0C 10 00 00 09]   4  if ( gprm(11) == 9 ".." ) then { Set gprm(12) =(mov) 4096 ".." } 
        [71 A0 0B 0C 04 00 00 0B]   5  if ( gprm(11) == 11 ".." ) then { Set gprm(12) =(mov) 1024 ".." } 
        [71 A0 0B 0C 00 00 00 03]   6  if ( gprm(11) == 3 ".." ) then { Set gprm(12) =(mov) 0 ".." } 
        [00 A1 00 0C 00 00 00 09]   7  if ( gprm(12) == 0 ".." ) then { Goto line 9 } 
        [46 00 00 00 00 0C 00 00]   8  (SetHL_BTN) Set Highlighted Button =(mov) gprm(12) 
        [71 00 00 0B 00 02 00 00]   9  Set gprm(11) =(mov) 2 ".." 
        [71 00 00 0F 00 02 00 00]  10  Set gprm(15) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 0B 00 03 00 00]  12  Set gprm(11) =(mov) 3 ".." 
        [20 04 00 00 00 00 00 02]  13  LinkPGCN PGC 2 
        ********** cell commands:
        ********** menu buttons commands:
        VOB ID 1,  Cell ID 1  (First NAV pack=0)
        1 Group,  Start button=0,  Select button=0,  Action button=0
        button  1: [30 02 00 00 00 01 00 00]  (JumpTT) Jump to Title 1 
        button  2: [30 02 00 00 00 02 00 00]  (JumpTT) Jump to Title 2 
        button  3: [30 02 00 00 00 03 00 00]  (JumpTT) Jump to Title 3 
        button  4: [30 02 00 00 00 04 00 00]  (JumpTT) Jump to Title 4 



VTS 1 (VTS_01_0.IFO)
--------------------

  VTSM 1: no menu.

  VTST 1 / TTN 1  (21:34)  Title 1
        ********** pre commands:
        [71 00 00 00 00 01 00 00]   1  Set gprm(0) =(mov) 1 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   3  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [71 00 00 00 00 01 00 00]   5  Set gprm(0) =(mov) 1 ".." 
        [30 08 00 00 01 00 00 00]   6  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 2 (VTS_02_0.IFO)
--------------------

  VTSM 2: no menu.

  VTST 2 / TTN 1  (21:35)  Title 1
        ********** pre commands:
        [71 00 00 00 00 02 00 00]   1  Set gprm(0) =(mov) 2 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   3  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [71 00 00 00 00 02 00 00]   5  Set gprm(0) =(mov) 2 ".." 
        [30 08 00 00 01 00 00 00]   6  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 3 (VTS_03_0.IFO)
--------------------

  VTSM 3: no menu.

  VTST 3 / TTN 1  (21:36)  Title 1
        ********** pre commands:
        [71 00 00 00 00 03 00 00]   1  Set gprm(0) =(mov) 3 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 80 00 00 00]   3  (SetSTN) Set Sub-picture stream = 0, off 
        ********** post commands:
        [71 00 00 00 00 03 00 00]   5  Set gprm(0) =(mov) 3 ".." 
        [30 08 00 00 01 00 00 00]   6  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 4 (VTS_04_0.IFO)
--------------------

  VTSM 4: no menu.

  VTST 4 / TTN 1  (21:36)  Title 1
        ********** pre commands:
        [71 00 00 00 00 00 00 00]   1  Set gprm(0) =(mov) 0 ".." 
        [51 00 00 81 00 00 00 00]   2  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   3  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [30 08 00 00 01 00 00 00]   5  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:
[list=1][*] To jump to the title menu upon DVD insert, just change the FP-PGC 'Jump to Title 1' line by a jump to the VMGM Title menu. (highlighted in bold below)
If you selected the last checkbox in the DVDShrink Remote Buttons dialog, you will also return to the menu when the last title has finished playing.

At this point, the menu should play when you start the DVD, and you will be able to jump to the menu with the Title button of the remote.
[*] To be able to use also the Root Menu button on the remote, you must add root menus entries for each VTS:
Right-click on the 'VTST 1 / TTN 1 (21:34) Title 1' entry, and select 'New Menu'. A new Root menu will be created and automatically selected.
Do the same operations for Titles 2, 3 and 4. (Highlighted in blue)
[*] At this point, you have 2 options.
1) The default pre-command of the Root menus you have just created are jumps to the FP-PGC. This means that, when using the Root Menu button, you will jump to the next title (except when in Title 4, which will return to the Title menu, because of the modification done at point 1). This is what you wanted to do with the Title menu button. Note that this works only if you selected the 'Always allow the "Title Menu" button to jump to the next title' option in 'DVDShrink Remote Buttons'.

2) If you want to go to the menu whenever you use the Root menu (regardless of the title you are in), then change the '(JumpSS) Jump to First Play PGC' in each Root menu by:
Code:
[30 06 00 00 00 42 00 00]   1  (JumpSS) Jump to VMGM Title menu
(I made this change only in Title 1, highlighted in dark red, but remember to do the same change for all titles, or none)
[*] The DVDShrink behavior is to play the next title when the current title has finished playing. If you want to return to the menu instead, you have to change the Title's post commands also. Change the '(CallSS) Call the First Play PGC, resume cell 1' by '(CallSS) Call the VMGM Title menu, resume cell 1' (highlighted in pink)
[*] You want to automatically highlight the button that lead to the next title when you return to the menu.
See the commands in the 'VMGM / LU 1 (en) / 2 (0:00)' PGC: The trick used by DVDLab is to use the GPRM 11 to store a value that is compared to know what button must be highlighted. The button number is then set in the GPRM 12. Remember that the value for a button is actually the button number * 1024. Then, the GPRM 12 is transferred in the SPRM 8 (highlighted button number), before displaying the menu.
As you can see, line 1 initialize the GPRM 12 to 1024 (button 1). This is the default button.
Line 2 highlight button 2 if GPRM 11 == 5, line 3 highlight button 3 if GPRM 11 == 7, line 4 highlight button 4 if GPRM 11 == 9, and Line 5 highlight button 1 again if GPRM 11 == 11. (Line 6 set GPRM 12 to 0 if GPRM 11 == 3. This is used to avoid changing the current highlighted button.)
The problem is that DVDShrink do not initialize the GPRM 11. So we must do that manually.
Add a Set GPRM 11 command as the verry first pre-command of each Title. The GPRM 11 must be initialized respectively with values 5, 7, 9 and 11 (highlighted in green).[/list=1]
Code:
VMG (VIDEO_TS.IFO)
------------------

  VMG / FP-PGC
        ********** pre commands:
        [00 A1 00 00 00 01 00 05]   1  if ( gprm(0) == 1 ".." ) then { Goto line 5 } 
        [00 A1 00 00 00 02 00 06]   2  if ( gprm(0) == 2 ".." ) then { Goto line 6 } 
        [00 A1 00 00 00 03 00 07]   3  if ( gprm(0) == 3 ".." ) then { Goto line 7 } 
        [30 06 00 00 00 42 00 00]   4  (JumpSS) Jump to VMGM Title menu  
        [30 02 00 00 00 02 00 00]   5  (JumpTT) Jump to Title 2 
        [30 02 00 00 00 03 00 00]   6  (JumpTT) Jump to Title 3 
        [30 02 00 00 00 04 00 00]   7  (JumpTT) Jump to Title 4 
        ********** post commands:
        ********** cell commands:


  VMGM / LU 1 (en):

    VMGM / LU 1 (en) / 1  Title
        ********** pre commands:
        [71 00 00 0B 00 00 00 00]   1  Set gprm(11) =(mov) 0 ".." 
        [71 00 00 0D 00 00 00 00]   2  Set gprm(13) =(mov) 0 ".." 
        [30 06 00 02 00 C0 00 00]   3  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:


    VMGM / LU 1 (en) / 2  (0:00)
        ********** pre commands:
        [71 00 00 0C 04 00 00 00]   1  Set gprm(12) =(mov) 1024 ".." 
        [71 A0 0B 0C 08 00 00 05]   2  if ( gprm(11) == 5 ".." ) then { Set gprm(12) =(mov) 2048 ".." } 
        [71 A0 0B 0C 0C 00 00 07]   3  if ( gprm(11) == 7 ".." ) then { Set gprm(12) =(mov) 3072 ".." } 
        [71 A0 0B 0C 10 00 00 09]   4  if ( gprm(11) == 9 ".." ) then { Set gprm(12) =(mov) 4096 ".." } 
        [71 A0 0B 0C 04 00 00 0B]   5  if ( gprm(11) == 11 ".." ) then { Set gprm(12) =(mov) 1024 ".." } 
        [71 A0 0B 0C 00 00 00 03]   6  if ( gprm(11) == 3 ".." ) then { Set gprm(12) =(mov) 0 ".." } 
        [00 A1 00 0C 00 00 00 09]   7  if ( gprm(12) == 0 ".." ) then { Goto line 9 } 
        [46 00 00 00 00 0C 00 00]   8  (SetHL_BTN) Set Highlighted Button =(mov) gprm(12) 
        [71 00 00 0B 00 02 00 00]   9  Set gprm(11) =(mov) 2 ".." 
        [71 00 00 0F 00 02 00 00]  10  Set gprm(15) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 0B 00 03 00 00]  12  Set gprm(11) =(mov) 3 ".." 
        [20 04 00 00 00 00 00 02]  13  LinkPGCN PGC 2 
        ********** cell commands:
        ********** menu buttons commands:
        VOB ID 1,  Cell ID 1  (First NAV pack=0)
        1 Group,  Start button=0,  Select button=0,  Action button=0
        button  1: [30 02 00 00 00 01 00 00]  (JumpTT) Jump to Title 1 
        button  2: [30 02 00 00 00 02 00 00]  (JumpTT) Jump to Title 2 
        button  3: [30 02 00 00 00 03 00 00]  (JumpTT) Jump to Title 3 
        button  4: [30 02 00 00 00 04 00 00]  (JumpTT) Jump to Title 4


VTS 1 (VTS_01_0.IFO)
--------------------

  VTSM 1 / LU 1 (en):

    VTSM 1 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 00 00 42 00 00]   1  (JumpSS) Jump to VMGM Title menu 
        ********** post commands:
        ********** cell commands:

  VTST 1 / TTN 1  (21:34)  Title 1
        ********** pre commands:
        [71 00 00 0B 00 05 00 00]   1  Set gprm(11) =(mov) 5 ".." 
        [71 00 00 00 00 01 00 00]   2  Set gprm(0) =(mov) 1 ".." 
        [51 00 00 81 00 00 00 00]   3  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   4  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [71 00 00 00 00 01 00 00]   5  Set gprm(0) =(mov) 1 ".." 
        [30 08 00 00 01 42 00 00]   2  (CallSS) Call the VMGM Title menu, resume cell 1 
        ********** cell commands:


VTS 2 (VTS_02_0.IFO)
--------------------

  VTSM 2 / LU 1 (en):

    VTSM 2 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 00 00 00 00 00]   1  (JumpSS) Jump to First Play PGC 
        ********** post commands:
        ********** cell commands:

  VTST 2 / TTN 1  (21:35)  Title 1
        ********** pre commands:
        [71 00 00 0B 00 07 00 00]   1  Set gprm(11) =(mov) 7 ".." 
        [71 00 00 00 00 02 00 00]   2  Set gprm(0) =(mov) 2 ".." 
        [51 00 00 81 00 00 00 00]   3  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   4  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [71 00 00 00 00 02 00 00]   5  Set gprm(0) =(mov) 2 ".." 
        [30 08 00 00 01 42 00 00]   2  (CallSS) Call the VMGM Title menu, resume cell 1 
        ********** cell commands:


VTS 3 (VTS_03_0.IFO)
--------------------

  VTSM 3 / LU 1 (en):

    VTSM 3 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 00 00 00 00 00]   1  (JumpSS) Jump to First Play PGC 
        ********** post commands:
        ********** cell commands:

  VTST 3 / TTN 1  (21:36)  Title 1
        ********** pre commands:
        [71 00 00 0B 00 09 00 00]   1  Set gprm(11) =(mov) 9 ".." 
        [71 00 00 00 00 03 00 00]   2  Set gprm(0) =(mov) 3 ".." 
        [51 00 00 81 00 00 00 00]   3  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 80 00 00 00]   4  (SetSTN) Set Sub-picture stream = 0, off 
        ********** post commands:
        [71 00 00 00 00 03 00 00]   5  Set gprm(0) =(mov) 3 ".." 
        [30 08 00 00 01 42 00 00]   2  (CallSS) Call the VMGM Title menu, resume cell 1 
        ********** cell commands:


VTS 4 (VTS_04_0.IFO)
--------------------

  VTSM 4 / LU 1 (en):

    VTSM 4 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 00 00 00 00 00]   1  (JumpSS) Jump to First Play PGC 
        ********** post commands:
        ********** cell commands:

  VTST 4 / TTN 1  (21:36)  Title 1
        ********** pre commands:
        [71 00 00 0B 00 0B 00 00]   1  Set gprm(11) =(mov) 11 ".." 
        [71 00 00 00 00 00 00 00]   2  Set gprm(0) =(mov) 0 ".." 
        [51 00 00 81 00 00 00 00]   3  (SetSTN) Set Audio stream = 1 
        [51 00 00 00 81 00 00 00]   4  (SetSTN) Set Sub-picture stream = 1, off 
        ********** post commands:
        [30 08 00 00 01 42 00 00]   2  (CallSS) Call the VMGM Title menu, resume cell 1 
        ********** cell commands:
This should work. However, I can't test the whole process here (I don't have the menu VOB)...
Good luck!
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)

Last edited by r0lZ; 12th September 2004 at 12:58.
r0lZ is offline   Reply With Quote
Old 11th September 2004, 16:07   #8  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
not unexpected

Quote:
Originally posted by r0lZ
As I can see, your DVDLab menu is a Title menu, not a Root menu.
This is because it was explained this way in the 'create menu'-guide that came with Titlewriter 1.64.

Quote:

Important: You should import the Title menu in the VMGM, not in the VTS 1 (this will replace the title menu PGC created by 'DVDShrink Remote Buttons' function)
I guess this is contrary to your first reply where you said right click on the VTST 1 / TTN 1 entry in the right panel, and select "Import Menu" because you expected another menu structure, i.e. a root menu? (Not unexpectedly) I'm a bit confused here.

I'm not quite sure in which order to manipulate the files. I've kept backups of my original ifos so I can start from scratch anytime I want. So am I right when I first use the DVD Shrink macro (regardless of what item is selected in the left window of PgcEdit) and only then import my menu template in the VMGM? Cause if I'd do it the other way round the DVD Shrink macro would replace the newly created menu which would leave me with the title-button navigation scheme but no menu.

In short this is what I did:
  • open my shrinked 4 ep DVD in PgcEdit
  • run the DVD Shrink remote buttons macro
  • import my DVD menu template in VMGM
  • change the first jump command in FP-PGC to '(JumpSS) Jump to VMGM Title menu' so the title button returns to the menu instead of jumping between eps

Now when I watch this DVD before trying any other manipulations (like root menu) I get these results:
  • upon first play the menu is depicted
  • I can jump to any ep from the menu
  • once an ep has finished the next one automatically starts
  • the title button returns to the menu

BUT (contrary to the results from using Titlewriter) I do not have ANY highlighted buttons in the menu! I can still select the episodes cause whenever I move the mouse over an area the button usually would show up the cursor changes to a hand so I know that there's a button, I just don't see it.

As such it's pointless to try the other manipulations which would usually result in the following ep's button being selected in the menu . For the moment I ignored the problem and tried to add new menus to each VTS to make the remote's 'menu' button make me return to the menu regardless which ep was currently playing. This worked as well. My next problem however is that now 2 buttons (menu and title) return to the menu and I want them to act differently.

IMO 2Cool's idea of using the tile-button to jump between eps is still the intutive way to go so I've made up my mind concerning the navigation on my reauthored DVDs:
  • 1st play: menu, ep 1 button is highlighted
  • whenever an ep finishes we return to the menu where the next ep's button is highlighted
  • during playback the title button jumps to the next ep except for the last ep where this function should be disabled (due to some limitations in cheap standalone players as explained in this thread)
  • menu-button should jump to the menu regardless of which ep being played (btw, is it possible to also highlight the next ep's button?)
  • I do not want any loop function nor 'When in chapter 1, allow the 'Prev Chapter' button to go back to the beginning of the current title' cause this way the 'prev chapter' button returns to the start of the previous ep so that I can skip back and forth between eps

Quote:

This should work. However, I can't test the whole process here (I don't have the menu VOB)...
Like mentioned above some things are not yet working though it looks quite promising. I've send you a PM with a link to my menu template, it's only 500 KB RARed. In case you find the time I'd be happy if you'd check it out. Thanks again.
Chetwood is offline   Reply With Quote
Old 11th September 2004, 18:16   #9  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
Quote:
I guess this is contrary to your first reply where you said right click on the VTST 1 / TTN 1 entry in the right panel, and select "Import Menu" because you expected another menu structure, i.e. a root menu? (Not unexpectedly) I'm a bit confused here.
That's right. But a Title Menu is obviously more easy to implement, at the cost of loosing the Title Button to skip to the next title function.

Quote:
BUT (contrary to the results from using Titlewriter) I do not have ANY highlighted buttons in the menu! I can still select the episodes cause whenever I move the mouse over an area the button usually would show up the cursor changes to a hand so I know that there's a button, I just don't see it.
OK. You did the work correctly at this point. I'll try to understand why you did not see any menu button later.

I have also found one problem in the logic: the Title menu actually reset the GPRM 11 to 0 before calling the PGC 2, which is the real menu. This is not what we want, so remove the first pre-command:
Code:
    VMGM / LU 1 (en) / 1  Title
        ********** pre commands:
        [71 00 00 0D 00 00 00 00]   1  Set gprm(13) =(mov) 0 ".." 
        [30 06 00 02 00 C0 00 00]   2  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:
Try this, with all the 'Set gprm(11)...' commands in the Titles PGCs, and you will probably see the menu button (except maybe the first time).

Quote:
My next problem however is that now 2 buttons (menu and title) return to the menu and I want them to act differently.
As I said, you may prefer to have the Root menu to skip to the next title. Just don't do the point 3, option 2. I know it is a little bit strange to use the Title menu button to call the menu and the Root menu button to skip to the next title, but this is needed because of the Title menu being used instead of the Root menu.
I don't have the time now, but I will explain later how to import your menu as a Root menu, keeping the ability to call the next title with the Title button.

Quote:
I do not want any loop function nor 'When in chapter 1, allow the 'Prev Chapter' button to go back to the beginning of the current title' cause this way the 'prev chapter' button returns to the start of the previous ep so that I can skip back and forth between eps
This will not work (unless you have a verry strange DVD player!) Your eps are in different titlesets, so using the 'prev chapter' button to go back to the previous ep is not possible. The button will return to the previous chapter of the current title (and the beginning of the first chapter if you used the option in the 'DVDShrink Remote Buttons' macro.)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)
r0lZ is offline   Reply With Quote
Old 11th September 2004, 18:26   #10  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
I've found in my PMs the warning message you tried to attach in the first post of the thread. The message is:
Quote:
Warning: The value for "End byte of VMGI_MAT" is incorrect!
(This value is in the VIDEO_TS.IFO's VMGM_MAT at offset 0X80)
Value in file: 1323
Correct value: 1299
IfoEdit doesn't upgrade this value when you add or remove
commands in the First-Play PGC.
The correct value will be updated when you save the DVD.
This means thet either IfoEdit or TitleWriter has not set the End byte of VMGI_MAT offset value correctly. This is not a problem however: just save the DVD with PgcEdit to update the pointer to the correct value.
I think it is best to know when such errors are detected by PgcEdit, hence the warning. But most players doesn't use that value.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)
r0lZ is offline   Reply With Quote
Old 12th September 2004, 08:48   #11  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
Quote:
Originally posted by r0lZ
I have also found one problem in the logic: the Title menu actually reset the GPRM 11 to 0 before calling the PGC 2, which is the real menu. This is not what we want, so remove the first pre-command:
I did remove on all occasions but unfortunately it did not work, I did not see any button no matter how often I tried.

Quote:
I don't have the time now, but I will explain later how to import your menu as a Root menu, keeping the ability to call the next title with the Title button.
Well, I can also do a new menu in DVD Lab Pro, like I said before I only did it this way cause it was written in some guide. I'd like to keep consistency so if there's an easy way to make the title button jump between eps and the menu button return to the menu I'd like to use that.

Quote:
This will not work (unless you have a verry strange DVD player!) Your eps are in different titlesets, so using the 'prev chapter' button to go back to the previous ep is not possible. The button will return to the previous chapter of the current title (and the beginning of the first chapter if you used the option in the 'DVDShrink Remote Buttons' macro.) [/B]
MMh, when I'm at the first chapter of ep 2 these are my current options (having checked points 2-4 on your Shrink macro in PgcEdit):
  • next = ep 2, chapter 2
  • title = ep 3, chapter 1
  • prev = ep 1, chapter _1_

So when I jump to another ep with the title key I can always jump to the beginning of the previous ep (rather than it's last chapter) and so effectively move back and forth between eps even if they are in different titlesets which is very convenient. Curiuosly enough this does not work with PowerDVD 5 on my PC nor a Daytek DVD 708 but it does with 2 standalones I've tried so far.

In the meantime I'm gonna do my 4 ep template again, this time using a Root Menu. That is as soon as I find out the difference between Root Menu and Title Menu. Where can I read more about that?

The problem for is that when I do not use different VTS in DVDlab Pro but put all 4 movies under VTS 1 I end up with all 4 eps put into Vts_01_1.vob and so I cannot import this menu in my DVD Shrink rip since this one comes with Vts_01_1.vob - Vts_04_1.vob.

Last edited by Chetwood; 12th September 2004 at 11:44.
Chetwood is offline   Reply With Quote
Old 12th September 2004, 09:45   #12  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Re: not unexpected

Quote:
Originally posted by Chetwood
btw, is it possible to also highlight the next ep's button?
There is a way but at the moment, you would have to do it manually. http://forum.doom9.org/showthread.ph...310#post415310

I thought Dimad would tried to implement it but I guess he forgot about it. Maybe rolZ could try it out since he can parse the buttons info in the navpacks.

EDIT: I think using this commands will work.
http://www.dvd-replica.com/DVD/sethlbtn.php?p=10
http://www.dvd-replica.com/DVD/sethlbtn.php?p=30
__________________
2COOL

Last edited by 2COOL; 12th September 2004 at 09:52.
2COOL is offline   Reply With Quote
Old 12th September 2004, 12:50   #13  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
Correct solution

OK. This time, I think I have the solution.

First, begin by applying the "DVDShrink Remote Buttons" macro. The only option that must be checked is "Always allow the 'Title Menu' button to skip to the next title". The rest is up to you.
However, I recommand also the "At the end of the last title, automatically loop back to the first title" option. After the changes explained below, this will display the menu, with the first episode button selected.

Then, import your menu as the VMGM menu (highlighted in bold). This will replace the menu created by the DVDShrink macro, but we will create it again in step 1 below.

This is what you should have:
Code:
VMG (VIDEO_TS.IFO)
------------------

  VMG / First-Play PGC
        ********** pre commands:
        [00 A1 00 00 00 01 00 05]   1  if ( gprm(0) == 1 ".." ) then { Goto line 5 } 
        [00 A1 00 00 00 02 00 06]   2  if ( gprm(0) == 2 ".." ) then { Goto line 6 } 
        [00 A1 00 00 00 03 00 07]   3  if ( gprm(0) == 3 ".." ) then { Goto line 7 } 
        [30 02 00 00 00 01 00 00]   4  (JumpTT) Jump to Title 1 
        [30 02 00 00 00 02 00 00]   5  (JumpTT) Jump to Title 2 
        [30 02 00 00 00 03 00 00]   6  (JumpTT) Jump to Title 3 
        [30 02 00 00 00 04 00 00]   7  (JumpTT) Jump to Title 4 
        ********** post commands:
        ********** cell commands:


  VMGM / LU 1 (en):

    VMGM / LU 1 (en) / 1  Title
        ********** pre commands:
        [71 00 00 0B 00 00 00 00]   1  Set gprm(11) =(mov) 0 ".." 
        [71 00 00 0D 00 00 00 00]   2  Set gprm(13) =(mov) 0 ".." 
        [30 06 00 02 00 C0 00 00]   3  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:


    VMGM / LU 1 (en) / 2  (0:00)
        ********** pre commands:
        [71 00 00 0C 04 00 00 00]   1  Set gprm(12) =(mov) 1024 ".." 
        [71 A0 0B 0C 08 00 00 05]   2  if ( gprm(11) == 5 ".." ) then { Set gprm(12) =(mov) 2048 ".." } 
        [71 A0 0B 0C 0C 00 00 07]   3  if ( gprm(11) == 7 ".." ) then { Set gprm(12) =(mov) 3072 ".." } 
        [71 A0 0B 0C 10 00 00 09]   4  if ( gprm(11) == 9 ".." ) then { Set gprm(12) =(mov) 4096 ".." } 
        [71 A0 0B 0C 04 00 00 0B]   5  if ( gprm(11) == 11 ".." ) then { Set gprm(12) =(mov) 1024 ".." } 
        [71 A0 0B 0C 00 00 00 03]   6  if ( gprm(11) == 3 ".." ) then { Set gprm(12) =(mov) 0 ".." } 
        [00 A1 00 0C 00 00 00 09]   7  if ( gprm(12) == 0 ".." ) then { Goto line 9 } 
        [46 00 00 00 00 0C 00 00]   8  (SetHL_BTN) Set Highlighted Button =(mov) gprm(12) 
        [71 00 00 0B 00 02 00 00]   9  Set gprm(11) =(mov) 2 ".." 
        [71 00 00 0F 00 02 00 00]  10  Set gprm(15) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 0B 00 03 00 00]  12  Set gprm(11) =(mov) 3 ".." 
        [20 04 00 00 00 00 00 02]  13  LinkPGCN PGC 2 
        ********** cell commands:
        ********** menu buttons commands:
        VOB ID 1,  Cell ID 1  (First NAV pack=0)
        1 Group,  Start button=0,  Select button=0,  Action button=0
        button  1: [30 02 00 00 00 01 00 00]  (JumpTT) Jump to Title 1 
        button  2: [30 02 00 00 00 02 00 00]  (JumpTT) Jump to Title 2 
        button  3: [30 02 00 00 00 03 00 00]  (JumpTT) Jump to Title 3 
        button  4: [30 02 00 00 00 04 00 00]  (JumpTT) Jump to Title 4 



VTS 1 (VTS_01_0.IFO)
--------------------

  VTSM 1: no menu.

  VTST 1 / TTN 1  (6:41)  Title 1 - Chapters: 2,  Programs: 2,  Cells: 2 
        ********** pre commands:
        [71 00 00 00 00 01 00 00]   1  Set gprm(0) =(mov) 1 ".." 
        ********** post commands:
        [71 00 00 00 00 01 00 00]   1  Set gprm(0) =(mov) 1 ".." 
        [30 08 00 00 01 00 00 00]   2  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 2 (VTS_02_0.IFO)
--------------------

  VTSM 2: no menu.

  VTST 2 / TTN 1  (6:41)  Title 2 - Chapters: 2,  Programs: 2,  Cells: 2 
        ********** pre commands:
        [71 00 00 00 00 02 00 00]   1  Set gprm(0) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 00 00 02 00 00]   1  Set gprm(0) =(mov) 2 ".." 
        [30 08 00 00 01 00 00 00]   2  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 3 (VTS_03_0.IFO)
--------------------

  VTSM 3: no menu.

  VTST 3 / TTN 1  (8:00)  Title 3 - Chapters: 2,  Programs: 2,  Cells: 3 
        ********** pre commands:
        [71 00 00 00 00 03 00 00]   1  Set gprm(0) =(mov) 3 ".." 
        ********** post commands:
        [71 00 00 00 00 03 00 00]   1  Set gprm(0) =(mov) 3 ".." 
        [30 08 00 00 01 00 00 00]   2  (CallSS) Call the First Play PGC, resume cell 1 
        ********** cell commands:


VTS 4 (VTS_04_0.IFO)
--------------------

  VTSM 4: no menu.

  VTST 4 / TTN 1  (0:04)  Title 4 - Chapters: 1,  Programs: 1,  Cells: 1 
        ********** pre commands:
        [71 00 00 00 00 00 00 00]   1  Set gprm(0) =(mov) 0 ".." 
        ********** post commands:
        [30 08 00 00 01 00 00 00]   1  (CallSS) Call the First Play PGC, resume cell 1   ### or Exit
        ********** cell commands:
[list=1][*] We need to recreate a Title menu to be able to call the next title with the Title Menu button of the remote:
Right-click on any PGC in the VMGM domain, and select "New PGC". A new PGC is created.
Right click on the new PGC (PGC 3), and select the "Set Menu Type" function, and choose "Title menu".
Then, double-click on the pre command of this new PGC, and change it to
Code:
[30 06 00 00 00 00 00 00]   1  (JumpSS) Jump to First Play PGC

(Hint: copy the hex bytes above between (but not including) the [ and ] characters, and paste replace them in PgcEdit.)

[*] We need also the Root menus for all titles:
Right click on the Title 1 entry, and select "New Menu".
Then, change the default command to
Code:
[30 06 00 02 00 C0 00 00]   1  (JumpSS) Jump to VMGM PGC 2

Repeat this point for Titles 2, 3 and 4.
The root menus are now calling the PGC 2 of the VMGM menu, which is the real menu, with the buttons. So, calling the Root Menu when playing an episode will actually display your menu.

[*] We need to add the commands to automatically select the button that jumps to the next ep:
Select Title 1, and add a pre-command 1. Change the NOP with
Code:
[71 00 00 0B 00 05 00 00]   1  Set gprm(11) =(mov) 5 ".."

Repeat this step for title 2, 3 and 4, but with the values 7, 9 and 11 respectively:
Code:
[71 00 00 0B 00 07 00 00]   1  Set gprm(11) =(mov) 7 ".."
[71 00 00 0B 00 09 00 00]   1  Set gprm(11) =(mov) 9 ".."
[71 00 00 0B 00 0B 00 00]   1  Set gprm(11) =(mov) 11 ".."
[*] OPTIONAL: If you want the menu to be displayed upon DVD insert, then go to the First-Play PGC, and change the "Jump to Title 1" command by
Code:
[30 06 00 02 00 C0 00 00]   4  (JumpSS) Jump to VMGM PGC 2
[*] OPTIONAL: If you want to display the menu at the end of each episode (instead of playing automatically the next episode), then select the Title 1, and change the last post-command to
Code:
[30 08 00 02 01 C0 00 00]   2  (CallSS) Call the VMGM PGC 2, resume cell 1
Repeat this step for Title 2, 3 and 4. However, if you prefer to exit at the end of the last title, leave the 'Exit' command untouched.[/list=1]

Code:
VMG (VIDEO_TS.IFO)
------------------

  VMG / First-Play PGC
        ********** pre commands:
        [00 A1 00 00 00 01 00 05]   1  if ( gprm(0) == 1 ".." ) then { Goto line 5 } 
        [00 A1 00 00 00 02 00 06]   2  if ( gprm(0) == 2 ".." ) then { Goto line 6 } 
        [00 A1 00 00 00 03 00 07]   3  if ( gprm(0) == 3 ".." ) then { Goto line 7 } 
        [30 06 00 02 00 C0 00 00]   4  (JumpSS) Jump to VMGM PGC 2 
        [30 02 00 00 00 02 00 00]   5  (JumpTT) Jump to Title 2 
        [30 02 00 00 00 03 00 00]   6  (JumpTT) Jump to Title 3 
        [30 02 00 00 00 04 00 00]   7  (JumpTT) Jump to Title 4 
        ********** post commands:
        ********** cell commands:


  VMGM / LU 1 (en):

    VMGM / LU 1 (en) / 1 (dummy) - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [71 00 00 0B 00 00 00 00]   1  Set gprm(11) =(mov) 0 ".." 
        [71 00 00 0D 00 00 00 00]   2  Set gprm(13) =(mov) 0 ".." 
        [30 06 00 02 00 C0 00 00]   3  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:


    VMGM / LU 1 (en) / 2  (0:00) 4b. - Chapters: n/a,  Programs: 1,  Cells: 1 
        ********** pre commands:
        [71 00 00 0C 04 00 00 00]   1  Set gprm(12) =(mov) 1024 ".." 
        [71 A0 0B 0C 08 00 00 05]   2  if ( gprm(11) == 5 ".." ) then { Set gprm(12) =(mov) 2048 ".." } 
        [71 A0 0B 0C 0C 00 00 07]   3  if ( gprm(11) == 7 ".." ) then { Set gprm(12) =(mov) 3072 ".." } 
        [71 A0 0B 0C 10 00 00 09]   4  if ( gprm(11) == 9 ".." ) then { Set gprm(12) =(mov) 4096 ".." } 
        [71 A0 0B 0C 04 00 00 0B]   5  if ( gprm(11) == 11 ".." ) then { Set gprm(12) =(mov) 1024 ".." } 
        [71 A0 0B 0C 00 00 00 03]   6  if ( gprm(11) == 3 ".." ) then { Set gprm(12) =(mov) 0 ".." } 
        [00 A1 00 0C 00 00 00 09]   7  if ( gprm(12) == 0 ".." ) then { Goto line 9 } 
        [46 00 00 00 00 0C 00 00]   8  (SetHL_BTN) Set Highlighted Button =(mov) gprm(12) 
        [71 00 00 0B 00 02 00 00]   9  Set gprm(11) =(mov) 2 ".." 
        [71 00 00 0F 00 02 00 00]  10  Set gprm(15) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 0B 00 03 00 00]   1  Set gprm(11) =(mov) 3 ".." 
        [20 04 00 00 00 00 00 02]   2  LinkPGCN PGC 2 
        ********** cell commands:
        ********** menu buttons commands:
        VOB ID 1,  Cell ID 1  (First NAV pack=0)
        1 Group,  Start button=0,  Select button=0,  Action button=0
        button  1: [30 02 00 00 00 01 00 00]  (JumpTT) Jump to Title 1 
        button  2: [30 02 00 00 00 02 00 00]  (JumpTT) Jump to Title 2 
        button  3: [30 02 00 00 00 03 00 00]  (JumpTT) Jump to Title 3 
        button  4: [30 02 00 00 00 04 00 00]  (JumpTT) Jump to Title 4 


    VMGM / LU 1 (en) / 3 (dummy)  (Title) - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 00 00 00 00 00]   1  (JumpSS) Jump to First Play PGC 
        ********** post commands:
        ********** cell commands:



VTS 1 (VTS_01_0.IFO)
--------------------

  VTSM 1 / LU 1 (en):

    VTSM 1 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 02 00 C0 00 00]   1  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:



  VTST 1 / TTN 1  (6:41)  Title 1 - Chapters: 2,  Programs: 2,  Cells: 2 
        ********** pre commands:
        [71 00 00 0B 00 05 00 00]   1  Set gprm(11) =(mov) 5 ".." 
        [71 00 00 00 00 01 00 00]   2  Set gprm(0) =(mov) 1 ".." 
        ********** post commands:
        [71 00 00 00 00 01 00 00]   1  Set gprm(0) =(mov) 1 ".." 
        [30 08 00 02 01 C0 00 00]   2  (CallSS) Call the VMGM PGC 2, resume cell 1 
        ********** cell commands:


VTS 2 (VTS_02_0.IFO)
--------------------

  VTSM 2 / LU 1 (en):

    VTSM 2 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 02 00 C0 00 00]   1  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:



  VTST 2 / TTN 1  (6:41)  Title 2 - Chapters: 2,  Programs: 2,  Cells: 2 
        ********** pre commands:
        [71 00 00 0B 00 07 00 00]   1  Set gprm(11) =(mov) 7 ".." 
        [71 00 00 00 00 02 00 00]   2  Set gprm(0) =(mov) 2 ".." 
        ********** post commands:
        [71 00 00 00 00 02 00 00]   1  Set gprm(0) =(mov) 2 ".." 
        [30 08 00 02 01 C0 00 00]   2  (CallSS) Call the VMGM PGC 2, resume cell 1 
        ********** cell commands:


VTS 3 (VTS_03_0.IFO)
--------------------

  VTSM 3 / LU 1 (en):

    VTSM 3 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 02 00 C0 00 00]   1  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:



  VTST 3 / TTN 1  (8:00)  Title 3 - Chapters: 2,  Programs: 2,  Cells: 3 
        ********** pre commands:
        [71 00 00 0B 00 09 00 00]   1  Set gprm(11) =(mov) 9 ".." 
        [71 00 00 00 00 03 00 00]   2  Set gprm(0) =(mov) 3 ".." 
        ********** post commands:
        [71 00 00 00 00 03 00 00]   1  Set gprm(0) =(mov) 3 ".." 
        [30 08 00 02 01 C0 00 00]   2  (CallSS) Call the VMGM PGC 2, resume cell 1 
        ********** cell commands:


VTS 4 (VTS_04_0.IFO)
--------------------

  VTSM 4 / LU 1 (en):

    VTSM 4 / LU 1 (en) / 1 (dummy)  Root - Chapters: n/a,  Programs: 0,  Cells: 0 
        ********** pre commands:
        [30 06 00 02 00 C0 00 00]   1  (JumpSS) Jump to VMGM PGC 2 
        ********** post commands:
        ********** cell commands:



  VTST 4 / TTN 1  (0:04)  Title 4 - Chapters: 1,  Programs: 1,  Cells: 1 
        ********** pre commands:
        [71 00 00 0B 00 0B 00 00]   1  Set gprm(11) =(mov) 11 ".." 
        [71 00 00 00 00 00 00 00]   2  Set gprm(0) =(mov) 0 ".." 
        ********** post commands:
        [30 08 00 02 01 C0 00 00]   1  (CallSS) Call the VMGM PGC 2, resume cell 1   ### or Exit
        ********** cell commands:
I hope this is exactly what you want.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)

Last edited by r0lZ; 12th September 2004 at 13:07.
r0lZ is offline   Reply With Quote
Old 12th September 2004, 13:42   #14  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
@2COOL
In the thread you mentionned above, you wrote:
Quote:
You can try working with the "force selection button number" in the "Button highlighted information" of the nav packs. I tried it on a menu that had this set at button 0 (no highlighting) and I went and changed everything to 3 to test. When I played the menu, button 3 is now highlighted.

Then again, there may be highlight button commands residing in the PGC Command Tables that might counteract this. hmmm...
That's a good way to change the default highlighted button number. Unfortunately, this is hardcoded in the VOB file, so everytime you enter the menu you will have the same button selected.

As far as I know, selecting the button with a SetHL_BTN command in the IFOs will not work if the "force selection button number" is not 0. 0 means "do not change the highlighted button", not "no highlighting".


Also, the Dimad reply was:
Quote:
Could be the way to go. I'll add ability to change this to Menuedit.
However, I can't see this option in my (registered) version 2.3.1. And I can't find any equivalent option in DVDRemake Pro (v 2.2.3 registered)
As you said, he forgot about it.

Quote:
Maybe r0lZ could try it out since he can parse the buttons info in the navpacks.
No, sorry. PgcEdit is able to parse the VOB, but has no provisions to write it back.
However, note that changing the "force selection button number" in the first nav pack of your menu (using VOBEdit) seems to work also for animated menus. This is why I added the First NAV Pack information in PgcEdit.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)

Last edited by r0lZ; 12th September 2004 at 13:47.
r0lZ is offline   Reply With Quote
Old 12th September 2004, 15:19   #15  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
About the menu buttons not visibles on some players: you found a bug in PgcEdit 0.3.3 (and below)!

I am working to fix it.

Anyway, you can fix the problem with IfoEdit:
Load VIDEO_TS.IFO in IfoEdit, then click on the VMGM_MAT section.
At the end of the section (offset [00000155]), change the Number of Sub-picture streams in VMGM from 0 to 1.
Save.
That's all!

[EDIT:] Bug found and fixed. The new version will be available soon.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)

Last edited by r0lZ; 12th September 2004 at 16:03.
r0lZ is offline   Reply With Quote
Old 12th September 2004, 18:48   #16  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
You ROCK!

Quote:
Originally posted by r0lZ
I hope this is exactly what you want.
Man, you ROCK! This is perfect, I've tried your 0.3.4beta and it works right the way I intended. So all I gotta do is buy some DVD-RW tomorrow and try if it works on my standalones as well.

Do you think it's possible to add these few steps as a macro similar to the one you did with the DVD Shrink remote buttons, i.e. also offering several checkboxes one can choose from?

As well, I'd need one menu with only 3 eps (due to 5.1 sound and longer eps). Would PgcEdit automatically adjust the imported menu or would I have to change some lines, e.g. delete

Code:
if ( gprm(11) == 11 ".." ) then { Set gprm(12) =(mov) 1024 ".." }
manually?
Chetwood is offline   Reply With Quote
Old 12th September 2004, 19:25   #17  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
Re: You ROCK!

Quote:
Originally posted by Chetwood
Do you think it's possible to add these few steps as a macro similar to the one you did with the DVD Shrink remote buttons, i.e. also offering several checkboxes one can choose from?
This may be done, but I have to do a guide on how to create the menu before.

Quote:
As well, I'd need one menu with only 3 eps (due to 5.1 sound and longer eps). Would PgcEdit automatically adjust the imported menu or would I have to change some lines manually?
You have to build a new menu with DVDLab. The commands in the VMGM are imported as they are in the original IFOs. Furthermore, if you use the 4 eps menu, you will have a menu button that will point to nothing.
Hint: keep a backup of all your menus. You will soon have a collection usable in many cases.
However, you may use the 4 eps menu for a 3 eps DVD. The only thing important to do is to disable the button 4 with MenuEdit or DVDRemake (or VOBEdit: difficult but free).
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)

Last edited by r0lZ; 12th September 2004 at 19:32.
r0lZ is offline   Reply With Quote
Old 13th September 2004, 07:40   #18  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
some more questions

Quote:
Originally posted by r0lZ
This may be done, but I have to do a guide on how to create the menu before.
Does it necessarily have to be you? I mean, you didn't do a guide on how to rip 4 eps with DVD Shrink but still implemented your title button macro How about mentioning the one that comes with Titlewriter 1.64, it's done in Shockwave similar to those at DVDshrink.info. I'd like to contribute somehow but as you've seen with my menu my design skills suck big time (granted, it was only a rushed test but crappy nonetheless).

Anyway, I'd like to know if there's any important difference between using a Root menu and a titleset menu.

Quote:
Originally posted by r0lZ
You have to build a new menu with DVDLab.
Right, I was aware of that. What I'm wondering: is your menu import function adaptive? So that when I do a 6 button menu or a 3 button menu in DVDLab Pro and import them, it works the same? Ok, I'd have to do those optional modifications on each titleset but apart from increasing Set gprm(11) =(mov) 5 ".." to 13, 15 (menu with 6 eps) there would be no difference, right?
Chetwood is offline   Reply With Quote
Old 13th September 2004, 08:10   #19  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 5,009
Quote:
Does it necessarily have to be you? I mean, you didn't do a guide on how to rip 4 eps with DVD Shrink but still implemented your title button macro How about mentioning the one that comes with Titlewriter 1.64, it's done in Shockwave similar to those at DVDshrink.info.
A DVD reauthored with DVDShrink has always the same structure. However, if you create your menu with another program, or with DVDLab but with another method, the logic to put pieces together will be different. This is why I need a precise guide. Could you please post the link to the guide you used?

Quote:
Anyway, I'd like to know if there's any important difference between using a Root menu and a titleset menu.
The Title Menu is called by the Title button of the remote, and is global to the DVD. From a Title menu, you may jump to any title in the DVD.
The Root menus are called with the Menu button, and are local to the titleset. You may only jump (directly) to the TTNs in the same titleset. The trick described above is to use the Root menu to actually jump to PGC 2 of the Title menu, which in turn jump to the 4 eps, via the button commands.
Using a Title menu to jump to titles on multiple titlesets is the good way to go. However, you wanted also the Title button to skip to the next title, hence the difficulties...

Quote:
What I'm wondering: is your menu import function adaptive? So that when I do a 6 button menu or a 3 button menu in DVDLab Pro and import them, it works the same? Ok, I'd have to do those optional modifications on each titleset but apart from increasing Set gprm(11) =(mov) 5 ".." to 13, 15 (menu with 6 eps) there would be no difference, right?
The menu import function is not adaptive: the function just copies the commands from the IFO. But if you make a menu with 6 buttons, there will be commands to deal with the 6 buttons in the IFO as well, so it will work. The logic is the same, no matter how many eps are in the reauthored DVD.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Mirror (in Belgium)
Unofficial mirror (in Poland)
r0lZ is offline   Reply With Quote
Old 13th September 2004, 18:18   #20  |  Link
Chetwood
Registered User
 
Join Date: Nov 2001
Posts: 560
some minor glitches

I've found two minor glitches so far:
  • when I use the GOTO button on my remote, jump to the last chapter of _any_ ep and then press title, menu or skip I do return to the menu but the first button is always highlighted instead of the one of the following ep. Seems the GOTO key somehow disables the functions that do work flawlessly otherwise. Curiously enough those standalones with Mediatek chipset that do not have a seperate GOTO key on the remote but still allow to jump to a chapter by pressing it's corresponding number do not have this problem.
  • when I skip from ep 3 to ep 4 and then skip again I end up in the menu (as I should) but with button 4 highlighted instead of button 1. However when I start with ep 4 and press the title button I return to the menu and button 1 is highlighted.

Quote:
Originally posted by r0lZ
Could you please post the link to the guide you used?
I've used the file CreateAMenu.htm that comes with this version of TitleWriter, but I only used the main idea, i.e. I skipped audio and chapter selection menus. If you want I can write a small text summary for you.

Quote:
The logic is the same, no matter how many eps are in the reauthored DVD.
That's what I meant by adaptive, so that's what happens when non-native speakers use words from a dictionary without knowing their connotations
Chetwood is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:10.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.