Oversette Posted September 21, 2013 Posted September 21, 2013 Hello~Recently (motivated by this site, I must admit), I began to study Papyrus. Since I am a kinda-hardcore Linux and Vim user, I faced a few problems, but most of them are solved now; I even found Vim syntax highlighting!The remaining issue is with the compiler and Wine; when I try to compile something, I always get a message saying either Unable to find flags file: TESV_Papyrus_Flags.flg or, if I move the script to Data/Scripts/Source, it can't be found.So, my question is: has anyone managed to work with the compiler via Wine?
cuentacuenta Posted September 21, 2013 Posted September 21, 2013 Hello~ Recently (motivated by this site, I must admit), I began to study Papyrus. Since I am a kinda-hardcore Linux and Vim user, I faced a few problems, but most of them are solved now; I even found Vim syntax highlighting! The remaining issue is with the compiler and Wine; when I try to compile something, I always get a message saying either Unable to find flags file: TESV_Papyrus_Flags.flg or, if I move the script to Data/Scripts/Source, it can't be found. So, my question is: has anyone managed to work with the compiler via Wine? omg dude what are you doing o_o?
Groovtama Posted September 21, 2013 Posted September 21, 2013 you must import the folder with the TESV_Papyrus_Flags.flg, normally it's the default script source folder in the data folder, or else you will get that message^^ use a bash script should be the easiest thing.
CGi Posted September 21, 2013 Posted September 21, 2013 Edit line 3, 4 and 5 in the attached batch, to point it to your Skyrim installation. i made this for private use with NP++ and TC, so it's not nice, but working. The file can be placed anywhere, but i recommend <GameFolder>\PapyrusCompiler. it uses 2 parameters. source script (including full path) output dir P.s.: if you use MO and want to compile scripts with dependencies to SL f.e., or if the script got dependencies to a mod, that has its source scripts inside a BSA (like SkyUi), then you must copy or unpack the source scripts of those mods into the folder of the source script or into the games source folder. ScriptCompile.7Z
Oversette Posted September 24, 2013 Author Posted September 24, 2013 Edit line 3, 4 and 5 in the attached batch, to point it to your Skyrim installation. Sorry for the late response. I'll play around your script, maybe I'll try to translate it to bash, and then report back. C: Thanks a lot!
CGi Posted September 26, 2013 Posted September 26, 2013 Got to correct my statement about the used parameters.#1 is the filename of the source script and #2 is the source folder (w/o trailing backslash).The output folder is always the same as the input folder, but you can easily edit the batch at line 6, to use a 3rd parameter, to specify a different output folder. Sorry, but i just noticed it, as i re-did parts of the batch.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.