Jump to content
  • 0

Question

Posted

An alternative to the following instructions you can try the papyrus wrapper here: https://forums.bethsoft.com/topic/1513065-rel-advanced-papyrus/

As you might know, running the CreationKit from MO works like with any other executable and MO should discover the CK automatically if it's installed.
But since the Papyrus Script Compiler is a 64bit executable and MO doesn't support those, you can't compile scripts from the CK.
 
Except you can, because as it turns out, the PapyrusCompiler is in fact a "Any CPU" executable, which means it contains binaries for 32bit as well as 64bit. So if we could convince the compiler to run in 32-bit mode even on a 64-bit windows we win.
And here is how you can to that:
a) Download the "windows sdk with .net" package from the microsoft page. There are multiple versions of the package, it doesn't really matter which one you get but here is a very current one: https://msdn.microsoft.com/en-us/windows/desktop/bg162891
b) Start the downloaded installer. Take note of the install location (I'll assume "C:program files (x86)Microsoft Kitswindows8.1a"). During the installation you can select the features you want to install. You only need ".NET Framework 4.5.1 Software Development Kit" (or similar if you downloaded a different package).
c) open a command prompt (in the search field of the start menu type cmd then click on cmd.exe)
d) type in the following: "C:/program files (x86)/Microsoft Kits8.1a/bin/NETFX 4.5.1 Tools/corflags.exe" /32bit+ "c:/Program Files (x86)/steam/steamApps/common/skyrim/papyrus compiler/papyruscompiler.exe"
(This makes the papyruscompiler always run in 32-bit mode. If you ever want to undo that, run the same command with /32bit- instead of /32bit+)
 
Now with the current version of MO (1.2.14 and earlier) there is one more step because currently MO has a workaround for the papyruscompiler that doesn't work 100% and won't be needed with this solution
 
e) Download this hxxp://no_longer_needed and drop it into your MO directory. This is the same hook.dll as MO 1.2.14 but with the workaround removed.
 
From now on you should be able to run CK from MO and compile scripts without a problem.
 
Please let me know if this works for you.

  • +1 5

Recommended Posts

  • 0
Posted
19 minutes ago, Question_Asker said:

Xander9009,

where can I find the .bat file for CK ?

And how can you modify scripts w/ N++?

 

Thank you

Mod Organizer no longer needs this fix. Just use like normal and ignore this, as it is outdated information with Mod Organizer 2.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.