Difference between revisions of "Notepad++ Setup"

4 bytes added ,  17:27, 15 May 2012
m
imported>Tipped
(→‎Setting up a quick compile: Replaced the two scripts with one that allows using different directories for the scripts)
imported>Norfolk
Line 7: Line 7:
#Open Notepad++  
#Open Notepad++  
#Hit F5 (run)
#Hit F5 (run)
#Paste the following line into the input in the"Run..." dialogue window in Notepad++:<pre>"C:\Program Files (x86)\Steam\steamapps\common\skyrim\Papyrus compiler\ScriptCompile.bat" "$(FILE_NAME)" "$(CURRENT_DIRECTORY)"</pre>NOTE: Inside the quotes, paste in the equivalent path on your PC while points to that ScriptCompile.bat file.
#Paste the following line into the input in the "Run..." dialogue window in Notepad++:<pre>"C:\Program Files (x86)\Steam\steamapps\common\skyrim\Papyrus Compiler\ScriptCompile.bat" "$(FILE_NAME)" "$(CURRENT_DIRECTORY)"</pre>NOTE: Inside the first quotes, paste in the equivalent path on your PC that points to the ScriptCompile.bat file.
#Select Save...
#Select Save...
#Name it something useful like "Compile Papyrus"
#Name it something useful like "Compile Papyrus"
#Set up a keyboard shortcut if you want, such as CTRL+F5.
#Set up a keyboard shortcut if you want, such as CTRL+F5.
*You can find the new shortcut under the Run menu option, or just use your keyboard shortcut if you defined one. (If you attempt to use the shortcut and nothing happens, double check that you have linked the shortcut to the ScriptCompile.bat file, and not the PapyrusCompiler.exe)
*You can find the new shortcut under the Run menu option, or just use your keyboard shortcut if you defined one. (If you attempt to use the shortcut and nothing happens, double check that you have linked the shortcut to the ScriptCompile.bat file, and not the PapyrusCompiler.exe)
*You can change the keyboard shortcut under Settings -> Shortcut Mapper -> Run Tab
*You can change the keyboard shortcut under Run -> Modify Shortcut/Delete Command
*This will compile the script you are currently tabbed to while in Notepad++.
*This will compile the script you are currently tabbed to while in Notepad++.
*NOTE: By default and after any Creation Kit updates, you'll find the batch file will not work initially as it's pointed to Bethesda's developer directory. To set it up for your Skyrim installation, Right-Click > Edit "Skyrim\Papyrus Compiler\ScriptCompile.bat" and make sure its filepaths are pointed to your Skyrim. For a default installation, the following should work
*NOTE: By default and after any Creation Kit updates, you'll find the batch file will not work initially as it's pointed to Bethesda's developer directory. To set it up for your Skyrim installation, Right-Click > Edit "Skyrim\Papyrus Compiler\ScriptCompile.bat" and make sure its filepaths are pointed to your Skyrim. For a default installation, the following should work
Anonymous user