Log in

View Full Version : PgcEdit 0.6.0


Pages : [1] 2 3 4 5 6

r0lZ
7th July 2005, 06:54
[EDIT: PgcEdit v7.0 has been released. See this thread (http://forum.doom9.org/showthread.php?t=110310).]


PgcEdit 0.6.0 discussion thread

PgcEdit 0.6.1 thread (http://forum.doom9.org/showthread.php?t=100890).

Links to PgcEdit's versions within this thread:
PgcEdit 0.6.1 beta (http://forum.doom9.org/showthread.php?p=697042#post697042
)


Links to old discussion threads:
Burning DL Media with PgcEdit (PgcEdit 0.6.0 beta) (http://forum.doom9.org/showthread.php?t=95250)
PgcEdit 0.5 (http://forum.doom9.org/showthread.php?t=90960)
PgcEdit 0.5.1 beta (http://forum.doom9.org/showthread.php?s=&threadid=91521)
PgcEdit 0.5.0 beta (http://forum.doom9.org/showthread.php?s=&threadid=89918)
PgcEdit 0.4 (http://forum.doom9.org/showthread.php?s=&threadid=85329)
PgcEdit 0.3 (http://forum.doom9.org/showthread.php?s=&threadid=79853)
PgcEdit 0.2 (http://forum.doom9.org/showthread.php?s=&threadid=78618)
PgcEdit 0.1 (http://forum.doom9.org/showthread.php?s=&threadid=77980)

r0lZ
7th July 2005, 07:09
PgcEdit 0.6.0 is out. As usual, it is available on my homepage (http://www.videohelp.com/~r0lZ/pgcedit/).

Main new function: Double Layer burn.
If you are interested in the genesis of the DL burn function, see this thread (http://forum.doom9.org/showthread.php?t=95250).


A. Burn DVD / Create ISO support for Double Layer DVD+R and DL DVD-R:
- The method allow the user to select the layer break in a wide range of cells (actually twice as wide as the 'standard' method)!
- Added a GUI to specify the Layer Break cell.
- Added menu "Options -> Burn / Create ISO setup" menu to call the Burn Setup dialog directly from the main window.
- The Burn Setup window has been modified to include, among other things, the capacity of a single layer DVD and of a double layer DVD.
- New starter app for MacOSX (v0.5a), by Pucklock, including mkisofs 2.01 (needed for the Create ISO function.) Thanks to Pucklock! Note that this new starter app starts the X11 version automatically instead of the Aqua version.
R. Removed the original link to DVD Decrypter's homepage in the Burn Setup dialog because this page is discontinued, and may be monitored by "a major DVD company". Replaced by a direct download link at VideoHelp.
A. Utilities -> Remap Title Numbers function to renumber the Titles. The references to the Title numbers in the VMG are automatically updated.
A. Utilities -> Delete last VTS in DVD function. Use this function only when the last titleset is not referenced!
A. Info -> Find Jumps To Nowhere function showing commands and PrevPGCN, NextPGCN or GoUpPGCN links jumping to non existing PGCs or Titles.
A. Calls Cross References: Added listing of jumps to nowhere references.
A. Added an option to display the PGC labels as text in the context menu of an empty line of the PGC selector.
A. Added shortcut Control+P to launch the PGC Preview.
A. Added the first step to implement plugins for PgcEdit in the future.
A. Added an option to change the default listbox background color to white when running PgcEdit under X11. (Linux, and MacOSX with Tk-X11 only)
E. After 'Clone PGC' or 'New Play All Title', the number of buttons of the new PGC is now displayed in the PGC Selector.
E. Menu Editor: Changed the menu labels Buttons -> Align vertically and Align horizontally to Align on same column and Align on same row.
E. Now, there is no need to select your Web Browser the first time an HTML page is opened under Mac OSX: the 'open' command is used instead.
E. Under Linux and Mac OSX, the config files are now saved in "~/.PgcEdit/".
Under all platforms, the leading dot has been removed from the filenames.
F. Burn DVD: The calculation of the size of DVD-ROM files crashed when an empty DVD-ROM directory was present in the compilation.
F. Fixed some bugs in the Find All function: the line number (when the target was a pre, post or cell command) and the cell number (when the target was a button or BOV) were off by 1, and the button group was not always correctly displayed. The GUI has been changed also to avoid the Tcl/Tk limitaiton of the number of occurences that can be displayed in a canvas.
F. Jump to PGC Upon DVD Insert macro: when several LUs were present and the user selected the option to process all LUs, there was a bug in the reconstruction of the commands of the modified PGCs in LU 2 and following.
F. PGC Editor: The color table was not saved after an Import Colors from an IFO file.
F. An error occured when trying to hi-lite the target of a Jump command when the target VTS was not present.
F. It was sometimes impossible to close the "Go to calling command" window.
F. PgcEdit Preview Version 2.0, by jeanl. Fixes 3 bugs. See history below.


Also new on my homepage:

New MacOSX starter app v0.5a, including mkisofs v2.1 (needed for the new Create ISO function)
New guide by blutach: How to burn Double Layer Disks with PgcEdit. (discussion thread (http://forum.doom9.org/showthread.php?t=96974))
Updated version of Tobi's PgcEdit Anleitung.PDF and Beispiele.PDF, updated for PgcEdit 0.6.0, including a guide on how to burn Double Layer DVDs.
Alternate set of toolbar icons, by Sweetness.
And much more...

sweetness
7th July 2005, 07:41
since i'm still up. i'll be the first to say :thanks:
and you allways out do yourself.

r0lZ
7th July 2005, 07:43
since i'm still up. i'll be the first to say :thanks:
and you allways out do yourself.Thanks to you, too, for the beautiful new icons!

rjgn
7th July 2005, 11:15
Great work, the new DL burn feature is great. Having failed miserably to burn DL content with Nero, PgcEdit has saved the day. DL burns working great now.

CoNS
7th July 2005, 11:57
A big thanks from me, too...! Also, a special thanks for sharing your hard work with us on a freeware/donationware basis.

R. Removed the original link to DVD Decrypter's homepage in the Burn Setup dialog because this page is discontinued, and may be monitored by "a major DVD company". Replaced by a direct download link at VideoHelp.Hehe, yeah well, you mean "SOme major dvd compaNY", right?! R.I.P. DVD Decrypter.

zacoz
7th July 2005, 12:14
Thanks r0lZ. Your generosity is appreciated.

r0lZ
7th July 2005, 15:01
Thanks, everybody!

Hehe, yeah well, you mean "SOme major dvd compaNY", right?! R.I.P. DVD Decrypter.Thar's what I've heard. But is it realy the truth? To be honest, nobody knows, except LUK!... and the company!
Anyway, I'm glad to support DVDD as a perfectly legal burning app! Long life to DVDD! And Thanks also to Lightning UK! with which I must share the success of the DL Burning function.

zacoz
7th July 2005, 15:30
Here here !!
BTW, Doom9 claims to have the official word (http://www.doom9.org/Old_news/june05.htm) (12 June 2005).

OT - Thoughts go out to LUK and countrymen, in light of todays events.

r0lZ
7th July 2005, 16:16
Thanks, Zacoz, great info! Of course, macrovision was in the potential suspects.

Wheelie4
7th July 2005, 17:46
rOLZ,

I tried downloading the .CHM file for Windows from your homepage but it is blank. No info.

Rippraff
7th July 2005, 20:00
@Wheelie4
Just downloaded it without problems. Do you use download-accelerators, maybe you should try it with right-click "save as"?

@r0lZ
I'm wondering why I was asked to install turkish charactersets to have a look at the .chm? :D
By the way, great work! :thanks:

Cu Rippraff

Wheelie4
7th July 2005, 20:15
@Wheelie4
Just downloaded it without problems. Do you use download-accelerators, maybe you should try it with right-click "save as"?

Nope I wasn't using a download-accelerator or manager (just IE's downloader). I downloaded it atleast 6 times using the right-click "save as" technic. Never had trouble before downloading the previous help file. I even closed my firewall and tried (just started using Sygate firewall 2 days ago). Below is what I'm getting.

http://img246.imageshack.us/img246/8620/pgchelp9lx.th.jpg (http://img246.imageshack.us/my.php?image=pgchelp9lx.jpg)

Every content I click on is the same. I downloaded PGCEdit 0.6.0 fine.

Wheelie4
7th July 2005, 20:22
Odd, I just decided to try download it using NetTransport and now I have it working. :)

Rippraff
7th July 2005, 20:23
Does the chm has the correct size? Mine is 744,504 bytes.

Cu Rippraff

Wheelie4
7th July 2005, 20:32
Does the chm has the correct size? Mine is 744,504 bytes.

Cu Rippraff

Both the non-working onces downloaded with IE's built in downloader and the working one downloaded with NetTransport are 744,504. It's weird. I can download it fine using Firefox and it downloads fine in IE and Maxthon using NetTransport but doen't work using "save as" in IE or Maxthon. Anyway, I've got a working file now so no biggy. :)

jeanl
7th July 2005, 22:19
r0lZ, thanks for the new version! It looks to me like PgcEdit suddently made a giant step ahead of all other DVD editing softs (free or not free), with the very refined DL burning feature! I don't have a DL burner yet, but I can't wait to get one and try it! I ran a "mock" DL burn just to see what it would look like, and as usual, I'm impressed by how detailed and well thought-out the implementation is.
Kudos man!
jeanl

jinjin_jp
8th July 2005, 07:06
@r0lZ
Thanks very much for ver.0.6.0final.

r0lZ
8th July 2005, 08:03
rOLZ,

I tried downloading the .CHM file for Windows from your homepage but it is blank. No info.I've found the problem. It's a bug in M$ Windows! With XP SP2, when you download a file, it is locked by Windows to prevent infections by viruses. When you launch the file, a warning is displayed. If you accept the warning, the file is opened... but all pages are blank (actually, with a link not found error message)!
To get rid of this problem, you have to unlock the file: go to properties, and click the Unlock button.

To solve this problem, I will upload a zipped version instead.


@jeanl: Thanks!

r0lZ
8th July 2005, 09:44
Note: At this time, the Tiscali mirror in Belgium is not available. This is probably due to the fact that the Tiscali network is currently absorbed by Scarlet.
To download PgcEdit, please use the main homepage at VideoHelp, or the unofficial mirror in Poland.

I take advantage of this message to signal that www.lcsinchome.com (http://www.lcsinchome.com) distributes a modified version of PgcEdit, wrapped in an installer. Actually, the installer don't work to install PgcEdit, but it will install a virus!
Don't download anything from Lcsinchome.Com, and banish it from your bookmarks!

winny
8th July 2005, 11:41
Thanks for all the hard work on v6.0, every day I'm amazed how much this tool can do :)

zacoz
8th July 2005, 12:03
Congrats r0lZ, you know you're doing something right when someone thinks having a virus pretending to be your program will help it to get a wide installation base.

r0lZ
8th July 2005, 12:08
Yeah. And someone else has registered www.pgcedit.com! Nothing to do with my program, of course. But that's stupid. I will never buy a domain name for PgcEdit.

zacoz
8th July 2005, 15:14
Well I just noticed the views of this thread - 1360 in 32 hours. That's a hit every 85 seconds.

Wheelie4
8th July 2005, 16:34
I've found the problem. It's a bug in M$ Windows! With XP SP2, when you download a file, it is locked by Windows to prevent infections by viruses. When you launch the file, a warning is displayed. If you accept the warning, the file is opened... but all pages are blank (actually, with a link not found error message)!
To get rid of this problem, you have to unlock the file: go to properties, and click the Unlock button.

To solve this problem, I will upload a zipped version instead.


@jeanl: Thanks!

Ahhhhh, I was getting that warning when launching. Thx for letting us know. I was afraid some system file of my had gotten corrupted because a couple days ago my SP2's Security Center stopped detecting my Virus and Firewall programs and kept giving me those anoying popup warnings. :)

r0lZ
8th July 2005, 16:55
Well I just noticed the views of this thread - 1360 in 32 hours. That's a hit every 85 seconds.If we take into account the fact that we are in July, and that many people are on holiday, it's not bad! :)

r0lZ
8th July 2005, 17:00
Ahhhhh, I was getting that warning when launching. Thx for letting us know. I was afraid some system file of my had gotten corrupted because a couple days ago my SP2's Security Center stopped detecting my Virus and Firewall programs and kept giving me those anoying popup warnings. :)The popup warnings are not related to anti-virus programs or firewall. It's only a flag added by Windows on the downloaded file. The requester will popup until you remove the flag by clicking Unlock. You will experience the same behaviour with all files you download, but not when a file is extracted from an archive.

Rippraff
8th July 2005, 17:05
Glad that I'm still using Win 2k SP4. ;)

Cu Rippraff

blutach
10th July 2005, 12:44
Just back from Sydney and saw this - Thanks r0lz!

Regards

zacoz
10th July 2005, 14:35
@r0lZ: Have encountered the following error when attempting to edit a command.
can't read "::ced::widget(cmdFrame)": no such variable
can't read "::ced::widget(cmdFrame)": no such variable
while executing
"destroy $::ced::widget(cmdFrame)"
(procedure "hexcmd_to_gui" line 4)
invoked from within
"hexcmd_to_gui"
(procedure "::ced::cmdeditor" line 5)
invoked from within
"::ced::cmdeditor"
(procedure "::main::action_Edit_Cmd" line 17)
invoked from within
"::main::action_Edit_Cmd"
(command bound to event)
It only seems to occur when I've opened PgcEdit and the DVD by right clicking on the VIDEO_TS.IFO file and choosing Open DVD with PgcEdit (from within windows explorer).

Anyone else able to reproduce this error ?

Catflap
12th July 2005, 04:06
@r0lZ: Have encountered the following error when attempting to edit a command.

It only seems to occur when I've opened PgcEdit and the DVD by right clicking on the VIDEO_TS.IFO file and choosing Open DVD with PgcEdit (from within windows explorer).

Anyone else able to reproduce this error ?

I get this error when 'Start in trace mode (when a DVD is opened at startup)' is ticked, again by using rmb to open VIDEO_TS.IFO.
If I close trace mode and open it again then it works OK.
All works fine if you open a DVD from inside PgcEdit, but of course it much easier to rmb on the VIDEO_TS.IFO file.

And r0lZ, many thanks for a great program, it is really cool all the things I can now edit on my DVD's.

2COOL
12th July 2005, 07:23
@r0lZ

Just a couple of observations...

1. If I have a PGC selected other than First Play and the click to start Trace dialog, why can't it always start at First Play PGC by default. I still have my current PGC selected and I have to click on restart button to start at First Play PGC.

2. When I exit out of trace mode, what can't I have the option to clear all my PGC played highlights automatically. I know I can do it manually.

3. When you right-click on a empty line in PGC Selector, there is a "Display PGCs list as text" option. I think it should also belong in our info dump menu instead of it being sort of hidden on the side.

4. In Menu button preview dialog, there are Image skip buttons. With some DVDs, I have to click alot of times to get to my desired frame. Maybe a future slide bar like preview dialog?

Feature request:

Macro to find "sprm(18:Preferred sub-picture language)" & "sprm(16:Preferred audio language)" strings and convert them to existing language decimal values?

e.g.

BEFORE:
[61 00 00 04 00 90 00 00] 11 Set gprm(4) =(mov) sprm(16:Preferred audio language)
[71 A0 04 0B 00 00 65 6E] 12 if ( gprm(4) == 25966 ("en") ) then { Set gprm(11) =(mov) 0 }
[71 A0 04 0C 00 41 66 72] 14 if ( gprm(4) == 26226 ("fr") ) then { Set gprm(12) =(mov) 65 }
[71 A0 04 0C 00 42 65 73] 15 if ( gprm(4) == 25971 ("es") ) then { Set gprm(12) =(mov) 66 }
[71 A0 04 0C 00 43 65 6C] 16 if ( gprm(4) == 25964 ("el") ) then { Set gprm(12) =(mov) 67 }

AFTER:
[71 00 00 04 65 6E 00 00] 11 Set gprm(4) =(mov) 25966 ("en")
[71 A0 04 0B 00 00 65 6E] 12 if ( gprm(4) == 25966 ("en") ) then { Set gprm(11) =(mov) 0 }
[71 A0 04 0C 00 41 66 72] 14 if ( gprm(4) == 26226 ("fr") ) then { Set gprm(12) =(mov) 65 }
[71 A0 04 0C 00 42 65 73] 15 if ( gprm(4) == 25971 ("es") ) then { Set gprm(12) =(mov) 66 }
[71 A0 04 0C 00 43 65 6C] 16 if ( gprm(4) == 25964 ("el") ) then { Set gprm(12) =(mov) 67 }

r0lZ
12th July 2005, 10:29
@r0lZ: Have encountered the following error when attempting to edit a command.@ zacoz & Catflap
Thanks. I've fixed the bug before I've read the reply by Catflap. Will now check with trace mode.

[EDIT: The bug occured also when Trace mode was enabled. It is fixed now.]

r0lZ
12th July 2005, 10:51
@r0lZ

Just a couple of observations...

1. If I have a PGC selected other than First Play and the click to start Trace dialog, why can't it always start at First Play PGC by default. I still have my current PGC selected and I have to click on restart button to start at First Play PGC.

2. When I exit out of trace mode, what can't I have the option to clear all my PGC played highlights automatically. I know I can do it manually.

3. When you right-click on a empty line in PGC Selector, there is a "Display PGCs list as text" option. I think it should also belong in our info dump menu instead of it being sort of hidden on the side.

4. In Menu button preview dialog, there are Image skip buttons. With some DVDs, I have to click alot of times to get to my desired frame. Maybe a future slide bar like preview dialog?

Feature request:

Macro to find "sprm(18:Preferred sub-picture language)" & "sprm(16:Preferred audio language)" strings and convert them to existing language decimal values?

1 & 2. Because the Trace Mode button toggles only the GUI to show/hide the trace window. As it is possible to hide the edit buttons and the toolbar when you go in trace mode, I find it convenient to be able to quit trace mode easily, and then return to trace mode without loosing the current trace state.
The first time trace mode is opened, I have to initialize it anyway, because I need to setup some internal variables.
It's easy to click on the Load DVD button, so I will not change that.

3. OK.
[EDIT: done]

4. The Image Skip buttons works by looking for the next Nav Pack position in the current Nav Pack. To implement a slide bar, I will have to scan the whole VOB cell before opening the menu viewer. I's a little bit difficult and slow. And normally, the first background displayed should be correct.
But I will see if I can do something easily.
[EDIT: Now, you can right-click on the < and > buttons to jump by larger steps.]

Feature: Well, it's relatively easy to find the commands and edit them manually. I have a project to implement a full featured Search and Replace. But it's not easy to do. Especially I need to imagine a good interface.
Maybe I'll do that some day.
[EDIT: I've made a Search and Replace plugin, but it's not easy to use. It will be available with the next release...]

PALace
12th July 2005, 16:01
Great tool rOlZ

The help file is a major help. Would be lost without it. A whole new world to discover.

Thanks

selyb
12th July 2005, 16:08
It would be awesome to be able to configure shortcut keys
maybe you could store info like that in an ini or registry keys
an ini file is easier for users to edit and transfer

anyway, until then...

Request: Enter key in search box does same as hitting 'all' button

Request: Enter key on other screens (command editor, enable navigational buttons, etc) defaults to OK button

Request: Shortcut key for 'next single step' button in Trace Mode (maybe right or down arrow key or shift+N)
I would suggest right arrow for next step, down arrow for Run, and Esc for break

r0lZ
12th July 2005, 16:08
@PALace: You should thanks blutach, who did the manual.

@selyb: Will see what I can do. But I'm not sure I will add the Enter key to accept a dialog, since sometimes it may be dangerous. And I have to modify all windows definitions...

[EDIT:] I've added these shortcuts in Trace mode:
- Control-Right: -> Step
- Control-Up: ->> Next PB
- Control-Down: ->>> Run
- Control-Left: ->| Break
- Escape: ->| Break

[EDIT2:] It is now possible to accept all dialogs with an OK button by pressing Return.

selyb
12th July 2005, 16:12
4. The Image Skip buttons works by looking for the next Nav Pack position in the current Nav Pack. To implement a slide bar, I will have to scan the whole VOB cell before opening the menu viewer. I's a little bit difficult and slow. And normally, the first background displayed should be correct.
But I will see if I can do something easily.


Maybe you could do something like 'Jump to image # nn' and skip to that number or to the last image, whichever comes first

r0lZ
12th July 2005, 16:15
Not easy, too. I don't display all the images. The buttons are jumps to the prev/next Nav Pack, and the Preview should display the first image just after it.
As I said, it's not easy to change that. But, if I have some spare time, I will have a look...

selyb
12th July 2005, 16:19
Request: Button to 'Return to Trace Position'

sometimes when i am in trace mode i need to look at something else and i want to go back to where i was but it isnt always easy to remember exactly where the trace left off

It would also be nice to have the option to automatically do this when you toggle trace mode On

selyb
12th July 2005, 16:34
Request: Enter key in search box does same as hitting 'all' button


I just found this bind .mf.st.e <Return> "::main::find_in_pgc -forwards" but hitting enter in the search box does nothing for me :(

EDIT Thats weird... now it does work

r0lZ
12th July 2005, 17:37
For the moment, the Return key searches for the next occurence in the current PGC only. If nothing is found, nothing happens.

STR
13th July 2005, 11:40
How can i add a sub by default in Pgcedit?

As you can see, it's a simple DVD.(Muxed with Ifoedit)

r0lZ
13th July 2005, 11:46
Use the SetSTN command, as the last pre-command of your Title PGC.

selyb
15th July 2005, 03:32
we posted at the same time so i dont know if you saw this post :( It would be awesome to be able to configure shortcut keys
maybe you could store info like that in an ini or registry keys
an ini file is easier for users to edit and transfer

anyway, until then...

Request: Enter key in search box does same as hitting 'all' button

Request: Enter key on other screens (command editor, enable navigational buttons, etc) defaults to OK button

Request: Shortcut key for 'next single step' button in Trace Mode (maybe right or down arrow key or shift+N)
I would suggest right arrow for next step, down arrow for Run, and Esc for break

doomer2
15th July 2005, 04:32
I found a dvd a few days ago where the main title was started by jumping to the title, executing some precommands that jumped out to another chain, and then issued a RSM to actually start the title.

When I stopped on the first precommand of the title and ran the macro, it said since control jumped out of the chain, to wait until it reentered and then rerun the macro.

So I did what it suggested, but because of the RSM, the pointer ended up after the title precommands, and when I tried to run the macro, it complained that there were precommands and I hadn't stopped before them.

I suggest that instead of the macro having to be run when on the first command of the PGC, it should have to be run at the point of playback of the title vobs (between pre and post commands). Then it would already know all the right register settings to use instead of having to run all the precommands as part of the macro. Then it could put them in as it does now, but have the last command inserted be a Break, which should make it work in all cases.

This also gives the additional benefit that it still allows running the macro when using the Next PB button without having to set a breakpoint (the way I prefer to do it).

What do you think?

2COOL
15th July 2005, 04:38
I found a dvd a few days ago where the main title was started by jumping to the title, executing some precommands that jumped out to another chain, and then issued a RSM to actually start the title.Do you remember what this DVD title was and what region too?

doomer2
15th July 2005, 04:48
Do you remember what this DVD title was and what region too?

Road House R1

2COOL
15th July 2005, 10:45
@r0lZ

Past versions of PgcEdit used to have the "Verify number of streams" dialog pop up when accessing a Title PGC. Now, I have to manually do it. It would be great if you had the option to check after loading since the user wouldn't know about any unneeded streams if the macro isn't executed.

I just found in my 7 seconds DVD had extras phantom streams after DVD Shrink's analysis. I went back to PgcEdit to correct them using the macro.

r0lZ
15th July 2005, 10:51
I found a dvd a few days ago where the main title was started by jumping to the title, executing some precommands that jumped out to another chain, and then issued a RSM to actually start the title.

When I stopped on the first precommand of the title and ran the macro, it said since control jumped out of the chain, to wait until it reentered and then rerun the macro.

So I did what it suggested, but because of the RSM, the pointer ended up after the title precommands, and when I tried to run the macro, it complained that there were precommands and I hadn't stopped before them.

I suggest that instead of the macro having to be run when on the first command of the PGC, it should have to be run at the point of playback of the title vobs (between pre and post commands). Then it would already know all the right register settings to use instead of having to run all the precommands as part of the macro. Then it could put them in as it does now, but have the last command inserted be a Break, which should make it work in all cases.

This also gives the additional benefit that it still allows running the macro when using the Next PB button without having to set a breakpoint (the way I prefer to do it).

What do you think?That's right. In this precise case, there is a problem.
The original method developed by Jeanl, 2COOL and me was what you suggested, with the breakpoint on the playback. However, doing so is not always a good method.

For example, suppose you want to jump directly to the main movie. If there is a comparison somewhere in the pre-commands to set the audio and subpic according to the value of a GPRM, these lines must be executed, or the audio/subpic setup will always be the one you selected when running the macro, regardless of what you may have requested in the Audio/Subtitle menus.
[EDIT: Wrong. See here (http://forum.doom9.org/showthread.php?p=687341#post687341).]

Also, this method requires that the target PGC is a PGC with video, while my method is also suitable to jump to a dummy PGC.

To use the macro in this case, try this: set the breakpoint on the menu PGC that is called just before your target (the one with the RSM command). If it is in the same VTS than the real target, that should work.
Or you may use jeanl's guide, or 2COOL's Jump2PGC helper, and do the job manually.

I will not change the macro, as it works well most of the time, and doing what you suggest requires many changes. Sorry.
But I will have a look at this RSM problem. Maybe I can do something...