PDA

View Full Version : Dvd Hardware Test beta 1


Junior73Italy
21st May 2005, 14:41
Hi all,
please sorry for my english but is not my first language.I'm writing a little utility called "dvd Hardware test beta 1".It is a dvd structure to testing the home player hardware setup.

Features of beta 1:

-Menu LAnguage test

-Region Code test

-Parental LEvel Test (I've some problems with this "routine")


To do:

-Audio preferred test

-Subtitle preffered test

This is the "dump" of Pgc edit (many thanks Roiz for your utility):

VMG (VIDEO_TS.IFO)
------------------

VMG , First-Play PGC
********** pre commands:
[30 06 00 02 00 C0 00 00] 1 (JumpSS) Jump to VMGM PGC 2
********** post commands:
********** cell commands:


VMGM , LU 1 (en):

VMGM , LU 1 (en) , 1 (dummy) TitleM - Chapters: n/a, Programs: 0, Cells: 0
********** pre commands:
[30 06 00 02 00 C0 00 00] 1 (JumpSS) Jump to VMGM PGC 2
********** post commands:
********** cell commands:


VMGM , LU 1 (en) , 2 (0:00) 3b. - Chapters: n/a, Programs: 1, Cells: 1
********** pre commands:
********** post commands:
[20 04 00 00 00 00 00 02] 1 LinkPGCN PGC 2
********** cell commands:
********** menu buttons commands:
VOB ID 1, Cell ID 1 (First NAV pack LBA=0)
1 Group Select button=0, Action button=0
1: [30 06 00 01 01 83 00 00] (JumpSS) Jump to VTSM 1, Root menu (TTN 1)
2: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
3: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4


VMGM , LU 1 (en) , 3 (0:00) 10b. - Chapters: n/a, Programs: 1, Cells: 1
********** pre commands:
[61 00 00 01 00 94 00 00] 1 Set gprm(1) =(mov) sprm(20:Player region code)
[00 A1 00 01 00 FE 00 0D] 2 if ( gprm(1) == 254 ) then { Goto line 13 }
[00 A1 00 01 00 FD 00 0F] 3 if ( gprm(1) == 253 ) then { Goto line 15 }
[00 A1 00 01 00 FB 00 11] 4 if ( gprm(1) == 251 ) then { Goto line 17 }
[00 A1 00 01 00 F7 00 13] 5 if ( gprm(1) == 247 ) then { Goto line 19 }
[00 A1 00 01 00 EF 00 15] 6 if ( gprm(1) == 239 ) then { Goto line 21 }
[00 A1 00 01 00 DF 00 17] 7 if ( gprm(1) == 223 ) then { Goto line 23 }
[00 A1 00 01 00 BF 00 19] 8 if ( gprm(1) == 191 ) then { Goto line 25 }
[00 A1 00 01 00 7F 00 1B] 9 if ( gprm(1) == 127 ) then { Goto line 27 }
[00 A1 00 01 FF FF 00 1D] 10 if ( gprm(1) == 65535 ) then { Goto line 29 }
[00 A1 00 01 00 FF 00 1D] 11 if ( gprm(1) == 255 ) then { Goto line 29 }
[00 02 00 00 00 00 00 00] 12 Break
[56 00 00 00 04 00 00 00] 13 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
[00 02 00 00 00 00 00 00] 14 Break
[56 00 00 00 08 00 00 00] 15 (SetHL_BTN) Set Highlighted Button =(mov) 2048 (button 2)
[00 02 00 00 00 00 00 00] 16 Break
[56 00 00 00 0C 00 00 00] 17 (SetHL_BTN) Set Highlighted Button =(mov) 3072 (button 3)
[00 02 00 00 00 00 00 00] 18 Break
[56 00 00 00 10 00 00 00] 19 (SetHL_BTN) Set Highlighted Button =(mov) 4096 (button 4)
[00 02 00 00 00 00 00 00] 20 Break
[56 00 00 00 14 00 00 00] 21 (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
[00 02 00 00 00 00 00 00] 22 Break
[56 00 00 00 18 00 00 00] 23 (SetHL_BTN) Set Highlighted Button =(mov) 6144 (button 6)
[00 02 00 00 00 00 00 00] 24 Break
[56 00 00 00 1C 00 00 00] 25 (SetHL_BTN) Set Highlighted Button =(mov) 7168 (button 7)
[00 02 00 00 00 00 00 00] 26 Break
[56 00 00 00 20 00 00 00] 27 (SetHL_BTN) Set Highlighted Button =(mov) 8192 (button 8)
[00 02 00 00 00 00 00 00] 28 Break
[56 00 00 00 24 00 00 00] 29 (SetHL_BTN) Set Highlighted Button =(mov) 9216 (button 9)
********** post commands:
[20 04 00 00 00 00 00 03] 1 LinkPGCN PGC 3
********** cell commands:
********** menu buttons commands:
VOB ID 2, Cell ID 1 (First NAV pack LBA=48)
1 Group Select button=0, Action button=0
1: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
2: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
3: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
4: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
5: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
6: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
7: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
8: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
9: [20 04 00 00 00 00 00 03] LinkPGCN PGC 3
10: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2


VMGM , LU 1 (en) , 4 (0:00) 10b. - Chapters: n/a, Programs: 1, Cells: 1
********** pre commands:
[61 00 00 02 00 8D 00 00] 1 Set gprm(2) =(mov) sprm(13:Parental level)
[00 A1 00 02 00 01 00 0C] 2 if ( gprm(2) == 1 ) then { Goto line 12 }
[00 A1 00 02 00 02 00 0E] 3 if ( gprm(2) == 2 ) then { Goto line 14 }
[00 A1 00 02 00 03 00 10] 4 if ( gprm(2) == 3 ) then { Goto line 16 }
[00 A1 00 02 00 04 00 12] 5 if ( gprm(2) == 4 ) then { Goto line 18 }
[00 A1 00 02 00 05 00 14] 6 if ( gprm(2) == 5 ) then { Goto line 20 }
[00 A1 00 02 00 06 00 16] 7 if ( gprm(2) == 6 ) then { Goto line 22 }
[00 A1 00 02 00 07 00 18] 8 if ( gprm(2) == 7 ) then { Goto line 24 }
[00 A1 00 02 00 08 00 1A] 9 if ( gprm(2) == 8 ) then { Goto line 26 }
[00 A1 00 02 00 0F 00 1C] 10 if ( gprm(2) == 15 ) then { Goto line 28 }
[00 02 00 00 00 00 00 00] 11 Break
[56 00 00 00 04 00 00 00] 12 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
[00 02 00 00 00 00 00 00] 13 Break
[56 00 00 00 08 00 00 00] 14 (SetHL_BTN) Set Highlighted Button =(mov) 2048 (button 2)
[00 02 00 00 00 00 00 00] 15 Break
[56 00 00 00 0C 00 00 00] 16 (SetHL_BTN) Set Highlighted Button =(mov) 3072 (button 3)
[00 02 00 00 00 00 00 00] 17 Break
[56 00 00 00 10 00 00 00] 18 (SetHL_BTN) Set Highlighted Button =(mov) 4096 (button 4)
[00 02 00 00 00 00 00 00] 19 Break
[56 00 00 00 14 00 00 00] 20 (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
[00 02 00 00 00 00 00 00] 21 Break
[56 00 00 00 18 00 00 00] 22 (SetHL_BTN) Set Highlighted Button =(mov) 6144 (button 6)
[00 02 00 00 00 00 00 00] 23 Break
[56 00 00 00 1C 00 00 00] 24 (SetHL_BTN) Set Highlighted Button =(mov) 7168 (button 7)
[00 02 00 00 00 00 00 00] 25 Break
[56 00 00 00 20 00 00 00] 26 (SetHL_BTN) Set Highlighted Button =(mov) 8192 (button 8)
[00 02 00 00 00 00 00 00] 27 Break
[56 00 00 00 24 00 00 00] 28 (SetHL_BTN) Set Highlighted Button =(mov) 9216 (button 9)
********** post commands:
[20 04 00 00 00 00 00 04] 1 LinkPGCN PGC 4
********** cell commands:
********** menu buttons commands:
VOB ID 3, Cell ID 1 (First NAV pack LBA=130)
1 Group Select button=0, Action button=0
1: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
2: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
3: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
4: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
5: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
6: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
7: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
8: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
9: [20 04 00 00 00 00 00 04] LinkPGCN PGC 4
10: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2



VTS 1 (VTS_01_0.IFO)
--------------------

VTSM 1 , LU 1 (en):

VTSM 1 , LU 1 (en) , 1 (dummy) RootM - Chapters: n/a, Programs: 0, Cells: 0
********** pre commands:
[20 04 00 00 00 00 00 02] 1 LinkPGCN PGC 2
********** post commands:
********** cell commands:


VTSM 1 , LU 1 (en) , 2 (0:00) 7b. - Chapters: n/a, Programs: 1, Cells: 1
********** pre commands:
[61 00 00 00 00 80 00 00] 1 Set gprm(0) =(mov) sprm(0:Preferred menu language)
[00 A1 00 00 65 6E 00 09] 2 if ( gprm(0) == 25966 ("en") ) then { Goto line 9 }
[00 A1 00 00 69 74 00 0B] 3 if ( gprm(0) == 26996 ("it") ) then { Goto line 11 }
[00 A1 00 00 66 72 00 0D] 4 if ( gprm(0) == 26226 ("fr") ) then { Goto line 13 }
[00 A1 00 00 65 73 00 0F] 5 if ( gprm(0) == 25971 ("es") ) then { Goto line 15 }
[00 A1 00 00 64 65 00 11] 6 if ( gprm(0) == 25701 ("de") ) then { Goto line 17 }
[00 A1 00 00 FF FF 00 13] 7 if ( gprm(0) == 65535 ) then { Goto line 19 }
[00 02 00 00 00 00 00 00] 8 Break
[56 00 00 00 04 00 00 00] 9 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
[00 02 00 00 00 00 00 00] 10 Break
[56 00 00 00 08 00 00 00] 11 (SetHL_BTN) Set Highlighted Button =(mov) 2048 (button 2)
[00 02 00 00 00 00 00 00] 12 Break
[56 00 00 00 0C 00 00 00] 13 (SetHL_BTN) Set Highlighted Button =(mov) 3072 (button 3)
[00 02 00 00 00 00 00 00] 14 Break
[56 00 00 00 10 00 00 00] 15 (SetHL_BTN) Set Highlighted Button =(mov) 4096 (button 4)
[00 02 00 00 00 00 00 00] 16 Break
[56 00 00 00 14 00 00 00] 17 (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
[00 02 00 00 00 00 00 00] 18 Break
[56 00 00 00 18 00 00 00] 19 (SetHL_BTN) Set Highlighted Button =(mov) 6144 (button 6)
********** post commands:
[20 04 00 00 00 00 00 02] 1 LinkPGCN PGC 2
********** cell commands:
********** menu buttons commands:
VOB ID 1, Cell ID 1 (First NAV pack LBA=0)
1 Group Select button=0, Action button=0
1: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2
2: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2
3: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2
4: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2
5: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2
6: [20 04 00 00 00 00 00 02] LinkPGCN PGC 2
7: [30 06 00 02 00 c0 00 00] (JumpSS) Jump to VMGM PGC 2



VTST 1:

VTST 1 , 1 TTN 1 (0:00) Title 1 - Chapters: 1, Programs: 1, Cells: 1
********** pre commands:
[00 00 00 00 00 00 00 00] 1 NOP
********** post commands:
[30 08 00 00 01 83 00 00] 1 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1
********** cell commands:


Download this little dvd structure from my very little site:

http://junior73.altervista.org/Free%20Software.htm

I'm very happy if someone test and gives me a better idea.


Bye

Junior

zacoz
21st May 2005, 15:39
Hi Junior. You don't say specifically what your problem is, but after looking at the menu's in PgcEdit and testing on my own player, I have confirmed your problem.

You presently have "Force action after x seconds" set to 0 (zero). This is therefore immediately forcing the selected button, which on your very first menu played (VMGM LU1,2) is button 0 - no buttons have been highlighted or selected at that point. Player is then crashing.

If you change your menus to set "force action after x seconds" to -1 (don't force) then it all works fine.

The only additional issue is that after running a test, the highlight on your VMGM LU122 menu always sits on Parental Control Test. I think this is due to it carrying forward the highlight button number from previous menu. You may like to set it up so that it steps through to highlight the next test, so user only has to press play to proceed. You should be able to do this through use of another gprm.

Hope this helps.