EXEPatcher

⭐ — (24 endorsements) 📥 576 downloads 📌 v1.1 📅 8/9/2013
⚪ Last updated 2013

By Dubiousintent · Utilities

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 8/15/2013 📅 Created: 8/9/2013

🔍 Analysis

  • 👍 4.2% endorsement rate — high engagement, a strong quality signal
  • 🏆 #22 of 31 Utilities mods in this game by downloads

📋 About This Mod

EXEPatcher Script This script is released to the public domain. You may do anything you wish with it. This is a Windows CMD file script that utilizes the open source package \"bspatch\" to apply a patch file (created with the companion program \"bsdiff\") to the XComGame. EXE file. It turns the orginal game file into a backup (XComGame.exe.bak), and the patched version becomes the executable. It can be installed anywhere, but the patch file MUST be placed in the same location as the game executable. The included patch file(s) will apply the \"Disabling Hash checks\" and \"Enabling INI loading\" mods to a Steam XCOM game as described at . See the History section for which of these patch files applies to which game patch version of the executable. Please note that you can manually do everything this script does yourself, if all the components are present in the same location. The primary advantage of the script is that it can be used with components in various locations, and will alert you if you are missing the required Patch_File parameter, and saves including all the paths on the commandline. Why a Script? A script file was chosen to implement this patch mechanism because it is an easily modified tool for anyone\'s Windows environment and any game, and permits the components (except the patch file itself) to be installed anywhere. Requirements: \"bsdiff\" package, available . This is free/open source. It is not included here. Script Adjustments: Only variables defined at the beginning of the script should require altering. The \"bsdiff\" package may be installed anywhere, but if the \"bspatch.exe\" file (which is included in that package) is not found in either the \"Steam\\steamapps\\common\\XCom-Enemy-Unknown\" or the \".\\Binaries\\Win32\" subfolder, the script should be modified to point to it\'s location. There is a variable defined near the top of the script (diffpath) just for this purpose. As the \"bsdiff package\" does not make any registry entries when it is installed, it is not possible to determine where you have installed it otherwise. The script utilizes WMIC (if available; it\'s part of the WMI toolset included in Windows versions from XP Professional onwards) to retrieve the XCOM install folder. If WMIC is not available, it relies upon the value of a variable defined near the top of the script (exepath) just for this purpose. This might also need modifying by you. All the defined variables are checked for validity first. Syntax: The script is called with a single command line parameter which consists of the name of the Patch_File created by \"bsdiff\", and that filename can take any form. (For example: \"EXEPatcher.cmd XComGame_Patch_20130711-233432\".) This enables the script to be used with multiple patch files. You can get away with only providing the \"date-time\" portion (i.e. \"20130711-233432\", with or without the leading underscore) as long as the prefix of the file is named \"XComGame_Patch\". Other filename patterns must be given in full or the scripting altered to match. It is recommended you create a \"shortcut\" to the script with the name of the Patch_File as a parameter as the easiest method to apply the patch. More shortcuts can be used with different Patch_File parameters as required. With simple adjustments to the variables it can be used in a similar manner to patch any executable. Confirmation Test: Edit the \'DefaultGameCore. INI\' (DGC. INI) file in a \'text editor\' (like Notepad) as follows to confirm the patch is functioning: Search for \'eItem_Shotgun\', and replace the original line \'Properties=\' entry assignment of \'eWPAssault\' with \'eWP_Anyclass\' as shown below. You can just copy and paste this line with any text editor. (Save your \'. BAK\' file to restore the original DGC. INI.) Weapons=(iType=eItem_Shotgun,ABILITIES=eAbility_ShotStandard,ABILITIES=eAbility_Overwatch,ABILITIES=eAbility_NONE,ABILITIES=eAbility_NONE,ABILITIES=eAbility_NONE,ABILITIES=eAbility_NONE,Properties=eWP_AnyClass,Properties=eWP_AnyClass,Properties=eWP_None,Properties=eWP_None,Properties=eWP_None,Properties=eWP_None,iDamage=6,iEnvironmentDamage=30,iRange=22,iReactionRange=8,iReactionAngle=360,iRadius=0,iCritical=40,iOffenseBonus=10,iSuppression=10,iSize=eItemSize_Large,iHPBonus=0,iWillBonus=5) Load any previous save where you are in the XCOM base (the Strategy game phase) or play a new game to that point, go into the Barracks, View Soldiers, and change the Loadout of a Sniper or Support to equip a Shotgun. (The Heavy has other class restrictions that prevent it from using a Shotgun with just this simple fix). Anyone oth

📊 Mod Details

Game
Xcom Mods
Author
Dubiousintent
Version
1.1
Downloads
576
Endorsements
24
Category
Utilities
Created
8/9/2013
Updated
8/15/2013
Tags
English, Utilities for Players

🔧 How to Install XCOM: Enemy Unknown Mods

Install via a mod manager (Vortex or Mod Organizer 2). Most mods drop into the game folder.

📖 Full step-by-step install guide for XCOM: Enemy Unknown →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for XCOM: Enemy Unknown commands, item IDs, and more.

Keep browsing — more XCOM: Enemy Unknown mods await

📋 All XCOM: Enemy Unknown Mods 🏆 Top 25 📂 More Utilities 👤 More by Dubiousintent 🔎 Similar Mods 🌐 Best Utilities (All Games) 💾 Save Files 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods