Log in

View Full Version : PgcEdit v0.3.


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

voo_doo99
8th October 2004, 17:29
Originally posted by r0lZ
... However, in the IFO, the order of the commands is pre/post/cell.
Seems difficult to change the habitudes now.

Exactemente! :cool:. Please, I just started to enjoy the synergy of PgcEdit and IFOedit. Having to adjust to a change in command display order would be really painful! :(

2COOL
8th October 2004, 19:08
Originally posted by voo_doo99
Exactemente! :cool:. Please, I just started to enjoy the synergy of PgcEdit and IFOedit. Having to adjust to a change in command display order would be really painful! :( Oh, I wasn't implying on changing the paradigm. It was just a spontaneous off-topic thought. Funny though, once you are aware of it, you tend to notice it more when you follow navigations. Well, that's just talking for me. :p

2COOL
13th October 2004, 05:24
@r0lZ

I have an error to report when I edit the command as follows.
list element in quotes followed by """ instead of space I was just playing around with the commands when I got it.

OLD:

[20 A5 00 09 C0 01 00 01] 15 if ( gprm(9) == 49153 "À." ) then { LinkPTT Chapter 1 }

NEW:

[20 A1 00 09 C0 01 00 0D] 15 if ( gprm(9) == 49153 "À." ) then { LinkTailPGC }
____________________________________________
Error Details:

list element in quotes followed by """ instead of space
list element in quotes followed by """ instead of space
while executing
"lindex $cmd 1"
invoked from within
"if $jumpfound {
if {$targetpgc == -1} {
set err true
} else {
if {$targetsection != "na"} {
if {$targetsection == "pre"} {
set targ..."
(procedure "highlight_jump_cmd" line 189)
invoked from within
"highlight_jump_cmd $currenttype $currentindex $cmd $linenum $jump true"
(procedure "highlight_jump" line 11)
invoked from within
"highlight_jump $idx false"
(procedure "::main::action_Edit_Cmd" line 24)
invoked from within
"::main::action_Edit_Cmd"
(command bound to event)
____________________________________________


Also, when I save the error log, it defaults to saving to my movie folder. Ideally, IMO, it should default saving to my backup folder. but then again, we have that option
Create backup when a DVD is opened for the first time? to contend with. :( So, this would be a bad idea.

Update: maybe not. If you could put a check to see if a pgcedit backup folder exists, open backup folder.

blutach
13th October 2004, 08:38
@r0lz
The Tools menu is wonderful - launching others editors and the like.

Is there a way to get the child process (eg IFOEdit) to automatically load the IFOs that you were working on when launching the process as a function of PGCEdit?

This would be very useful.

Am I just lazy? If so, disregard this posting.
If it is already implemented, call me dopey and help please!

Knocks
13th October 2004, 09:12
I discovered PgcEdit today and it made my day. Finally a painless and free way to disable intros. Thank you so much for making this program!

2COOL
13th October 2004, 10:56
Originally posted by blutach
Is there a way to get the child process (eg IFOEdit) to automatically load the IFOs that you were working on when launching the process as a function of PGCEdit?
If it is already implemented, call me dopey and help please! Uhhh, dopey? :p:p I think I got it figured out for getting IfoEdit to open up a IFO.

____________________________________________________
1. Go to Tools > Configure tools.
____________________________________________________
2. With IfoEdit selected, click on Edit button.
____________________________________________________
3. In Arguments field, input "%p\%i" (with quotes too).
____________________________________________________
4. OK to set.
____________________________________________________
5. Click on Test button to see if it works.
____________________________________________________
6. If it does, click on Save button.
____________________________________________________

So whatever PGC you have highlighted in your PGC Selection, that's the IFO that IfoEdit will open up for you. :D

Update: If you add DVD Shrink.exe, you can use the same arguments as above.

@r0lZ

I've read your Tool Argument Notes and even though this says this, ...
The filenames must be enclosed in double quotes. Example: "%p\%i"... it still works without the quotes.

r0lZ
13th October 2004, 11:35
@2COOL

list element in quotes followed by """ instead of spaceI will have a look at this error.
[EDIT:] I can't reproduce the error. Could you be more precise? What are you doing exactly? And, please, send me the IFOs...
[EDIT2:] You're right. I was using the new 0.3.6 version (still a beta). This problem is already fixed in this version.

Also, when I save the error log, it defaults to saving to my movie folder. Ideally, IMO, it should default saving to my backup folder.I cannot change that easily. The error GUI is managed internally by Tcl/Tk. It is possible to replace it with another one, but the advantege is verry small.

r0lZ
13th October 2004, 11:45
Originally posted by blutach
@r0lz
The Tools menu is wonderful - launching others editors and the like.

Is there a way to get the child process (eg IFOEdit) to automatically load the IFOs that you were working on when launching the process as a function of PGCEdit?

This would be very useful.

Am I just lazy? If so, disregard this posting.
If it is already implemented, call me dopey and help please! If the application you launch has a command line option allowing to pass a filename to the app, it is possible.

For IfoEdit (and most application), you need to put "%p\%i" (with the quotes) in the argument field of the Tool Configuration GUI.
%p will be replaced by the directory name, and %i by the current IFO filename.
If you prefer to load VIDEO_TS.IFO in IfoEdit (regardless of the PGC currently selected in PgcEdit), then use "%p\VIDEO_TS.IFO"

Hint: Do a "Get VTS Sectors" in IfoEdit to load all the DVD files.

Look here (http://forum.doom9.org/showthread.php?s=&threadid=82724&perpage=20&pagenumber=2#post548810) for more infos...

r0lZ
13th October 2004, 12:11
@2COOL
Sorry, I have replied to blutach before I saw your mini guide. Well done, as usual. ;)
Originally posted by 2COOL ... it still works without the quotes.
Without the quotes, it works only if there are no spaces in the pathname.

Update: If you add DVD Shrink.exe, you can use the same arguments as above.For DVDShrink, it is best to use "%p\VIDEO_TS.IFO", or DVDShrink will open only the current titleset's VOB files.

blutach
13th October 2004, 12:22
@2cool and r0lZ,

The reason I asked is that I had already done those things (as outlined in the help file for PGCEdit) but to no avail. I'll try again.

@2cool - do you need to have the PGC highlighted?? I'll try that.

(Signed Dopey) :D

blutach
13th October 2004, 12:35
Screen shot follows

Help!

r0lZ
13th October 2004, 12:38
do you need to have the PGC highlighted?? I'll try that.If you use "%p\%i", the filename passed is the IFO of the currently selected PGC.

If you have trouble to launch an app, you should enable the "Ask confirmation before launching tool" option. You will see the command line used to call the tool in the dialog. You should see something like this:
Command line:
"C:\Program Files\IfoEdit\IfoEdit.exe" "C:\rip\MyDVD\VIDEO_TS\VTS_01_0.IFO"

blutach
13th October 2004, 12:42
@r0lZ/2COOL

IFOEdit launches OK (it always did) but still no launch of the IFOs.

Screen shot follows. (The path to IFOEdit is a long one but is OK).

Any further suggestions?

2COOL
13th October 2004, 12:57
Originally posted by blutach
Screen shot follows

Help! Try using ImageShack (http://imageshack.us/index.php). It's free.

blutach
13th October 2004, 13:09
Thnx 2COOL. See enclosed (hopefully, they will show). Sorry abt multiple posts :confused:

http://img50.exs.cx/img50/1296/NewBitmapImage1.gif

http://img73.exs.cx/img73/6784/2ndGIF.gif


Regards and thanks

blutach
13th October 2004, 13:26
@r0lZ - This is NOT your problem. It is Derrow's!!!!

If IFOEdit is maximised (which I usually have it), it just opens "blank" after being called from PGCEdit (ie. as if the parameters have not been parsed).

HOWEVER, if IFOEdit is not maximised - just a regular window - then no problems!!! The IFO is parsed over and opens. Weird, non:confused: :confused: :confused:

And yes, I usually use Get VTS Sectors to then open all the IFOs:)

Someone who knows how to cross-post - or who knows Derrow well - may like to bring this to his attention (or maybe it's a Windows XP thing - let's hope so, so we can blame MS and let Derrow off the hook!!)

Thanks for taking the time with me.

Regards

r0lZ
13th October 2004, 13:39
Yeah! I know this problem with IfoEdit. Also, there is a similar problem if you quit the IfoEdit playback with the close button of the video window.

2COOL
13th October 2004, 13:59
Another error! You can't import more than 1 VTST Titles.

can't read "::ttns(2,2)": no such element in array
can't read "::ttns(2,2)": no such element in array
while executing
"set :: pgcs([get_int data $t_idx 1],$::ttns([get_int data $t_idx 1],[get_int data [expr $t_idx+1] 1]),Title) $t"
(procedure "::utils::import_VTST" line 145)
invoked from within
"::utils::import_VTST"
(menu invoke)

voo_doo99
13th October 2004, 17:26
@r0lZ

I have a couple of requests for the Command listing pane: :)

- Can the hex codes be optionally hidden?. Your super Command Editor is only one click away, the codes is only taking spaces away from those long command scripts.
- And some command scripts are extra long, can a tool tip be implemented to show the whole length without me having to scroll right and back left all the time?

You probably have a lot on your list, but if there is time ..:D
Thanks.

r0lZ
13th October 2004, 17:43
Originally posted by voo_doo99
@r0lZ

I have a couple of requests for the Command listing pane: :)

- Can the hex codes be optionally hidden?. Your super Command Editor is only one click away, the codes is only taking spaces away from those long command scripts.

Unfortunately no. The method I use is to retrieve the commands in the listbox when I need them. And I can only parse hex codes.

- And some command scripts are extra long, can a tool tip be implemented to show the whole length without me having to scroll right and back left all the time? I must be able to know when the command is not displayed completely, and it's not so easy... If I find a solution, I will add the tooltips.

2COOL
13th October 2004, 17:44
@voo_doo99

Originally posted by voo_doo99
- Can the hex codes be optionally hidden?. Your super Command Editor is only one click away, the codes is only taking spaces away from those long command scripts.
- And some command scripts are extra long, can a tool tip be implemented to show the whole length without me having to scroll right and back left all the time?



In v0.3.5, you now have the option to move your PGC Selector to any side of the window.

Change log:
0.3.5 (October 4, 2004)

E. The PGC selector may now be placed on any side of the main window. The PGC labels are now more legible.

Go to View > PGC Selector side. If you select Top or Bottom, you'll have enough room to see hex and long commands. ;)

voo_doo99
13th October 2004, 21:58
Originally posted by 2COOL
In v0.3.5, you now have the option to move your PGC Selector to any side of the window.

Go to View > PGC Selector side. If you select Top or Bottom, you'll have enough room to see hex and long commands. ;)
Thanks for the tip 2COOL. Top placement helped but not optimal, still hoping r0lZ will find a tool tip solution :p.

Just checked out the debut of your new ( PgcEdit Guides ) (http://forum.doom9.org/showthread.php?s=&postid=244793#post244793). Wow, they are gorgeous. http://www.dvdshrink.info/images/smiles/thumb_up.gif http://www.dvdshrink.info/images/smiles/eusa_dance.gif http://www.dvdshrink.info/images/smiles/eusa_clap.gif
Lotsaworks! 2C:cool::cool:L, you've outdone your self.:D

2COOL
13th October 2004, 22:09
Originally posted by voo_doo99
Just checked out the debut of your new ( PgcEdit Guides ) (http://forum.doom9.org/showthread.php?s=&postid=244793#post244793). Wow, they are gorgeous. http://www.dvdshrink.info/images/smiles/thumb_up.gif http://www.dvdshrink.info/images/smiles/eusa_dance.gif http://www.dvdshrink.info/images/smiles/eusa_clap.gif
Lotsaworks! 2C:cool::cool:L, you've outdone your self.:D Thanks! You know, I really take pride on my new Removing Language Selection and Aspect Ratio Menus guide. I totally used a new set of tools. :) I know someday someone is going to automate the whole thing with one tool just by clicking on the menu button which has the command for a new cell command.

jeanl
13th October 2004, 22:14
I know someday someone is going to automate the whole thing with one tool just by clicking on the menu button which has the command for a new cell command.
That someone might just be r0lZ! He's already adapted quite a few of your solutions in pgcedit!
;)
Jeanl

2COOL
13th October 2004, 22:17
He's almost there! If only PgcEdit could blank a cell. ;) If he could get that to happen and also providing the menu background, my retirement of my guide would be sooo sweeet! :)

jeanl
13th October 2004, 22:26
He's almost there! If only PgcEdit could blank a cell. If he could get that to happen and also providing the menu background, my retirement of my guide would be sooo sweeet!
OK here's an idea: What you're asking for is currently a combination of vobblanker (which can blank just about anything! and also show menu background (I think)), and pgcedit. Imagine if pgcedit could invoque vobblanker, telling it to blank this cell in this pgc in this vts(m)... That would already make it soooo much easier. I'm sure jsoto could provide that as command-line arguments.

On the other hand, do you know whether DVDRemake can do this sort of things very easily? I'm wondering what the point is to bang our heads on all these things, if there are programs for less than $40 which can do them in a breeze. I haven't tried DVDremake though, so I don't know how easy it is (but hey, where's the fun in that? ;))

I think the command-line argument would be great! But that would require good coordination between jsoto and r0lZ... Not impossible though...
Jean

2COOL
13th October 2004, 22:34
Originally posted by jeanl
I think the command-line argument would be great! But that would require good coordination between jsoto and r0lZ... Not impossible though...It's not the first time great minds came together for a cause. LIGHTNING UK! (DVD Decrypter) and Coujo (ImgTool Classic) is a great example. :) http://forum.doom9.org/showthread.php?s=&threadid=63102&highlight=coujo

jeanl
13th October 2004, 22:37
Hey 2COOL, you want to ask them?
:)
jeanl

2COOL
13th October 2004, 22:39
jsoto's online right now in the Development Forum. I give you the honors. ;)

UPDATE: He's here now. :)I wonder who he's sending a PM to ATM?

r0lZ
14th October 2004, 00:40
Hey, mes demoiselles! Don't dream too much.
I have alot of projects for PgcEdit, but I can't do everything at once...
jsoto is already helping me. And VOBBlanker has alerady a INI file option. But why do you want to include this wonderful tool in PgcEdit? The GUI is pretty well done, and I can't see what I may improve.
However, I agree that a simple blank cell feature is welcome in PgcEdit. jsoto has already fixed a bug in BlankVOB, and I will probably be able to add this feature...
But for now, I want to complete the Trace, then the edition of the menu buttons (thanks to jsoto), and then..., ... maybe... ... if i have some time..., some more functions.

Kaimaster
14th October 2004, 17:07
Hi

Is it possible to remove unwanted Titles or PGC's? If so, how?

PGC Edit's the best. Keep up the great work.

Thanks

km

jeanl
14th October 2004, 17:37
I guess you missed this:
http://forum.doom9.org/showthread.php?s=&postid=244793#post244793
2COOL has written a few really cool guides for pgcedit, some of which to do exactly what you ask.
Jeanl

Kaimaster
15th October 2004, 06:53
Thanx 4 the reply.

I had a look at all those guides, but they only BLANK out the PGC's and Titles. In other words, they get replaced by a blank frame for Titles. This means that you'll have a few blank VOB files sitting on your DVD that's not needed at all and PGC's not used.

Scenaria: I create a new DVD with PGC Edit and add 2 Titles. Title 2 is wrong and I need to replace it or I don't want it anymore. Now the only thing to do is to blank it out right? Now I add the correct Title, but now I have 3 Titles. The only way I get past this, is to close PGC Edit, start it up again and create a New DVD.

Wouldn't it be cool to be able to delete it instead of starting over?


Thanx

km

blutach
15th October 2004, 07:23
You really are a perfectionist Kaimaster. Those blanks take up a measly 10KB (plus the associated IFO and BUP) and you can disable the playback with PGCEdit's killplayback function anyway.

r0lZ
15th October 2004, 09:45
@Kaimaster

I have tried to wrote a function to delete an arbitrary PGC, in the title or menu domain, or the whole titleset. This is really not a piece of cake. There are many tables and parameters to update, in the VTS and VMG IFOs. All references to the deleted PGCs must be safely removed. Furthermore, and this is the big problem, all references to PGCs or titlesets following the removed one must be updated.

I may write more easily a function to completely remove the LAST titleset of the DVD (VTSM and VTST), but here again there are difficulties. (For example, it is possible that one Title number in the deleted VTS is not the last one in the VMG_TT_SRPT table: I must therefore update all the JumpTT targets.)

If you really want to cleanup totally your DVD of unwanted titlesets, you should use the New DVD and the Import functions, and modify the references in the commands yourself. That's what you suggested...

sweetness
18th October 2004, 16:07
Hi r0lZ, i'm having some problems with Pgcedits macros. the import title closing clip and the import title intro clip i get errors, but the import first-play (start up) clip works fine. what i did was create a movie only backup with dvdshrink in re-author mode then tried to import the clips. here are the two error messages i get when i try to use the marcos.

invalid command name "set_menu_type"
invalid command name "set_menu_type"
while executing
"set_menu_type 0 1 1 0 "
(procedure "::macros::import_title_intro_clip" line 126)
invoked from within
"::macros::import_title_intro_clip"
(menu invoke)

and to other one is the same except of this line.

(procedure "::macros::import_title_closing_clip" line 273)

any ideas? thanks

r0lZ
18th October 2004, 16:30
Hi sweetness,

Bug found and fixed. A new version will be available soon...

r0lZ
20th October 2004, 14:00
PgcEdit v0.3.6 released.

Download (http://home.tiscali.be/debie.roland/pgcedit/)

Added: Added the "PGCs params and Cell table" menu to dump all PGCs.
Added the "Remove Parental Managment" utility.
Thanks to jsoto, The VOB/Cell ID remapper (in the PGC Editor window, VOB/Cell ID buttons) has now the ability to append a new blank cell to the VOB. Handy to blank out a specific cell. Currently for Windows only.
Enhancements: Changed the "Info/PGC commands" to "Info/PGC". Now, dump also the PGC parameters and the Cell Table.
"Find Unused GPRMs" now search also for GPRMs in the menu button cmds.
In the disassembly of integer values, the ASCII equivalent of the value is now displayed only if it is a valid language code. (No more "..")
The first column of the Cell Table in the PGC Editor is now the Number of Buttons for a Menu PGC (and still the Chapter Number for a Title).
New popup menu on the Search fields of the main window and the text viewer, to clear, copy and paste in the search field.
The Copy and Cut buttons in the main window are now placing the command in the clipboard without the "{" and "}" characters if only one command is copied/cutted. Handy to paste the hex codes in the search field.
Command Editor: When pasting in the hexadecimal field, the command is now automatically validated, and transferred in the GUI.
The number of buttons shown in the PGC labels is now "?b." if the VOB file is missing or not readable. Was "0b." before.
Now, the "Cell Type Flags" editor doesn't allow to select an Angle Type if the Angle Block flag is not checked.
"Kill PGC Playback" changes now also all Link to Cell, PG or PTT pre commands to GOTOs (only if the Highlight Button parameter is not used.)
Documentation updated (and english doc corrected.)
Bug fixes: "Kill PGC Playback" will now remove the post commands after a Kill if the total number of commands exceeds the fatal limit of 128.
"Import First-Play Clip" and "Import Title's Intro Clip" bugs fixed.

maksa
20th October 2004, 14:24
I'll check Parental MAnagement Removal tonight. Did you do all of it or just removal of PGC_MAIT TAble?

Regards,
Maksa

r0lZ
20th October 2004, 14:31
This utility will remove the parental managment:
delete the VMG_PTL_MAIT table, reset all Parental ID
masks in the VMG_TT_SRPT and the VTS_PGCITI tables,
and change the SetTmpPML commands to GOTOs.

The DVD will therefore ignore the parental level
of the player.

Are you sure ?

...
You will never be prompted for a password anymore!

To be sure that the Parental level is never used in the DVD,
you should search for any occurence of sprm(13:Parental level)
and change the sprm 13 in the command by the constant value 15.
(The search field is alerady initialized with the string "sprm(13:")
For example, change "Set gprm(4) =(mov) sprm(13:Parental level)"
to "Set gprm(4) =(mov) 15".

OK

maksa
20th October 2004, 15:50
Thanks a lot... didn't catch that one before.

jeanl
20th October 2004, 17:12
r0lZ, thanks for this new release! :)
It sounds like pgcedit's Kill Playback macro is now the most advanced around, as it now also handles cases (pointed out by 2COOL) where playback previously still occured. This is really cool.
Can't wait to play with it!
Jeanl

r0lZ
20th October 2004, 17:25
It sounds like pgcedit's Kill Playback macro is now the most advanced around, as it now also handles cases (pointed out by 2COOL) where playback previously still occured. This is really cool.Yes, thanks to jsoto!
However, though it is theorically possible to blank or skip any playback with PgcEdit, the case of a menu with buttons is not yet automated. You have still to follow the 2COOL's guide (http://home.tiscali.be/debie.roland/pgcedit/third_party/2cool/remove_language_aspect_ratio_menus/remove_language_and_aspect_ratio_menus_intro.htm) to get rid of them.
Maybe I'll write a macro to automatize that...

jeanl
20th October 2004, 17:32
However, though it is theorically possible to blank or skip any playback with PgcEdit, the case of a menu with buttons is not yet automated. You have still to follow the 2COOL's guide to get rid of them.
Now, THAT would be a real breakthrough, because the procedure is pretty involved, but pretty neat too!
Jeanl

jsoto
20th October 2004, 18:16
@r0lZ
It sounds like pgcedit's Kill Playback macro is now the most advanced around, as it now also handles cases (pointed out by 2COOL) where playback previously still occured. This is really cool.
Yes, thanks to jsoto!
Are you taking about this? "Kill PGC Playback" changes now also all Link to Cell, PG or PTT pre commands to GOTOs (only if the Highlight Button parameter is not used.) If yes, don't give me any credit. You have pointed me in this direction before... VM commands management is your business. :)

jsoto

r0lZ
20th October 2004, 19:11
No, I think at BlankCell.exe. It adds a blank cell to any VOB. You know that: it's your job.
It is therefore now possible to exchange any cell with a blank one. This step was missing to complete the 2COOL's guide with PgcEdit alone.

Thanks again, jsoto!

2COOL
20th October 2004, 20:08
Originally posted by r0lZ
This step was missing to complete the 2COOL's guide with PgcEdit alone. C My thanks to you too jsoto!

blutach
20th October 2004, 22:31
PGCEdit just keeps getting better and better.

Thanks r0lZ

From your biggest fan

2COOL
20th October 2004, 22:34
Anyone notice how clean the commands are now? :D

2COOL
20th October 2004, 23:37
Originally posted by blutach
PGCEdit just keeps getting better and better. Since vStrip has CLI commands, I think you can incorporate it into PgcEdit for stripping out Audio and Subpictures. I hope you can understand this guide (http://www.doom9.org/vstrip.htm). This would take PgcEdit closer to matching IfoEdit. What do you think?