Difference between revisions of "Notepad++ Setup"

440 bytes removed ,  11:37, 27 April 2015
Changed the compilation batch script to work independently of where Skyrim is installed. %~dp0 will always refer to the location of the batch file itself, and from there relative paths are used which will always be valid.
imported>Tschilkroete
imported>Sostrmnn
(Changed the compilation batch script to work independently of where Skyrim is installed. %~dp0 will always refer to the location of the batch file itself, and from there relative paths are used which will always be valid.)
Line 16: Line 16:
<source lang="dos">
<source lang="dos">
cd %2
cd %2
if defined ProgramFiles(x86) (
"%~dp0PapyrusCompiler" %1 -f="TESV_Papyrus_Flags.flg" -i="%~dp0..\Data\Scripts\Source" -o="%~dp0..\Data\Scripts"
"%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"
) else (
"%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
pause
</source>
</source>
Anonymous user