Difference between revisions of "Notepad++ Setup"
→Setting up a quick compile
imported>Cipscis (→Setting up Papyrus Language Definitions: Hopefully made this section a bit clearer) |
imported>JustinOther |
||
Line 13: | Line 13: | ||
*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: Check Skyrim\Papyrus Compiler\ScriptCompile.bat and make sure its file paths match your installation's. To edit this file, you can right click on it in Windows Explorer and select "Edit with Notepad++"<br />The below (in its entirety) should work for a default Skyrim installation on x86 or x64 Windows: | *NOTE: Check Skyrim\Papyrus Compiler\ScriptCompile.bat and make sure its file paths match your installation's. To edit this file, you can right click on it in Windows Explorer and select "Edit with Notepad++"<br />The below (in its entirety) should work for a default 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>For 32-Bit Win XP, use the below.<div style="overflow-x: scroll;"><source lang="xml">"%ProgramFiles%\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="%ProgramFiles%\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source" -o="%ProgramFiles%\Steam\SteamApps\Common\Skyrim\Data\Scripts" | |||
Pause</source></div> | Pause</source></div> | ||
*For the setup in that example, your script must be saved and located in "C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source" for the compilation to work. | *For the setup in that example, your script must be saved and located in "C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source" for the compilation to work. |