ProbablyManuel / requiem

20 stars 3 forks source link

Requiem - The Roleplaying Overhaul

This repository is the development version of the Skyrim Mod "Requiem - The Roleplaying Overhaul" for versions after Requiem 4.0.0. Older Requiem versions have been developed using the Mercurial version control system and the repository for these versions can be found at https://bitbucket.org/ogerboss/requiem-1.9.4/. (The history of the old versions has not been imported into the new repository to avoid the usage of sub-repositories.)

This mod is published on NexusMods:

Requirements

Setup

  1. Clone this repository into a new directory inside the mods folder of your Mod Organizer installation.

  2. Create a new file userSetup.gradle the repository's root directory.

  3. Copy the following content into the new file and adjust the parameters to your personal setup.

    ext {
        papyrusCompiler = file("S:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe")
        papyrusCompilerFlags = file("S:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\TESV_Papyrus_Flags.flg")
        papyrusIncludeFolders = files(
                "S:\\MO-Skyrim\\mods\\USSEP\\Scripts\\Source",
                "S:\\MO-Skyrim\\mods\\SkyUI5-SDK\\Scripts\\Source",
                "S:\\MO-Skyrim\\mods\\SKSE64\\Scripts\\Source",
                "S:\\MO-Skyrim\\mods\\ccBGSSSE001-Fish\\Source\\Scripts",
                "S:\\MO-Skyrim\\mods\\SSE-scripts\\Source\\Scripts"
        )
        papyrusFailFast = false
        csharpWarningsAsErrors = true
        bsArch = file("S:\\bsarch.exe")
    }
    • papyrusCompiler - path to your Papyrus compiler
    • papyrusCompilerFlags - path to the Papyrus compiler flags file
      • You can find this file in the Scripts.zip archive that is part of the Creation Kit installation.
    • papyrusIncludeFolders - list of folders with Papyrus sources to include in the compilation process
      • The scripts from the include folders will not be compiled themselves, but used by the compiler to verify that the function calls and other external references in the scripts to be compiled are valid.
      • The scripts are taken from the first folder that contains the given file. The order is therefore important to select updated versions the unofficial patch over the vanilla scripts.
      • Script folders should point to the .psc script source files. They are:
        1. USSEP scripts, from the Scripts\Source directory inside Unofficial Skyrim Special Edition Patch.bsa
        2. SkyUI SDK scripts, from the Scripts\Source directory in the download on GitHub
        3. SKSE scripts, from the Data\Scripts\Source directory in the download
        4. Fishing scripts, from the Scripts directory inside ccBGSSSE001-Fish.bsa (you need to decompile the scripts yourself using Champollion)
        5. Skyrim base scripts, from the Source\Scripts directory inside Data\scripts.zip which comes with the Creation Kit
    • papyrusFailFast - failure handling mode for the Papyrus compilation step
      • If set to true, the compilation fails upon encountering the first error.
      • If set to false, the compilation continues after the first error to accumulate all error messages.
    • csharpWarningsAsErrors - handling of compile time warnings in the C# Reqtificator.
      • If set to true, code analysis warnings will cause the Reqtificator build task to fail
      • If set to false, code analysis warnings will be emitted on the console, but the build will still succeed. This setting only applies to the assemble task, checkFormat will always fail if a code-analyser warning is present.
    • bsArch - the full path to the executable from BSArch
  4. Open a (power)shell, go to the repository's directory and execute gradlew.bat assemble. This may take some time when you execute it the first time because the wrapper needs to download the Gradle distribution and other dependencies first.

  5. Enable this repository as a mod in Mod Organizer and disable any other Requiem version you may have installed.

  6. Follow the regular installation instructions to set up the Reqtificator in Mod Organizer.

Important Gradle tasks