View Full Version : Van Wilder Unrated R1 (Widescreen/ Fullscreen) Cheat Sheet
2COOL
8th January 2003, 15:54
UPDATE: This cheat sheet has been edited for a fix on bypassing aspect ratio screen in step 13.
I'm bouncin' off the wall again...:D
I did this movie a while back but I had only a month of experience. I'm know better now. This is a really funny movie. I really wanted the uncensored menu "ON" all the time but I couldn't get it to work. So with motivation from others,you know who you are, I revisited Van Wilder Unrated R1 and did my magic.
It's hard to write a guide for all DVD movies and you know they aren't all the same. But I strongly believe in learning by examples. This is not just a cheat sheet, it's a "learning and understanding" cheat sheet.
Remember my motto. "What can be authored...can be de-authored."
Don't be a fool Timmy!, be 2COOL! :cool: :cool:
Tools I used:
SmartRipper 2.41
Ifoedit 0.95 (Thanks Derrow!)
Nero 5.5.9.17/Imgtool 0.95-98
_________________________________________________________________________________
1.
FULLSCREEN: Use Smartripper and rip all files except Vts_04_X.X.
WIDESCREEN: Use Smartripper and rip all files except Vts_05_X.X.
_________________________________________________________________________________
2. Use Ifoedit and open up VIDEO_TS.IFO.
_________________________________________________________________________________
3. Region Free just in case. If RCE is present, set your region and save IFO.
_________________________________________________________________________________
4. Get VTS Sectors.
_________________________________________________________________________________
5. Repeat step 3 for rest of other IFOs.
_________________________________________________________________________________
6. DVD play to preview.
_________________________________________________________________________________
7. ****IMPORTANT****:Before we dabble in the IFOs, it is important that we need to BACKUP all our IFOs and BUPs to another folder. In case something goes wrong. Trust me. What we need to do later, you don’t want to mess up. Besides, it’s a good habit. And also, I also jot down the original values before I change them so I can revert back to them if I erred out. Have a notepad nearby.
_________________________________________________________________________________
8. The first title played is Title 2 which is Artisan’s Company Logo and the second is Title 3 which is the DVD contents declaration.
Let’s bypass those suckers. Go to VIDEO_TS.IFO / VMGM_PGCI_UT / PGC-Menu_2. We need to hexedit Pre command 12 as follows so double-left click on line.
OLD > 12.Pre Command...If GPreg<0> == GPreg<4> then (JumpTT) Jump to Title: 2...[30 22 00 00 00 02 00 04 ]
NEW > 12.Pre Command...If GPreg<0> == GPreg<4> then (JumpTT) Jump to Title: 1...[30 22 00 00 00 01 00 04 ]
Translation: Bypass Title 2 & 3 and main menu play upon DVD insert.
Details: Jumping to titles is part of VMG’s job. Our instructions are always in VIDEO_TS.IFO / VMGM_PGCI_UT’s PGC-Menus. It was easy going through all 14 PGC-Menus looking for a traces of Title 2 and found it in PGC-Menu 2. Title 1 contains your menus so I performed the edit above.
_________________________________________________________________________________
9. Save VIDEO_TS.IFO
_________________________________________________________________________________
10. DVD Play to preview change.
_________________________________________________________________________________
11. This was my first DVD in which I didn’t have the movie menus in the same titleset. So I found it in Title 1.
In VTS_01_0.IFO, I viewed the VOBs in VTS overview/Language Menu Unit section and documented the important stuff for you and me.
Menu 7 : [entry only] (Programs: 2) (Cells: 2) (uses VOB-IDs: 1) This is our initial screen, girl pops up and dances with shirt on.
Menu 8 : [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 2) Main menu shirt and dancing (censored)
Menu 9 : [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 3) Main menu shirt and dancing (XXX)
Menu 10: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 4) XXX Main>Shirt Off
Menu 11: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 5) Censored Aspect Ratio>Shirt Off
Menu 12: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 6) XXX Aspect Ratio>Shirt Off
Menu 13: [entry only] (Programs: 2) (Cells: 2) (uses VOB-IDs: 7) Censored Aspect Ratio>Shirt On
Menu 14: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 8) Aspect Ratio> Shirt On and dancing
Menu 15: [entry only] (Programs: 2) (Cells: 2) (uses VOB-IDs: 9) XXX Main>Shirt Off>Aspect Ratio
Menu 16: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 10) Aspect Ratio> Shirt On and dancing
Menu 17: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 11) XXX Aspect Ratio>Shirt Off
Menu 18: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 12) Aspect Ratio> Shirt On and dancing
Menu 19: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 13) Aspect Ratio> Shirt On and dancing
Menu 20: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 14) Censored Aspect Ratio> Shirt Off
Menu 21: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 15) XXX Aspect Ratio> Shirt Off and fade to black
_________________________________________________________________________________
12. Here’s where the hard work comes in. What I found out was when I was previewing the movie and watching the Gpregs, I noticed only GPreg 11 would have the value of “1” whenever I chose uncensored version. I also tooked in mind that Menu 8 was our censored version and Menu 9 was our uncensored version. So I went through every PGC-Menu in VTS_01_0.IFO / VTSM_PGCI_UT.
If I saw any command containing “If GPreg<11> == (cmp-val)<0>”, I hexedited that according to a nearby “If GPreg<11> == (cmp-val)<1>” command.
If I saw any Menu 8s in any command, I changed those to Menu 9s.
Pre-Translation: To view the you-know-what. The DVD will play uncensored (XXX) entirely,even if you chose the censored version.
Hexedit carefully because if you miss one, you won’t get to see the show. Go to VTS_01_0.IFO / VTSM_PGCI_UT and start editing. Oh if you don’t know how to be in hexedit mode, just double-left click the command line. The hexedit window will pop up.
PGC-Menu 6
OLD > 13.Pre Command....If GPreg<0> == (cmp-val)<2> then (LinkPGCN) Link PGC 8.....[20 a4 00 00 00 02 00 08 ]
NEW > 13.Pre Command....If GPreg<0> == (cmp-val)<2> then (LinkPGCN) Link PGC 9.....[20 a4 00 00 00 02 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 30
OLD > 34.Post Command...(LinkPGCN) Link PGC 8......................................[20 04 00 00 00 00 00 08 ]
NEW > 34.Post Command...(LinkPGCN) Link PGC 9......................................[20 04 00 00 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 38
OLD > 14.Post Command...(LinkPGCN) Link PGC 8......................................[20 04 00 00 00 00 00 08 ]
NEW > 14.Post Command...(LinkPGCN) Link PGC 9......................................[20 04 00 00 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 47
OLD > 12.Pre Command....Set GPreg<11> mov (set-val)<0>.............................[20 00 00 0b 00 00 00 00 ]
NEW > 12.Pre Command....Set GPreg<11> mov (set-val)<1>.............................[20 00 00 0b 00 01 00 00 ]
~~~~~~~~~~~~~~~
PGC-Menu 48
OLD > 7.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 8....[20 a4 00 0b 00 00 00 08 ]
NEW > 7.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 9....[20 a4 00 0b 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 49
OLD > 5.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 8....[20 a4 00 0b 00 00 00 08 ]
NEW > 5.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 9....[20 a4 00 0b 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 50
OLD > 2.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 8....[20 a4 00 0b 00 00 00 08 ]
NEW > 2.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 9....[20 a4 00 0b 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 51
OLD > 4.Pre Command.....(LinkPGCN) Link PGC 8......................................[20 04 00 00 00 00 00 08 ]
NEW > 4.Pre Command.....(LinkPGCN) Link PGC 9......................................[20 04 00 00 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 52
OLD > 9.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 13...[20 a4 00 0b 00 00 00 0d ]
NEW > 9.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 15...[20 a4 00 0b 00 00 00 0f ]
~~~~~~~~~~~~~~~
PGC-Menu 58
OLD > 68.Pre Command....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 18...[20 a4 00 0b 00 00 00 12 ]
NEW > 68.Pre Command....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 19...[20 a4 00 0b 00 00 00 13 ]
~~~~~~~~~~~~~~~
PGC-Menu 59
OLD > 2.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 8....[20 a4 00 0b 00 00 00 08 ]
NEW > 2.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 9....[20 a4 00 0b 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 60
OLD > 5.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 29...[20 a4 00 0b 00 00 00 1d ]
NEW > 5.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 3....[20 a4 00 0b 00 00 00 1f ]
~~~~~~~~~~~~~~~
PGC-Menu 61
OLD > 4.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 30...[20 a4 00 0b 00 00 00 1e ]
NEW > 4.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 32...[20 a4 00 0b 00 00 00 20 ]
~~~~~~~~~~~~~~~
PGC-Menu 62
OLD > 9.Pre Command.....If GPreg<11> == (cmp-val)<0><' then Goto line# 22..........[20 a1 00 0b 00 00 00 16 ]
NEW > 9.Pre Command.....If GPreg<11> == (cmp-val)<0><' then Goto line# 28..........[20 a1 00 0b 00 00 00 1c ]
OLD > 19.Pre Command....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 30...[20 a4 00 0b 00 00 00 1e ]
NEW > 19.Pre Command....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 32...[20 a4 00 0b 00 00 00 20 ]
~~~~~~~~~~~~~~~
PGC-Menu 63
OLD > 95.Pre Command....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 8....[20 a4 00 0b 00 00 00 08 ]
NEW > 95.Pre Command....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 9....[20 a4 00 0b 00 00 00 09 ]
~~~~~~~~~~~~~~~
PGC-Menu 65
OLD > 4.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 14...[20 a4 00 0b 00 00 00 0e ]
NEW > 4.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 16...[20 a4 00 0b 00 00 00 10 ]
~~~~~~~~~~~~~~~
PGC-Menu 68
OLD > 5.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 30...[20 a4 00 0b 00 00 00 1e ]
NEW > 5.Pre Command.....If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 32...[20 a4 00 0b 00 00 00 20 ]
_________________________________________________________________________________
You did it! Now the only matter is correcting the aspect ratio screen. This is our fullscreen or widescreen option.
UPDATE: Step 13 and 14 has been edited. Bypassing the aspect ratio screen has been updated. There is a fix now.
13. In VTS_01_IFO/VTSM_PGCI_UT/PGC-Menu_15,
OLD > 1.Pre Command NOP [00 00 00 00 00 00 00 00 ]
NEW > 1.Pre Command (LinkPGCN) Link PGC 21 [20 04 00 00 00 00 00 15 ]
Translation: When you press Play, you go straight to movie.
Details: PGC-Menu_15 had scene after you press play. PGC-Menu_21 has exit scene.
_________________________________________________________________________________
14. Save VTS_01_0.IFO
_________________________________________________________________________________
15. Get VTS Sectors
_________________________________________________________________________________
16. Press DVD Play and preview your movie. Preview in PowerDVD or WinDVD if you got it.
_________________________________________________________________________________
OPTIONAL: If you want to go to straight to your main menu and bypass the menu intro, you can do the following. In VTS_01_0.IFO / VTSM_PGCI_UT / PGC-Menu_7 / Cell Playback section,
OLD > [0000016e] Cell_1: entry point sector 0
NEW > [0000016e] Cell_1: entry point sector 4405 _________________________________________________________________________________
17. That’s it. Burn what works for you.
________________________________________________________________________________
2COOL
8th January 2003, 16:38
If you want to get rid of those pesky company logos and intros before the movie really starts then perform the following edit in Vts_05_0.ifo/VTS_PGCITI/VTS_PGC_1/Cell playback section.
Cell Playback:
OLD Cell_1: entry point sector 0 [00002554]
NEW Cell_1: entry point sector 9556 [00002554]
Translation: So when the movie begins to play, you bypass all the unneeded intros and the movie starts where it suppose to.
2COOL
8th January 2003, 21:35
Did you know there is a hidden show (easter egg) on the main menu of disk 1? Well, I wouldn't say it's hidden but the way to navigate to there is sort of illogical. For those who knew, you've been spending too much time on the DVD, like me. :D
Navigate the star cursor over "SCENES" button and press your "UP" arrow button. Logically, it should wrap-around up and then highlight a button at the bottom of the screen but it jumps to the Van Wilder Logo on middle of her shirt. If you pressed "DOWN" from SCENES, your cursor will go to "PLAY" button.
When you see a smaller star on her shirt,press enter and enjoy! Me Likey!:D :D
gnutellafan
9th January 2003, 17:16
OMFG, 2cool, your are, well TO COOL. Thank you sooooooo much for your guide. We really need an index for ppl to submit quality guides like yours to so ppl can easily look them up.
gnutellafan
12th January 2003, 01:23
2cool (or anyone else),
I have a few questions:
Question 1
How did you know when to edit the commands in a certain way:
ie:
PGC-Menu 60
OLD 5.Pre Command If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 29 [20 a4 00 0b 00 00 00 1d ]
NEW 5.Pre Command If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 31 [20 a4 00 0b 00 00 00 1f ]
I tried to do this on my own w/o reading the hex edits you gave and just the advice. When I cam to this pgc menu I edited the hex value to:
5.Pre Command If GPreg<11> == (cmp-val)<1> then (LinkPGCN) Link PGC 29 [20 a4 00 0b 00 01 00 1d ]
So how did you know to leave the cmp-val @ 0 and change the 1d to 1f. I can see that you made this pre command basicaly like another one right below it.
Question 2
Your solution for skipping "those pesky company logos and intros before the movie really starts" doesnt work for me. The DVD freezes right before the movie should start. Are you sure this is the correct way to do this?
Question 3
I know you said you couldnt figure this out before but Im sure it can be done. Can you help me try to figure out how to skip the widescreen/fullscreen selection screen altogether. Whatever funtion is associated with going to that selection screen just needs to be changed to go straight to the movie.
Question 4
First, I think you got your direction a bit confused for fixing the widescreen/fullscreen selection menu (they are backwards). Also, if I have to keep the menu, is there a command line that would allow you to go straight to the movie if you select fullscreen (and have the widescreen version) right now it just loops back to play the whole menu again.
Again, thank you for all of your help 2cool, I think I am finally begining to learn some of the finer points of the ifofiles. Now I just wish Derrow would get back because I have soooo many suggestion.
2COOL
12th January 2003, 04:42
gnutellafan,
2C:cool::cool:L is here and with replies...
Originally posted by gnutellafan
Question 1
How did you know when to edit the commands in a certain way:
ie:
PGC-Menu 60
OLD 5.Pre Command If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 29 [20 a4 00 0b 00 00 00 1d ]
NEW 5.Pre Command If GPreg<11> == (cmp-val)<0> then (LinkPGCN) Link PGC 31 [20 a4 00 0b 00 00 00 1f ]
I tried to do this on my own w/o reading the hex edits you gave and just the advice. When I cam to this pgc menu I edited the hex value to:
5.Pre Command If GPreg<11> == (cmp-val)<1> then (LinkPGCN) Link PGC 29 [20 a4 00 0b 00 01 00 1d ]
So how did you know to leave the cmp-val @ 0 and change the 1d to 1f. I can see that you made this pre command basicaly like another one right below it.[/B]
First of all, we need to be working on the original VTS_01_0.IFO. Open IFO and DVD play. Click on IFOedit status panel and click on the square button on the far right with a dot in it. This shows your GP Register section. Click on title bar of video window to select as active window and click on "uncensored" menu button and watch Gpreg<11>'s value. Initially, you should be seeing a "1" as the original default was your censured menu. Click on "censured" menu button again and watch GPreg<11>'s value. Notice the toggling values?
So, as I stated in step 12 in my above cheat sheet. A value of "1" in GPreg<11> is present when you are playing CENSURED menu. A value of "0" is present when you are in your UN-CENSORED menu.
So as stated in my step 12 in my cheat sheet, where there is a GPreg<11> == (cmp-val)<0>, there's a nearby GPreg<11> == (cmp-val)<1> command which is pre-command #7.
We didn't need to edit the pre-command #7 as it plays our UNCENSORED menu as programmed. We just needed to edit pre-command #5 which contained our (cmp-val)<0>. So don't edit pre-command #7, just mirror what comes after the "then" part in the precommand #5 just like pre-command #7. That's where the bytes "1d" and "1f" come to play.
Do you get the picture now? That's as simple as I can get.
Question 2
Your solution for skipping "those pesky company logos and intros before the movie really starts" doesnt work for me. The DVD freezes right before the movie should start. Are you sure this is the correct way to do this?
Look in this thread in OPTION B, as I mention about doing the same procedure with BarberShop.
http://forum.doom9.org/showthread.php?s=&threadid=42701
I don't experience any freezes on my computer but your configuration is not the same configuration as mine(software and hardware). The only other way I can think of is to probably to cut the desired intro frames out but I wouldn't want to go through the whole trouble. Anyway, changing the entry point sector does work for me but with unpredictable added delay after burn. Maybe it's my burner...maybe it's my player.
Question 3
I know you said you couldnt figure this out before but Im sure it can be done. Can you help me try to figure out how to skip the widescreen/fullscreen selection screen altogether. Whatever funtion is associated with going to that selection screen just needs to be changed to go straight to the movie.
You had to bring it up! Now the IFOedit side of the brain is wanting to tackle that menu again. Give me time, I'll break the code. I like a good challenge! By the way, doing this makes her show her T*Ts one show less. C'mon, we just can't enough of her puppies!:D
Question 4a
First, I think you got your direction a bit confused for fixing the widescreen/fullscreen selection menu (they are backwards).
WHAT THE?!!:confused: WHO CHANGED THOSE ON ME?!
Okay. My bad. I missed that one. It was early morning and I was near the end of my cheat sheet. I was really mentally drain. I'm surprise after all the views, no one caught it earlier? Considered it fixed in first thread after this post.
Did it ever occur to that maybe I did that error on purpose so to stimulate your mind and understand the code?
Question 4b
Also, if I have to keep the menu, is there a command line that would allow you to go straight to the movie if you select fullscreen (and have the widescreen version) right now it just loops back to play the whole menu again.
Hmmm...it supposed to work. I don't have the original DVD with me now to check. My backup is not experiencing that. Could you possibly try the updated cheat sheet again and tell me the results?
[/QUOTE]
gnutellafan
12th January 2003, 05:24
Ok, Ive been going over the ifos like crazy. PGC menu 6 (VTS_01_0.ifo) seems to be the master for all the buttons. Menu 15 is our menu of interest (I think), and it links to PGC menu 65.
I know Im on the right track with menu 15 because I can break the play button with it and leave everything else intact. I tried changing the # of pre-commands to 1 and jumping to the title set but that didnt work.
gnutellafan
12th January 2003, 05:27
You had to bring it up! Now the IFOedit side of the brain is wanting to tackle that menu again. Give me time, I'll break the code. I like a good challenge! By the way, doing this makes her show her T*Ts one show less. C'mon, we just can't enough of her puppies!:D
Could VOBedit be used here? I have no idea how to use it, what its for ect (well, not much anyhow)
gnutellafan
12th January 2003, 05:42
OK, im kind leaning towards menu six now.
20.Pre Command If Gpreg<0> == (cmp-val)<9> then (linkPGCN) Link PGC 15 [20 a4 00 00 00 09 00 0f]
If anyone could tell me how to change this to:
20.Pre Command If Gpreg<0> == (cmp-val)<9> then (Jump_TT) Jump To Title 5
(the movie would be title 5 right, or 1??)
I think this would work
2COOL
12th January 2003, 05:46
I rarely use VOBedit.
Anyway I'm currently downloading my Van Wilder files back unto my harddrive.
In the mean time, back in you PGC-Menu_15 pre-command #1, try this
NEW > 1.Pre Command (JumpSS VMGM) Jump to VMG PGC: 2 [30 06 00 02 00 c0 00 00 ]
2COOL
12th January 2003, 05:52
Originally posted by gnutellafan
OK, im kind leaning towards menu six now.
20.Pre Command If Gpreg<0> == (cmp-val)<9> then (linkPGCN) Link PGC 15 [20 a4 00 00 00 09 00 0f]
If anyone could tell me how to change this to:
20.Pre Command If Gpreg<0> == (cmp-val)<9> then (Jump_TT) Jump To Title 5
(the movie would be title 5 right, or 1??)
I think this would work
Since you are in VTS_01_0.IFO, you can't do a jump from a titleset to title. You must jump from titleset>VMG>title.
gnutellafan
12th January 2003, 06:31
Im a bit confused. I now understand that we cant jump to the title set, but I think Im still in the right place, just need the right set of commands.
So how do you go from the menus to the movie. Ive tried to follow them through to see where it links to the movie and how it does it but I can find it.
BTW, the hex to get:
If Gpreg<0> == (cmp-val)<9> then (Jump_TT) Jump To Title 5
Is:
[30 22 00 00 00 05 00 09]
Not sure what the 30 is for
Next would be 02 for a plain (jump_tt), but 22, has the if/then
(I dont know why you cant just edit this with ifoedit, did Derrow just not get around to it yet?? Oooo we need Derrow back or for him to open the source code up)
The 05 denotes the title to jump to, in the case 5
The last 09 is to set it to<9>
Of course this is all mute, but Im just proud I figured it out.
2COOL
12th January 2003, 06:32
Bring it on Jimmy! I'm just 2C:cool::cool::cool::cool::cool:L!
VTS_01_IFO/VTSM_PGCI_UT/PGC-Menu_15,
OLD > 1.Pre Command NOP [00 00 00 00 00 00 00 00 ]
NEW > 1.Pre Command (LinkPGCN) Link PGC 21 [20 04 00 00 00 00 00 15 ]
Translation: When you press Play, you go straight to movie.
Details: PGC-Menu_15 had scene after you press play. PGC-Menu_21 has exit scene.
You can jump from PGC-Menu to PGC-Menu as that is called navigating within the Titleset PGC domain. To do that, you use (LinkPGCN) command
gnutellafan
12th January 2003, 06:52
Hmm, Ill have to go back and see if I screwed something up but doing this just causing hitting the play button to go back to the start of the menu for me :(
2COOL
12th January 2003, 07:08
Cheat sheet in first thread has been updated!
gnutellafan
4th February 2003, 00:54
2cool, sorry to bring this one back up from the depths, but as I said about your solution to the screen size selection menu just causes me to loop back to the begining of the menu. Any ideas?
gnutellafan
4th February 2003, 00:58
Originally posted by 2COOL
Bring it on Jimmy! I'm just 2C:cool::cool::cool::cool::cool:L!
VTS_01_IFO/VTSM_PGCI_UT/PGC-Menu_15,
OLD > 1.Pre Command NOP [00 00 00 00 00 00 00 00 ]
NEW > 1.Pre Command (LinkPGCN) Link PGC 21 [20 04 00 00 00 00 00 15 ]
Translation: When you press Play, you go straight to movie.
Details: PGC-Menu_15 had scene after you press play. PGC-Menu_21 has exit scene.
You can jump from PGC-Menu to PGC-Menu as that is called navigating within the Titleset PGC domain. To do that, you use (LinkPGCN) command
Should I change the # of precommands to 1? I didnt but was wondering if this would fix my problem. Ill try it :0
gnutellafan
4th February 2003, 01:04
ok, that didnt work, but im going to try something different. If I link pgc 15 to pgc 10 I get the initial lifting to the shirt, not the exit, now I just need to know how to link 15 to the movie. What command do I use to link to the movie since its in a different title set( aka how do I titleset>VMG>title)?
2COOL
4th February 2003, 01:08
Are you working on a region 1 DVD?
By the way, Did you get my PM message alert?
2C:cool::cool:L
gnutellafan
4th February 2003, 01:16
damn, I thought it was your dyslexia. Linking to pgc 12 also gives the exit scene (actually thought there may have been a difference if you choose widescreen vs limited view) but linking to pgc 12 also just causes her to take off her shirt and instead of going to the movie just loops back to the main menue (like the full screen button was set up to do)
2COOL
4th February 2003, 01:21
Originally posted by gnutellafan
damn, I thought it was your dyslexia. Linking to pgc 12 also gives the exit scene (actually thought there may have been a difference if you choose widescreen vs limited view) but linking to pgc 12 also just causes her to take off her shirt and instead of going to the movie just loops back to the main menue (like the full screen button was set up to do)
I'm glad I don't have dyslexia as I Copy2Clipboard my edit as soon as I got it working.:D
2C:cool::cool:L
old-hack
1st October 2003, 20:34
2Cool
Tried to use your guide which seems to be geared towards Widescreen but identifies VTS04 vobs as the Widescreen movie. When I played the movie with IFOEdit, selecting Widescreen connected me with VTS05 vobs. Proceeding at a fat, dumb and happy pace, I followed your instructions with expected results through step 10. Between step 11 and 13, some edit must point to VTS04. However, I kept VTS05 since IFOEdit said it was the Widescreen. Therefore, I received a "DVD navigational error" message when it tried to go directly to the movie. I assume that was because it couldn't find the VTS04 files (they weren't there). Did I miss something or was IFOEdit lying to me about the Widescreen version? I did look at the VTS05 IFO and only the menu portion said 4:3 while the movie portion said 16:9. Did the step 13 edit cause the DVD to look for the VTS04 files?
Thanks.
2COOL
1st October 2003, 21:09
@old-hack
I can't look at it right now since I'm at work and it's been a while I did Van Wilder. I'm confident that the VTS_04 is the widescreen movie. Now, keep in mind that I did a Special edition Unrated version and I only do NTSC cheat sheets. If you are doing PAL, it's a common case that both DVDs may be authored differently.
old-hack
1st October 2003, 21:30
Definitely NTSC R1 Unrated Version. Don't remember if it was a special version or edition. No rush. Just wanted to see if you could state in layman terms what the edits did in steps 11 - 13. By the way, my old nick was bweeston. I asked Doom9 to change it to old-hack which I use in almost all other DVD forums I visit.
2COOL
1st October 2003, 22:55
Originally posted by old-hack
Definitely NTSC R1 Unrated Version. Don't remember if it was a special version or edition. No rush. Just wanted to see if you could state in layman terms what the edits did in steps 11 - 13. By the way, my old nick was bweeston. I asked Doom9 to change it to old-hack which I use in almost all other DVD forums I visit.
I know the guide can get very technical but I tried to leave in as much information for people to hopefully understand.
Step 11: Basically, this gives a description of your menus. In this unrated version, there were two menus to choose from, Censored or uncensored. I just wanted to decribe which one was what.
Step 12: Certain menu commands are edited so that our "uncensored" version will play from DVD insert to movie play. Who wants the boring censored version anyway?
Step 13: The DVD is navigated to a different exit scene and the movie starts playing immediately afterwards.
In my older guides, I try to provide plain simple language of describing my actions. Either in the beginning of the step or in "Details" or "Translation" notes. I think you were overwelmed by the wordy guide.
old-hack
2nd October 2003, 15:18
So this command in step 13 only bypasses an unwanted aspect ratio menu or is PGC 21 supposed to be the widescreen title set? Just asking so I know that I need to find the correct PGC for VTS05 vob files.
"NEW > 1.Pre Command (LinkPGCN) Link PGC 21 [20 04 00 00 00 00 00 15 ]"
2COOL
2nd October 2003, 21:08
Originally posted by old-hack
So this command in step 13 only bypasses an unwanted aspect ratio menu or is PGC 21 supposed to be the widescreen title set? Just asking so I know that I need to find the correct PGC for VTS05 vob files.
"NEW > 1.Pre Command (LinkPGCN) Link PGC 21 [20 04 00 00 00 00 00 15 ]"
11.
Menu 15: [entry only] (Programs: 2) (Cells: 2) (uses VOB-IDs: 9) XXX Main>Shirt Off>Aspect Ratio
Menu 21: [entry only] (Programs: 1) (Cells: 1) (uses VOB-IDs: 15) XXX Aspect Ratio> Shirt Off and fade to black
Aspect ratio menu is bypassed so instead of Menu 15 playing, Menu 21 plays with her shirt off. Notice that the edit is Pre Command #1 in Menu 15? No commands in Menu 15 will be executed except this since we made a jump, therefore no clip play.
gnutellafan
24th October 2003, 20:25
I unfortunatly never got this one to work even though my dvd structure seemed to be the same. She would lift her shirt and it would freeze.
Im curious, is the program menuedit in anyway powerful enough to do to a menu what was done in this thread. If so, Ill have to buy it!
XePyR
23rd August 2004, 00:28
Well, it is a year later, and I am new to all this, but I had the same problem as you, gnutellafan.
I solved it by setting CPreg<5> to 2 before linking to PGC21. Through trial and error I managed this by the following changes in PGC-Menu 15 (adding one command before 2cool's change):
[000000f4] 1.Pre Command Set GPreg<5> mov (set-val)<2> [71 00 00 05 00 02 00 00 ]
[000000fc] 2.Pre Command (LinkPGCN) Link PGC 21 [20 04 00 00 00 00 00 15 ]
gnutellafan
23rd August 2004, 19:21
Thanks, Ill give it a try. Ill have to re-rip the disc as I finally deleted it only a few months ago. I keep hoping that something like DVDRemake will offer the sort of versatility to do things such as this guide without ever looking at a command.
2COOL
23rd August 2004, 21:21
Of all the complex authored DVD I've work, this has got to be one that still got me stressed out. The menus are split into censored and uncensored cells and there are 4 aspect ratios existing. All GPRMs used and lots of SPRMs used to set those. Also, there are unique cells playing after you select a chapter initially for both censored and uncensored. I give credit to the people responsible for this great authoring.
Well anyway, I tried the additional command like XePyR posted and I didn't get it to work. :(
EDIT:
There are actually 4 Aspect Ratio menus present. :devil:
1. After you press Play on censored menu
2. After you press Play on uncensored menu
3. After you select a chapter initially on censored menu
4. After you select a chapter initially on uncensored menu
2COOL
24th August 2004, 11:53
Van Wilder Unrated R1 (Widescreen / Fullscreen) Cheat Sheet v3
Courtesy of 2C:cool::cool:L
Tool used: PgcEdit 0.3.3
Here’s my in-depth cheat sheet. It seems every time I go back and work on this DVD, I always seem to get a different method of doing it since I have another understanding of the navigations. Really, this is one complexed authored DVD and to me, it’s been good training. Anyways, I opted to leave out the previewing step of Titles and Menus. I did give some brief descriptions on certain menus throughout the guide though. If you want to preview the Titles and Menus beforehand, use DVD Shrink.
Did you know that this DVD has 4 Aspect Ratio Menus? I'll show you how to bypass them.
After you press Play on censored menu
After you press Play on uncensored menu
After you initially select a chapter on censored menu
After you initially select a chapter on uncensored menu
____________________________________________________
Blanking Out Intro Titles Prior to Main Menu
VTST 2 / TTN 1 (0:12) Title 2 > Artisan Logo
VTST 3 / TTN 1 (0:09) Title 3 > 9 seconds of Blank
1. First, let's get rid of these unwanted Titles. It makes it better to get to the Main Menu quicker. Perform Steps 7 to 13 in this guide, How to Completely Blank Out a Titleset (VTS) Using PgcEdit (http://forum.doom9.org/showthread.php?threadid=81112), with Titles 2 & 3.
____________________________________________________
Bypassing Censored Aspect Ratio Menu When Play is Selected
2. In PGC Selector, click on VTSM 1 / LU 1 (en) / 13 (0:36) 3b. to show PGC Commands to the right.
____________________________________________________
3. There are three buttons residing in Cell 2. To see the text overview the button commands of this PGC, click on Info > PGC Commands in Menu Bar. To visually see the buttons and it’s command, right-click on VTSM 1 / LU 1 (en) / 13 (0:36) 3b., select “Show Menu Buttons”, and select Program 2, Cell 2: VOB ID 7, CELL ID 2 (3 buttons) in Button selector located topside of Menu Buttons window.
The current version of PgcEdit v0.3.3 does not have full previewing capabilities so you can’t see how the menus look as when playing the DVD. But here’s the buttons' info.
********** menu buttons commands:
VOB ID 7, Cell ID 2 (First NAV pack=39312)
2 Groups, Start button=0, Select button=0, Action button=0
button 1: [20 04 00 00 00 00 00 26] LinkPGCN PGC 38 // Fullscreen
button 2: [20 04 00 00 00 00 00 26] LinkPGCN PGC 38 // WideScreen
button 3: [20 04 00 00 00 00 00 26] LinkPGCN PGC 38 // Main
Notice all the buttons have the same command? This command will play a big part in the next steps.
____________________________________________________
4. With this PGC selected, do a Kill PGC Playback on it. Right-click on VTSM 1 / LU 1 (en) / 13 (0:36) 3b. and select “Kill PGC Playback”.
____________________________________________________
5. Click Yes for the next two prompts. Here’s the before and after. Any post commands will be converted to new pre commands, along with a leading NOP command. See new added commands 14 and 15.
Before:
********** pre commands:
[00 00 00 00 00 00 00 00] 1 NOP
[00 00 00 00 00 00 00 00] 2 NOP
[00 00 00 00 00 00 00 00] 3 NOP
[00 00 00 00 00 00 00 00] 4 NOP
[61 00 00 00 00 05 00 00] 5 Set gprm(0) =(mov) gprm(5)
[00 B1 00 00 00 00 00 08] 6 if ( gprm(0) != 0 ".." ) then { Goto line 8 }
[71 00 00 00 00 01 00 00] 7 Set gprm(0) =(mov) 1 ".."
[79 00 00 00 00 3F 00 00] 8 Set gprm(0) &=(and) 63 ".?"
[75 00 00 00 04 00 00 00] 9 Set gprm(0) *=(mul) 1024 ".."
[00 00 00 00 00 00 00 00] 10 NOP
[71 00 00 03 00 07 00 00] 11 Set gprm(3) =(mov) 7 ".."
[46 00 00 00 00 00 00 00] 12 (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
[71 00 00 01 00 00 00 00] 13 Set gprm(1) =(mov) 0 ".."
********** post commands:
[20 04 00 00 00 00 00 41] 15 LinkPGCN PGC 65
********** cell commands:
After:
********** pre commands:
[00 00 00 00 00 00 00 00] 1 NOP
[00 00 00 00 00 00 00 00] 2 NOP
[00 00 00 00 00 00 00 00] 3 NOP
[00 00 00 00 00 00 00 00] 4 NOP
[61 00 00 00 00 05 00 00] 5 Set gprm(0) =(mov) gprm(5)
[00 B1 00 00 00 00 00 08] 6 if ( gprm(0) != 0 ".." ) then { Goto line 8 }
[71 00 00 00 00 01 00 00] 7 Set gprm(0) =(mov) 1 ".."
[79 00 00 00 00 3F 00 00] 8 Set gprm(0) &=(and) 63 ".?"
[75 00 00 00 04 00 00 00] 9 Set gprm(0) *=(mul) 1024 ".."
[00 00 00 00 00 00 00 00] 10 NOP
[71 00 00 03 00 07 00 00] 11 Set gprm(3) =(mov) 7 ".."
[46 00 00 00 00 00 00 00] 12 (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
[71 00 00 01 00 00 00 00] 13 Set gprm(1) =(mov) 0 ".."
[00 00 00 00 00 00 00 00] 14 NOP
[20 04 00 00 00 00 00 41] 15 LinkPGCN PGC 65
********** post commands:
[20 04 00 00 00 00 00 41] 16 LinkPGCN PGC 65
********** cell commands:
Now there's only one Jump command in the Pre Command area, which is LinkPGCN PGC 65. What we really want is a jump to PGC 38, which is what buttons 1 & 2’s commands are in Step 3.
____________________________________________________
Jumping to New PGC
6. Double-click on [20 04 00 00 00 00 00 41] 15 LinkPGCN PGC 65 to open “Edit Command” window.
____________________________________________________
7. Change the value of Jump to PGC Number to 38 and click OK. You’ll immediately see your change in Pre command #15.
OLD > [20 04 00 00 00 00 00 41] 15 LinkPGCN PGC 65
NEW > [20 04 00 00 00 00 00 26] 15 LinkPGCN PGC 38
____________________________________________________
Automating Fullscreen or Widescreen Selection
8. Double click on Pre Command #12.
[46 00 00 00 00 00 00 00] 12 (SetHL_BTN) Set Highlighted Button =(mov) gprm(0)
____________________________________________________
9. Click on “button” option and either select 1 for Fullscreen or 2 for Widescreen. OK to set.
NEW > [56 00 00 00 04 00 00 00] 12 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1) // Fullscreen
or
NEW > [56 00 00 00 08 00 00 00] 12 (SetHL_BTN) Set Highlighted Button =(mov) 2048 (button 2) // WidescreenImportant Note: You should have decided beforehand on whether you’ll be keeping Fullscreen or Widescreen. So after this step, you should be consistantly sticking with the same aspect ratio throughout the guide. Remember, you’ll be blanking out the one aspect ratio at the end.
____________________________________________________
10. [Optional] Save and Play to test.
____________________________________________________
Bypassing Uncensored Aspect Ratio Menu When Play is Selected
11. Click on VTSM VTSM 1 / LU 1 (en) / 15 (0:36) 6b.
____________________________________________________
12. Repeat Steps 4 to 10. In Step 7, enter a value of 39 instead.
____________________________________________________
Bypassing Censored Aspect Ratio Menu When a Chapter is Initially Selected
13. Click on VTSM 1 / LU 1 (en) / 18 (0:30) 3b.
____________________________________________________
14. There are also three buttons residing in Cell 1. Just like the previous Aspect Ratio menus, the layout of the first three are identical and with the same command.
********** menu buttons commands:
VOB ID 12, Cell ID 1 (First NAV pack=87626)
2 Groups, Start button=0, Select button=0, Action button=0
button 1: [20 01 00 00 00 00 00 0D] LinkTailPGC // Fullscreen
button 2: [20 01 00 00 00 00 00 0D] LinkTailPGC // WideScreen
button 3: [20 01 00 00 00 00 00 0D] LinkTailPGC // Main
____________________________________________________
15. Do a Kill PGC Playback on this PGC Menu and select Yes for following prompts too.
____________________________________________________
16. Repeat Steps 9 & 10.
____________________________________________________
Bypassing Uncensored Aspect Ratio Menu When a Chapter is Initially Selected
17. With VTSM 1 / LU 1 (en) / 19 (0:30) 3b., repeat Steps 15 & 16.
____________________________________________________
Blanking Fullscreen/Widescreen TitleSet (VTS)
Now, all we need to do is blank out your unwanted Title so that you can put everything else on a DVDR.
VTST 4 / TTN 1 (1:33:58) Title 4 > (4:3) Fullscreen
VTST 5 / TTN 1 (1:34:00) Title 5 > (16:9) Widescreen
18. Like Step 1, perform Steps 8 to 13 in this mentioned guide, How to Completely Blank Out a Titleset (VTS) Using PgcEdit (http://forum.doom9.org/showthread.php?threadid=81112).
____________________________________________________
That should be it!
gnutellafan
25th August 2004, 23:32
There is no stopping 2cool. Thanks for delving into this one again. 2cool, in your opinion, is it possible to write an all in one program that would understand this type of authoring and be able to do what was done with some sort of GUI interface? I keep holding off on purchasing DVDRemake until it reaches this sort of power. I know you have worked with Dimad and would be interested in your take on this.
2COOL
27th August 2004, 20:08
Originally posted by gnutellafan
2cool, in your opinion, is it possible to write an all in one program that would understand this type of authoring and be able to do what was done with some sort of GUI interface? Well, as someone who has worked with navigations on alot of DVDs, I'd say it would be close to impossible. As I mentioned in the past, there are too many ways in authoring a DVD. It's hard to get a generic pattern. You still would have to do some manual work on DVDs like this one. Though I don't do anything any intense programming and my cheat sheets are sort of like a psuedo code, it is highly possible for some one to automate the edits for a unique regional DVD. It'll be sort of like applying a patch and you probably won't learn anything from it if the programmer didn't documented the reasons on the edits.
jeanl
24th September 2004, 22:41
Well, as someone who has worked with navigations on alot of DVDs, I'd say it would be close to impossible. As I mentioned in the past, there are too many ways in authoring a DVD. It's hard to get a generic pattern. You still would have to do some manual work on DVDs like this one. Though I don't do anything any intense programming and my cheat sheets are sort of like a psuedo code, it is highly possible for some one to automate the edits for a unique regional DVD. It'll be sort of like applying a patch and you probably won't learn anything from it if the programmer didn't documented the reasons on the edits.
just my 2 cents: It would help tremendously if we could retrace, step by step, what the DVD virtual engine does, from First play on, including watching registers and all. This is what r0lZ (who wrote PgcEdit) refers to as his "trace" function in this (http://forum.doom9.org/showthread.php?s=&threadid=82724&highlight=bypass+menu) thread. Then you could add the appropriate commands in the right place to replicate exactly the state you're in when you are at your "target" location. You might even be able to do that in the first play PGC, and jump straight where you'd like to be, right?
r0lZ has indicated, however, that his "trace" function is not for the immediate future :(.
Jean
2COOL
24th September 2004, 23:19
Originally posted by jeanl
Then you could add the appropriate commands in the right place to replicate exactly the state you're in when you are at your "target" location. You might even be able to do that in the first play PGC, and jump straight where you'd like to be, right?Sounds logical in theory but I think there might still be some hidden complications abound. Also, the user would have to put some effort to study up on commands to understand the big picture better.
jeanl
25th September 2004, 00:51
Sounds logical in theory but I think there might still be some hidden complications abound.
mmm, I'm puzzled. Don't you think it's true that the state of the DVD player is completely represented by where you are in the PGC, and the set of registers? In other words, if I put a DVD in a player, follow a few menus make a few button clicks and find myself say, at the main menu, I would imagine that the state of the virtual engine at this point is completely represented by the set of registers, and the currently playing PGC. What else could there be?
If that's the case, then in theory you could make it so the first play PGC sets the registers as above, and jumps to the same PGC you were at (main menu), and you should find yourself in exactly the same situation as above.
I'll experiment with that idea tonight (using Mark's tray DVD player, which lets you see the registers in real time) and post my results. If that was true, then you could completely customize your backed-up DVD to start exactly the way you like it (say, with spanish subtitles, widescreen, 5.1 audio etc etc etc), in just one shot. That would be rather cool!
Also, the user would have to put some effort to study up on commands to understand the big picture better.
Well, what if you could dump all the registers when you're where you'd like to go automatically (main title?) and a PgcEdit macro that would put the appropriate set commands in the first-play PGC and jump to the right place? The user wouldn't have to know anything about commands right? The hitch might be to jump to the desired place without modifying the registers previously set (the precommands of where you're jumping might screw things up, I realize).
Jean
jeanl
25th September 2004, 06:18
OK here's what I found.
I was trying to see if you could do the following in order to bypass all unwanted material and menus and go straight to the main menu (or anywhere else you'd like to go):
- Using Mark's Tray DVD, open the DVD, and navigate to the main menu clicking on the desired buttons if necessary (for example selecting the desired aspect ratio). Then pause playback, read all the registers and write them down.
- Then go to PgcEdit, and replace the first play Pgc by a series of SETGPRM (to set the registers as you wrote them down), and then jump straight to the title menu.
This almost works! The hitch is that as I feared in my previous post, the main title precommands have already been executed when you pause playback in Mark's Tray DVD and therefore, you're reading register values as they are *after* the precommands, not before (which is what we need instead). If the precommands modifies them (which they do in all 3 DVDs I tried), then it looks like we're hosed!
BUT, you can still do it but you have to do a trick:
- Go in PgcEdit and put a break EDIT: Make that an "exit" see my second post below as the first of your precommands in the main menu. This will prevent all precommands from executing, just what we need! Save and open the DVD in Mark's Tray DVD.
- Go to the main menu as above, pause playback and write down the register values. This time, they're "correct".
- Go back to PgcEdit, and replace the first play Pgc by a series of SETGPRM (to set the registers as you wrote them down, I only set the non-zero ones, I'm not sure whether that's safe, probably not), and then put a jump command to the title menu (JumpSS-VTSM command).
- Remove the break command that you inserted at the top of the main menu's precommands. EDIT: make sure you *remove* it, don't replace it by a nop, the goto instructions below might get screwed up Save and you're done!
Amazingly, this works!!!! As soon as you open your DVD file (in PowerDVD for example), you jump straight to the main title, and everything looks OK (at least for the 3 DVDs I tried). You can access everything as you would normally, play the movie etc.
Now there's one thing that does not work: I was hoping you could also set SPRMs that way (to select language, caption etc), but you can't because you can't set SPRMs in the VMG domain (argh!), you have to be in the VTS domain...
I can't think of a simple workaround at this point (you can't jump from the VMG domain to a dummy VTS menu pgc, it has to be an entry menu I guess). Any idea?
This procedure isn't completely straightforward, but I could be made automatic (there's nothing "smart" about it). For tricky DVDs, maybe it could prove useful?
Jean
2COOL
25th September 2004, 06:29
Your method seems interesting. When I get the time, I'll look into checking it out. ;)
jeanl
25th September 2004, 08:26
OK, I tried a 4th DVD (Monsters Inc), and of course I found a snag!
- The method mentioned in my previous post will only work if the destination where you want to land automatically is accessible from the VMG domain. This is bad because if I'm not mistaken you can only get to root, chapter, angle, audio, or subpic menus. If you want to land anywhere else, (any other LU menu) then you can't do it the way I describe it. However, most of the time, you want to land in an entry point menu I guess, so that's not really a problem.
- However, this means the solution I gave won't always work: Suppose I want to land in the root menu of VTS-1, but the root menu has no button, no video, and just a set of pre and post commands. This means I have to stop playback (to read registers) right before the first precommand of this root menu, which a break won't do (since there's no cells to display, I'll just go straight through to the postcommands, not what I want).
The solution is to put an "exit" command instead of a "break" command at the top of the precommands of the target root menu. This way, as soon as Mark's Tray DVD hits this point, the execution stops (and hopefully the registers are not modified). The rest of the procedure is identical as in the post above. This works fine for Monsters Inc. Also, don't forget to remove the exit command (and not just replace it with a nop which could screw up goto instructions below).
- On monsters inc, the aspect-ratio menu is after the main menu! I don't see a good way of dealing with that automatically (i.e. bypass that menu). It's easy enough to do by hand in PgcEdit, but the scenario where you could "teach" the DVD player where you wanted to land seems to collapse.
I'm afraid in such cases, menuedit (registered, which I don't have) is the best solution ;)
r0lZ
25th September 2004, 13:28
Brilliant analysis, jeanl!
I had already the idea of breakpoints and bookmarks features in PgcEdit: you set a breakpoint to the PGC you want to jump to, then launch the trace. When the playback reaches the breakpoint, you can copy the GPRM and SPRM configuration to a bookmark, to be able to resume the trace at this point whenever you want.
Adding the code to create the Set GPRMs command in the PF-PGC (or to copy them to the clipboard) is easy.
As you said, the Set SPRMs, and the jump to the target are more difficult to handle.
A solution to the jump is to create a new PGC in the VTSM domain, and change his type to an unused one, for example, Angle menu (rarely used). Then add the PUO to prohibit the use of this menu button. In the new PGC, it is easy to set the GPRMs and SPRMs, and jump to any menu or title.
Another solution is to find out an unused GPRM, initialize it in the FP-PGC, and compare it in the Root menu to jump to the target, or process the original Root menu commands.
jeanl
25th September 2004, 17:17
r0lz
The 2 solutions you suggest are exactly the ones I thought of while lying in bed (gee, I need to get a life)! I saw the "Find unused GPRMs" in PgcEdit, and that gave me the idea of using one to achieve what we want. I think that's the easiest solution.
Adding a PGC is feasible too, but guess what, in the Monsters Inc example, all menu types were used in that VTS! So that solution wouldn't work for that specific DVD.
Breakpoints, trace, watching registers... man, you're coming up with a full-fledged DVD debugger!!!!!
Hey, not to beat a dead horse, but I really love PgcEdit! I'm having too much fun with it (kind of like people did with IFOEdit a while back).
One suggestion: If you insert a command in a PGC, could you possibly increment all the gotos in that area (pre or post command) that point to a line *after* the command you inserted, so they point to the same spot as before. Same if you delete a command? (decrement them) I got bitten by that a couple times last night (I wasn't paying attention, added a nop and that totally screwed up playback).
Salut d'un expat francais ;)!!
Jean
r0lZ
25th September 2004, 17:27
The 2 solutions you suggest are exactly the ones I thought of while lying in bed (gee, I need to get a life)! I saw the "Find unused GPRMs" in PgcEdit, and that gave me the idea of using one to achieve what we want. I think that's the easiest solution.But this solution doesn't work if all registers are already in use somewhere in the DVD.
One suggestion: If you insert a command in a PGC, could you possibly increment all the gotos in that area (pre or post command) that point to a line *after* the command you inserted, so they point to the same spot as before. Same if you delete a command? (decrement them) I got bitten by that a couple times last night (I wasn't paying attention, added a nop and that totally screwed up playback).Check the 'Renumber GOTOs' item in the options menu :)
jeanl
25th September 2004, 18:24
Check the 'Renumber GOTOs' item in the options menu
man, are you ahead of the game or what!
Neat!!!
:)
jeanl
26th September 2004, 01:16
r0lZ,
I tried the "go straight to the title menu" on Ice Age, and I can't find a way to do it, because you go to the title menu *twice* during normal DVD playback. Once before you've actually setup the aspect ratio, then because you haven't set that up, it jumps to the aspect ratio menu, and after that jumps back to the title menu.
So putting an "exit" in the title menu simply kills the DVD, and I can't use Mark's Tray DVD player to read the registers :( (ok, I could use a register and count the number of times I reach the title menu, but that's really far beyond what I was trying to achieve - a simple and systematic way to setup your playback as you want it).
THIS is why we need your trace function with breakpoints! You could keep on running after the first breakpoint, then read the registers the second time you reach the breakpoint... I sure hope you can pull it off!
Jean
lamster
12th October 2004, 20:47
Originally posted by jeanl
Now there's one thing that does not work: I was hoping you could also set SPRMs that way (to select language, caption etc), but you can't because you can't set SPRMs in the VMG domain (argh!), you have to be in the VTS domain...
I can't think of a simple workaround at this point (you can't jump from the VMG domain to a dummy VTS menu pgc, it has to be an entry menu I guess). Any idea?
Jean
There's 2 approaches I take - first, I initialize a register to a special value in the first play PGC, and then either jump to the main movie title, or to a menu in the same title set as the main movie. (I generally pick a register that gets set to some value by the target PGC.) (*)
Then I add precommands to the target as follows (for this example, the change to the first play PGC was to add initialization of r15 to 26985: [71 00 00 0f 69 69 00 00] )
For a movie PGC:
1. if GPreg 15 != 26985 goto line 3 [00 b1 00 0f 69 69 00 03 ]
2. setSTN Audio 1 subtitle off: [51 00 00 80 80 81 00 00 ]
If I'm jumping to a menu PGC (which I might do if the movie PGC has lots of goto's; I didn't know that PGCEdit could renumber them - I've been doing everything manually - or if the menu PGC already sets streams and registers the way I like and I just want to have it jump to the movie) then I add a command to jump to the movie title. Or, if the movie starts with warnings or previews as part of the main PGC, I skip past them by jumping to the movie's starting chapter (which definitely has to be done outside the movie's PGC, or you loop!):
For a menu PGC, where want to start with Chapter 2:
1. if GPreg 15 != 26985 goto line 4 [00 b1 00 0f 69 69 00 04 ]
2. setSTN Audio 1 subtitle off: [51 00 00 80 80 81 00 00 ]
3. Jump_VTS_PTT jump to title 1 chapter 2
Also, if there isn't an entry menu available, but not all the entry menu types are used, I twiddle the bits to flag one of them as a subpicture, audio, angle, or chapter menu. (Note that you have to change the "Video Manager Menu existance mask" as well as enabling the bits in the specific menu.)
(*) Note - if there isn't a suitable register, then you would also have to add a line explicitly setting the register you used to some other value.
lamster
12th October 2004, 20:52
Originally posted by jeanl
I tried the "go straight to the title menu" on Ice Age, and I can't find a way to do it
I recently did Ice Age (NTSC, Region 1), but I think that I had it start right up in the movie. (That's how I edit all the stuff that my kids watch.)
I'll check my notes when I get home for exactly what I did with that one.
jeanl
12th October 2004, 20:59
Yes, I can see how your solution works... A side note is that pgcedit lets you change a menu's type (right click on it and you'll see a submenu to do that) in one shot.
I think what I was not able to get to work was the idea of jumping directly from the PGC to the main menu, and initializing everything the way it should be (so the DVD plays normally). But your solution is definitely along the lines of the way I've been doing it (using a free gprm to remember whether it's the first time etc).
Jeanl
lamster
13th October 2004, 05:56
Originally posted by lamster
I recently did Ice Age (NTSC, Region 1), but I think that I had it start right up in the movie. (That's how I edit all the stuff that my kids watch.)
I'll check my notes when I get home for exactly what I did with that one.
Yup - it starts right up in the movie. I've started a separate thread ("How I Backed Up Ice Age"), and posted whatever details I had.
2COOL
13th October 2004, 06:32
Originally posted by jeanl
(using a free gprm to remember whether it's the first time etc).
I was reading lamster post earlier and this is what I had in mind. I guess this is lamster's disclaimer on method used.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.