Jump to content

November 2016 SDK Updates


abeclancy

Recommended Posts

Just thought I'd make a little post regarding the couple of most recent XCOM 2 patches.

 

The patch from November 8th made numerous changes to many of the SDK .uc files regarding controller stuff, making information more visible, button prompts, etc. Anyone overriding core packages would need to compare against the approximately 264 updated files. But the BIG thing from that patch is that mod loading was finally fixed after being broken for over 4 months. Mods can override UPK files in the game's /mods/ directory, AND can override UPK files when downloaded via the Steam Workshop. The latter was promised in the June 2016 patch but never correctly functioned, and the former was broken in that same patch.

 

It looks like there was another XCOM 2 patch on November 15th, but as far as I can tell this one does not change any of the UC files. This looks like a pure EXE-related patch.

Link to comment
Share on other sites

Nice sleuthing!

 

But, poop. Was there just the one change in the UPK, or are there significant changes?

 

It's quite possible that they don't consider the missing scripts that important, and they might not push an update just to fill in the missing files. It might be worth it to compile a list of all the changes if there's no update soon.

Link to comment
Share on other sites

I didn't check for other changes, as I knew where to look for this change...

 

I don't have any experience in cooking, but in order to make the comparison easier, you could cook XComGame.u, then decompress your cooked upk and the original one both with umodel / decompress.exe, and export them using UE Explorer. This should avoid hitting all the differences due to stripped out log statements and assertions.

Edited by robojumper
Link to comment
Share on other sites

You can decompress cooked XComGame.upk files with Gildor's decompress.exe http://www.gildor.org/downloads

 

You can then open these decompressed upk files with EliotVU's UE explorer http://eliotvu.com/portfolio/view/21/ue-explorer

 

This has an option to export scripts (Tools->Export->Classes). They automatically land in the installation directory/Exported, so you have to copy them out.

Link to comment
Share on other sites

Took a look with your instructions, worked just fine. There are other changes to other .uc files, but unfortunately it's hard to determine exactly where the changes are because the official UPK files contain comments and logging calls, while the ones that I cooked do not. It's 2300+ files that are different, so either someone's going to have to look through them all individually or I need to figure out how to either get a cooked package with comments/cpptext/logging functions intact or strip them out of the official packages.

Link to comment
Share on other sites

Nice! Yeah, looking at the updated SDK it's clear that only the UITacticalHUD and *_AbilityContainer files changed. It's difficult comparing UPK files unless you know what you're looking for, I should keep copies of the old UPKs in case it's needed for some reason or another. Turns out I didn't keep them previously, and comparing an official build UPK to one that I made is just a plain old mess.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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