Jump to content

Which INI settings do not work when steam is online?


twinj

Recommended Posts

DefaultEngine.ini has entries connected to this, but commenting all did not help. Confirmed it is functional by uncommenting XComGame.ini.

 

[Engine.OnlineSubsystem]
IniLocPatcherClassName="Engine.IniLocPatcher"

[Engine.IniLocPatcher]
!Files=ClearArray
+Files=(Filename="XComGameCore.ini")
;+Files=(Filename="XComGame.ini")

Will check IniLocPatcher class within Engine.upk.

Link to comment
Share on other sites

Got it. Engine.upk, class IniLocPatcher

 

function DownloadFiles()
{
   local int Index;

   // End:0x177 ... change 07 to 06 to skip it all
   if(NotEqual_InterfaceInterface(TitleFileInterface, OnlineTitleFileInterface(none)))

SF: 07 77 01 1C 96 FF FF FF 01 13 3C 00 00 52 B1 54 00 00 2A 16 0F 00 1B 3C 00 00 25
RW: 06 77 01 1C 96 FF FF FF 01 13 3C 00 00 52 B1 54 00 00 2A 16 0F 00 1B 3C 00 00 25

Skip the conditional. No new XComGameCore.ini downloaded, Kevlar +10 HP. All with allowed phone home.

 

Edit: Launch.log is also clear.

 

Don't know, if it screws multiplayer. Needs testing.

Edited by Drakous79
Link to comment
Share on other sites

I think that every ini and int file is in danger, that it will be updated one day and only defense is modified hosts file.

 

Pretty much. But you can't ignore or delete those files in My Docs. Some of those files are crucial. You can already see this with the DLC. People who have the DLC receive some new text files in their My Docs directory. People who do not have the DLC do not get those files. I suspect in the near future there will be files for three versions: Original game; Slingshot DLC; Slingshot + upcoming DLC. And as more DLC is released, there will be more versions to maintain.

Edited by BlackAlpha
Link to comment
Share on other sites

True, cannot ignore them or delete them. Saw DLC inis with +lines merging with Default inis into XCom inis.

 

Hopefully all future files and fixes come with patch and DLC and not silent patcher.

Edited by Drakous79
Link to comment
Share on other sites

Thank you twinj :) At least I saved you some time so you can work on XCMM ini management :) Just wanted to know how it works, so I could provide proper advice for troubleshooting. Noticed how wrong I was about the executable being updated by silent patcher.

 

I am still amazed how it works - if XComGameCore.ini is downloaded, the game uses it. If it is not DLed but sits in EMS folder, it is not used.

 

Robots ftw! And squad size as well. Modding is hard, because we are stuck with the bytecode, but still we've managed to do some nice mods. And more will come.

Link to comment
Share on other sites

 

I am still amazed how it works - if XComGameCore.ini is downloaded, the game uses it. If it is not DLed but sits in EMS folder, it is not used.

 

 

 

Also, it doesn't matter what you put inside that file. You can make it so the game can't access the file nor create a new file, and the game will still load the silent patcher changes.

 

Those EMS files seem to have weird code at the end of the file. I guess if we can edit the file and edit that code so that it corresponds to the changed file, then we can put all mod changes inside the EMS files. You could then hijack Firaxis' system to create an incremental mod installer. Or so I suspect...

Edited by BlackAlpha
Link to comment
Share on other sites

 

I am still amazed how it works - if XComGameCore.ini is downloaded, the game uses it. If it is not DLed but sits in EMS folder, it is not used.

 

 

 

Also, it doesn't matter what you put inside that file. You can make it so the game can't access the file nor create a new file, and the game will still load the silent patcher changes.

 

Those EMS files seem to have weird code at the end of the file. I guess if we can edit the file and edit that code so that it corresponds to the changed file, then we can put all mod changes inside the EMS files. You could then hijack Firaxis' system to create an incremental mod installer. Or so I suspect...

 

Nice! Certainly want to look into this more now.

 

Damn Squad Sizes :wallbash:

Link to comment
Share on other sites

Well, nevermind the "code". It's just a bunch of zeros at the end of the file.

 

 

Got it. Engine.upk, class IniLocPatcher

 

function DownloadFiles()
{
   local int Index;

   // End:0x177 ... change 07 to 06 to skip it all
   if(NotEqual_InterfaceInterface(TitleFileInterface, OnlineTitleFileInterface(none)))

SF: 07 77 01 1C 96 FF FF FF 01 13 3C 00 00 52 B1 54 00 00 2A 16 0F 00 1B 3C 00 00 25
RW: 06 77 01 1C 96 FF FF FF 01 13 3C 00 00 52 B1 54 00 00 2A 16 0F 00 1B 3C 00 00 25

Skip the conditional. No new XComGameCore.ini downloaded, Kevlar +10 HP. All with allowed phone home.

 

Edit: Launch.log is also clear.

 

Don't know, if it screws multiplayer. Needs testing.

 

Does that mean you can apply changes to the EMS files?

Link to comment
Share on other sites

Does that mean you can apply changes to the EMS files?

No. It means I have Steam online and clean hosts, and silent patcher is not downloading XComGameCore.ini and other files, because of the change.

 

You could then hijack Firaxis' system to create an incremental mod installer.

Sounds extreme - to use it to install mods. You would have to do a server with news.ashx and dict.ashx, change IP address the game seeks for updates and persuade people to use it. Also users would lose an opportunity to receive language files patches ... well, it happens anyway with disabled phone home a and my change, if I'm right :)

 

I guess if we can edit the file and edit that code so that it corresponds to the changed file, then we can put all mod changes inside the EMS files.

It is little unsafe to install mods that way, because if is not phone home sussessfully prevented, the mod won't work. It is like building a house in a volcano. But if is phone home properly disabled, you would still have to persuade the game to load files in EMS folder. In my case, I have XComGameCore.ini in EMS, but values in XComGame.exe (XGTacticalGameCore) are used.

 

Nice! Certainly want to look into this more now.

 

Damn Squad Sizes :wallbash:

Put sizes on hold and go explore :) They won't escape.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...