Log in

View Full Version : Option to remove "never called PGC"


FilipeAmadeuO
30th November 2006, 21:15
Is there in PGCEdit any option to remove the never called PGC´s ?
They are not used so why not remove them and remap if necessary ?

setarip_old
1st December 2006, 00:32
Hi!

I don't know if it's available directly in PGCEdit (another poster will likely come along and answer that specifically), but that can be addressed by "FixVTS" by itself, or in conjunction with the "RipIt4me" package...

jsoto
1st December 2006, 00:40
Hi!
I don't know if it's available directly in PGCEdit (another poster will likely come along and answer that specifically), but that can be addressed by "FixVTS" by itself, or in conjunction with the "RipIt4me" package...
I think "never called PGCs" are detected by PGCEdit, but not by FixVTS. It detects unreferenced cells, but doesn't analyze the VM commands (including menu buttons and BOV) to detect if a PGC is called or not.
RipIt4me analyzes the VM commands, but it is oriented to detect the tiny and crappy cells of some protection schemes. AFAIK, it isn't able to detect "never called PGCs". Is it?

jsoto

zacoz
1st December 2006, 00:44
If you wish to remove Unreferenced cells, then you could use FixVTS (http://download.videohelp.com/FixVTS/) which can be installed and added to the Tools menu option and called directly from PGCEdit.

The flip side are however Referenced cells that are never played. These can't automatically be identified as they rely on fully tracing all possible paths through a DVD - a very manual and timeconsuming process. As recently identified in "Cars" a cell may appear to be never played, however could be played if only called via a second/third set of buttons in a cell (which PGCEdit currently cannot display).

Edit: My bad, PgcEdit does have function (Info --> Find Never Called PGC's) - it's probably been there most of the time I've been using it too - Apologies r0lZ.

blutach
1st December 2006, 05:30
Coming in version 8, so you are a mindreader Filipe! :) The latest beta works very well IMO and r0lZ might post it.

DVD Remake Pro (http://www.dimadsoft.com/dvdremakepro/index.php) can do this on a PGC by PGC basis.

Regards

r0lZ
1st December 2006, 08:42
I confirm that I have added a "Remove uncalled PGCs" function, and a couple of other functions to manually remap the PGCs of any domain, and to renumber the TTNs of a title domain.

Remove uncalled PGCs is fully automatic. The VM commands are automatically fixed. All uncalled PGCs are removed, except when the uncalled PGC is the last one of a title domain (because, of course, you cannot remove it without removing completely the titleset. You can however manually remove the titleset with "Remap Titlesets" and "Delete last VTS in DVD".)

Also, if a SPRM 4, 5, 6 or 10 is used somewhere in the DVD, I have no way to be sure that the navigation will not be broken after the operation. Therefore, those SPRMs are searched automatically by the function, and if at least one is found, a warning is issued before applying the function. You can decide to continue anyway, or display the list of commands containing those SPRMs, to evaluate if they are harmless or if it is easy to fix the navigation manually after the remapping. Lucilly, very few commercial DVDs use those SPRMs.

This function is still in beta phase, but if you want to test it (at your own risk), you can download PgcEdit v8.0 beta 1 (Windows version) (http://home.tiscali.be/debie.roland/pgcedit/beta/PgcEdit_winexe_8.0beta1.zip). Please let me know if you find a bug.

See the history (in the help menu) for the other changes.

blutach
1st December 2006, 09:36
Guide to using new functions in version 8 (http://www.digital-digest.com/~blutach/pgcedit_guide/remapping/PgcEdit_Advanced_Functions.htm)

Regards

zacoz
1st December 2006, 10:20
Just tested out the "Remove uncalled PGC's" function and must say I love it - cleans disc up nicely.

Disc I tested was Cars, which aparently has a second set of buttons (http://forum.doom9.org/showpost.php?p=908258&postcount=13) (unsupported by PGCEdit), used to access an Easter Egg. It was however strange that PGCEdit didn't provide warning about 2nd set of buttons when opening the Disc or Editing the offending PGC (which I thought it did).

As I expected therefore, the button now no longer correctly links to the Easter Egg, although the Easter Egg does remain on the disc.

Guess this raises some questions:
- should there have been a warning about 2nd button set?
- should "Remove uncalled PGC's" function have worked on the Easter Egg?
- If not, should / does it give warning when it knows there are 2nd button sets.

Sorry, but I can't recall which other of my discs have 2 button sets to test further.

Also, a cosmetic type of comment. The function identified several VTS_xx_0.VOB which was not required, and prompted with:

Warning: there is an old VTS_08_0.VOB in your DVD folder.
What do you want to do?
[Backup file] [Delete file] [Leave it there]

Wondering if the wording should be along the lines of "Warning: VTS_xx_0.VOB is now obsolete and can be removed. What do you want to do?"

It's probably just me, but the bit about "old" threw me initially, until I checked the log to confirm that the function had been working on this VTS.

r0lZ
1st December 2006, 11:00
Just tested out the "Remove uncalled PGC's" function and must say I love it - cleans disc up nicely.
Thanks for the test and the positive feedback. :)

Disc I tested was Cars, which aparently has a second set of buttons (http://forum.doom9.org/showpost.php?p=908258&postcount=13) (unsupported by PGCEdit), used to access an Easter Egg. It was however strange that PGCEdit didn't provide warning about 2nd set of buttons when opening the Disc or Editing the offending PGC (which I thought it did).

As I expected therefore, the button now no longer correctly links to the Easter Egg, although the Easter Egg does remain on the disc.

Guess this raises some questions:
- should there have been a warning about 2nd button set?
- should "Remove uncalled PGC's" function have worked on the Easter Egg?
- If not, should / does it give warning when it knows there are 2nd button sets.

Sorry, but I can't recall which other of my discs have 2 button sets to test further.That's right. I have to add some kind of tests.
Note that multiple-sets of BOVs are checked only if you tick the option in the Find BOVs dialog. Anyway, I forgot the warning in this case.

Also, a cosmetic type of comment. The function identified several VTS_xx_0.VOB which was not required, and prompted with:

Warning: there is an old VTS_08_0.VOB in your DVD folder.
What do you want to do?
[Backup file] [Delete file] [Leave it there]

Wondering if the wording should be along the lines of "Warning: VTS_xx_0.VOB is now obsolete and can be removed. What do you want to do?"

It's probably just me, but the bit about "old" threw me initially, until I checked the log to confirm that the function had been working on this VTS.No, you're right. I don't like that message neither. However, it is displayed by a function that is used by several procedures. I'll verify if I can change the message without problems in all cases, but that should be possible.

[EDIT:] Just verified my code, and it is true that the function that display this message is used by many functions. However, I think it is safe to change the message, and remove the Warning. So, I have changed it to "VTS_xx_x.VOB should be removed from your DVD folder. What do you want to do?". It is now more suitable (and still sufficiently vague to be acceptable by all calling functions), and less intimidating.

zacoz
1st December 2006, 11:07
Note that multiple-sets of BOVs are checked only if you tick the option in the Find BOVs dialog. Anyway, I forgot the warning in this case.
Just to confirm for you, option was checked in Find BOVs dialog.

kumi
1st December 2006, 11:22
Wow, what a juicy changelog. Great work as always r0lZ.

blutach
1st December 2006, 13:09
Yes, thanks heaps r0lZ :)

Regards

President
5th December 2006, 09:37
PgcEdit v8.0 beta 1 (Windows version). Please let me know if you find a bug.
Hi, all.
Oh! At last! Thank's, Roland! Again and again. The new functions seems works perfect. But, I found this:
http://img151.imageshack.us/img151/5059/errormm5.th.jpg (http://img151.imageshack.us/img151/5059/errormm5.jpg)
If I open a FP_PGC, change nothig or something into (not important) then click "Ok" I get this error.

Also, the same error appear when I called a timemap plugin in empty program (without DVD loading).

Thank's.

r0lZ
5th December 2006, 10:31
Thanks for the bug repport, President.
It's a stupid bug. I have just fixed it. :)