Jump to content

XCOMModHelper


UberJumper

Recommended Posts

  • 3 months later...
  • Replies 65
  • Created
  • Last Reply

Top Posters In This Topic

I know this is an old topic, but I'm getting this error after spending hours trying to figure out how to apply this mod and I can't seem to find any fix.

 

C:\Windows\system32>c:\users\<USERNAME>\desktop\XCOMModHelper\XCOMModHelper.exe XCOMMo
dHelper -v -c c:\users\<USERNAME>\desktop\RestartMission\Restart_Mission_in_Pause_Menu
_EU_Install.xml x- "c:\program files (x86)\steam\steamapps\common\XCom-Enemy-Unk
nown"
[iNFO]> ==========XCOMModHelper========
[DEBUG]> Initializing
[iNFO]> Attempting to Locate XCOM Root Directory
[DEBUG]> Checking for Default Install Location [ c:/program files (x86)/steam\St
eamApps\common\XCom-Enemy-Unknown ]
[iNFO]> Found XCOM Root Directory of [ c:\program files (x86)\steam\SteamApps\co
mmon\XCom-Enemy-Unknown ]
[DEBUG]> Desrializing [ c:\users\<USERNAME>\desktop\RestartMission\Restart_Mission_in_
Pause_Menu_EU_Install.xml ]
[DEBUG]> Loaded Configuration File [ c:\users\<USERNAME>\desktop\RestartMission\Restar
t_Mission_in_Pause_Menu_EU_Install.xml ]
[DEBUG]> Expanding Target Paths
[iNFO]> Backup Target Directory is [ c:\program files (x86)\steam\SteamApps\comm
on\XCom-Enemy-Unknown\Backup ]
[iNFO]> Decompressed UPK Folder [ c:\program files (x86)\steam\SteamApps\common\
XCom-Enemy-Unknown\Backup\Unpacked ]
[DEBUG]> Expanded Target from [ Binaries\Win32\XComGame.exe => c:\program files
(x86)\steam\SteamApps\common\XCom-Enemy-Unknown\Binaries\Win32\XComGame.exe ]
[DEBUG]> Expanded Target from [ XComGame\CookedPCConsole\XComGame.upk => c:\prog
ram files (x86)\steam\SteamApps\common\XCom-Enemy-Unknown\XComGame\CookedPCConso
le\XComGame.upk ]
[iNFO]> Patching [2] Targets
[iNFO]> Patching Target [ c:\program files (x86)\steam\SteamApps\common\XCom-Ene
my-Unknown\Binaries\Win32\XComGame.exe ]
[DEBUG]> Loading File Data [ c:\program files (x86)\steam\SteamApps\common\XCom-
Enemy-Unknown\Binaries\Win32\XComGame.exe ]
[DEBUG]> File [ c:\program files (x86)\steam\SteamApps\common\XCom-Enemy-Unknown
\Binaries\Win32\XComGame.exe ] Loaded Into Patcher Successfully
[iNFO]> Applying Patch [ Read XComGame.upk from CookedPCConsole folder without s
ize check ]
[DEBUG]> Patch State ==> SequenceNotFound
[ERROR]> An Error occured during processing:Could not find the specified hex val
ue for patch [ Read XComGame.upk from CookedPCConsole folder without size check
]
[ERROR]> System.InvalidOperationException: Could not find the specified hex valu
e for patch [ Read XComGame.upk from CookedPCConsole folder without size check
]
at XCOMModHelper.XCOMModHelper.HandlePatchState(PatchState state, PatchEntry
patch) in d:\Workspace\xcom-mod-helper\XCOMModHelper\XCOMModHelper.cs:line 259
at XCOMModHelper.XCOMModHelper.PatchTarget(PatchTarget target) in d:\Workspac
e\xcom-mod-helper\XCOMModHelper\XCOMModHelper.cs:line 210
at XCOMModHelper.XCOMModHelper.ApplyPatches() in d:\Workspace\xcom-mod-helper
\XCOMModHelper\XCOMModHelper.cs:line 142
at XCOMModHelper.Program.Main(String[] args) in d:\Workspace\xcom-mod-helper\
XCOMModHelper\Program.cs:line 59
[ERROR]>
The Patching Process was Aborted
C:\Windows\system32>
Is there something I'm doing wrong? I'm trying to apply the Restart Mission In Pause Menu mod, I've tried everything and I've gotten to the point that I just want to be told what to do, I've never used cmd in my life before this so it took me hours to get to this point. Again, sorry for old topic bump but it was the only one I could find.
I should note this is for Enemy Unknown, not Enemy Within.
Edited by MDDC
Link to comment
Share on other sites

Hi MDDC, do you use Texmod? If yes, you should rename original executable back to XComGame.exe and try to patch again.

Link to comment
Share on other sites

Hi MDDC, do you use Texmod? If yes, you should rename original executable back to XComGame.exe and try to patch again.

I don't use Texmod, no. I meant to say, I got this same error when trying to use the EUConfig.xml file with XCOMModHelper.

Edited by MDDC
Link to comment
Share on other sites

The problem is this line:

An Error occured during processing:Could not find the specified hex value for patch [ Read XComGame.upk from CookedPCConsole folder without size check ]

Your XComGame.exe must be different somehow.

 

You can edit Restart_Mission_in_Pause_Menu_EU_Install.xml and delete lines below:

<PatchTarget>
   <TargetPath>Binaries\Win32\XComGame.exe</TargetPath>
   <IsUPKFile>false</IsUPKFile>
   <Patches>
     <PatchEntry>
       <Description>Read XComGame.upk from CookedPCConsole folder without size check </Description>
       <FindValue>78 63 6f 6d 67 61 6d 65 2e 75 70 6b</FindValue>
       <ReplaceValue>77 63 6f 6d 67 61 6d 65 2e 75 70 6b</ReplaceValue>
     </PatchEntry>
   </Patches>
</PatchTarget>

Save xml file and try to patch again.

 

If patched successfully and the game crashes, you can download PatcherGUI from UPKUtils files section and use its xshape feature.

Edited by Drakous79
Link to comment
Share on other sites

The problem is this line:

An Error occured during processing:Could not find the specified hex value for patch [ Read XComGame.upk from CookedPCConsole folder without size check ]

Your XComGame.exe must be different somehow.

 

You can edit Restart_Mission_in_Pause_Menu_EU_Install.xml and delete lines bellow:

<PatchTarget>
   <TargetPath>Binaries\Win32\XComGame.exe</TargetPath>
   <IsUPKFile>false</IsUPKFile>
   <Patches>
     <PatchEntry>
       <Description>Read XComGame.upk from CookedPCConsole folder without size check </Description>
       <FindValue>78 63 6f 6d 67 61 6d 65 2e 75 70 6b</FindValue>
       <ReplaceValue>77 63 6f 6d 67 61 6d 65 2e 75 70 6b</ReplaceValue>
     </PatchEntry>
   </Patches>
</PatchTarget>

Save xml file and try to patch again.

 

If patched successfully and the game crashes, you can download PatcherGUI from UPKUtils files section and use its xshape feature.

 

Thank you! Deleting that part worked and the mod is running fine. No crashes.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...