notec
6th November 2010, 14:39
Removing (changing to NOP then removing them) Jumps To Nowhere is a breeze in PgcEdit - is it possible to select all effected calls at once, and in the Command Editor change them all to NOPs? instead of one at a time in PGCs Editor (See screenshot attachment)
I've got 10 "Jumps, Calls, and links to non-existing PGCs or Titles" in every title of the DVD and it's a daunting task to think about doing one at a time. I dont see anything that helps right-clicking on the highlighted command to do multi-selects (See tearaway attachment).
If that's my only option I'm okay with that - just looking for a way to speed up the process...
r0lZ
7th November 2010, 00:29
Unfortunately, multi-selection is not possible, mainly because usually it is not sufficient to replace several commands with the same command (NOP or any other command). For example, the jump may be conditional, and if it's the case, the condition should be retained. Also, the jump may be the last post-command of the PGC, so if you replace it, the player will be stuck with nowhere to go.
BTW, usually, it is necessary to replace the jump by the command that are executed when the target PGC is called normally. For example, if you remove title 2, and its commands change some GPRM values and then calls a VMGM PGC, you should replace the jump by the Set commands and the CallSS, otherwise your GPRMs will not be properly initialised, and the navigation will not be redirected to the VMGM.
As you can see, it is somewhat difficult to automate that task, as most of the time, some human intelligence is necessary to do the proper replace operation. (BTW, I have written a plugin to automatically make any PGC or domain uncalled. But is is still full of bugs, and I have abandoned the idea. And anyway, it doesn't work with jumps to mowhere, as it needs the original commands of the target PGC.)
But if you are really sure that you can safely replace a specific command with a NOP everywhere, you can use the Search and Replace plugin. It is not easy to understand, but it is powerful. Or you can copy a NOP in the clipboard, then search for the command (using the standard Search box and its ">>" button) and just hit Control-V for each occurrence. It's easy and relatively fast.
notec
8th November 2010, 16:38
Thanks for the quick reply r0lZ. Make sense that it's much too complicated to do multi-selection on commands. Gonna give the "copy a NOP in the clipboard" a shot.
Best...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.