Difference between revisions of "Command1.upk"

From Nexus Mods Wiki
Jump to: navigation, search
(change category)
 
Line 73: Line 73:
  
 
* See [[Launch sprite change Six interceptors mod - XCOM:EU 2012]] for sprite changes.
 
* See [[Launch sprite change Six interceptors mod - XCOM:EU 2012]] for sprite changes.
 +
  
  
Line 98: Line 99:
 
<br/> &nbsp;
 
<br/> &nbsp;
  
[[Category:Game Files & Modding - XCOM:EU 2012]] [[Category:XCOM Modding]] [[Category:XCOM]] [[Category:Mod_Creation]]
+
[[Category:Game Files & Modding - XCOM:EU 2012]] [[Category:XCOM Modding]] [[Category:XCOM]] [[Category:Modding_Guides]]

Latest revision as of 00:41, 16 November 2018


Overview

This file is embedded in the XComGame.exe file, installed under the game installation path \Steam\steamapps\common\XCom-Enemy-Unknown\ in the .\Binaries\Win32 sub-folder, and is also found as a 'loose' compressed version located in the .\XComGame\CookedPCConsole\ sub-folder. To be modified it requires decompressing the loose .\XComGame\CookedPCConsole\ UPK file into it's packed but decompressed version. The game engine will use either a compressed or uncompressed loose packed file if it is different than the embedded version.

There are Adobe Flash Sprite images and Actionscripts related to the Strategy side User Interfaces (UIs) embedded within Command1.upk.

The Flash code is not viewable with the customary tool: UE Explorer. The Actionscripts and Sprites must be manually extracted from Command1.upk and broken into separate files, allowing decompilation with a SWF decompiler (see Flash SWF Editing).

Enemy Within Changes

(From Nexus Mod Talk Forum Enemy Within Discovery Thread.)

Found why EU changes to the EW version of command1.upk were not working.

EW no longer uses the command1.upk for the flash UI files (even though they are still in the command1.upk). There are a bunch of new UICollection_<something>_SF.upks so now all the flash from command1.upk has been replaced by UICollection_Strategy_SF.upk, etc. All the flash files between the two look to be the same at a quick glance but it looks like the UICollection_<something>_SF.upks contain ONLY the flash files; not any other art assets.

Programs and Tools

See the articles Flash SWF Editing and Modding Tools - XCOM:EU 2012 for descriptions and links.

New link for UI modders containing EW's command1.upk and the UICollection... files. About 15mb. UICollection Stuff

Packages

See the article Command1.UPK.Catalog - XCOM:EU 2012 for a list of the packages and classes found in this file.

Details

Many SWF sprites and Actionscripts related to the Strategy side User Interfaces (UIs) that are utilized in Mods are resident in this file. See Command1.UPK.Catalog - XCOM:EU 2012 for a list of the packages of classes, functions, etc.

Alterations

This section notes those elements changed by particular Mods.

Mod Six interceptors mod - XCOM:EU 2012

Mod XCOM Third Small Item Mod

  • Packages.InventoryList::InventoryList
    • alters the padding value between items from 5 to -5 in function InventoryList().

Separate Content


References

Referred to by this article:



That refer to this article: