View Full Version : PgcEdit v0.2.
r0lZ
24th June 2004, 14:38
[EDIT: PgcEdit v7.0 has been released. See this thread (http://forum.doom9.org/showthread.php?t=110310).]
PgcEdit v 0.2 is here!
See the version history (http://home.tiscali.be/debie.roland/pgcedit/HISTORY.txt) for the new features list.
Download PgcEdit here (http://home.tiscali.be/debie.roland/pgcedit/).
Thanks to everybody at Doom9 forum for your encouragements, and for helping me improve and debug PgcEdit!
The current PgcEdit version is discussed here: PgcEdit 0.5 (http://forum.doom9.org/showthread.php?s=&threadid=90960)
Old PgcEdit discussion threads: PgcEdit 0.5.0 beta (http://forum.doom9.org/showthread.php?s=&threadid=89918).
PgcEdit 0.4 (http://forum.doom9.org/showthread.php?s=&threadid=85329).
PgcEdit 0.3 (http://forum.doom9.org/showthread.php?s=&threadid=79853).
PgcEdit 0.2 (http://forum.doom9.org/showthread.php?s=&threadid=78618).
PgcEdit 0.1 (http://forum.doom9.org/showthread.php?s=&threadid=77980).
burnout
24th June 2004, 17:11
thanx m8, u're a star :D
looking at the version history it show it up to 0.1.3, is that the same as 0.2 or do u need to add to this?
like these 2 features:
A. New "Set PGC Menu Type" utility: set Title, Root, Audio... menu type.
A. Browsing the PGC selector with the keyboard (up and down keys) now automatically update the current PGC and display it in the main window.
and the rest i guess i will mess about a bit to find out what they are :p
thanx again :cool:
r0lZ
24th June 2004, 19:19
There was indeed a mismatch in the version number.
I have changed my mind in the last minute because I think there was enough new features to call it v 0.2. But I forgot to change the number in the history.
This is fixed now. You may download a new v0.2.0 on my homepage, but this is really a waste of time: nothing has changed except the version number in the history!
vion11
25th June 2004, 13:07
Many thanks for this great tool. From now I'll never
feel blind when doing more complex stuff with dvds.
The info->dvd commands option is somewhat helpfull -
all commands in one document.
Now I'm dreaming of a import function for commands
to avoid button clicks.
Is it possible when lets say
import file has same layout of your dvd commands output?
r0lZ
25th June 2004, 15:14
It is actually possible to export and import commands via the Scratchbook and copy/paste operations.
Or you can run PgcEdit twice, and copy/paste from one PgcEdit to the other.
Is it what you need?
Or maybe I misunderstand you, and you want to modify the DVD dump with a text editor and reimport it?
To do that, I will need to write a parser for the DVD text commands, with a lot of errors checks. Sounds difficult. But it's a good idea, for a programmer having some time to spend... I'm affraid this will not be me. :(
vion11
25th June 2004, 15:52
I want to add commands for different PGCs at once.
What could be the simplest solution to implement
kind of mass import for commands?
crusher
25th June 2004, 16:14
Hi,
I've tried to install your program but I get this error:"Error sourcing /Tcl/work/PGCEDIT/PgcEdit.tcl: can not find channel named "unable to open key: The system cannot find the file specified."
I put PgcEdit.exe in my Ifoedit directory. I got this same error with the earlier v0.1 version too. What do I need to do?
Crusher
r0lZ
25th June 2004, 17:30
@vion11
I'm affraid there is no simple solution.
r0lZ
25th June 2004, 18:25
Originally posted by crusher
"Error sourcing /Tcl/work/PGCEDIT/PgcEdit.tcl: can not find channel named "unable to open key: The system cannot find the file specified."
This error comes from a bad key in your registry. PgcEdit checks if a file association exists for the .IFO and .BUP files when it starts. If one of thoses keys are corrupt, the DLL routine I use to do the checking will crash.
Rookie solution:
Associate .IFO and .BUP files manually: right-click on a .IFO file and select "open with", then locate PgcEdit (or IfoEdit) and do the association.
Do the same thing with .BUP files.
If it doesn't work, there is the expert solution:
Open RedEdit (select the Windows Start/Run menu and type RegEdit), then expand HKEY_CLASS_ROOT.
Click on the folder named ".ifo", and take a look at what is displayed in the right pane. If the value is not set, you will see "(Default) REG_SZ (value not set)", and you have probably located the problem.
Right-click on the same .ifo icon, and select Delete.
Do the same for the .bup folder (if it exists).
I am a little bit surprised that you still have this error with PgcEdit v0.2, because I have tried to fix it. But the offending DLL is not writed by me, so the bugfix is only a workaround. It is working for me, but apparently still not working in all cases! :angry:
Does one of the above solution works for you?
What was the value of the .ifo and .bup keys?
What OS are you using?
Please take me informed.
crusher
25th June 2004, 20:00
Originally posted by r0IZ
Rookie solution:
Associate .IFO and .BUP files manually: right-click on a .IFO file and select "open with", then locate PgcEdit (or IfoEdit) and do the association.
Do the same thing with .BUP files.
If it doesn't work, there is the expert solution:
Open RedEdit (select the Windows Start/Run menu and type RegEdit), then expand HKEY_CLASS_ROOT.
Click on the folder named ".ifo", and take a look at what is displayed in the right pane. If the value is not set, you will see "(Default) REG_SZ (value not set)", and you have probably located the problem.
Right-click on the same .ifo icon, and select Delete.
Do the same for the .bup folder (if it exists).
I am a little bit surprised that you still have this error with PgcEdit v0.2, because I have tried to fix it. But the offending DLL is not writed by me, so the bugfix is only a workaround. It is working for me, but apparently still not working in all cases!
Does one of the above solution works for you?
What was the value of the .ifo and .bup keys?
What OS are you using?
Please take me informed.
None of the solutions worked. I'm using Windows XP Home. I deleted the .ifo folder, there was no .bup folder to delete. I also tried to associate the .ifo files with Ifoedit but that didn't make any difference either.
r0lZ
25th June 2004, 21:33
Sorry. I am working on a solution, but it is difficult for me te be sure that it will work, because I don't have the problem here, and can't recreate it.
Anyway, I am adding some new enhancements to PgcEdit, and I will release a new version in some days. I hope this time it will work for you. If it doesn't, there is also the heavy solution: download Tcl/Tk and install the sources of PgcEdit. This solution is working for sure.
r0lZ
27th June 2004, 13:28
PgcEdit v 0.2.1
PgcEdit v 0.2.1 is available here (http://home.tiscali.be/debie.roland/pgcedit/index.html).
Main changes: There is now a Find GUI integrated in the main window.
Region Code utility.
All known bugs are now hopefully fixed. If you still find some bugs, please let me know!The complete list of changes is, as usual, in the version history (http://home.tiscali.be/debie.roland/pgcedit/HISTORY.txt).
vion11
27th June 2004, 16:35
I'm impressed -
such new stunning and powerful features in a minor update.
I vote for most valuable download of year!
I can confirm that the "...can not find channel named" bug during start-up is fixed for me. I had this problem with all earlier versions on my home PC (but it worked fine at work :D).
EDIT: Would it be difficult to link a cell to a different VOB ID? Could this be included in PgcEdit? E.g. in VTS_PGC_1 I have Cell_22 which is currently linked to VOB ID 14 but I would like to link it to VOB ID 17.
$
r0lZ
28th June 2004, 18:45
Originally posted by $$$
Would it be difficult to link a cell to a different VOB ID? Could this be included in PgcEdit?
Hummm... I must learn how to do that kind of stuff.
My previous try (with IfoEdit) in this sense was to use the same VOB ID for all credits chapters of a multi-episode DVD. This was working fine on a computer, but the search and FF/REW functions were not working correctly on a settop player. I suppose that this was due to the VTS_C_ADT table not matching the new VOB ID. I will do some new tries in this way, but it will take some time: must burn a DVD for each test.
Thanks again for such 'high level' suggestions.
edit: If somebody reading this may explain exactly how to do this kind of stuff, I would appreciate.
sweetness
29th June 2004, 16:15
Great program. it took me 2 minutes to do something that would have taken me an hour. wow. I guess the more i learn about PGC commands the more i will be amazed about this app. Just one suggestion(if it is possible) i noticed if there is a line with a {goto line X} and you single click it will hight the line that the command refers too. So i was thinking, it would be nice to single click command like JumpSS VTS1:Root Menu and have it jump/link to that PGC. this will just save sometime and make sure that i'm going to the right PGC too. thanks but still a great program.
voo_doo99
29th June 2004, 17:46
Just getting to know PgcEdit 2. Love the Cmd editor, exactly what I wanted for a long time. Completed with full cmd builder, references, and rules it's a beautiful thing, thank you, thank you, thank you :)
A question: what is the meaning of the '+' marker?. And a wish: could you add a one-click feature to convert Post cmd to Pre cmd in the PGC Editor? that would be a perfecto addition, whilst it takes many steps in IfoEdit.
And if you dont mind my suggestions, the button rows look a little overwheming as most functions alrealy availble in the right-click context menu. And maybe a VTS treeview, color-coded sections, resizable display panes in the future? :D But even without them, I can see myself using the tool a lot. Thank you for making this tool available free to us wannabe DVD backup editor :p
r0lZ
29th June 2004, 22:52
Originally posted by sweetness
it would be nice to single click command like JumpSS VTS1:Root Menu and have it jump/link to that PGC.
Good idea, but, if the single click is used for that purpose, what will you do to select a line?
Of course, I can highlight the relevant PGC label in the PGC selector, or use another mouse button. Maybe in next release...
r0lZ
29th June 2004, 23:15
Originally posted by voo_doo99
what is the meaning of the '+' marker
The + stands for "there is one (or more) video cells for this menu PGC". This is only to help locate the menus with video.
could you add a one-click feature to convert Post cmd to Pre cmd in the PGC Editor?
Simply select all post commands, then copy or cut them and paste in the pre commands section, or use the Move Up button several times.
Note: if you are doing that to inhibit the PGC playback, then you may use the 'Kill PGC playback' menu: it will not copy the commands, but jump directly to the post commands, skipping the playback. And the Break pre-commands are automatically handled. Try it!
the button rows look a little overwheming as most functions alrealy availble in the right-click context menu.
You may remove the buttons pane. Look in the View menu.
And maybe a VTS treeview, color-coded sections, resizable display panes in the future?
I hate treeviews! Too many clicks on thoses stupid + and - little squares!
Color coded sections is indeed a good idea, but I prefer to spend time for most useful features...
You can't resize the PGC Selector pane because it is auto-resizable! However, you may toggle it with a single right-click on the "PGC" menubutton.
Wheelie4
1st July 2004, 19:12
r0lZ,
From the version history page:
F. Bug starting PgcEdit.exe when the .IFO file association is corrupt in the registry this time hopefully really fixed.
Yep it's fixed as of version 0.2.1. I can now open pgcedit.
I also kept getting this error:
"Error sourcing /Tcl/work/PGCEDIT/PgcEdit.tcl: can not find channel named "unable to open key: The system cannot find the file specified.
and hadn't been able to open pgcedit before this version either even after trying the file association attempt.
Thanks Wheelie4 for bringing this information to my knowledge.
DMagic1
2nd July 2004, 04:28
Nice, I have to try this.
If you are interested in doing some beta testing to help me debug and improve PgcEdit, you may download the v0.3.0beta here (http://home.tiscali.be/debie.roland/pgcedit/beta/pgcedit_0.3.0beta.exe).
Thanks in advance.
[EDIT:] Beta removed: v0.3.0 (final) released.
Chetwood
8th July 2004, 17:28
The readme that comes with your tool states
I wrote PgcEdit to supplement IfoEdit. PgcEdit is a program much more limited than IfoEdit: it only makes possible to edit the commands and to modify certain parameters of PGCs (Program Chains).
Having no clue of DVD standards Id' like to know if one can use your tool to denote a streams attributes like marking the third audio and subpicture stream as 'director's comments'. Thanks.
Yes, it's possible, and easy!
M!ro
10th July 2004, 00:18
Let me first say thank you for this awesome program r0lZ!
When you select line that has goto command, destination line flashes. Is it posibile to create such hilighting when selecting link or jump lines? Or even maybe a follow command on right-click?
For example if you have line that has LinkPGCN PGC 3, when you select it PGC 3 in the same domain flashes, and when you right-click it and select "follow" then it opens PGC 3 in main frame.
r0lZ
10th July 2004, 05:13
Originally posted by M!ro
When you select line that has goto command, destination line flashes. Is it posibile to create such hilighting when selecting link or jump lines? Or even maybe a follow command on right-click?
For example if you have line that has LinkPGCN PGC 3, when you select it PGC 3 in the same domain flashes, and when you right-click it and select "follow" then it opens PGC 3 in main frame.
Great minds are meeting! :D
It's already done, in the v 0.3.0 beta. Click on the link 4 posts above to download it.
See also the post of sweetness, above. He must be credited for the idea, too.
ffroms
15th July 2004, 16:05
Hi r0lZ!
Thank you for this tool. It's great but I have problem. In previous version (0.2.1) I had no problem with "Move Up" and "Move Down" but in version 0.3.0beta it doesn't work. Is it me or...?
I have one request. Is it possible to play some parts of VOB by clicking (or double clicking) on VTS or parts that have + sign to view video? This will make it easy way to bypass some unwanted parts of DVD.
FFS
M!ro
15th July 2004, 16:07
I was working something with pgcedit 0.3.0 beta, and i must say it saved me at least 2 hours typing in ifoedit :)
i needed to edit pgc command for 7 titles (they had most of the lines same), so i modified it in scratchbook and then just copy-paste in each of that 7 titles.
There is a small bug in this beta that allows you to paste command over the caption lines ("pre commands", "post commands" etc).
And few thing that might be usefull:
- undo for scratchbook
- quicksave on scratchbook, so it could be loaded on pgcedit startup
- open single ifo
r0lZ
15th July 2004, 18:12
@ ffroms:
In previous version (0.2.1) I had no problem with "Move Up" and "Move Down" but in version 0.3.0beta it doesn't work. Is it me or...?In previous versions, it was possible to 'Move Up' or 'Move Down' a block of commands across the 'post commands' and 'cell commands' markers. This is not possible anymore because of the automatic GOTO renumbering feature: try to imagine what the program must do when a line to which a goto is branching is moved in another section, and you'll understand why. You may use Cut/Paste to obtain the same result.
Of course, you may still use the functions to move up/down commands inside the pre, post or cell commands group.
Is it possible to play some parts of VOB by clicking (or double clicking) on VTS or parts that have + sign to view video? This will make it easy way to bypass some unwanted parts of DVD.Unfortunately not. At least yet. Because PgcEdit is only an IFO parser/editor. It doesn't read VOBs at all.
If you know a VOB player able to display only a specific VOB/Cell ID, please let me know: I may try to integrate it to PgcEdit.
Or if any programmer out there is able to write such a tool, it will be appreciated!
r0lZ
15th July 2004, 18:32
@M!ro
There is a small bug in this beta that allows you to paste command over the caption lines ("pre commands", "post commands" etc).Thanks for singalling it. However, I discovered it too, and it is already fixed. Next version will be soon available...
- undo for scratchbookThe way I have implemented the Undo makes this useless: if you do an Undo in the scratchbook, it will simply remove all lines (because the scratchbook is originally empty).
Of course, your suggestion makes sense if I implement your second suggestion:- quicksave on scratchbook, so it could be loaded on pgcedit startupGood idea, indeed. Maybe in next release...
- open single ifoThis will be verry difficult to implement in PgcEdit, because the overall philosophy is to edit a full DVD, so that everything is coherent. For example, if I implement your suggestion, I also need to implement a 'Get VTS Sectors' function that will need to read the missing IFOs anyway. And the 'Highlight Target' and 'Jump to Target' features would not work properly...
If you really need to edit a single IFO, you must use the good old IfoEdit. Sorry :(
M!ro
15th July 2004, 19:01
Originally posted by r0lZ
The way I have implemented the Undo makes this useless: if you do an Undo in the scratchbook, it will simply remove all lines (because the scratchbook is originally empty).
Of course, your suggestion makes sense if I implement your second suggestion:Good idea, indeed. Maybe in next release...
Great thinking r0lZ!
If you make quicksave/quickload for scratchbook it would act like undo function :) And that would be wonderfull!
ffroms
15th July 2004, 20:37
Thanks r0lZ for explanation. I usually check manually for any goto lines and correct them so I never thought of that. I've notice same problem as M!ro with copy/paste so I didn't use it. I prefer to use previous version for "move up" and "move down". I use them to move all post commands to pre commands.
Anyway, I'm looking forward for next release.
FFromS
r0lZ
15th July 2004, 22:04
@M!ro
It's implemented now. You'll have an "Options/Save current scratchbook as default" menu, and Undo will reload it.
Watch the next version...
r0lZ
15th July 2004, 22:21
@ffroms
The paste doesn't crash in beta IF you take care to select only command lines, without pre, post, cells or scratchbook labels.
BTW, have you tried the "Kill PGC Playback" macro? This function was not working verry well before v0.3.0beta, but is fully operational now. It does exactly what you want: copy the post commands at the end the pre section, renumber the gotos in the copied commands, and take care of the break pre-commands, if any.
ffroms
16th July 2004, 15:56
What!?! How did I not see that? :eek: I'll try that ASAP. Maybe I saw that but didn't try it. Thank you again.
FFS
P.S. Maybe a little manual would be good just to know what some functions do :)
r0lZ
16th July 2004, 23:06
Maybe a little manual would be good just to know what some functions do I can't do much more than the Readme text: my english is too bad :(
Maybe some people here are able to write some guides, with wonderful illustrations and tricks I haven't discovered myself... :p
ccc_p
17th July 2004, 14:50
first of all thanks for the great tool!
my question is: if its possible with pgcedit to add a new VTS_PGC(2) into VTS_PGCITI tible where already exist
VTS_PGC(1) and if is really possible how can I do this?
Thnaks in advance
cccp
r0lZ
17th July 2004, 15:51
Yes, it is possible.
Select the original PGC in the left pane, then use the "Utilities/New PGC" menu. A new dummy PGC will be created in the same domain.
IMPORTANT: I wrote this function to add a dummy PGC in the menu domain, not in the title domain. However, it is possible. But take in mind that the new PGC is a so called DUMMY PGC, ie it has no cells nor programs associated with it. This, in the title domain, is really illegal in terms of DVD standards (although my Sony Player accept that without problems). You must understand that and use this feature with caution!
ccc_p
17th July 2004, 16:48
Thank you!
cccp
r0lZ
17th July 2004, 22:40
Since I have not received too much bug reports, I assume that the new version is (almost) bug free :D
So, it's time to release the next version...
PgcEdit v0.3 is discussed in this thread (http://forum.doom9.org/showthread.php?s=&threadid=79853).
Note to beta testers:
Please read the version history again! There are many changes since the 0.3.0 beta release.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.