Log in

View Full Version : PgcEdit 0.5


Pages : 1 2 3 [4] 5 6 7 8 9 10 11

zacoz
9th April 2005, 14:51
Thanks, was looking on Belgium site just now, but obviously Videohelp site earlier. Will go and pretend I know what I'm doing now and fiddle with some more menu's.

Tobii
9th April 2005, 14:55
The problem with the uninstall option is clear.Thanks! :)
The other problem, with the backup option unfortunately not.
------------------------------------
Error: can't read "::dvddir": no such variable

can't read "::dvddir": no such variable
can't read "::dvddir": no such variable
while executing
"file join $::dvddir PgcEdit_backup"
(procedure "::main::move_backup" line 6)
invoked from within
"::main::move_backup"
(menu invoke)
------------------------------------

r0lZ
9th April 2005, 14:57
Originally posted by CoNS
Ahh, ok, then I guess it's a bad idea to blank or remove the first cell as I've already done?!! I want to get rid of the warning (the "intro" in the cell), so perhaps I should cut the playback of that cell using VobBlanker instead of removing the cell in PgcEdit? Can VobBlanker do that?

EDIT: Hmmm, when I try playing the disc in my software player after simply removing the first cell, it seems to play fine anyway, with the menu and all?

Usually, these warnings have their own cell, PGC or even VTSM or VTST. This is actually the first time I've seen a warning (playing 17 seconds) being the first part of some video played ending up with a menu - all in the same cell. If you remove the first cell, you should also remove the 2nd pre command:
2 if ( gprm(4) == 1 ) then { LinkPGN Program 2 }
Or you may get an error when the playback comes back to this PGC.

You may also replace the cell with VobBlanker, or change it to the second one with PgcEdit: click on the VOB/Cell ID button in the cell list, and assign it VOB ID 3 and Cell ID 2. This way, the first cell will be exactly like the second one.

This kind of authoring is not as unusual as you think. I've seen many cases where an intro lead directly to the first part of the menu. The 2nd cell is used afterwards, to skip the intro when you come back to the menu.
The fact that a warning is included in the intro is not usual, but I've already found that in some DVDs.

r0lZ
9th April 2005, 14:59
Originally posted by Tobii
The problem with the uninstall option is clear.Thanks! :)
The other problem, with the backup option unfortunately not.
------------------------------------
Error: can't read "::dvddir": no such variable

can't read "::dvddir": no such variable
can't read "::dvddir": no such variable
while executing
"file join $::dvddir PgcEdit_backup"
(procedure "::main::move_backup" line 6)
invoked from within
"::main::move_backup"
(menu invoke)
------------------------------------
Grrr! OK, I'll fix this one too...

Oh, I understand: you change the option when there is no DVD loaded in PgcEdit, no? I forgot this case! Easy to fix...

zacoz
9th April 2005, 15:04
Saw a post or guide earlier, that mentioned activating the option "Automatically renumber GOTO's upon cmds insert/delete?"

I understand why, however an wondering if there are problems having this activated all the time, eg a clash with some of the builtin macro's ? I gather there must be some reason for it not being activated by default.

r0lZ
9th April 2005, 15:10
No, it is safe to leave it ON.

However, I don't set it ON by default because I want that the user read the warning when the option is turned ON.
Also, old versions of PgcEdit did not have this option, and I don't want to change the behaviour of the editor if the user is not aware of the change.

Tobii
9th April 2005, 15:11
Oh, I understand: you change the option when there is no DVD loaded in PgcEdit, no? I forgot this case! Easy to fix...

This is right. I always adjust my options at the first one at once. I say thanks. :)

jeanl
9th April 2005, 17:44
Originally posted by CoNS
The animated series is quite good, actually... It's for my kids, but it brings back memories for me, too, as I used to read the comic books when I was a kid myself. :)
CoNS, totally OT, sorry: where did you find these? Here in the US they don't seem to be available on DVD... :(
jeanl

CoNS
9th April 2005, 18:33
jeanl, yep it's OT, so I sent you a pm about it! :)

blutach
11th April 2005, 02:30
Have lost file associations. I usually have BUPs associated with PgcEdit and they are somehow, no longer associated and ticking the option doesn't work.

EDIT: Have got it to work, but had to manually insert the icon. You still might want to look into this r0lZ :)

Regards

r0lZ
11th April 2005, 09:21
Well, the file associations under Windows are verry difficult to understand!
I have verified what's happening when you create a new association with the install option of PgcEdit, but another association already exists: the new association is correctly made, but the icon is not changed. I can't find a way to restore the icon easily.

The problem is that PgcEdit do not steal the file association for his own use. Therefore, if another program has created (or stealed) the file association, the defaults for that program will remain, except the options that are explicitely changed by PgcEdit (the "Open with PgcEdit" command, and, optionally, the "open" command.)

There is a trick to restore the association to the defaults:
Open the "Folder Options" control panel, go to the "File Types" tab, and select the .BUP (or .IFO) entry. Click the "Delete" button, and accept the warning. Then, create the extension with PgcEdit again. This time, the PgcEdit icon should be visible.
Take care: this method will remove the "play" command that is normally created by the DVD players. However, you will still be able to launch the player with the "Open with" submenu.

blutach
11th April 2005, 10:18
Well, what I did was not quite that. I did use folder options and simply modified the icon to the one that was in PgcEdit 5.2B4. Strange that it got lost between 5.2 and 5.1.

All's well that ends well.

Regards

blutach
14th April 2005, 10:51
Little bug in 5.2B4

1. It always says I have changed the menu, even when I haven't and offers to save.

2. The calculation of the new macro (Fix stream numbers in VMGM/VTSI_MAT etc), is different to 5.1 (and incorrect IMHO).

Regards

r0lZ
14th April 2005, 11:27
Originally posted by blutach
Little bug in 5.2B4

1. It always says I have changed the menu, even when I haven't and offers to save.Strange. I can't reproduce this problem.
Note that PgcEdit will say that the menu has changed until you save it. For example, if a menu is edited, then the DVD is saved, but you cancel the offer to save the buttons, the next time the DVD will be saved, you will be prompted again to save the buttons. That's normal: the flag 'menu modified' is resetted only when the buttons are saved.
Is it what you experienced?

2. The calculation of the new macro (Fix stream numbers in VMGM/VTSI_MAT etc), is different to 5.1 (and incorrect IMHO).Right. It's a bad edit (human error). It's fixed now.

blutach
14th April 2005, 11:45
I didn't cancel the offer but it keeps on asking me if I want to save the menu cos it's been altered. I will check it out a bit more and repost.

Regards

CoNS
14th April 2005, 22:55
r0lZ, you must be running out of ideas & notes on your todo list by now :D

A feature request:

The Nero Reallocation error is an annoying bugger, which keeps popping up once in a while, probably for many users out there. The problem is either 1) a VTS sector correction or 2) a removal of all VTSM (and/or VMGM), which have empty menu PGCs (no buttons and playback time 0:00) and which aren't marked as dummy PGCs.

PgcEdit can already fix both, if the user knows how to do it! How about an automatic check for these two issues with a confirmation box asking if it should be corrected, executed when a disc is loaded in PgcEdit?

selyb
15th April 2005, 08:04
I am using 5.1 release

Bug?
When i have a dvd open and i open another, i always get this or similar error messageError: can't read "::menus(0,1,lang)": no such variable

can't read "::menus(0,1,lang)": no such variable
can't read "::menus(0,1,lang)": no such variable
while executing
"set label "$label , LU $lu ($::menus($vts,$lu,lang))""
(procedure "pgc_label" line 48)
invoked from within
"pgc_label "" $type $vts $lunum $pgcnum"
(procedure "::main::display_pgc" line 12)
invoked from within
"::main::display_pgc menu 0 1 3"
("eval" body line 1)
invoked from within
"eval $cmd"
(procedure "::main::selector_launch_cmd_click" line 7)
invoked from within
"::main::selector_launch_cmd_click .mf.f2.selector ::main::cmdslist"
(command bound to event)


Bug?
if i use 'Enable Remote Navigational Buttons' macro with FirstPlay highlighted and choose 'Apply to all PGC's of the current domain' i get this error and i have to close PGCEdit to get rid of the Enable Remote Navigational Buttons' screen
Error: can't read "binarystring": no such variable

can't read "binarystring": no such variable
can't read "binarystring": no such variable
while executing
"string range $binarystring $start_offset [expr $start_offset+$length-1]"
(procedure "get_int" line 3)
invoked from within
"get_int ::pgcs($vts,$pgc,header) 0x9E 2"
(procedure "::macros::nav_buttons" line 193)
invoked from within
"::macros::nav_buttons"
(menu invoke)

Request: when i open a dvd and use trace mode, then open a new dvd and use trace mode, i would like it to automatically eject
did that make sense?

if i open a dvd and then change to trace mode, it automatically resets all gprm/sprms and highlights FirstPlay
then i open a new dvd and change to trace mode (if not there already) and the gprm/sprms are still the same values as they were for the first dvd and the position does not move

Request: macro to replace all '=(mov) sprm(13:Parental level)' with '=(mov) 15'

Edit:oops, that was meant to say 5.1 release

r0lZ
15th April 2005, 08:44
Originally posted by CoNS
r0lZ, you must be running out of ideas & notes on your todo list by now :D

A feature request:

The Nero Reallocation error is an annoying bugger, which keeps popping up once in a while, probably for many users out there. The problem is either 1) a VTS sector correction or 2) a removal of all VTSM (and/or VMGM), which have empty menu PGCs (no buttons and playback time 0:00) and which aren't marked as dummy PGCs.

PgcEdit can already fix both, if the user knows how to do it! How about an automatic check for these two issues with a confirmation box asking if it should be corrected, executed when a disc is loaded in PgcEdit? 1) is already supported, as PgcEdit do a Get VTS Sectors when saving.

2) Is not a bad idea. A warning in this case should be good, but there are tons of other warnings to add as well. One thing in the TODO list is to globally improve the errors detection mechanisms.
But don't expect that soon, as I need to take some distance with PgcEdit, at least during the springs and summer.

Also, I want to try to do a Preview for Unix and Mac users, and that is now my priority.

r0lZ
15th April 2005, 09:01
Originally posted by selyb
I am using 5.2 release

Bug?
When i have a dvd open and i open another, i always get this or similar error messageError: can't read "::menus(0,1,lang)": no such variable

can't read "::menus(0,1,lang)": no such variable
can't read "::menus(0,1,lang)": no such variable
while executing
"set label "$label , LU $lu ($::menus($vts,$lu,lang))""
(procedure "pgc_label" line 48)
invoked from within
"pgc_label "" $type $vts $lunum $pgcnum"
(procedure "::main::display_pgc" line 12)
invoked from within
"::main::display_pgc menu 0 1 3"
("eval" body line 1)
invoked from within
"eval $cmd"
(procedure "::main::selector_launch_cmd_click" line 7)
invoked from within
"::main::selector_launch_cmd_click .mf.f2.selector ::main::cmdslist"
(command bound to event)
Hum. I can't reproduce this bug. However, I'll try to fix it.
Could you describe exactly what you are doing? And please send me the IFOs of 2 DVDs which caused that problem. Thanks.


Bug?
if i use 'Enable Remote Navigational Buttons' macro with FirstPlay highlighted and choose 'Apply to all PGC's of the current domain' i get this error and i have to close PGCEdit to get rid of the Enable Remote Navigational Buttons' screen
Error: can't read "binarystring": no such variable

can't read "binarystring": no such variable
can't read "binarystring": no such variable
while executing
"string range $binarystring $start_offset [expr $start_offset+$length-1]"
(procedure "get_int" line 3)
invoked from within
"get_int ::pgcs($vts,$pgc,header) 0x9E 2"
(procedure "::macros::nav_buttons" line 193)
invoked from within
"::macros::nav_buttons"
(menu invoke)That's right. A check is missing here. Note that it doesn't make sense to apply this macro to the FP-PGC domain. Easy to fix anyway...
[EDIT:] Fixed.


Request: when i open a dvd and use trace mode, then open a new dvd and use trace mode, i would like it to automatically eject
did that make sense?

if i open a dvd and then change to trace mode, it automatically resets all gprm/sprms and highlights FirstPlay
then i open a new dvd and change to trace mode (if not there already) and the gprm/sprms are still the same values as they were for the first dvd and the position does not moveRight. I remember I've done it intentionally, because I wanted to be able to reopen the same DVD or to restore the backup without loosing the trace state. But maybe it needs to be improved, and if I detect that a different DVD is opened, then reset the trace mode. I will see if it's feasible.
[EDIT:] Done.


Request: macro to replace all '=(mov) sprm(13:Parental level)' with '=(mov) 15' If I do a macro like that, I will do a full 'search and replace' tool, able to search and replace everything. But it's difficult to do.
For now, I use this trick: start the search. Edit manually the first occurence, and copy the edited command to clipboard. Search again, and just use 'paste replace' when a new occurence is found. It's easy and quick.

voo_doo99
15th April 2005, 21:14
New "Play All" Title
Could someone explain this feature and typical usage?
Thanks.

r0lZ
15th April 2005, 22:06
The Play All macro will create a new PGC in the current title domain, and a new title number in the table of titles of the VMG.
The PGC attributes (VM commands, color table, streams attributes...) will be cloned from the current PGC.
In the new PGC, all cells referenced by the other PGCs of the current domain are added, so that, if you play the new title, you will see all the contents of the other PGCs in sequence (hence the 'Play All' name.)

This function may be used on episodic DVDs, to create a new title with all episodes joined together. Of course, it works only if all episodes are in the same domain.

You may also use it to compile some cells of the domain: just delete the cells you don't want in the new Play All PGC.

Note that nothing is done to actually call the new PGC. If you want, you must edit a menu and maybe some PGCs to be able to call it. But you may always use the remote to select the title manually.


For the advanced users, there is also a tricky 'backup' usage of this function: If you want to delete or reassign some cells in a PGC, you must take care that a deleted or reassigned cell will be unreferenced, and therefore inaccessible anymore.
It is for example impossible to swap a cell in one PGC with another one in another PGC, because when you will accept the first changes in the PGC editor, the original cell will be unavailable, and you will not be able to assign it in the other PGC. But if you use the Play All macro before doing the swap, all cells will still be referenced (because they are re-referenced anyway in the play all PGC). After the swap, you may safely delete the play all PGC, if you don't need it anymore. (You may use also the 'Clone PGC' macro for this 'backup' usage.)

r0lZ
16th April 2005, 13:13
PgcEdit 0.5.2 released
Added a Configuration option in the virtual player setup to load the PGN (Program number) instead of the PTTN (Chapter number) in SPRM 7. Many software and hardware players are not standard compliant on this point.
Added Export and Import options to save and load the color lookup table of the current PGC in the PGC Editor. File format: raw YCrCb color table (64 bytes, with leading 0 before each color) or RGB colors in ASCII format.
The import function can also import the colors from a Muxman project, or from a VTS IFO file (the colormap of the first PGC is used).
Added an option to display the popup menus when the right mouse button is released instead of pushed. This option is not recommended, though.
Added an option to store the PgcEdit_backup in the root folder of the DVD instead of in the VIDEO_TS folder. Useful to launch programs that doesn't work if there are illegal files in VIDEO_TS (like WinDVD).
Added File->Incremental Backup. Renames the current PgcEdit_backup folder (adds the modification time and date), and creates a new PgcEdit_backup.
A warning is issued when entering the menu buttons viewer if several sets of menu buttons are found in a cell. Currently, PgcEdit handles only the first set. A new option to optionally scan for multiple sets of BOVs has also been added in the 'Scan for BOVs' dialog, and the scanning for sets of buttons is optimized for speed.
Multiple errors messages when parsing the VOBs for menu buttons are now suppressed. Take care: one error message means that the whole VOB is not correctly parsed!
When saving buttons or BOVs, the original highlight status is left unchanged so that the animated highlights (for example, in Spiderman) will now still be animated.
File->Delete Backup(s) is able to delete the backups created by PgcEdit, VobBlanker, MenuShrink and Windows (Copy of ...), including incremental backups. TitleSetBlanker backups are not supported anymore.
Burn DVD: Excludes the backups PgcEdit_backup*, VobBlanker_backup*, MenuShrinkBackup* and "Copy of *" from the compilation.
Better error trapping for file I/O errors (copy, delete, rename, makedir). Now, a dialog pops up, allowing to retry the operation.
Thanks to the demo version of the Tcl DevKit, the code is now a little bit optimized, and a couple of potential bugs have been fixed.
The last VTS's title domain BOVs were never saved. Fixed.
"Can't read "::buttons::butsinfo(*,hlendtime)": no such element in array" (and selendtime) errors when a new button was created are now fixed.
The total number of menu buttons or BOVs displayed in the PGC selector label was not updated after a Remove Cell. Fixed.
Trace: When in a button command, LinkNextCell linked to the current cell, and LinkPrevCell linked to the current cell -2. Fixed.
Fixed a little bug in the "Options/Install/Associate PgcEdit with IFO (or BUP) Files", when the association was already present, but was blank.
Problem deleting the DLLs in the bin directory when uninstalling PgcEdit is now partially fixed. You will need to delete them manually.
Please note: DVD Decrypter 3.5.4.0 (as well as 3.5.3.0) has a bug when burning ISOs with some burners or medias. If you get an "Unable to recover TOC" I/O error after the completion of the burn, don't blame PgcEdit! I have tested a private beta release of DVD Decrypter, and this problem is now fixed. Please use DVDD 3.5.2.0 or wait for the next version!

lark
16th April 2005, 14:35
thx for the great news.

would it be a big task to add a macro that would delete all pre-, post-, and cell-commands from all unreferenced PGCs?

btw i think you mean 3.5.4.0 and 3.x.y.z below

regards
t :)

Originally posted by r0lZ
Please note: DVD Decrypter 0.5.4.0 (as well as 0.5.3.0) has a bug when burning ISOs with some burners or medias. If you get an "Unable to recover TOC" I/O error after the completion of the burn, don't blame PgcEdit! I have tested a private beta release of DVD Decrypter, and this problem is now fixed. Please use DVDD 0.5.2.0 or wait for the next version!

r0lZ
16th April 2005, 14:46
Originally posted by lark
btw i think you mean 3.5.4.0 and 3.x.y.z below
Right! Sorry, I am so used to type in 0.5... that I did not realize the mistake. I have edited the post. Thanks!

A macro to delete the VM commands in unused PGCs? Is it really needed? They doesn't hurt! And, if, for some reason, a PGC is marked as unreferenced while it is not, deleting the commands will broke the navigation.
Anyway, for the moment, my priority is to implement a preview for Linux. Please remind me later...

bourtzovlakas
16th April 2005, 15:02
Please note: DVD Decrypter 3.5.4.0 (as well as 3.5.3.0) has a bug when burning ISOs with some burners or medias.

Anyone in particular???
There is a certain issue with the ASUS DVD-E616P2...
Are there any other drives, you are aware of???

r0lZ
16th April 2005, 15:08
Originally posted by bourtzovlakas
Anyone in particular???
There is a certain issue with the ASUS DVD-E616P2...
Are there any other drives, you are aware of??? I have experienced some problems with my old Pioneer, and Verbatim medias. See this thread (http://forum.dvddecrypter.com/index.php?showtopic=19771) for details.

selyb
16th April 2005, 17:04
Originally posted by r0lZ
Hum. I can't reproduce this bug. However, I'll try to fix it.
Could you describe exactly what you are doing? And please send me the IFOs of 2 DVDs which caused that problem. Thanks.
If you can't reproduce this very easily then i doubt you will be able to do it with any ifos i send you
this happens to me every time that i open a dvd while one is already open
if i use the "Open DVD" command under File or if i use the "Open DVD" button on the toolbar and even if i open the same dvd that i already had open i get the error message
BUT: if i use the "Reopen DVD" button or menu command, i do NOT get the error
i had a problem before (an error message using MPClassic) that you could not reproduce
i am willing to bet that these have something to do with my setup
check this out:
I have Windows XP SP2 installed into C:\win\
Program files folder is C:\PF\
Common Program Files is C:\PF\Common\
My Documents is E:\Stuff\
Profiles Dir is C:\DAndS\
PgcEdit is installed to E:\Programs\Authoring\
MPC is installed to E:\Programs\MPC\
i believe i never did use any of the 'install' options included in PgcEdit

i will email you some ifos anyway just in case it might help

Request: Option to name Incremental backups as a number instead of the date
e.g. PgcEdit_Backup_1

Request: Menu command to restore from a list of current Incremental Backup folders

Request: When using "Popup menus on right mouse button released?" option, select the item current underneath the mouse when the button is pressed

right now what it does is nothing when i press the right button, then when i release, it selects the item and pops up the menu
i would like it to select when i press the button and pop up the menu when i release

i have written some small apps in VB and some VBS so i underestand that you can only do what you can do so please do not think i am trying to be demanding :scared:

just to show my appreaciation for working on the right click thing im sending you another 10 Euros :D

selyb
16th April 2005, 17:25
Bug?
i set the Parental level of the Virtual Player to 1
i used trace mode and a screen asked if i want to set the parental level higher
then PgcEdit asked if i wanted to accept but it did not change SPRM(13)
so i keep going back to the same screen that asks if i want to change the Parental level and PgcEdit asks if i want to accept

if i manually change SPRM(13) to 15, it works

lark
16th April 2005, 17:31
Originally posted by r0lZ
A macro to delete the VM commands in unused PGCs? Is it really needed? They doesn't hurt! And, if, for some reason, a PGC is marked as unreferenced while it is not, deleting the commands will broke the navigation.
Anyway, for the moment, my priority is to implement a preview for Linux. Please remind me later...

yep, definitely not high priority.
i know they don't hurt (the functionality), but when i dump all the dvd commands and search for some particular ones, i get also those that are in the unreferenced PGCs, don't i. and in that case they just fool me ;-)

btw are they (commands in unreferenced PGCs) accounted for, when pgcedit finds unused GPRMs?

regards
t :)

selyb
16th April 2005, 17:56
Request: Explore DVD Folder to use a system command for opening the folder instead of running Explorer ;)
i use an alternative file manager

CoNS
16th April 2005, 18:41
Thank you veru r0lZ. Can PgcEdit get any better, now?! :D Your hard work with this excellent tool is very much appreciated.

(BTW, small detail, you forgot to update the name of the thread to "PgcEdit 0.5.2 released"...!!)

r0lZ
16th April 2005, 19:50
Thanks, and Right. Done now.

r0lZ
16th April 2005, 20:01
Originally posted by selyb
If you can't reproduce this very easily then i doubt you will be able to do it with any ifos i send you
this happens to me every time that i open a dvd while one is already open
if i use the "Open DVD" command under File or if i use the "Open DVD" button on the toolbar and even if i open the same dvd that i already had open i get the error message
BUT: if i use the "Reopen DVD" button or menu command, i do NOT get the error
i had a problem before (an error message using MPClassic) that you could not reproduce
i am willing to bet that these have something to do with my setup
check this out:
I have Windows XP SP2 installed into C:\win\
Program files folder is C:\PF\
Common Program Files is C:\PF\Common\
My Documents is E:\Stuff\
Profiles Dir is C:\DAndS\
PgcEdit is installed to E:\Programs\Authoring\
MPC is installed to E:\Programs\MPC\
i believe i never did use any of the 'install' options included in PgcEdit

i will email you some ifos anyway just in case it might helpI doubt that your config may be guilty. Anyway, I'll have a look at the IFOs...

Request: Option to name Incremental backups as a number instead of the date
e.g. PgcEdit_Backup_1Why? The backups are already stored in increasing order, and the date/time is useful to remember when you've modified it for the last time.

Request: Menu command to restore from a list of current Incremental Backup foldersYou must probably restore the backups one at a time, in decreasing order, so that the VOBs files will be restored with the right IFOs. And, since PgcEdit do not restore the VOBs automatically, it's not verry usefull to automate this function. But I'll see if I can improve the restore process...

Request: When using "Popup menus on right mouse button released?" option, select the item current underneath the mouse when the button is pressed

right now what it does is nothing when i press the right button, then when i release, it selects the item and pops up the menu
i would like it to select when i press the button and pop up the menu when i release

i have written some small apps in VB and some VBS so i underestand that you can only do what you can do so please do not think i am trying to be demanding :scared:I have added this option so that the option under the mouse cursor will NOT be highlighted anymore, for safety purposes. And anyway, I am unable to control what's happening after the opening of the popup menu: it's Tk stuff!

just to show my appreaciation for working on the right click thing im sending you another 10 Euros :D :thanks:

r0lZ
16th April 2005, 20:06
Originally posted by selyb
Bug?
i set the Parental level of the Virtual Player to 1
i used trace mode and a screen asked if i want to set the parental level higher
then PgcEdit asked if i wanted to accept but it did not change SPRM(13)
so i keep going back to the same screen that asks if i want to change the Parental level and PgcEdit asks if i want to accept

if i manually change SPRM(13) to 15, it works Well, the usage of SPRM 13 is not clear. It stores the temporary parental level. I have tested his contents on my Sony, and it is NOT changed after a SetTmpPML. So, I cloned that behavior. But parental protections are extremely rare in zone 2, so I may be wrong.

@mpucoder: How is SetTmpPML related to SPRM 13? Any idea?

r0lZ
16th April 2005, 20:09
Originally posted by lark
yep, definitely not high priority.
i know they don't hurt (the functionality), but when i dump all the dvd commands and search for some particular ones, i get also those that are in the unreferenced PGCs, don't i. and in that case they just fool me ;-)

btw are they (commands in unreferenced PGCs) accounted for, when pgcedit finds unused GPRMs? Yes, the unreferenced PGCs are not remembered, so I can't test them in the other functions.
This is indeed a good reason to remove the commands from the unreferenced PGCs. I will probably add that feature, but later...

r0lZ
16th April 2005, 20:13
Originally posted by selyb
Request: Explore DVD Folder to use a system command for opening the folder instead of running Explorer ;)
i use an alternative file manager Sorry, that's too much work. I have implemented this function because it was trivial to do (under Windoze only). But what you request needs a GUI to configure the command.
Anyway, you can add your file manager in the Tools menu.

selyb
16th April 2005, 20:42
Originally posted by r0lZ
Sorry, that's too much work. I have implemented this function because it was trivial to do (under Windoze only). But what you request needs a GUI to configure the command.
Anyway, you can add your file manager in the Tools menu. i think maybe you misunderstood me :(
if i remember correctly, it should be just as easy to open a folder as it is to run explorer.exe. doing it this way would use the installed file manager instead of a static one
the tools menu is a good idea though

selyb
16th April 2005, 20:59
this is from 5.2 downloaded from http://home.tiscali.be/debie.roland/pgcedt/
i only download the windows exe, not compressed

this happens when i open a dvd and then use File > Open DVD and open the same set of filescan't read "::menus(0,1,lang)": no such variable
can't read "::menus(0,1,lang)": no such variable
while executing
"set label "$label , LU $lu ($::menus($vts,$lu,lang))""
(procedure "pgc_label" line 48)
invoked from within
"pgc_label "" $type $vts $lunum $pgcnum"
(procedure "::main::display_pgc" line 12)
invoked from within
"::main::display_pgc menu 0 1 6"
("eval" body line 1)
invoked from within
"eval $cmd"
(procedure "::main::selector_launch_cmd_click" line 7)
invoked from within
"::main::selector_launch_cmd_click .mf.f2.selector ::main::cmdslist"
(command bound to event)

r0lZ
16th April 2005, 21:58
Originally posted by selyb
i think maybe you misunderstood me :(
if i remember correctly, it should be just as easy to open a folder as it is to run explorer.exe. doing it this way would use the installed file manager instead of a static one
the tools menu is a good idea though I use the "start" DOS shell command to open the folder (ie. I launch: start "foldername")

start is supposed to use the default program associated with the filetype of his option (in this case, with the folders). If it doesn't work, either your file browser is not correctly installed, or start don't work as expected.
Try to associate your file browser with the folders, if you wish.

blutach
16th April 2005, 22:17
@rolz - thanks again for a wonderful new version.

Unreferenced PGCs: I echo lark's thoughts about unreferenced PGCs (especially, but not only, for finding ununsed GPRMs) and you will recall jeanl's idea some time ago that PgcEdit search for a 2nd level of unreferenced PGCs after the elimination of commands in already unreferenced PGCs. This is a good thing to have IMHO and maybe we can see this in a future version.

Re cell swapping and Play All/Clone PGC utilities: If you swap a cell without doing this, as you say, it will become unreferenced if it isn't referenced elsewhere in the domain. You say you can't put it back. This is true in PgcEdit, but of course, users should be aware that it is a very simple thing in IfoEdit. I wonder whether you can program this in to PgcEdit?

Regards

r0lZ
16th April 2005, 22:34
Originally posted by blutach
@rolz - thanks again for a wonderful new version.

Unreferenced PGCs: I echo lark's thoughts about unreferenced PGCs (especially, but not only, for finding ununsed GPRMs) and you will recall jeanl's idea some time ago that PgcEdit search for a 2nd level of unreferenced PGCs after the elimination of commands in already unreferenced PGCs. This is a good thing to have IMHO and maybe we can see this in a future version.OK. I will see what I can do...

Re cell swapping and Play All/Clone PGC utilities: If you swap a cell without doing this, as you say, it will become unreferenced if it isn't referenced elsewhere in the domain. You say you can't put it back. This is true in PgcEdit, but of course, users should be aware that it is a very simple thing in IfoEdit. I wonder whether you can program this in to PgcEdit? It's not easy to do in PgcEdit, because if a cell is unreferenced, you must do a mock strip to recreate the references. As you know, PgcEdit is unable to do a mock strip. And I don't want to implement that kind of stuff, because PgcEdit is not a VOB editor (although there is now a menu buttons editor), and Tcl/Tk is too slow to process such large amounts of data.

blutach
16th April 2005, 22:44
Originally posted by r0lZ
OK. I will see what I can do...Thanks - that would be fantastic!

It's not easy to do in PgcEdit, because if a cell is unreferenced, you must do a mock strip to recreate the references. As you know, PgcEdit is unable to do a mock strip. And I don't want to implement that kind of stuff, because PgcEdit is not a VOB editor (although there is now a menu buttons editor), and Tcl/Tk is too slow to process such large amounts of data. No problems - I was really just informing folks that it is in fact a very straight forward process in IfoEdit.

Regards

selyb
16th April 2005, 22:50
Originally posted by selyb
this is from 5.2 downloaded from http://home.tiscali.be/debie.roland/pgcedt/
i only download the windows exe, not compressed

this happens when i open a dvd and then use File > Open DVD and open the same set of files] ok, i got it narrowed down
this only happens when i am browsing for the new dvd files to open and i double click the file
what happens is after the browse dialog disappears, the pgc selector catches the release of my right mouse button

suggestion: disable everything on the main window until either cancel button is pressed or until the new dvd is fully opened

selyb
16th April 2005, 22:54
Originally posted by r0lZ
I use the "start" DOS shell command to open the folder (ie. I launch: start "foldername")

start is supposed to use the default program associated with the filetype of his option (in this case, with the folders). If it doesn't work, either your file browser is not correctly installed, or start don't work as expected.
Try to associate your file browser with the folders, if you wish. my file manager is, without a doubt, installed correctly and folders and drives and such are associated with it (i checked my registry)

if i open a command prompt and type 'start c:\win' it uses my file manager instead of explorer

this is really trivial to me so unless you have some other reason to pursue the problem, i would just forget about it ;)

r0lZ
16th April 2005, 23:51
Originally posted by selyb
ok, i got it narrowed down
this only happens when i am browsing for the new dvd files to open and i double click the file
what happens is after the browse dialog disappears, the pgc selector catches the release of my right mouse button

suggestion: disable everything on the main window until either cancel button is pressed or until the new dvd is fully opened Oh yes. I know this Tk bug!
I can't do anything to avoid it, as it is possible to disable the main window interface only when another window is opened. But I may try to add a small delay after the file requester is closed, to allow the interface to refresh before the old variables are erased.

I think this bug should be reported to the Tcl/Tk authors. Anyway, it's not my fault. :cool:

r0lZ
17th April 2005, 00:29
A new beta is already available, as usual in the All Versions folder of my homepage at VideoHelp (http://www.videohelp.com/~r0lZ/pgcedit/).

I have added the little delay after the file requester, and it seems to work well. selyb, could you try it?

Also, the Info -> Calls Cross References has an option to remove the VM commands of the unreferenced cells, and to clear the Next/Prev/GoUpPGC links.

It is a beta because I don't want to release 2 versions the same day, but you may assume that there are no new bugs, as I have changed only two functions, and the edits are safe.

blutach
17th April 2005, 00:31
Wow r0lZ - THAT was fast!!! So, if we do the remove commands from unreferenced PGCs and just keep doing this over and over, we can remove all unreferenced PGCs?

Regards

blutach
17th April 2005, 00:33
What if we know that but for a menu call, a PGC/title is unreferenced? Do we take that out manually with the menu editor?

Regards

selyb
17th April 2005, 00:40
that delay works beautifully :)

r0lZ
17th April 2005, 00:43
Originally posted by blutach
Wow r0lZ - THAT was fast!!! So, if we do the remove commands from unreferenced PGCs and just keep doing this over and over, we can remove all unreferenced PGCs?

Regards The only thing that is not cleared are the menu buttons or BOVs commands in the unreferenced cells. But, most of the time, buttons will be present only in referenced PGCs.
(If you have button commands in the unreferenced PGCs, you should change them to NOP or LinkTailPGC manually.)

So, yes, you may probably assume that all unreferenced PGCs will be found when the function doesn't find new unreferenced PGCs anymore.