Difference between revisions of "Sublime Text Setup"
Jump to navigation
Jump to search
→Quick Compile
imported>SLiesegang |
imported>JustinOther |
||
Line 7: | Line 7: | ||
==Quick Compile== | ==Quick Compile== | ||
Assuming that your copy of the Papyrus Compiler and its associated batch files are still in their default locations, you should be able to hit F7 while looking at a Papyrus file to run it through the compiler. (The output will appear in the bottom panel, so be sure to check for any errors!) If you have any problems, look at <code>%APPDATA%\Sublime Text 2\Packages\Papyrus\Papyrus.sublime-build</code> and make sure the path to your compile batch file is correct. | Assuming that your copy of the Papyrus Compiler and its associated batch files are still in their default locations, you should be able to hit F7 while looking at a Papyrus file to run it through the compiler. (The output will appear in the bottom panel, so be sure to check for any errors!) If you have any problems, look at <code>%APPDATA%\Sublime Text 2\Packages\Papyrus\Papyrus.sublime-build</code> and make sure the path to your compile batch file is correct. | ||
*NOTE: Check Skyrim\Papyrus Compiler\ScriptCompile.bat and make sure its file paths match your installation's. 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. The below in its entirety should work for a default Skyrim installation on x86 or x64 Windows. | ||
<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" |