Log in

View Full Version : Missing IFOs on butchered DVD


CoNS
4th April 2006, 18:05
Hi guys,

I'm currently helping a friend with an old DVD backup of his. The problem is that he has "butchered" the backup pretty badly in the first place. It seems that the original disc had 14 VTS, with the main movie and the menus in the first VTS.

In order to fit the DVD onto a DVDR disc, keeping the menus, he simply deleted all the VTS_02_x - VTS_14.x files (containing extras and bonus features) in Windows Explorer!!! :eek:

Now I'm trying to blank some studio logos etc. on the disc, and hide the menu buttons pointing to deleted material. However, PgcEdit is unable to read the backup. Here're the warnings I get:

http://img326.imageshack.us/img326/9145/clipboard010co.png

http://img311.imageshack.us/img311/7744/clipboard029zo.png

http://img432.imageshack.us/img432/4116/clipboard039iu.png

...And PgcEdit gives up on loading the disc.

VobBlanker also reports the missing IFO files, but it lets me process the remaining stuff if I want. However, I would also like to edit the menu buttons using PgcEdit, so...

Running it through FixVTS doesn't change anything.

I've tried to fix it manually in IfoEdit (as suggested by the warning dialog in PgcEdit), by changing the "VMG Number of Title Sets" in VMGM_MAT in VIDEO_TS.IFO from 14 to 1. Afterwars PgcEdit doesn't give me any warnings when I open the backup, but the program hangs when reading VTS_01_0.IFO. Should I change anything else in IfoEdit?

Any other ideas on how to get the disc working? I was hoping to somehow open the disc in PgcEdit and put in some "empty" or "dummy" IFO files instead of the missing ones.

setarip_old
4th April 2006, 18:32
I'm currently helping a friend with an old DVD backup of his.Wouldn't it be far simpler to make a new backup from your friend's original, purchased "Stuart Little 2" DVD?

CoNS
4th April 2006, 18:41
Because his original, purchased Stuart Little 2 DVD has been scratched beyond repair, some time after he did the backup. (notice that this doesn't make his backup illegal, if that's what you're implying).

So, anyone else?

spyhawk
4th April 2006, 19:04
You only need to modify the 2 tables in VIDEO_TS.IFO: VMG_PTT_SRPT and VMG_VTS_ATRT. Do it in hex editor.

In VMG_PTT_SRPT, zeroes out all Titles that do not reference VTS 1. Then change the length of table to the last byte.

In VMG_VTS_ATRT, zeroes out anything relating to VTS 2-14, and change the end byte table value. I would move the VTS 1 info position to the address 0x0C, and change the VTS 1 attribute start byte to 0x0C. Do this in hex editor that changes color when modified (not hex editor in IfoEdit - it's hard to see everything).

Then Get VTS sectors. You will then have to fix all navigation errors in PgcEdit.

Surf
4th April 2006, 19:11
Hey CoNS, did you also take a Sabbath like I have or something? It's been over a six month period since I have done any backup....forgotten nearly all of it.

You may try this (http://forum.doom9.org/showthread.php?t=93291) post. I think it may help. Basically it requires you to use PGCedit to create a new DVD, then import the title(s) and the menu. Needless to tell you that you have to do some adjustments which I can't remember.

CoNS
4th April 2006, 20:13
Thanks! Those were both two very good solutions for solving the problem. :)

I tried the hex editing suggested by spyhawk, as I figured it would be easiest to try out this method first, and it worked. (However, in VMG_PTT_SRPT I had to change "Number of Title Play Maps", too, otherwise PgcEdit would still give me a warning and hang.)

I was actually able to do all the hex editing in IfoEdit, though I agree it's not the best hex editor around. But I was uncertain at which addresses (offsets) to look for the start of the VMG_PTT_SRPT and VMG_VTS_ATRT sections in the IFO files? In IfoEdit each section simply starts with address 00000000, but where does it start in the entire IFO file?

spyhawk
4th April 2006, 21:11
(However, in VMG_PTT_SRPT I had to change "Number of Title Play Maps", too, otherwise PgcEdit would still give me a warning and hang.)
Yes, I forgot to mention that after I posted. Actually, there's more to this editing than what I posted. I was in a hurry, gotta go somewhere.

I use HexEdit to change/move data around, when it's modified it changes to red color making it very easy to see what I have modified so far. I also use UltraEdit to trim the empty sectors (last portion of IFO) as a result of editing, thus reducing file size. HexEdit cannot do it. I'm sure there are other hex editors.

In VMG_PTT_SRPT, change "length of table" to 19(0x13). It references the last byte of offset 0x10. I assume there's one Title here, so change accordingly.

In VMG_VTS_ATRT, change "Number of Video Title Sets" to 1. If you have moved VTS_1 info to offset 0x0c, then Change "End byte of VTS_ATR table" to 787 (0x313). Then change VTS_1 Attribute start byte to 12(0x0c). VTS Attribute info is consisted of 308 bytes. Since you have 14 VTSs, the table length will span more than 1 sector (0x800 = 2048 bytes). If there's info in the last 3 tables, I usually move them up to one sector after VMG_VTS_ATRT. This will require trimming unreferenced sectors, and then modifying the start offset of the tables in VMGM_MAT, last sector of VMGI, and start sector of VMGM_VOBS. BUT let's leave the tables where they are for now. We'll see if Get VTS Sectors fixes it.

Also, in VMGM_MAT, change "VMG Number of Title Sets" to 1. Now Get VTS Sectors. Hopefully PgcEdit won't complain much.

CoNS
4th April 2006, 21:26
That's exactly how I ended up editing it, and it works like a charm! Thanks again.

I use HexEdit to change/move data around, when it's modified it changes to red color making it very easy to see what I have modified so far. I also use UltraEdit to trim the empty sectors (last portion of IFO) as a result of editing, thus reducing file size. HexEdit cannot do it. I'm sure there are other hex editors.But if I had used HexEdit or UltraEdit to do it, how would I know at what addresses the VMG_PTT_SRPT and VMG_VTS_ATRT sections start in the IFO files? (other than to do a search for a specific sequence of bytes, which I read in IfoEdit?)

spyhawk
4th April 2006, 21:35
You need a calculator for this. Multiply start offset of table by 0x800, you'll get to the beginning section of table.

r0lZ
5th April 2006, 00:03
IMO, the method suggested by Surf is really simpler. Just a few mouse clicks, and it's OK! If you reimport also the menus, don't forget to copy the original commands in the FP-PGC.

Another method, if you don't need the menus: import the main movie in DVD Shrink in reauthor mode, and generate a new DVD. (You will have to use the DVD browser available in reauthor mode, since Shrink will not allow you to open a butchered DVD from the file menu.)