Difference between revisions of "XComGame.upk"

From Nexus Mods Wiki
Jump to: navigation, search
(References)
 
(10 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
== Overview ==
 
== Overview ==
  
This file is embedded in the [[XComGame.exe]] file.  To be modified it requires decompressing the executable into it's component sub files, one of which becomes '''XComGame.upk'''.
+
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, providing it is not found in a table of files to be blocked embedded within the EXE file.  See [[Basic_Guide_to_installing_mods|Recent_Discoveries]] for instructions to enable the loading of blocked loose files.
 
 
  
 
== Programs and Tools ==
 
== Programs and Tools ==
  
 
See the articles [[Modding XCOM:EU 2012]] and [[Modding Tools - XCOM:EU 2012]].
 
See the articles [[Modding XCOM:EU 2012]] and [[Modding Tools - XCOM:EU 2012]].
 +
 +
==Packages==
 +
 +
See the article [[XComGame.UPK .Catalog - XCOM:EU 2012]] for a list of the packages and classes found in this file.
  
 
== Details ==
 
== Details ==
Line 26: Line 29:
 
{ 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. }
 
{ 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 functions utilized in Mods are reside in this file:
+
Primarily tactical functions are resident in this file.  See [[XComGame.UPK .Catalog - XCOM:EU 2012]] for a list of the packages of classes, functions, etc.
  
Utilized by [[DefaultGameCore.ini settings - XCOM:EU 2012]]
+
===Alterations===
* XGTacticalGameCoreData
+
This section notes those elements changed by particular Mods.
** [[XGTacticalGameCoreData.EAbility]]
 
  
Mod [[Abilities Modding - XCOM:EU 2012]]
+
====Mod [[Enhanced Perk Tree mod - XCOMEU: 2012]]====
* Set Perk Trees: [[XComPerkManager]]
+
* Set Perk Trees:
 
** [[XComPerkManager.GetPerkInTreeAssault]]
 
** [[XComPerkManager.GetPerkInTreeAssault]]
 
** [[XComPerkManager.GetPerkInTreeHeavyWeapons]]
 
** [[XComPerkManager.GetPerkInTreeHeavyWeapons]]
Line 39: Line 41:
 
** [[XComPerkManager.GetPerkInTreeSniper]]
 
** [[XComPerkManager.GetPerkInTreeSniper]]
 
** [[XComPerkManager.GetPerkInTreeSupport]]
 
** [[XComPerkManager.GetPerkInTreeSupport]]
* Set abilities' number of charges: [[XGUnit]]
+
* Set abilities' number of charges:
 
** [[XGUnit.UpdateItemCharges]]
 
** [[XGUnit.UpdateItemCharges]]
  
Mod [[Explosive Damage - XCOM:EU 2012]]
+
====Mod [[Explosive Damage - XCOM:EU 2012]]====
 
* Randomized Explosive Damage File Changes:  
 
* Randomized Explosive Damage File Changes:  
 
** [[XGTacticalGameCore.CalcOverallDamage]]
 
** [[XGTacticalGameCore.CalcOverallDamage]]
Line 49: Line 51:
 
* Randomized Explosive Radius File Changes:
 
* Randomized Explosive Radius File Changes:
 
** [[XGWeapon.GetDamageRadius]] is re-written.
 
** [[XGWeapon.GetDamageRadius]] is re-written.
 +
 +
====Mod [[Loadout File Changes Additional Items Mod XCOM:EU - 2012]]====
 +
* GetRearBackpackItemArray changes:
 +
** [[XGInventory.GetRearBackpackItemArray]]
 +
* ItemType  changes:
 +
** [[XGItem.ItemType]]
 +
* ApplyOverheatIncrement is re-written:
 +
** [[XGWeapon.ApplyOverheatIncrement]]
 +
* ConvertTInventoryToSoldierLoadout changes:
 +
** [[XGLoadoutMgr.ConvertTInventoryToSoldierLoadout]]
 +
* GetItem changes:
 +
** [[XGItemLibrary.GetItem]]
 +
* ApplyLoadout changes:
 +
** [[XGLoadoutMgr.ApplyLoadout]]
 +
 +
====Mod [[Tactical Charges File Changes Additional Items Mod XCOM:EU - 2012]]====
 +
* GetItemCharges changes:
 +
** [[XGUnit.UpdateItemCharges]]
 +
 +
====Mod [[XCOM Squadsight Aim Penalty Mod]]====
 +
has the following component files:
 +
=====[[XCOM Squadsight Aim Penalty Adjust To Hit Hex Changes]]=====
 +
* Roll to Hit changes:
 +
** [[XGAbility_Targeted.AdjustToHit]]
 +
 +
=====[[XCOM Squadsight Aim Penalty Get Shot Summary Hex Changes]]=====
 +
* Shot Summary changes:
 +
** [[XGAbility_Targeted.GetShotSummary]]
 +
 +
=====[[XCOM Squadsight Aim Penalty UIUnitGermanMode ShotSummary Hex Changes]]=====
 +
* Shot Summary UI changes:
 +
** [[function UIUnitGermanMode_ShotInfo]]
 +
 +
=====[[XCOM Squadsight Aim Penalty XGAbility Targeted GetUIHitChance Hex Changes]]=====
 +
* Targeted GetUIHitChance changes:
 +
** [[XGAbility_Targeted.GetUIHitChance]]
 +
 +
=====[[XCOM Squadsight Aim Penalty XGAction Fire GetUIHitChance Hex Changes]]=====
 +
* Fire Action UI changes:
 +
** [[XGAction_Fire.GetUIHitChance]]
  
 
==Separate Content==
 
==Separate Content==
Line 54: Line 96:
 
{ '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. }
 
{ '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. }
  
 +
Utilized by [[DefaultGameCore.ini settings - XCOM:EU 2012]]
 +
* See the [[XGTacticalGameCoreData.EAbility]] article.
 
* See the [[XGAbilityTree.BuildAbilities]] function article.
 
* See the [[XGAbilityTree.BuildAbilities]] function article.
 +
* See the Mod [[Abilities Modding - XCOM:EU 2012]] article.
  
 
== References ==
 
== References ==
Line 64: Line 109:
 
* [[XGAbilityTree.BuildAbilities]]
 
* [[XGAbilityTree.BuildAbilities]]
 
* [[Modding_XCOM:EU_2012]]
 
* [[Modding_XCOM:EU_2012]]
 +
* [[XComGame.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]
 +
* [[Abilities Modding - XCOM:EU 2012]]
 +
* [[Enhanced Perk Tree mod - XCOMEU: 2012]]
 
* [[XComPerkManager]]
 
* [[XComPerkManager]]
 
** [[XComPerkManager.GetPerkInTreeAssault]]
 
** [[XComPerkManager.GetPerkInTreeAssault]]
Line 75: Line 123:
 
** [[XGSummaryUI.CollectArtifactsFromDeadAliens]]
 
** [[XGSummaryUI.CollectArtifactsFromDeadAliens]]
 
** [[XGWeapon.GetDamageRadius]]
 
** [[XGWeapon.GetDamageRadius]]
 
+
* [[Loadout File Changes Additional Items Mod XCOM:EU - 2012]]
 +
** [[XGInventory.GetRearBackpackItemArray]]
 +
** [[XGItem.ItemType]]
 +
** [[XGWeapon.ApplyOverheatIncrement]]
 +
** [[XGLoadoutMgr.ConvertTInventoryToSoldierLoadout]]
 +
** [[XGItemLibrary.GetItem]]
 +
** [[XGLoadoutMgr.ApplyLoadout]]
 +
** [[XGLoadoutMgr.ApplyLoadout]]
 +
* [[Tactical Charges File Changes Additional Items Mod XCOM:EU - 2012]]
 +
** [[XGUnit.UpdateItemCharges]]
 +
* Mod [[XCOM Squadsight Aim Penalty Mod]]
 +
** [[XGAbility_Targeted.AdjustToHit]]
 +
** [[XGAbility_Targeted.GetShotSummary]]
 +
** [[UIUnitGermanMode_ShotInfo]]
 +
** [[XGAbility_Targeted.GetUIHitChance]]
 +
** [[XGAction_Fire.GetUIHitChance]]
 
<br><br>
 
<br><br>
 
That refer to this article:<br>
 
That refer to this article:<br>
 +
* [[XComGame.UPK .Catalog - XCOM:EU 2012]]
 
* [[DefaultGameCore.ini settings - XCOM:EU 2012]]
 
* [[DefaultGameCore.ini settings - XCOM:EU 2012]]
 +
* [[XComGame.UPK .Catalog - XCOM:EU 2012]]
 
* [[XGAbilityTree.BuildAbilities]]
 
* [[XGAbilityTree.BuildAbilities]]
 
* [[Abilities Modding - XCOM:EU 2012]]
 
* [[Abilities Modding - XCOM:EU 2012]]
 +
* [[Enhanced Perk Tree mod - XCOMEU: 2012]]
 
* [[Explosive Damage - XCOM:EU 2012]]
 
* [[Explosive Damage - XCOM:EU 2012]]
 
<br><br>
 
<br><br>
Line 87: Line 153:
 
[[Category:XCOM Modding]]
 
[[Category:XCOM Modding]]
 
[[Category:XCOM]]
 
[[Category:XCOM]]
 +
[[Category:Modding_Guides]]

Latest revision as of 03:23, 17 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, providing it is not found in a table of files to be blocked embedded within the EXE file. See Recent_Discoveries for instructions to enable the loading of blocked loose files.

Programs and Tools

See the articles Modding XCOM:EU 2012 and Modding Tools - XCOM:EU 2012.

Packages

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

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 this page for help on including files in your article. }

Primarily tactical functions are resident in this file. See XComGame.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 Enhanced Perk Tree mod - XCOMEU: 2012

Mod Explosive Damage - XCOM:EU 2012

Mod Loadout File Changes Additional Items Mod XCOM:EU - 2012

Mod Tactical Charges File Changes Additional Items Mod XCOM:EU - 2012

Mod XCOM Squadsight Aim Penalty Mod

has the following component files:

XCOM Squadsight Aim Penalty Adjust To Hit Hex Changes
XCOM Squadsight Aim Penalty Get Shot Summary Hex Changes
XCOM Squadsight Aim Penalty UIUnitGermanMode ShotSummary Hex Changes
XCOM Squadsight Aim Penalty XGAbility Targeted GetUIHitChance Hex Changes
XCOM Squadsight Aim Penalty XGAction Fire GetUIHitChance Hex Changes

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. }

Utilized by DefaultGameCore.ini settings - XCOM:EU 2012

References

Referred to by this article:



That refer to this article: