Difference between revisions of "Command1.upk"

From Nexus Mods Wiki
Jump to: navigation, search
(Added packages section)
(Updated with Enemy Within data)
Line 16: Line 16:
  
 
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.
 
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'''.
 
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]]).
 
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 [http://forums.nexusmods.com/index.php?/topic/1210765-enemy-within-discovery-thread/page-14#entry10143491 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.upk'''s 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.upk'''s contain ONLY the flash files; not any other art assets.
  
 
== Programs and Tools ==
 
== Programs and Tools ==
  
 
See the articles [[Flash SWF Editing]] and [[Modding Tools - XCOM:EU 2012]] for descriptions and links.
 
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.
 +
[http://www.filefactory.com/file/474n88649uzd/UI_Stuff_zip UICollection Stuff]
  
 
==Packages==
 
==Packages==
Line 31: Line 40:
  
 
== Details ==
 
== Details ==
 
{ Create an many subsections here as are useful to organize the subject matter in detail.  Remember that you can upload and link to screenshot files to illustrate where ever needed.  See [http://www.mediawiki.org/wiki/Help:Managing_files this page] for help on including files in your article. }
 
  
 
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.
 
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.
Line 38: Line 45:
 
===Alterations===
 
===Alterations===
 
This section notes those elements changed by particular Mods.
 
This section notes those elements changed by particular Mods.
 +
 
====Mod [[Six interceptors mod - XCOM:EU 2012]]====
 
====Mod [[Six interceptors mod - XCOM:EU 2012]]====
 
* Packages::RadarContactAlert:
 
* Packages::RadarContactAlert:
Line 63: Line 71:
  
 
==Separate Content==
 
==Separate Content==
 
{ 'Tables', 'Lists', 'Code Breakdown', 'Compiled Code', 'Examples', and similar can (and should if necessary to keep the article length within web editor capabilities) be placed on their own pages and linked from the appropriate points in the article.  It is desirable to group them in one place, but use whatever works best to convey the information.  All referenced links should also be include in the 'References' section below, as that is where people will look when they only want those links. }
 
  
 
* 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 70: Line 76:
 
== References ==
 
== References ==
 
Referred to by this article:
 
Referred to by this article:
 +
* [[Flash SWF Editing]]
 +
* [http://forums.nexusmods.com/index.php?/topic/1210765-enemy-within-discovery-thread/page-14#entry10143491 Enemy Within Discovery Thread]
 +
* [[Modding Tools - XCOM:EU 2012]]
 +
* [[Command1.UPK.Catalog - XCOM:EU 2012]]
 
* [http://www.mediawiki.org/wiki/Help:Managing_files Help:Managing_files]
 
* [http://www.mediawiki.org/wiki/Help:Managing_files Help:Managing_files]
* [[Command1.UPK.Catalog - XCOM:EU 2012]]
 
 
* [[XComGame.exe]]
 
* [[XComGame.exe]]
 
* [[Modding XCOM:EU 2012]]
 
* [[Modding XCOM:EU 2012]]
* [[Modding Tools - XCOM:EU 2012]]
 
 
* [[Six interceptors mod - XCOM:EU 2012]]
 
* [[Six interceptors mod - XCOM:EU 2012]]
 
* [[XCOM Third Small Item Mod]]
 
* [[XCOM Third Small Item Mod]]
 +
* [[Launch sprite change Six interceptors mod - XCOM:EU 2012]]
 
<br><br>
 
<br><br>
 
That refer to this article:<br>
 
That refer to this article:<br>

Revision as of 05:33, 17 November 2013


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: