_spool Posted June 28, 2018 Posted June 28, 2018 So I decided to being modding on a whim and now I realize why the creation kit sucks. I fixed all of my pathing issues (my skyrim was installed on a seperate drive S:) and fixed the ini settings so the CK would load. I loaded LAL (Alternate start - live another life) after ESMifying it and set out the dialogue for my new start, basing it off of the pre-existing starts. I then went to tie in the quest so that the main quest would begin (its what points you to helgen w/ rumors and the bit of text to set up background info, etc.). So i tried to open the script file for the quest of a pre-existing start and found it would not open. So I grabbed Notepad++ and the compiler included by bethesda w/ the CK and found it too is broken. I am suspecting that it is the pathing of the bat files pointing to my C drive instead of my S, where everything is. I fixed everything but it still did not find my TESV_Papyrus_Flags.flg file and of course, it wasnt there. I grabbed it from https://www.nexusmods.com/skyrim/mods/39140/?tab=files and put it in w/ the compiler. When it still didnt work i threw it in my script and script\source folders just to be sure, still didnt work. I am still at a loss and I'm not even sure what to google at this point. This is what cmd prompt returns when i run the bat file with notepad++ on a papyrus (.pex) file to compile it into something readable: C:\Program Files\Notepad++>sd 'sd' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Notepad++>"S:\SteamLibrary\steamapps\common\Skyrim\Papyrus Compiler\PapyrusCompiler" -f="TESV_Papyrus_Flags.flg" -i="S:\SteamLibrary\steamapps\common\Skyrim\Papyrus Compiler\..\Data\Scripts\Source" -o="S:\SteamLibrary\steamapps\common\Skyrim\Papyrus Compiler\..\Data\Scripts" Starting 1 compile threads for 1 files... Compiling "-f=TESV_Papyrus_Flags.flg"... <unknown>(0,0): unable to locate script -f=TESV_Papyrus_Flags.flg No output generated for -f=TESV_Papyrus_Flags.flg, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on -f=TESV_Papyrus_Flags.flg C:\Program Files\Notepad++>pause Press any key to continue . . . Just for reference, my install path is S:\SteamLibrary\steamapps\common\Skyrim\ and this is the bat file I am attempting to run: sd %2 "%~dp0PapyrusCompiler" %1 -f="TESV_Papyrus_Flags.flg" -i="%~dp0..\Data\Scripts\Source" -o="%~dp0..\Data\Scripts" pause If you need more info let me know, if you try to help, I appreciate it.
Guest Posted June 28, 2018 Posted June 28, 2018 Looks like your bat command to compile is not getting the right file to compile. I use this script, try to adapt it to your case (I already replaced the path) cd "S:\SteamLibrary\Steam\steamapps\common\Skyrim\Mod Organizer\mods\" "S:\SteamLibrary\steamapps\common\skyrim\Papyrus Compiler\PapyrusCompiler.exe" "%~dp2%~nx1" -f="S:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TESV_Papyrus_Flags.flg" -i="S:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\source\;%~dp2source;" -o="%~dp2\"
_spool Posted June 28, 2018 Author Posted June 28, 2018 Well it ran this time, problem is it didn't do anything... The file (just some random newstart file) still looks like this: https://imgur.com/a/QgAozo1
Guest Posted June 28, 2018 Posted June 28, 2018 10 minutes ago, gf00642 said: Well it ran this time, problem is it didn't do anything... The file (just some random newstart file) still looks like this: https://imgur.com/a/QgAozo1 That is a pex file. It is byte coded. Impossible to have any clues of what is inside. But if the compilation went well, the PEX contains the compiled code of the PSC.
_spool Posted June 28, 2018 Author Posted June 28, 2018 Well i guess I'm just doing something completely unnecessary then, all I was trying to do was look at the code in order to recreate it with a different start position for my mod. Thanks for the help! Greatly appreciated!
Guest Posted June 28, 2018 Posted June 28, 2018 Then look for PSC files. They have the source code, you can modify them, recompile, and enjoy.
_spool Posted June 29, 2018 Author Posted June 29, 2018 Thanks for all the help, I think I'm getting it figured out. Now I'm just running through the files and tracing the quests to see where all i should input my own code to get it working. I'll probably be back but for now I'm gonna sleep on it. Again, appreciate the help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.