Difference between revisions of "Notepad++ Setup"

213 bytes removed ,  21:01, 12 March 2012
imported>Aarondhp24
imported>JustinOther
Line 13: Line 13:
*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 Settings -> Shortcut Mapper -> Run Tab
*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. One of the below, in its entirety, should work for a default Skyrim installation (Steam folder) on x86 or x64 Windows Vista/7:
*NOTE: Check the ScriptCompile.bat (Windows Batch File) located in your Skyrim\Papyrus Compiler folder and make sure its contents match the strings of code listed below. An example is given for both 64-Bit and 32-Bit windows OS's. If you have a Program Files(x86) folder then use the 64-bit example.<br />
For 64-Bit (If you have a "C:\Program Files(x86)" folder)
To edit your ScriptCompile.bat file, you can right click on it in Windows Explorer and select "Edit with Notepad++" You may end up with a screen of random characters that make no sense, at which point you should close out and try again. (This is simply a glitch)<br />
 
The string of code below (in its entirety) should work for a default ScriptCompile.bat Skyrim installation on x86 or x64 Windows Vista/7:
<div style="overflow-x: scroll;"><source lang="xml">"%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source" -o="%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Data\Scripts"
<div style="overflow-x: scroll;"><source lang="xml">"%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source" -o="%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Data\Scripts"
Pause</source></div>
Pause</source></div>
Anonymous user