Log in

View Full Version : [PgcEdit plugin] QuickTarget v1.1.2 plugin for PgcEdit (2010.09.02)


M_Knox
24th January 2010, 13:07
Version 1.1 has been released - please see here (http://forum.doom9.org/showthread.php?p=1385287#post1385287)
Version 1.1.1 has been released - please see here (http://forum.doom9.org/showthread.php?p=1386888#post1386888)
Version 1.1.2 has been released - please see here (http://forum.doom9.org/showthread.php?p=1431044#post1431044)


I hereby present you my new plugin for PgcEdit.

It simplifies changing some commands' target locations (GOTO, JUMPSS/CALLSS, JUMPTT, LINKPGCN) by point-and-click (i.e. you have to select the appropriate command and, holding predefined (and configurable) Ctrl, Shift and Alt combination, click the destination PGC or line in the PGC, depending on where you want to target the jump). For example you can change this:[71 00 00 08 00 00 00 00] 1 Set gprm(8) =(mov) 0 into this:[71 04 00 08 00 00 00 06] 1 Set gprm(8) =(mov) 0 ; LinkPGCN PGC 6
or this:[00 A1 00 0E 10 01 00 05] 2 if ( gprm(14) == 4097 ) then { Goto line 5 } into this:[00 A2 00 0E 10 01 00 00] 2 if ( gprm(14) == 4097 ) then { Break } with just a single click.

It is not the only function of the plugin - check out the "PGC copier", "PGC highlighter" and "Trailing Link detacher" functions.
The detacher allows you to change this:[71 04 00 08 00 00 00 01] 1 Set gprm(8) =(mov) 0 ; LinkPGCN PGC 1 into this:[71 00 00 08 00 00 00 00] 1 Set gprm(8) =(mov) 0
[20 04 00 00 00 00 00 01] 2 LinkPGCN PGC 1 with a single click or a keyboard shortcut.


blutach was kind to write some help for this plugin - read it here http://www.digital-digest.com/~blutach/PgcEdit_help/WEB/QuickTarget_Plugin.htm


The plugin installation in PgcEdit is very simple, but for those, that are new to it, there's some info in the attached package.


To access the plugin's options after installation navigate to Plugins | QuickTarget plugin menu.


Have fun.

EDIT: additional URL for the plugin package: http://members.elysium.pl/morris/programs/pgcedit/plugins/quicktarget_plugin_1.0.rar

r0lZ
24th January 2010, 20:33
It's a really nice addition to PgcEdit, especially for the lazy guys like me! Thanks M_Knox!

blutach
24th January 2010, 22:52
Thanks heaps M_Knox.

Regards

M_Knox
23rd March 2010, 10:42
Plugin update.

New in version 1.1:
target can now be changed also for buttons in menu viewer and editor (however, for this to work in menu viewer, PgcEdit version 9.3 or later is required)
PGC highlighter now works also when the menu viewer, the menu editor or the PGC editor is open (provided the target changer is enabled)
Copy PGC now does very basic JumpSS <-> CallSS conversion when copying a PGC from a title to a menu (and vice versa)
target can now be changed also for "Previous PGCN link", "Next PGCN link" and "Go Up (Return) link" in the PGC editor
for not_one_seq titles a LinkPGCN is generated within the same TTN


Additional URL for the plugin package: http://members.elysium.pl/morris/programs/pgcedit/plugins/quicktarget_plugin_1.1.rar

blutach
23rd March 2010, 11:06
Thanks for the quick update. For other really snazzy plugins written by M_Knox (like the drag and drop and context sensitive help), go to the PgcEdit home page.

Regards

r0lZ
23rd March 2010, 11:17
You can also find them all, with a short description and a link to the discussion threads, here (http://forum.doom9.org/showthread.php?p=1385133#post1385133). Only the Hexbit Operands plugin is missing in that list, as it has not been updated since v9.2.

DnGermany
28th March 2010, 18:24
First off, thanks for all the hard work from everyone. Keep it up !!! - So my problem when using the Quicktarget plugin is that I receive this error.

PgcEdit version 9.3 (March 22, 2010)
Running as a wrapped script under FreeWrap v 6.42.4.
Current character encoding: cp1252
Console character encoding: cp850
Error sourcing /Tcl/work/PGCEDIT/PgcEdit.tcl: unknown option "-accel"
() 1 %

Any suggestions on how to fix this ? - Running in Windows 7 32bit

r0lZ
28th March 2010, 18:39
Hum, strange. I haven't that problem under XP.

Try to load quicktarget_plugin.tcl in a text editor. Search for "-accel" and replace by "-accelerator". (There are 2 occurrences.)
IMO, that should be sufficient.

I'll report the problem to the author of the plugin, M_Knox.

M_Knox
28th March 2010, 20:56
Plugin update.

This is just a quick bugfix release. It eliminates the error on PgcEdit startup when "Allow menu tearoffs" option was disabled.

Additional URL for the plugin package: http://members.elysium.pl/morris/programs/pgcedit/plugins/quicktarget_plugin_1.1.1.rar

DnGermany
29th March 2010, 09:22
Thanks M_Knox, version 1.1.1 solved the problem. Like I said before, keep up the good work, it's much appreciated.

M_Knox
2nd September 2010, 07:06
Plugin update.

New in version 1.1.2:

revoked generating jumps to Title menu (jump to VMGM PGC is generated instead)
fixed a bug that generated LinkPGCN instead of JumpVTS_TT in some circumstances (linking from VTSM PGC x to VTST PGC x, where x denotes the same PGC number)


EDIT: additional URL for the plugin: http://sites.google.com/a/elysium.pl/morris/pgcedit/plugins/quicktarget