PDA

View Full Version : PgcEdit's TraceMode seems not to work correctly


jinjin_jp
7th January 2012, 01:17
I found that PgcEdit's TraceMode seems not to work correctly.

DVD is "SUPER 8".
It is replayed VMGM PGC 19 looply, so can't replay ane menus nor any movies.

Here is the command of VMGM PGC 19.

VMGM , LU 1 (en) , 19 (0:00) 6b. - Chapters: n/a, Programs: 1, Cells: 1
********** pre commands:
1 (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
********** post commands:
1 Set gprm(0) =(mov) 5120
2 if ( gprm(0) == sprm(8:Highlighted button number) ) then { Goto line 6 }
3 Set gprm(0) =(mov) 0
4 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
5 LinkPGCN PGC 12
6 Set gprm(0) =(mov) 0
7 LinkPGCN PGC 19
********** cell commands:
********** menu buttons commands:
VOB ID 3, Cell ID 1 (First NAV pack LBA=10)
1 Group, Select button=3, Action button=0, 6 numerically selectable buttons.
1: (JumpTT) Jump to Title 32
2: (JumpTT) Jump to Title 20
3: LinkPGCN PGC 12
4: LinkTailPGC
5: LinkPGCN PGC 19
6: (JumpTT) Jump to Title 71

Here is the log of TraceMode.
+++++++ Returning to VMG , First-Play PGC , entry point.
------> Entering VMG , First-Play PGC
-- pre 1 : (JumpSS) Jump to VMGM PGC 19
------> Entering VMGM , LU 1 (en) , 19 (0:00) 6b.
-- pre 1 : (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
-> sprm(8:Highlighted button number) = 5120 (0x1400) = button 5
******* Start playback VMGM , LU 1 (en) , 19 (0:00) 6b....
******* Playing Program 1, Cell 1 (0:00.12) (6 buttons)
No time left to select a button! (Blanked menu)
******* End playback of PGC 19.
-- post 1 : Set gprm(0) =(mov) 5120
-> gprm(0) = 5120 (0x1400) = button 5
-- post 2 : if ( gprm(0) == sprm(8:Highlighted button number) ) then { Goto line 6 }
if ( 5120 == 5120 ) : true.
-- post 6 : Set gprm(0) =(mov) 0
-> gprm(0) = 0 (0x0000)
-- post 7 : LinkPGCN PGC 19
------> Entering VMGM , LU 1 (en) , 19 (0:00) 6b.
-- pre 1 : (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
-> sprm(8:Highlighted button number) = 5120 (0x1400) = button 5
******* Start playback VMGM , LU 1 (en) , 19 (0:00) 6b....
******* Playing Program 1, Cell 1 (0:00.12) (6 buttons)
like above, "VMGM , LU 1 (en) , 19" is repeated to replay looply.

Here is what I thnink it should be.
------> Entering VMG , First-Play PGC
-- pre 1 : (JumpSS) Jump to VMGM PGC 19
------> Entering VMGM , LU 1 (en) , 19 (0:02) 6b.
-- pre 1 : (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
-> sprm(8:Highlighted button number) = 5120 (0x1400) = button 5
******* Start playback VMGM , LU 1 (en) , 19 (0:02) 6b....
******* Playing Program 1, Cell 1 (0:02.00) (6 buttons)
-> sprm(8:Highlighted button number) = 3072 (0x0C00) = button 3 <==by "auto select"
No time left to select a button! (Blanked menu)
******* End playback of PGC 19.
-- post 1 : Set gprm(0) =(mov) 5120
-> gprm(0) = 5120 (0x1400) = button 5
-- post 2 : if ( gprm(0) == sprm(8:Highlighted button number) ) then { Goto line 6 }
if ( 5120 == 3072 ) : false.
-- post 3 : Set gprm(0) =(mov) 0
-> gprm(0) = 0 (0x0000)
-- post 4 : (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
-> sprm(8:Highlighted button number) = 3072 (0x0C00) = button 3
-- post 5 : LinkPGCN PGC 12
------> Entering VMGM , LU 1 (en) , 2 (dummy)
I think it is possible to escape from looply repeated replay, like above.

Button of PGC 19 is auto-selected, but not auto-action.
So when replaying PGC 19, sprm(8:Highlighted button number) changes to 3072 from 5042 even if there is no time to push buttons.

Regards.

Ghitulescu
7th January 2012, 07:26
Isn't it because of a faulty menu blanking rather than a trace error?

jinjin_jp
7th January 2012, 10:09
Isn't it because of a faulty menu blanking rather than a trace error?

Why do you think so ?

I don't think because DVD is replayed without no problem.
(And DvdReMakePro has similar function which is called Debug Mode.
It's trace recognizes the change of sprm(8), so escape from looply repeated replay.)

Regards.

r0lZ
9th January 2012, 11:26
Yes, jinjin_jp, I think you've found a bug. The forced button number should be put in SPRM 8 even if it is not activated. I will have a look.

jinjin_jp
9th January 2012, 14:36
Yes, jinjin_jp, I think you've found a bug. The forced button number should be put in SPRM 8 even if it is not activated. I will have a look.

Thanks very much.
I read PM.
Please see e-mail.

Regards.