Log in

View Full Version : Creating new ifos for episode disk: keeping titlesets?


Chetwood
26th June 2004, 15:40
Yeah, I know, some weirdo wish again but I'd thought I'd ask anyway. I accidentally deleted my source DVD from HD as well as the backup ifos of my re-authored DVD. So now I have a messed up DVD structure that I'd like to remedy by creating new ifos with Ifoedit.

I've got these files left:

VTS_01_1.VOB
VTS_01_2.VOB
VTS_02_1.VOB
VTS_02_2.VOB
VTS_03_1.VOB
VTS_03_2.VOB

which I renamed to

VTS_01_1.VOB
VTS_01_2.VOB
VTS_01_3.VOB
VTS_01_4.VOB
VTS_01_5.VOB
VTS_01_6.VOB

according to 2Cool's suggestions in some of the threads.

Now when I create ifos with Ifoedit I can play all eps in a row and I also still have all chapters of each ep but since they've all become part of one titleset I cannot use any key to jump between eps. Is there a way to achieve this?

Dimmer
27th June 2004, 03:35
Here's one solution inspired by 2Cool's guide Using Title Menu Button to Skip Titles in Re-authored DVD Shrink Movies (http://forum.doom9.org/showthread.php?s=&threadid=61238). In this case however we're going to use the Menu button instead.

Open the new VTS_01_1.IFO in IfoEdit, go to VTSM_PGCI_UT - PGC-Menu_1. IfoEdit creates an empty root menu in the new IFOs. Scroll down to the line "There is no PGC Command Table", right-click - Add PreCommand. It'll create a command table with one command (NOP); right-click on it and add more Pre Commands as required. In order to edit the commands, you'll have to double-click on them and type 8-byte hex code.

Let's assume you had 3 episodes, 2 chapters each. Now you'd have one title with 6 chapters. Ep. 1 starts at the beginning of title 1, ep. 2 starts at chapter 3, ep. 3 starts at chapter 5. Add the following commands:
PGC Command Table:
1.Pre Command Set GPreg<0> mov (set-val)<3> [71 00 00 00 00 03 00 00 ]
2.Pre Command If GPreg<0> > SPreg<PTT number (PTTN)> then (JumpVTS_PTT) Jump to Title(ttn): 1 Chapter(pttn): 3 [30 55 00 03 00 01 00 87 ]
3.Pre Command Set GPreg<0> mov (set-val)<5> [71 00 00 00 00 05 00 00 ]
4.Pre Command If GPreg<0> > SPreg<PTT number (PTTN)> then (JumpVTS_PTT) Jump to Title(ttn): 1 Chapter(pttn): 5 [30 55 00 05 00 01 00 87 ]
5.Pre Command (JumpVTS_TT) Jump to Title: 1 [30 03 00 00 00 01 00 00 ]
Commands work in pairs: first command assigns the start chapter number for ep.2, next command jumps to that chapter if ep.1 is currently playing, and so on for each episode. The very last command (Jump to Title: 1) is always the same and executed when the last ep. is playing to restart from ep.1.

I highlighted the values corresponding to the chapter numbers that you'll have to set to your own values, in this example 3 and 5. Since you have 6 episodes, you'll need to use 5 pairs of Pre commands for the ep.1-5. Insert additional command pairs after command #4. In total, you should end up with 11 commands for 6 episodes.