/SolastaUnfinishedBusiness

Solasta cRPG Game Multiclass Official Rules mod

Primary LanguageC#MIT LicenseMIT

SolastaUnfinishedBusiness

Multiclass

How to Compile

  1. Install all required development pre-requisites:
  2. Download and install Unity Mod Manager (UMM)
  3. Execute UMM, Select Solasta, and Install
  4. Download and install SolastaModApi using UMM
  5. Create the environment variable SolastaInstallDir and point it to your Solasta game home folder
    • tip: search for "edit the system environment variables" on windows search bar
  6. Use "Install Release" or "Install Debug" to have the Mod installed directly to your Game Mods folder

NOTE Unity Mod Manager and this mod template make use of Harmony

How to Debug

  1. Open Solasta game folder
    • Rename Solasta.exe to Solasta.exe.original
    • Rename UnityPlayer.dll to UnityPlayer.dll.original
    • Add below entries to Solasta_Data\boot.config:
       wait-for-managed-debugger=1
       player-connection-debug=1
      
  2. Download and install 7zip
  3. Download Unity Editor 2019.4.19
  4. Open Downloads folder
    • Right-click UnitySetup64-2019.4.1f1.exe, 7Zip -> Extract Here
    • Navigate to Editor\Data\PlaybackEngines\windowsstandalonesupport\Variations\win64_development_mono
      • Copy UnityPlayer.dll and WinPixEventRuntime.dll to clipboard
    • Navigate to the Solasta game folder
      • Rename UnityPlayer.dll to UnityPlayer.dll.original
      • Paste UnityPlayer.dll and WinPixEventRuntime.dll from clipboard
  5. You can now attach the Unity Debugger from Visual Studio 2019, Debug -> Attach Unity Debug

How to publish (first time)

  1. Create a new repo on GitHub on Browser UI
  2. Run CREATE_SOLASTA_MOD.PS1 on my computer to get template and first commit to Repo
  3. Develop / Test the Mod
  4. Create new hidden Mod on Nexus page with minimum required entries. Get Nexus URL
  5. Edit version entries on CSPROJ, Info.json, and Repository.json (I always start with 0.0.1)
  6. Edit Info.json and fix Nexus URL
  7. Release Mod on GitHub using Vx.y.z as TAG/RELEASE convention (I always start with V0.0.1)
  8. Update Nexus page with download file and set mod to unhidden

How to publish (update)

  1. Develop / Test the Mod
  2. Edit version entries on CSPROJ, Info.json, and Repository.json
  3. Update DownloadURL on Repository.json
  4. Release Mod on GitHub using Vx.y.z as TAG/RELEASE convention
  5. Update Nexus page with new release