Psalam Posted November 15, 2018 Posted November 15, 2018 Okay. I took Hugh Reckhum's advice and was trying to do my first script fragment. When I did I got an error "unable to find flags." Not being a complete moron I looked it up and found it in the CK. So, following the instructions I extracted the Skyrim\Data\Scripts.rar to Skyrim\Data\Scripts\Source folder using 7zip. When I went back I got the same error message. My pathway now looks something like this: Skyrim\Data\Scripts\Source\Scripts\Scripts\Source and that's where I now have this: So clearly I fouled up but I'm not quite sure how nor do I know how to fix it. Any help would be appreciated. ?
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 You don't want scripts/source/scripts/scripts/source. Move everything .pex to the scripts file, and everything .psc to the source file, and it should just be scripts/source when you're done.
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Spoiler 27 minutes ago, Hugh Reckum said: You don't want scripts/source/scripts/scripts/source. Move everything .pex to the scripts file, and everything .psc to the source file, and it should just be scripts/source when you're done. As far as I can tell, EVERYTHING (including what is in the folders in that final "Source" file is a .psc. Therefore, I should be able to move or copy everything in that file and move it into the first "Source" file. I don't see anything listed as a .pex. Is this correct? Edit: Under the second (of three) "Scripts" files I have two folders entitled "Dialogue Views" which are XML files and another "scripts" folder.
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 Yes, .psc are your source files, and .pex are the compiled script files (used by the game engine). All the .psc should get moved to Data/Scripts/Source And .pex should get moved to Data/Scripts (if they exist). But the scripts.rar should just have .psc source files, I am just mentioning .pex in case you have any that somehow got in the wrong place. Data/Scripts/Source/scripts/scripts/source Those extra scripts/source files should be empty when you're done moving stuff and you can safely remove them at that point.
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Thanks again Hugh. So the Dialogue Views XML files just stay where they are? And, as you are well aware since my game is heavily modded already, there are already a LOT of .psc files in Data/Scripts/Source.
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 Yes, .xml files in dialogue views is something completely different, they control how the dialogue charts are displayed in CK. They should all stay in Data/DialogueViews. It's OK to have lots of .psc files, the important thing is that they are in the right place so your Papyrus compiler can find them.
Guest Posted November 15, 2018 Posted November 15, 2018 Just an extra info. Get SKSE 7zip file. unzip it, and replace all pex and psc files that come from it. (The scripts.rar has way more files, for all the scripts added to the game, SKSE just extends the main objects scripts to allow more control.)
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Spoiler 7 minutes ago, CPU said: Just an extra info. Get SKSE 7zip file. unzip it, and replace all pex and psc files that come from it. (The scripts.rar has way more files, for all the scripts added to the game, SKSE just extends the main objects scripts to allow more control.) I'm not sure I understand. Of course I already have SKSE (from Steam). From where would I get a 7zip version? And what benefit would those pex and psc files be in addition to (no offense intended) the files with which I am already struggling? You know I trust you CPU but I would like to understand as well.
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 2 minutes ago, Psalam said: Reveal hidden contents I'm not sure I understand. Of course I already have SKSE (from Steam). From where would I get a 7zip version? And what benefit would those pex and psc files be in addition to (no offense intended) the files with which I am already struggling? You know I trust you CPU but I would like to understand as well. https://skse.silverlock.org/ Grab the 7zip archive of the current build, you'll find them in there.
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Spoiler 4 minutes ago, Hugh Reckum said: https://skse.silverlock.org/ Grab the 7zip archive of the current build, you'll find them in there. Thanks Hugh I've downloaded it, but, to quote the little boy holding on to the tiger's tail, now that I have it what do I do with it?
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 Unzip it and copy over the scripts file to your Skyrim data directory. (Merge Data/Scripts)
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Spoiler 6 minutes ago, Hugh Reckum said: Unzip it and copy over the scripts file to your Skyrim data directory. (Merge Data/Scripts) I don't mean to be a pest but you know EXACTLY what you mean but I don't. I am to simply add these also to Data/Scripts/Source or I am supposed to replace some or all of the ones that I just moved from Scripts/Source/etc. to Data/Scripts/Source.
Nazzzgul666 Posted November 15, 2018 Posted November 15, 2018 Not exactly an expert on this but i'm almost sure i can make an educated guess about the benefit: Imagine the source files from SKSE as master files quite like installing a mod, if you want to use the functions SKSE provides, you need to have them installed.
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 Same process as before, .pex in Data/Scripts and .psc in Data/Scripts/Source. But if you copy the Scripts file, and paste it in the Data file, then the Scripts file will merge with Data/Scripts. But you could move over the .pex and .psc contents instead if you prefer that approach.
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Spoiler 3 minutes ago, Nazzzgul666 said: Not exactly an expert on this but i'm almost sure i can make an educated guess about the benefit: Imagine the source files from SKSE as master files quite like installing a mod, if you want to use the functions SKSE provides, you need to have them installed. What you're saying is that this is REQUIRED if I want to use the scripting commands available through SKSE (that they won't be available otherwise). I can see that. Spoiler 3 minutes ago, Hugh Reckum said: Same process as before, .pex in Data/Scripts and .psc in Data/Scripts/Source. But if you copy the Scripts file, and paste it in the Data file, then the Scripts file will merge with Data/Scripts. But you could move over the .pex and .psc contents instead if you prefer that approach. Thanks again Hugh. Yes I prefer the slower slog through it approach as it gives me the feeling that I have more control (whether I actually do or not). Edit: By George I think I've got it!
Tyrant99 Posted November 15, 2018 Posted November 15, 2018 Ok, no worries, however you want to do it is fine, as long as they get there.
King-Crimson Posted November 15, 2018 Posted November 15, 2018 14 minutes ago, Psalam said: Reveal hidden contents What you're saying is that this is REQUIRED if I want to use the scripting commands available through SKSE (that they won't be available otherwise). I can see that. One more thing, if you want to create a mod that builds upon another mod or framework you might want to get that mods scripts source as well. For example, if you want to build a mod that builds upon SexLab, be sure that you have SexLabs scripts source (it probably already is unless you somehow deleted it, but make sure for other mods). @others: feel free to correct me if im wrong ^^
Guest Posted November 15, 2018 Posted November 15, 2018 11 minutes ago, XenonS3 said: One more thing, if you want to create a mod that builds upon another mod or framework you might want to get that mods scripts source as well. For example, if you want to build a mod that builds upon SexLab, be sure that you have SexLabs scripts source (it probably already is unless you somehow deleted it, but make sure for other mods). @others: feel free to correct me if im wrong ^^ That is correct. The way to do it depends on how you install mods.
Psalam Posted November 15, 2018 Author Posted November 15, 2018 Spoiler 12 minutes ago, XenonS3 said: One more thing, if you want to create a mod that builds upon another mod or framework you might want to get that mods scripts source as well. For example, if you want to build a mod that builds upon SexLab, be sure that you have SexLabs scripts source (it probably already is unless you somehow deleted it, but make sure for other mods). @others: feel free to correct me if im wrong ^^ I appreciate all the help but as I mentioned in post#5 I have a LOT of psc files for just that reason.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.