Jump to content

Help turning psc into pex using PapyrusCompiler


darkmeep

Recommended Posts

Posted

I have made my first psc file hurrah!

Now i have no idea how to turn it into pex.

I have the creation kit and I have PapyrusCompiler.exe

when I drag my psc onto the compiler the black screen pops up for a very very small amount of time and closes.

I've been trying to google and I saw something about .bat files

There's one .bat called ScriptCompile in the Papyrus Compiler folder.

I don't know if I'm supposed to do something to it. Or write an exit point in my script?

 

Ah I'm a real novice and it's my first time modding.

 

Help would be appreciated. huge novice so I'd need every single step pointed out to me of what to do with my psc script after it's been written, how to turn it into a pex. How to use the PapyrusCompiler.exe correctly. I think I'm missing something but I have only semi idea as to what it is. .bat file needs to be made first? Edited?

Posted

Here's a good tutorial using the freeware Notepad++: http://www.creationkit.com/Notepad%2B%2B_Setup You can get Notepad++ here: https://notepad-plus-plus.org

 

Sorry looks like I'm worse than I thought.

 

I downloaded Notepad++

I followed the instructions and ended up with this http://prntscr.com/7hur0t

 

instructions say

Now I have no idea what to do

"C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Papyrus Compiler\ScriptCompile.bat" "$(FILE_NAME)" "$(CURRENT_DIRECTORY)"

 

I've found my .bat files like that wiki says

 

 

Am I supposed to put in something in "$(FILE_NAME)" "$(CURRENT_DIRECTORY)"   ?

Posted

Well, I see another problem you'll have first, you've got Steam installed under the Program Files directory, you'll run into UAC issues. But you'll need to replace the bat file with the example in the wiki. Here's what I use: ScriptCompile.7z

Posted

From the wiki:

 

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:

cd %2
if defined ProgramFiles(x86) (
"%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
Posted

Well, I see another problem you'll have first, you've got Steam installed under the Program Files directory, you'll run into UAC issues. But you'll need to replace the bat file with the example in the wiki. Here's what I use: attachicon.gifScriptCompile.7z

 

Oh thank so much I had no idea about the programs files directory it worked!

 

and thank you 

Sailing Rebel

as well for helping me out both of your answers helped me

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...