Jump to content

Learning modding, cannot compile "vanilla" mod script


elekszid

Recommended Posts

Posted
 

So I have decided to teach myself modding so that I can contribute to Just Business. The problem is I cannot even compile unmodified, vanilla JB scripts from Creation Kit. As the mod itself works, clearly the author could compile it and it is just me who cannot compile it.

 

I mean the JBSexEventsQuest.prc because that references AAF stuff. And yes I have checkmarked AAF.esm and stats to load those too into the CK as masters.

 

C:\Users\ElekSzid\AppData\Local\Temp\PapyrusTemp\jb\jbsexeventsquestscript.psc(45,12): unknown type aaf:aaf_api
C:\Users\ElekSzid\AppData\Local\Temp\PapyrusTemp\jb\jbsexeventsquestscript.psc(345,46): aaf:aaf_api is not a known user-defined script type
C:\Users\ElekSzid\AppData\Local\Temp\PapyrusTemp\jb\jbsexeventsquestscript.psc(345,27): unknown type aaf:aaf_api:scenesettings

 

And the pex file remains unmodified. What am I doing wrong?

 

I also tried using the command-line compiler.  Put this into a .bat file: "D:\SteamLibrary\steamapps\common\Fallout 4\Papyrus compiler\PapyrusCompiler.exe"  -i="D:\SteamLibrary\steamapps\common\Fallout 4\Data\Scripts\Source" -o="D:\SteamLibrary\steamapps\common\Fallout 4\Data\Scripts"

 

would not work because it interprets this as an input file, not directory so I added -all to the end and it at least starts running... then throws an exception that .NET's CanonicalizePath method could not deal with these paths. And yes I tried running the .bat file as an admin.

 

What am I doing wrong?

Posted

I am modifying the mod, as a newbie modder, not just installing it.

 

Anyway I figured it out: I had to install the AAF sources, the compiler could not just link with the compiled files.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...