View Single Post
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 11-22-2011 , 12:23   Re: Notepad++ AlliedModders Edition
Reply With Quote #31

I saw this thread and I thought I would replace my notepad++ with this version, but after all I just upgraded mine to latest version and while I was at it I created program to make installing plugins faster. Depending on the need I use listenserver/hlds cs/cz/dod on local/lan computer, so browsing through many folders and editing plugins.ini is a pain if I just want to test some little plugin.

If you want to use my program, then you need to add to npp exec compile script 1 line, so it looks like this:
Code:
SET compiler = $(NPP_DIRECTORY)\pawn.compiler\amxxpc.exe
SET include = $(NPP_DIRECTORY)\pawn.compiler\include
SET output = <path...>\addons\amxmodx\plugins\$(NAME_PART).amxx

NPP_SAVE
"$(compiler)" -i"$(include)" -o"$(output)" "$(FULL_CURRENT_PATH)"
"C:\<path to exe>\quick_plugins_management.exe" -set_path "$(output)"

UNSET compiler
UNSET include
UNSET output
Note that output path must be a path to plugins folder of amxmodx installed on server (create separate compile scripts for every game or server you want to use).
Next you need to create custom run commands (using Run..., not npp exec) and bind them to some keys (Settings -> Shortcut Mapper..., I use F7, F8, F9, F10):
Code:
C:\<path to exe>\quick_plugins_management.exe -add
C:\<path to exe>\quick_plugins_management.exe -rem
C:\<path to exe>\quick_plugins_management.exe -show
C:\<path to exe>\quick_plugins_management.exe -clear
Now whenever you want to test some plugin, you need to press just 2 keys (compile and add) to install it.
Attached Files
File Type: zip quick_plugins_management.zip (8.9 KB, 136 views)
__________________
Impossible is Nothing
Sylwester is offline