View Full Version : Combine Two Commands
Fisticuffs
6th February 2009, 09:00
Hey r0lZ, how do you put JumpVTS_PTT and RSM together on one button, the Play button?
Is there a way to trace backward?
And is there a Undo feature?
blutach
6th February 2009, 10:18
1. Make the button link to a (menu) PGC with these commands (I've use gprm(15) as the resume flag and it being set to 1 (this usually happens in the title's precommands) to make it resume - find out how your DVD is actually programmed)
[20 A1 00 00 00 01 00 10] 1 if ( gprm(15) == 1 ) then { RSM }
[30 05 00 01 00 01 00 00] 2 (JumpVTS_PTT) Jump to TTN 1, Chapter 1 - you'd usually want to go to chapter 1 from the Play button
2. Use the State menu in trace to return to various parts of the DVD - see the help file for more details.
3. Ctrl-Z
Regards
r0lZ
6th February 2009, 11:30
In addition to blutach's point 2: you can also use "Go to calling command" to find out what commands call the current PGC. Then, from the result window, click on any calling command, then to "New Target". This way, you can move backward from PGC to PGC. That's not really a backtrace, as the commands are not executed, the GPRM and SPRM state is not updated, and the video cells are not played, but you can examine the navigation in reverse order.
Take in mind that you will have to restart the trace completely or use a previous snapshot after having moved the navigation pointer to another part of the DVD.
Control-Z is very limited. It undoes only the recent changes to the current PGC commands (or, in scratchbook mode, it reloads the default scratchbook from HDD.)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.