dukenukem4343 Posted March 29, 2013 Share Posted March 29, 2013 The patcher is not working (using windows 8) this is the error i get See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\XCOM Enemy Unknown\Binaries\Win32\log.txt' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at Modpatcher.Form1.log(String tmp) at Modpatcher.Form1.Form1_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies **************mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll----------------------------------------Modpatcher Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/XCOM%20Enemy%20Unknown/Binaries/Win32/modpatcher.exe----------------------------------------System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18037 built by: FX45RTMGDR CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18022 built by: FX45RTMGDR CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll---------------------------------------- ************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled. For example: <configuration> <system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box. Link to comment Share on other sites More sharing options...
dreadylein Posted March 31, 2013 Author Share Posted March 31, 2013 Where is Xcom installed ? Try putting the Patcher in the same directory as xcom Link to comment Share on other sites More sharing options...
dukenukem4343 Posted March 31, 2013 Share Posted March 31, 2013 I did and i have it installed in my steam folder Link to comment Share on other sites More sharing options...
dreadylein Posted April 2, 2013 Author Share Posted April 2, 2013 tyed starting it with admin rights ? Link to comment Share on other sites More sharing options...
dukenukem4343 Posted April 4, 2013 Share Posted April 4, 2013 yes Link to comment Share on other sites More sharing options...
orinocco Posted April 17, 2013 Share Posted April 17, 2013 (edited) I recently returned to XCOM and am having trouble getting Modpatcher to work 100%. Some of my edits get into the game just fine while others do not. The ones that work include my tweaks to Classic mode to reduce alien crit bonuses. Adding extra small item slots to some armors do not. These changes were all working before Xmas. Edited April 17, 2013 by orinocco Link to comment Share on other sites More sharing options...
johnnylump Posted April 17, 2013 Share Posted April 17, 2013 @Orinocco Those sorts of edits are working for me via modpatcher, so I suspect your copy of X-Com is phoning home for updates: Ensure X-Com is *unable* to phone home to acquire certain updates (intended to prevent cheating on multiplayer) that will overwrite part of the mod. There are two ways to do this:a) Offline Mode. Easier to accomplish. This prevents Steam from connecting to the Internet, but you won't be able to chat or update other games.a. Start Steam.b. Steam Menu (top left) > Go Offline > Restart in offline mode.b) Modifying hosts file -- prevents XCom from calling out. More complicated, but lets you use Steam's online functions.a. Start Menu > Right click on Notepad, select "Run as Administrator"b. File > Open > %systemroot%\system32\drivers\etc\hosts -- The hosts file has no . suffix, make sure you don't add .txt or anything else. Also, %systemroot% on my system is C:\Windows, but it may vary.c. Add these three lines to the file: # Prevent XCOM Phone Home127.0.0.1 prod.xcom.firaxis.com127.0.0.1 65.118.245.165d. Save the file. Link to comment Share on other sites More sharing options...
orinocco Posted April 17, 2013 Share Posted April 17, 2013 johnnylump, Holy crap! You were right! I modified my Hosts file according to your excellent instructions and everything is right again. Thank you. You know, I was aware ET often phoned home to momma and I had the exe blocked in my firewall .... those sneaky #####'s Link to comment Share on other sites More sharing options...
johnnylump Posted May 24, 2013 Share Posted May 24, 2013 (edited) @ dreadylein If I wanted to modpatch two separate ini files, should I run modpatcher twice in succession with each filename as a parameter, or should I use both ini files as parameters in a single run? Or does it matter? That ismodpatcher DefaultGameCore_t.mod DefaultMPGame_t.modORmodpatcher DefaultGameCore_t.modmodpatcher DefaultMPGame_t.mod ? Thanks ... ... Upon further testing, I'm guessing modpatcher only works on DefaultGameCore.ini settings, right? Edited May 24, 2013 by johnnylump Link to comment Share on other sites More sharing options...
dreadylein Posted May 25, 2013 Author Share Posted May 25, 2013 There is no way to patch Another File into the Binary :)Working as intended as we didnt wanted to supply a way for patching mp dataSend me a Pn, why you need it :) Link to comment Share on other sites More sharing options...
Recommended Posts