Log in

View Full Version : Modify pre command in VIDEO_TS.IFO


nicolati
15th June 2004, 21:24
Hi guys, I wanted to modify a pre command in VIDEO_TS.IFO to jump to VTS_01_0.VOB root menu. I understood that the line 30 06 00 01 01 83 10 10 is 30 for TitleSet target, 06 the the JUMP, 00 for the VideoTitleSet 1, 01 for the Title (ttn) 1, 83 perhaps for the root menu target, and 10 10 I don't know. Now I want to make target the second vob id (VOBID 2) of the root menu, because there there's the ITALIAN menu. It, on the contrary, starts at VOBID 1, where there is the ENGLISH menu.
Sorry for my english.
Bye
nicolati

Dimmer
15th June 2004, 21:33
Why don't you try using IfoEdit and its capability to edit some of the commands with a right-click. You won't have to bother with hexadecimal codes.

nicolati
15th June 2004, 23:37
Yes, I use IfoEdit, but it uses hexadecimal codes for these things. How do I use it to not use hexadecimal codes???
Bye
nicolati

Dimmer
16th June 2004, 02:12
Originally posted by nicolati
Yes, I use IfoEdit, but it uses hexadecimal codes for these things. How do I use it to not use hexadecimal codes??? You have to click on the command with right mouse button (not left button!). A menu with the Edit option will appear.

r0lZ
16th June 2004, 02:21
The 10 10 at the end of your hex command are illegal values.

There are only used if there is an IF test in the command. If a comparison exists, the first hex digit of the 2nd byte must be non zero: this is the comparison operator. And the two last bytes are the register values used in the comparisons: 00 to 0F for the gpmrs, 80 to 97 for the sprms. In any case, 10 10 are irrelevant.

For example:

30 06 00 01 01 83 00 00
Jump to VTS 1, TTN 1, Root Menu.

30 26 00 01 01 83 05 86
if gprm(5) == sprm(6) then Jump to VTS 1, TTN 1, Root Menu.


Try PgcEdit to see :)

nicolati
16th June 2004, 09:51
With the "Edit" command of ifoedit, it results 30 06 00 01 83 00 00. It's OK for me, because I don't want to create an if condition; but even with the "Edit" command I can't say it that have to go to VOBID 2 in the root menu.
I will try pgcedit.
Bye.
nicolati

nicolati
16th June 2004, 10:34
I tried PGCEdit. It's a very good program, but I don't know what means GPRM and SPRM commands. There are many of these commands. Now, however, the problem moves to TitleSet menu (VTS1), because the VGM menu links only to videotitleset root menu. Now this menu has VOBID 3, but WinDVD initially plays VOBID 1 and in the root menu there aren't pre commands that say to do this thing. There are only these pre commands (taken by PGCEdit):
{20 A4 00 0E 00 02 00 17}
{20 A4 00 03 00 64 00 08}
{20 A4 00 03 03 E8 00 09}
{20 A4 00 03 01 4D 00 07}
{61 00 00 01 00 81 00 00}
{79 00 00 01 00 03 00 00}
{61 00 00 02 00 82 00 00}
{79 00 00 02 00 47 00 00}
{20 06 00 00 00 00 04 01}
The player plays VOBID1 --> VOBID3, instead I wants to play VOBID2 --> VOBID4. But, however, the root menu is VOBID3 (PGC 1).

Dimmer
16th June 2004, 22:01
When you say "VOBID", you probably refer to something else like a menu PGC; I can't figure that out. Anyway, here is the link (http://www.dvd-replica.com/DVD/vmcmdset.php) to an on-line hex code generator for any DVD command. I recommend reading all other info on that site, it's very useful for learning the DVD authoring.

nicolati
17th June 2004, 11:08
Thanks. I will try this link. But that I don't know is the value of the registry GRPM. However, as first pre command of the root menu, there is:
if ( gprm(14) == 2 ".." ) then { LinkPGCN PGC 23 }
I want to make true this line (is the first line of the root menu), so it links to the italian menu.
Bye.
nicolati

Dimmer
17th June 2004, 13:51
if ( gprm(14) == 2 ".." ) then { LinkPGCN PGC 23 }
I want to make true this line (is the first line of the root menu), so it links to the italian menu. Right-click on this command and select Edit. Then select LinkPGCN from the list. Set PGC to 23. Click OK.

nicolati
17th June 2004, 13:55
Then is it without the IF condition ???
Bye
nicolati

Dimmer
17th June 2004, 14:14
That's right.

nicolati
17th June 2004, 14:20
Sorry, but it doesn't function. It always loads the English root menu. I have an idea: can I set another PGC menu as Root menu???
Thanks a lot.
Bye
nicolati

Dimmer
17th June 2004, 14:36
You can, but I wouldn't recommend this because it might affect other DVD functionality. Look into VTSM_PGCI_UT table if you wish.

nicolati
17th June 2004, 15:45
OK. The idea was: I remove the English menu with IfoEdit. Then the root menu becomes without cells, programs, PGCs and VOBIDs, then WinDVD skips this and goes directly to the film. Now, I sets as root menu another PGC. However in the DVD there aren't any VideoTitleSet after VTS1.
Bye.
nicolati