File information

Last updated

Original upload

Created by

WushuLate

Uploaded by

WushuLate

Virus scan

Safe to use

485 comments

  1. Glanzer
    Glanzer
    • premium
    • 257 kudos
    Locked
    Sticky
    Great mod, and great author support. ENDORSED.

    In case it helps someone else, I thought I'd post directions on how I installed this app and configured it. This is just an example in case it helps someone.

    Spoiler:  
    Show

    BE SURE THE CK IS LOADED AND YOU CAN START IT WITHIN MO2 BEFORE PROCEEDING. THIS IS BASED ON VERSION 4.5.0 SO SOME THINGS MAY BE A BIT DIFFERENT.

    1. Create an empty mod at the very end of your modlist called "Papyrus Compiler OUTPUT" and enable it.

    2. Create the following directories in Papyrus Compiler Output:
    \Scripts
    \Source\Scripts\OUTPUT

    3. Download PCA here. Note that I'm using version 4.5.0; use that if the latest version doesn't work for you. Extract the download to your utilities location somewhere outside of MO2, Mine is here:  D:\Games\Utilities\Papyrus Compiler App\

    4. Set up the PCA executable in MO2 with these properties (change "Start in" path where necessary below):
    --Title: PCA
    --Start in: D:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\Source
    --Create files in mod instead of overwrite: Papyrus Compiler OUTPUT

    5. Start PCA from inside MO2

    6. Go into PCA's Settings:

    --Choose "Skyrim Special Edition"

    --SSE folder (where SSE is on your hard drive):
    D:\Games\Steam\steamapps\common\Skyrim Special Edition

    --PapyrusCompiler.exe location (where the compiler executable is located on your PC):
    D:\Games\Steam\steamapps\common\Skyrim Special Edition\Papyrus Compiler\PapyrusCompiler.exe

    --Mod Organizer 2: NOT CHECKED

    7. Open the json file here (change this to reflect your own user path):
    C:\Users\Glanzer\AppData\Roaming\PCA\config.json

    8. Use the following values in the json file (CHANGE THE 2 PATHS BEGINNING WITH "D:" BELOW AS NECESSARY, and the version number of PCA):

    {
    "mo2": {
    "use": false,
    "output": "mods\\Papyrus Compiler OUTPUT\\Source\\Scripts\\OUTPUT",
    "mods": "mods"
    },
    "gameType": "Skyrim Special Edition",
    "gamePath": "D:\\Games\\Steam\\steamapps\\common\\Skyrim Special Edition",
    "flag": "TESV_Papyrus_Flags.flg",
    "compilerPath": "D:\\Games\\Steam\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe",
    "output": "Data\\Source\\Scripts\\OUTPUT",
    "groups": [],
    "__internal__": {
    "migrations": {
    "version": "4.5.0"
    }
    }
    }


    ============
     
    To compile a script:
     
    1. COPY (not move) a psc file from a mod and put it in the \Source\Scripts\ directory inside the "Papyrus Compiler OUTPUT" mod. Make any changes to it there.
    2. Start PCA inside MO2 and click the Search Scripts option to navigate to the .psc file and open it.
    3. When you compile the script, the .pex compiled file (if successful) will go into the \Source\Scripts\OUTPUT folder inside the "Papyrus Compiler OUTPUT" mod.
    4. Copy or move the .pex file from the \Source\Scripts\OUTPUT folder to the \Scripts\ folder in the "Papyrus Compiler OUTPUT" mod. Since this mod is LAST in your load order, it will therefore be the "winner" and the compiled script will therefore be active when you start your game. This will preserve the original script, allowing you to delete the compiled version to go back to the original if you want, or you can make more changes and put in another compiled version without touching the original.
  2. hazardass
    hazardass
    • premium
    • 18 kudos
    Locked
    Sticky
    Here is a reference for the most common Papyrus errors users keep asking about here.  You can also search the Creation Kit wiki for your error.
    Papyrus Compiler errors
    Papyrus Runtime errors
    FAQ: My Script Doesn't Work!
  3. Dracolegend
    Dracolegend
    • member
    • 0 kudos
    Locked
    Sticky
    So if i use mo2 and get the command line to long error does that mean I have no way to compile scripts? 
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Instead, open PCA from MO2 itself and remove the in app MO2 settings. Configure all paths to MO2 Virtual folder (uselly skyrim game path)
    2. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Version 2022.1 (5.8.0) should handle this issue better.

      Go here for more information for this issue: https://pca.kiyozz.com/docs/troubleshooting/command-line-too-long
  4. Glanzer
    Glanzer
    • premium
    • 257 kudos
    Locked
    Sticky
    Thanks for making a great program even better. Wish I could endorse more than once! Once this app is set up and working, it's so easy to use and reliable.

    Here's a hint to help others... The vast majority of compilation problems occur when supporting scripts are missing. This happens frequently when you're making edits to a script from someone else's mod. Be sure to extract all the scripts from the mod's BSA if it has one. Then only work on the first compilation error in the log. It's a good idea to collect some of the most common source files (*.psc files) that mods use and put them into separate mods at the end of your MO2 modlist, and enable them whenever you compile scripts. The two most common you'll need are the SkyUI SDK source files and VRIK source files.
  5. Glanzer
    Glanzer
    • premium
    • 257 kudos
    Locked
    Sticky
    Hi all, thought I'd ask a question in case anyone is experiencing this. Just a few days ago the compiles started failing immediately and the error log was totally empty. I have to reboot my whole computer, then it works again, but soon afterward fails again forcing another reboot. Very strange. There's probably something going on in my OS I suppose, but I thought I'd throw it out there in case someone else has experienced this and knows what's going on. Thanks!

    EDIT: Of course we always solve the problem 60 seconds after posting. hahahaha  Seems it is my antivirus conflicting in some way. I'm using Avast, and I just paused Avast and tried it again without rebooting and it worked. Looks like Avast started doing something and I'll need to find the exclusion to add.
  6. edinburg86
    edinburg86
    • member
    • 0 kudos
    Locked
    Sticky
    Fallout 4 support does not seem to work very well. The generated command needs to import Scripts/Source/Base and Scripts/Source/User instead of just Scripts/Source (for MO2 support, it needs to import Scripts/Source/User for every mod).

    This can be worked around by copying Institute_Papyrus_Flags.flg from Scripts/Source/Base to Scripts/Source and any script you wish to compile from Scripts/Source/User/[namespace] to Scripts/Source/[namespace]
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Yeah I know, Fallout 4 has a different script structure and namespace support. Because I didn't play Fallout 4, I didn't know.
  7. n7magistrate
    n7magistrate
    • premium
    • 66 kudos
    I'm having serious trouble finding the .pex output, even though it says it compiles all right.

    - I have enabled the MO2 support
    - I have created PCA_Output and set MO2 to write there
    - I have extracted the scripts from the ZIP to the data/scripts
    - I have placed the source of the script I want to compile instide data/script
    - I can't find .pex in PCA_Output
    - I can't find .pex in Overwrite/Scripts

    Sometimes, but not all the times, the compiled script seems to appear IN PLACE of a mod folder which script I am modifying, but only if I delete it beforehand.
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Try disabling MO2 support in the app and retry without it. It should then go to PCA_Output, as you configured MO2 that way.
    2. darkblackbad
      darkblackbad
      • member
      • 2 kudos
      check using mo2 data tab.
      its overwriting .pex files in your active mods.
      check which one just recently got date modified.
      at least that what happened to me lmao.
      fk it at least it work.
    3. n7magistrate
      n7magistrate
      • premium
      • 66 kudos
      Thank you, that could be an idea. I wish you could specify an output folder though.
    4. Glanzer
      Glanzer
      • premium
      • 257 kudos
      You CAN specify an output folder. it's defined in the json file. In case it helps you can compare yours to mine:

      Spoiler:  
      Show

      {
          "game": {
              "path": "D:\\Games\\Steam\\steamapps\\common\\Skyrim Special Edition",
              "type": "Skyrim SE"
          },
          "compilation": {
              "concurrentScripts": 15,
              "compilerPath": "D:\\Games\\Steam\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe",
              "flag": "TESV_Papyrus_Flags.flg",
              "output": "Data\\Scripts\\Source\\OUTPUT"
          },
          "tutorials": {
              "settings": false,
              "telemetry": false
          },
          "mo2": {
              "use": false,
              "output": "mods\\Papyrus Compiler OUTPUT\\Scripts\\Source\\OUTPUT",
              "mods": "mods"
          },
          "groups": [],
          "telemetry": {
              "active": false
          },
          "theme": "system",
          "locale": "en-US",
          "__internal__": {
              "migrations": {
                  "version": "5.8.0"
              }
          }
      }
  8. dlwpghek2
    dlwpghek2
    • member
    • 7 kudos
    Hello, if you run
    [21128:0413/185312.988:ERROR:cache_util_win.cc(20)] Unable to move the cache: �׼����� �źϵǾ����ϴ�. (0x5)
    [21128:0413/185312.988:ERROR:cache_util.cc(146)] Unable to move cache folder C:\Users\이제호\AppData\Roaming\PCA SE\GPUCache to C:\Users\이제호\AppData\Roaming\PCA SE\old_GPUCache_001
    [21128:0413/185312.988:ERROR:disk_cache.cc(186)] Unable to create cache
    [21128:0413/185312.988:ERROR:shader_disk_cache.cc(612)] Shader Cache Creation failed: -2
    What did I do wrong that this log is being generated??
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Hey, sorry about that. You're not the first person to encounter this issue, and so far I haven’t found a solution. It’s an error coming from the framework I use to run the app.

      By any chance, did you run the app multiple times simultaneously? That could be related.

      Check if any PCA processes are running, kill them if there are, and try again.
    2. dlwpghek2
      dlwpghek2
      • member
      • 7 kudos
      I'm a total idiot. Maybe I have poor reading skills.
      I set the papyrus compiler path in settings to Skyrim Special Edition\Papyrus Compiler\papyruscompiler.exe instead of "PCA.exe" and it worked fine.
      I'm a total idiot. Sorry for bothering you.
  9. Luxembroom
    Luxembroom
    • member
    • 0 kudos
    EDIT: Sorry, was an error on my end!

    Compilation is successfull but I don't find the output files in my folder for some reason.

    EDIT 2: Found it in the: "\MO2\overwrite\scripts" after I enabled Mod Organizer 2 in settings. Without it there is no output at all.
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Yeah, in some other comments, I mentioned that if there is no `.pex` equivalent before running from MO2, the scripts will end up in the overwrite folder.
  10. sincerity2103
    sincerity2103
    • premium
    • 84 kudos
    Hi. I've been getting this error, trying to compile scripts. It's my first time compiling scripts, if I'm being honest, and I'm not really sure what went wrong.
    A Pastebin of the logs.
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      You're missing third party scripts. SKSE sources, McmHelper sources and more
    2. sincerity2103
      sincerity2103
      • premium
      • 84 kudos
      Other than missing scripts, anything else I should look out for?

      Edit: Got all the missing sources, and now it works. Nice!
  11. moiianxiv
    moiianxiv
    • premium
    • 32 kudos
    Working perfect!
    Thank you! Thank you! Thank you!
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      I'm glad you like it!
  12. Afeiteng
    Afeiteng
    • member
    • 0 kudos
    I keep getting almost the same error when compiling the script, can anyone help me?

    Someone told me that what was missing was  SKSE resources.

    在MO2中为Sexlab和SLA设置脚本环境的步骤指南 - 框架和资源 - LoversLab
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Can you share what error you got please
  13. cyberArkhi
    cyberArkhi
    • premium
    • 180 kudos
    this includes source scripts when compiling ?
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      It tells PapyrusCompiler where to find the scripts on your system. It does not download everthing.
  14. hysondre
    hysondre
    • premium
    • 4 kudos
    I can't get it to work with powerofthree's Papyrus Extender, it can't find Po3 scripts but vanilla scripts work :'(
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Do you have SKSE installed along with the Papyrus source files?  
      Ensure that everything is located in the `Data\Source\Scripts` folder. If you’re using MO2, make sure the SKSE source files are in `GameData\Source\Scripts`, and verify that you also have the Papyrus source files for all the mods your mod depends on.
  15. Chlamydia1
    Chlamydia1
    • member
    • 17 kudos
    I spent hours trying to make CK compile an SKSE script. Nothing worked. Then I tried this and it compiled right away. Many thanks!
  16. corien93
    corien93
    • member
    • 0 kudos
    I use it since a while now and all in all it works very well, thanks again for that.
    Though I have a strange behavior, I make several compiles without any problem and suddenly, I get an error and when I check the log it is empty and I cannot compile anymore, the only solution is to restart the computer ...
    Any idea to solve this ?
    Thanks
    1. WushuLate
      WushuLate
      • premium
      • 30 kudos
      By "I cannot compile anymore", do you have anything in the `Compilation Log View` in the app?
    2. corien93
      corien93
      • member
      • 0 kudos
      No I got the exclamation icon that says the compilation failed but the Compilation log view is empty
    3. WushuLate
      WushuLate
      • premium
      • 30 kudos
      I'll need a log file.

      Instructions here: https://pca.kiyozz.com/docs/support
    4. corien93
      corien93
      • member
      • 0 kudos
      Got the problem again, here is the log
      Spoiler:  
      Show

      [2024-11-03 21:17:24.029] [info]  (Initialize)          file C:\Users\Enrico\AppData\Roaming\PCA SE\logs\main.1.log created
      [2024-11-03 21:17:24.033] [info]  (RegisterIpcEvents)        +handler: "event-open-dialog"
      [2024-11-03 21:17:24.033] [info]  (RegisterIpcEvents)        +handler: "event-config-check"
      [2024-11-03 21:17:24.033] [info]  (RegisterIpcEvents)        +handler: "event-config-update"
      [2024-11-03 21:17:24.033] [info]  (RegisterIpcEvents)        +handler: "event-config-get"
      [2024-11-03 21:17:24.034] [info]  (RegisterIpcEvents)        +handler: "event-files-stats"
      [2024-11-03 21:17:24.034] [info]  (RegisterIpcEvents)        +handler: "event-get-version"
      [2024-11-03 21:17:24.034] [info]  (RegisterIpcEvents)        +handler: "event-error"
      [2024-11-03 21:17:24.035] [info]  (RegisterIpcEvents)        +handler: "event-is-production"
      [2024-11-03 21:17:24.035] [info]  (RegisterIpcEvents)        +handler: "event-clipboard-copy"
      [2024-11-03 21:17:24.035] [info]  (RegisterIpcEvents)        +handler: "event-telemetry"
      [2024-11-03 21:17:24.036] [info]  (RegisterIpcEvents)        +handler: "event-telemetry-set-active"
      [2024-11-03 21:17:24.036] [info]  (RegisterIpcEvents)        +handler: "event-recent-files-get"
      [2024-11-03 21:17:24.037] [info]  (RegisterIpcEvents)        +handler: "event-recent-files-set"
      [2024-11-03 21:17:24.037] [info]  (RegisterIpcEvents)        +handler: "event-recent-files-clear"
      [2024-11-03 21:17:24.037] [info]  (RegisterIpcEvents)        +handler: "event-recent-file-remove"
      [2024-11-03 21:17:24.038] [info]  (RegisterIpcEvents)        +handler: "event-open-menu"
      [2024-11-03 21:17:24.038] [info]  (RegisterIpcEvents)        +handler: "event-window-close"
      [2024-11-03 21:17:24.038] [info]  (RegisterIpcEvents)        +handler: "event-window-maximize"
      [2024-11-03 21:17:24.039] [info]  (RegisterIpcEvents)        +handler: "event-window-minimize"
      [2024-11-03 21:17:24.039] [info]  (RegisterIpcEvents)        +handler: "event-window-restore"
      [2024-11-03 21:17:24.039] [info]  (RegisterIpcEvents)        +event "event-compile-script-start"
      [2024-11-03 21:17:24.040] [info]  (RegisterIpcEvents)        +sync event "sync-platform"
      [2024-11-03 21:17:24.185] [info]  (Initialize)               network status changes. Internet is online
      [2024-11-03 21:17:24.186] [info]  (RegisterIpcEvents)        handler "event-is-production" succeeded
      [2024-11-03 21:17:24.188] [info]  (RegisterIpcEvents)        handler "event-config-get" succeeded
      [2024-11-03 21:17:24.206] [info]  (RegisterIpcEvents)        handler "event-recent-files-get" succeeded
      [2024-11-03 21:17:24.206] [info]  (RegisterIpcEvents)        handler "event-get-version" succeeded
      [2024-11-03 21:17:24.229] [info]  (Mo2Service)               getting MO2 mods path
      [2024-11-03 21:17:24.229] [info]  (event-config-check)       checking in mo2 folder
      [2024-11-03 21:17:24.380] [info]  (RegisterIpcEvents)        handler "event-config-check" succeeded
      [2024-11-03 21:17:27.062] [info]  (ScriptCompileEvent)       start compilation of scripts WGC_ArousedByTouch.psc
      [2024-11-03 21:17:27.063] [info]  (CompileScript)            compiling WGC_ArousedByTouch.psc
      [2024-11-03 21:17:27.064] [info]  (Mo2Service)               getting MO2 imports path
      [2024-11-03 21:17:27.131] [info]  (Mo2Service)               getting MO2 mods path
      [2024-11-03 21:17:27.131] [info]  (Mo2Service)               getting MO2 output path
      [2024-11-03 21:17:27.590] [error] (CompileScript)            compilation error {
        message: `Command failed: & "G:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe" "WGC_ArousedByTouch.psc" -i="F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Scripts\\Source;F:\\Program Files

      ... list of mods ...

      [2024-11-03 21:17:29.485] [info]  (RegisterIpcEvents)        handler "event-open-menu" succeeded

    5. WushuLate
      WushuLate
      • premium
      • 30 kudos
      There is nothing between the list of mods and the next handler log?

      Did you open PCA in debug mode?
    6. corien93
      corien93
      • member
      • 0 kudos
      First of all I though I had to run it in debug mode once (PCA SE-debug.exe.cmd) and then switch back to normal exe because when I started the debug mode I had a cmd window but not the normal UI.
      Now when I try to start it again in debug mode, a cmd window open and close immediately ...
    7. WushuLate
      WushuLate
      • premium
      • 30 kudos
      You can try to run the debug mode like this
    8. corien93
      corien93
      • member
      • 0 kudos
      Ok got it
      Hopt this could help
      Spoiler:  
      Show

      [2024-11-07 17:40:34.772] [info]  (Initialize)          file C:\Users\MyUser\AppData\Roaming\PCA SE\logs\main.1.log created
      [2024-11-07 17:40:34.774] [debug] (Path)                does the path exist? C:\Users\MyUser\AppData\Roaming\PCA SE\logs\main.1.log true
      [2024-11-07 17:40:34.775] [debug] (RegisterMenu)        registering menu
      [2024-11-07 17:40:34.777] [debug] (Initialize)               C:\Users\MyUser\AppData\Roaming\PCA SE\config.json
      [2024-11-07 17:40:34.777] [info]  (RegisterIpcEvents)        +handler: "event-open-dialog"
      [2024-11-07 17:40:34.777] [info]  (RegisterIpcEvents)        +handler: "event-config-check"
      [2024-11-07 17:40:34.777] [info]  (RegisterIpcEvents)        +handler: "event-config-update"
      [2024-11-07 17:40:34.778] [info]  (RegisterIpcEvents)        +handler: "event-config-get"
      [2024-11-07 17:40:34.778] [info]  (RegisterIpcEvents)        +handler: "event-files-stats"
      [2024-11-07 17:40:34.779] [info]  (RegisterIpcEvents)        +handler: "event-get-version"
      [2024-11-07 17:40:34.779] [info]  (RegisterIpcEvents)        +handler: "event-error"
      [2024-11-07 17:40:34.779] [info]  (RegisterIpcEvents)        +handler: "event-is-production"
      [2024-11-07 17:40:34.780] [info]  (RegisterIpcEvents)        +handler: "event-clipboard-copy"
      [2024-11-07 17:40:34.780] [info]  (RegisterIpcEvents)        +handler: "event-telemetry"
      [2024-11-07 17:40:34.780] [info]  (RegisterIpcEvents)        +handler: "event-telemetry-set-active"
      [2024-11-07 17:40:34.780] [info]  (RegisterIpcEvents)        +handler: "event-recent-files-get"
      [2024-11-07 17:40:34.781] [info]  (RegisterIpcEvents)        +handler: "event-recent-files-set"
      [2024-11-07 17:40:34.781] [info]  (RegisterIpcEvents)        +handler: "event-recent-files-clear"
      [2024-11-07 17:40:34.781] [info]  (RegisterIpcEvents)        +handler: "event-recent-file-remove"
      [2024-11-07 17:40:34.781] [info]  (RegisterIpcEvents)        +handler: "event-open-menu"
      [2024-11-07 17:40:34.782] [info]  (RegisterIpcEvents)        +handler: "event-window-close"
      [2024-11-07 17:40:34.782] [info]  (RegisterIpcEvents)        +handler: "event-window-maximize"
      [2024-11-07 17:40:34.782] [info]  (RegisterIpcEvents)        +handler: "event-window-minimize"
      [2024-11-07 17:40:34.782] [info]  (RegisterIpcEvents)        +handler: "event-window-restore"
      [2024-11-07 17:40:34.783] [info]  (RegisterIpcEvents)        +event "event-compile-script-start"
      [2024-11-07 17:40:34.783] [info]  (RegisterIpcEvents)        +sync event "sync-platform"
      [2024-11-07 17:40:34.917] [debug] (RegisterIpcEvents)        sync event "sync-platform" started
      [2024-11-07 17:40:34.917] [debug] (RegisterIpcEvents)        sync event "sync-platform" payload windows
      [2024-11-07 17:40:34.918] [debug] (RegisterIpcEvents)        "sync-platform" end
      [2024-11-07 17:40:34.925] [info]  (Initialize)               network status changes. Internet is online
      [2024-11-07 17:40:34.925] [debug] (RegisterIpcEvents)        handler "event-is-production" started
      [2024-11-07 17:40:34.926] [info]  (RegisterIpcEvents)        handler "event-is-production" succeeded
      [2024-11-07 17:40:34.926] [debug] (RegisterIpcEvents)        handler "event-is-production" payload true
      [2024-11-07 17:40:34.927] [debug] (RegisterIpcEvents)        handler "event-config-get" started
      [2024-11-07 17:40:34.928] [debug] (ConfigGetHandler)         getting configuration
      [2024-11-07 17:40:34.928] [info]  (RegisterIpcEvents)        handler "event-config-get" succeeded
      [2024-11-07 17:40:34.928] [debug] (RegisterIpcEvents)        handler "event-config-get" payload {
        game: {
          path: 'F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR',
          type: 'Skyrim VR'
        },
        compilation: {
          concurrentScripts: 5,
          compilerPath: 'G:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe',
          flag: 'TESV_Papyrus_Flags.flg',
          output: 'Data\\Scripts'
        },
        tutorials: { settings: false, telemetry: false },
        mo2: {
          use: true,
          output: 'overwrite\\Scripts',
          mods: 'mods',
          instance: 'F:\\mods\\skyrim\\ModOrganizer\\SkyrimVRInstance'
        },
        groups: [],
        telemetry: { active: true },
        theme: 'system',
        locale: 'en-US',
        __internal__: { migrations: { version: '5.8.0' } }
      }
      [2024-11-07 17:40:34.947] [debug] (RegisterIpcEvents)        handler "event-recent-files-get" started
      [2024-11-07 17:40:34.947] [debug] (RecentFilesGetHandler)    get recent files
      [2024-11-07 17:40:34.948] [info]  (RegisterIpcEvents)        handler "event-recent-files-get" succeeded
      [2024-11-07 17:40:34.948] [debug] (RegisterIpcEvents)        handler "event-recent-files-get" payload []
      [2024-11-07 17:40:34.949] [debug] (RegisterIpcEvents)        handler "event-get-version" started
      [2024-11-07 17:40:34.949] [debug] (GetVersionHandler)        getting the app version
      [2024-11-07 17:40:34.949] [info]  (RegisterIpcEvents)        handler "event-get-version" succeeded
      [2024-11-07 17:40:34.950] [debug] (RegisterIpcEvents)        handler "event-get-version" payload 5.8.0
      [2024-11-07 17:40:34.969] [debug] (RegisterIpcEvents)        handler "event-config-check" started
      [2024-11-07 17:40:34.969] [debug] (event-config-check)       the game type is Skyrim VR
      [2024-11-07 17:40:34.971] [debug] (event-config-check)       checking game exe
      [2024-11-07 17:40:34.972] [debug] (Path)                     does the path exist? F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\SkyrimVR.exe true
      [2024-11-07 17:40:34.976] [debug] (event-config-check)       checking compiler path
      [2024-11-07 17:40:34.977] [debug] (Path)                     does the path exist? G:\steamlibrary\steamapps\common\skyrim special edition\papyrus compiler\papyruscompiler.exe true
      [2024-11-07 17:40:34.977] [debug] (event-config-check)       checking mo2 instance
      [2024-11-07 17:40:34.978] [debug] (Path)                     does the path exist? F:\mods\skyrim\ModOrganizer\SkyrimVRInstance true
      [2024-11-07 17:40:34.978] [info]  (Mo2Service)               getting MO2 mods path
      [2024-11-07 17:40:34.979] [debug] (Path)                     does the path exist? F:\mods\skyrim\ModOrganizer\SkyrimVRInstance\mods true
      [2024-11-07 17:40:34.979] [info]  (event-config-check)       checking in mo2 folder
      [2024-11-07 17:40:34.979] [debug] (Path)                     retrieving paths from the folders [
        'F:/mods/skyrim/modorganizer/skyrimvrinstance/mods/**/source/scripts/actor.psc',
        'F:/mods/skyrim/modorganizer/skyrimvrinstance/mods/**/scripts/source/actor.psc',
        'F:/mods/skyrim/modorganizer/skyrimvrinstance/overwrite/source/scripts/actor.psc',
        'F:/mods/skyrim/modorganizer/skyrimvrinstance/overwrite/scripts/source/actor.psc'
      ] with options { absolute: true, deep: 4 }
      [2024-11-07 17:40:35.118] [debug] (Path)                     response of fast-glob []
      [2024-11-07 17:40:35.118] [debug] (event-config-check)       checking in game Data folder
      [2024-11-07 17:40:35.119] [debug] (Path)                     does the path exist? F:\program files (x86)\steam\steamapps\common\skyrimvr\data\source\scripts\actor.psc true
      [2024-11-07 17:40:35.121] [info]  (RegisterIpcEvents)        handler "event-config-check" succeeded
      [2024-11-07 17:40:41.187] [debug] (RegisterIpcEvents)        event "event-compile-script-start" started
      [2024-11-07 17:40:41.187] [info]  (ScriptCompileEvent)       start compilation of scripts HeelsFixMCM.psc
      [2024-11-07 17:40:41.190] [debug] (ScriptCompileEvent)       checking the current store values
      [2024-11-07 17:40:41.192] [debug] (ScriptCompileEvent)       current store values checked
      [2024-11-07 17:40:41.192] [info]  (CompileScript)            compiling HeelsFixMCM.psc
      [2024-11-07 17:40:41.194] [debug] (CompileScript)            runner {
        exe: 'G:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe',
        imports: [
          'F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Source\\Scripts'
        ],
        cwd: 'F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR',
        output: 'F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Scripts'
      }
      [2024-11-07 17:40:41.195] [debug] (CompileScript)            game executable F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\SkyrimVR.exe
      [2024-11-07 17:40:41.196] [debug] (Path)                     does the path exist? G:\SteamLibrary\steamapps\common\Skyrim Special Edition\Papyrus Compiler\PapyrusCompiler.exe true
      [2024-11-07 17:40:41.197] [debug] (Path)                     does the path exist? F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\SkyrimVR.exe true
      [2024-11-07 17:40:41.198] [debug] (CompileScript)            ensure Source/Scripts exist
      [2024-11-07 17:40:41.199] [debug] (Path)                     checking presence of folder "F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Source\Scripts"
      [2024-11-07 17:40:41.200] [debug] (Path)                     does the path exist? F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Source\Scripts true
      [2024-11-07 17:40:41.201] [debug] (RegisterIpcEvents)        event "event-compile-script-start" end
      [2024-11-07 17:40:41.202] [debug] (CompileScript)            other game source F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Scripts\Source
      [2024-11-07 17:40:41.204] [debug] (Path)                     does the path exist? F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Scripts\Source true
      [2024-11-07 17:40:41.205] [debug] (CompileScript)            import of the Scripts/Source folder
      [2024-11-07 17:40:41.205] [debug] (CompileScript)            using MO2 support
      [2024-11-07 17:40:41.206] [info]  (Mo2Service)               getting MO2 imports path
      [2024-11-07 17:40:41.207] [debug] (Path)                     retrieving paths from the folders [
        'F:\\mods\\skyrim\\ModOrganizer\\SkyrimVRInstance\\mods/**/Source/Scripts',
        'F:\\mods\\skyrim\\ModOrganizer\\SkyrimVRInstance\\mods/**/Scripts/Source'
      ] with options { absolute: true, deep: 3, onlyDirectories: true }
      [2024-11-07 17:40:41.268] [debug] (Path)                     response of fast-glob [
      mods list ........
        ],
        cwd: 'F:\\mods\\skyrim\\ModOrganizer\\SkyrimVRInstance\\mods',
        output: 'F:\\mods\\skyrim\\modorganizer\\skyrimvrinstance\\overwrite\\scripts'
      }
      [2024-11-07 17:40:41.277] [debug] (GenerateCompilerCmd)      generated command "G:\SteamLibrary\steamapps\common\Skyrim Special Edition\Papyrus Compiler\PapyrusCompiler.exe" "HeelsFixMCM.psc" -i="F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Scripts\Source;F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Source\Scripts; ........... mods list very long
      [2024-11-07 17:40:41.278] [debug] (ExecuteCommand)           running the command "G:\SteamLibrary\steamapps\common\Skyrim Special Edition\Papyrus Compiler\PapyrusCompiler.exe" "HeelsFixMCM.psc" -i="F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Scripts\Source;F:\Program Files (x86)\Steam\steamapps\common\SkyrimVR\Data\Source\Scripts; ............ mods list very long
      [2024-11-07 17:40:41.746] [error] (CompileScript)            compilation error {
        message: `Command failed: & "G:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe" "HeelsFixMCM.psc" -i="F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Scripts\\Source;F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Source\\Scripts; ............ more very long
        stack: `Error: Command failed: & "G:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler\\PapyrusCompiler.exe" "HeelsFixMCM.psc" -i="F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Scripts\\Source;F:\\Program Files (x86)\\Steam\\steamapps\\common\\SkyrimVR\\Data\\Source\\Scripts; ............ more very long
      }
      [2024-11-07 17:40:45.322] [debug] (RegisterIpcEvents)        handler "event-open-menu" started
      [2024-11-07 17:40:45.329] [info]  (RegisterIpcEvents)        handler "event-open-menu" succeeded
      [2024-11-07 17:40:49.757] [debug] (OpenFileHandler)          opening the file C:\Users\MyUser\AppData\Roaming\PCA SE\logs\main.log
    9. WushuLate
      WushuLate
      • premium
      • 30 kudos
      Ok so,

      Disable the MO2 support within the app (in the app config page, you should have MO2 disabled) and only use PCA through MO2 (to let MO2 handle the VFS). You will no longer have a long list of mods in the log.
    10. corien93
      corien93
      • member
      • 0 kudos
      Ok thanks, will try that, I thought MO2 support was required for the VFS usage ...
      Could I leave the debug option activated or does't it may cause issues ?
    11. WushuLate
      WushuLate
      • premium
      • 30 kudos
      The debug option will just create a longer log file, but will be usefull if you have another issue in the future.

      On the PCA website, you have all the informations about MO2 support
    12. corien93
      corien93
      • member
      • 0 kudos
      Ok thanks