Jump to content

Problem with compiling scripts :/ Help?


Recommended Posts

Posted

Hey guys, been on here awhile now working on personal projects and expanding my skill set. This is my first time trying to work on anything involving scripting. Anyway, I was having problems making a script so i decided to just edit an existing one and found that the problem was not necessarily MY script, but with the way that my Papyrus Compiler is set up. No matter what I try/do to its .bat will allow it to find the damn TESV_Papyrus_Flags.flg file. Could anyone provide some help or even their edited .bat files to allow me to compile .psc 's to .pex???

Posted

Hey guys, been on here awhile now working on personal projects and expanding my skill set. This is my first time trying to work on anything involving scripting. Anyway, I was having problems making a script so i decided to just edit an existing one and found that the problem was not necessarily MY script, but with the way that my Papyrus Compiler is set up. No matter what I try/do to its .bat will allow it to find the damn TESV_Papyrus_Flags.flg file. Could anyone provide some help or even their edited .bat files to allow me to compile .psc 's to .pex???

 

Edit the .bat file and change the locations Papyrus tries to use to yours.  If you check the .bat file, you should notice it points to the wrong directories for scripts and sources.  Be sure to also have the source file you're trying to edit in the source folder you point Papyrus to.  I use Notepad++ btw.  If it yields random errors afterwards, you might need some other source files, e.g. Sexlab needs both skse and skyui source files.

Posted

Firstly, ive tried making the edits and nothing works for mine cause the .flg file :/ Second, to use the scrips from skse and skyui id need the advanced .bat from here right?? :/

Posted

Firstly, ive tried making the edits and nothing works for mine cause the .flg file :/ Second, to use the scrips from skse and skyui id need the advanced .bat from here right?? :/

 

If you're building a script from scratch, you probably don't need that.  BTW, make sure the .bat file is pointing at the correct folders and then try to find the TESV flag file.  You could try reinstalling the Creation Kit, but you need to re-edit the papyrus .bat file afterwards again.  Can you paste the compile .bat contents here?

Posted
"C:\TSEV Skyrim LE\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="C:\TSEV Skyrim LE\Data\scripts\source\TESV_Papyrus_Flags.flg" -i="C:\TSEV Skyrim LE\Data\Scripts\Source" -o="C:\TSEV Skyrim LE\Data\Scripts"

Pause

 

 

 

my .bat contents. i dont have the original anymore

Posted

The .bat should be something like this

 

"E:\Steam\SteamApps\common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="E:\Steam\SteamApps\common\Skyrim\Data\scripts\Source" -o="E:\Steam\SteamApps\common\Skyrim\Data\scripts"
pause
 
If it's a legal copy, the end result should look something like this.  Edit the paths and write in the correct skyrim directories.
Posted

its not steam but the walmart disc version

 

O_o There's a thing like that? Anyway, the sentiment is the same, the first path is the papyrus executable path, the second path is the script/source folder path, the third path is the script folder path.  Just backup your .bat file, copy what I wrote, change the paths to reflect your own system and try again.

Posted

Revalidate your Skyrim and CreationKit cache on Steam to make sure it installs the flag file, then edit the compile .bat folder to point to your appropriate folders. Revalidating the files will mean you also have to reinstall SKSE in order to compile SKSE scripts.

 

If you don't have Steam to revalidate your files and get the creationkit files, you don't have a legal of Skyrim.

 

We do not provide help for pirated copies of the game.

 

 

its not steam but the walmart disc version

 

O_o There's a thing like that? Anyway, the sentiment is the same, the first path is the papyrus executable path, the second path is the script/source folder path, the third path is the script folder path.  Just backup your .bat file, copy what I wrote, change the paths to reflect your own system and try again.

 

 

 

There isn't such thing, even retail store copies of Skyrim activate on Steam.

 

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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