Jump to content

Enemy Within Discovery Thread


Krazyguy75

Recommended Posts

Hey Chains101,

 

do you have disabled phone home? I'd check XComGameCore.ini, if it contains the line with satellite iCash=100. The file should be somewhere in Users\YourUserName\Documents\My Games\XCOM - Enemy Within\XComGame\Logs\EMS\ ... quessing, as I don't have the game yet :smile: In the past there were only armors, characters and weapons silently patched, but better to be safe then sorry.

 

Next I'd try editing satellite's iCash in DefaultGameCore.ini (XEW/XComGame/Config/) to see, if we can change it without further modding, and check in the game. Next I'd fire HxD or any other hex editor and search XComEW.exe for string Satellite, iCash=100 and change it to 200, and check it in the game again.

 

Quite trial and error approach, but each steps helps to understand, how the new system works.

Edited by Drakous79
Link to comment
Share on other sites

  • Replies 248
  • Created
  • Last Reply

Top Posters In This Topic

 

I don't know if this will help anyone but I updated the XCOMModHelper to support XCOM Enemy Within: https://github.com/fperks/xcom-mod-helper

 

For Enemy Within the only thing it is setup to do is to patch XCOMEW.exe to make it so it reads DefaultGameCore.ini from XEW/XCOMGame/Config folder without needing Modpatcher. It makes a single modification to the executable, and then any changes done to DGC will show up, without needing modpatcher.

 

Binaries: https://github.com/fperks/xcom-mod-helper/releases/tag/v0.2

Code: https://github.com/fperks/xcom-mod-helper

Documentation: https://github.com/fperks/xcom-mod-helper

 

I tried this and it says it patched it successfully ...but no changed occur. I tried a saved game and then i started a new game and both the same results. All i do is change the cost of the satellite to 1 and then go try to buy and its still 100.

 

Easiest test, edit XEW/Config/DefaultGameCore.ini, line 104 is the line for Frag Grenades, change iDamage from 3->9, save the file. Launch XCOM, start new game, try throw the grenade.

 

And no unfortunately the tool does not work with "alternative" version because unfortunately the "alternative" version seems to not work if you alter anything in the executable.

Link to comment
Share on other sites

Hey Chains101,

 

do you have disabled phone home? I'd check XComGameCore.ini, if it contains the line with satellite iCash=100. The file should be somewhere in Users\YourUserName\Documents\My Games\XCOM - Enemy Within\XComGame\Logs\EMS\ ... quessing, as I don't have the game yet :smile: In the past there were only armors, characters and weapons silently patched, but better to be safe then sorry.

 

Next I'd try editing satellite's iCash in DefaultGameCore.ini (XEW/XComGame/Config/) to see, if we can change it without further modding, and check in the game. Next I'd fire HxD or any other hex editor and search XComEW.exe for string Satellite, iCash=100 and change it to 200, and check it in the game again.

 

Quite trial and error approach, but each steps helps to understand, how the new system works.

 

I did not disable phone home....im going to do that after the clean install....thanks for the heads up

 

 

 

 

I don't know if this will help anyone but I updated the XCOMModHelper to support XCOM Enemy Within: https://github.com/fperks/xcom-mod-helper

 

For Enemy Within the only thing it is setup to do is to patch XCOMEW.exe to make it so it reads DefaultGameCore.ini from XEW/XCOMGame/Config folder without needing Modpatcher. It makes a single modification to the executable, and then any changes done to DGC will show up, without needing modpatcher.

 

Binaries: https://github.com/fperks/xcom-mod-helper/releases/tag/v0.2

Code: https://github.com/fperks/xcom-mod-helper

Documentation: https://github.com/fperks/xcom-mod-helper

 

I tried this and it says it patched it successfully ...but no changed occur. I tried a saved game and then i started a new game and both the same results. All i do is change the cost of the satellite to 1 and then go try to buy and its still 100.

 

Easiest test, edit XEW/Config/DefaultGameCore.ini, line 104 is the line for Frag Grenades, change iDamage from 3->9, save the file. Launch XCOM, start new game, try throw the grenade.

 

And no unfortunately the tool does not work with "alternative" version because unfortunately the "alternative" version seems to not work if you alter anything in the executable.

 

 

Thanks for the tip....i will try that....its a lot faster than finishing that first mission every time!

Link to comment
Share on other sites

Discovered a new cache of config variables. EU pretty much had all config variables confined to the DefaultGameCore.ini, which meant that all config variable were in XComGame.upk and required longer calls to retrieve.

 

However, it appears that the DefaultGameData.ini config file has been expanded to contain a substantial amount of strategy-game only config data:

 

  • Still contains [XComGame.XGGameData], which is mostly character-to-pawn mappings
  • [XComStrategyGame.XComDropshipAudioMgr] -- mappings for mission-start dropship cutscenes
  • [XComStrategyGame.UITellMeMore] -- config for help stuff, mostly for base facilities

And where it gets interesting:

  • [XComStrategyGame.XGExaltSimulation] -- config data controlling how EXALT acts in the strategy game
  • [XComGame.XComMeldContainerActor] -- contains just m_iMeldAwardedPerContainer=10
  • [XComGame.XGBattle_SPCovertOpsExtraction]
  • [XComGame.XGBattle_SPCaptureAndHold]
  • [XComStrategyGame.XGFacility_CyberneticsLab]
  • [XComStrategyGame.XGFundingCouncil] -- config variables controlling timing/etc of FC Missions and Requests
  • [XComStrategyGame.XGFacility_Barracks] -- config for medals
  • [XComStrategyGame.XGStrategyActorNativeBase] -- config for base assaults, start date and lose condition (i.e. LOSE_CONDITION_NUM_DESERTERS=8 )

 

This appears to not be embedded as a Resource Cache in the game executable. It does appear to be cloned to /My Games/XCOM - Enemy Within/Config/XComGameData.ini.

 

Note the filename change from DefaultGameData.ini (in the XEW folder in steamapps) to XComGameData.ini (in the My Games folder)

Happy Modding!

Edited by Amineri
Link to comment
Share on other sites

ok that worked....i did the phone home first.....acording to the log if you just do a regular install and then use XCOMModHelper and then change the .ini file it will never matter unless you fix your host file....this is the regular log...

DevOnline: Using cached profile data instead of reading
[0010.28] DevOnline: Read profile data: 4 SP soldiers, 4 MP soldiers
[0010.28] DevHTTP: Performing DNS lookup for prod.xcom-ew.firaxis.com
[0010.28] DevOnline: ReadTitleFile() XComGameCore.ini Download Starting
[0010.28] ScriptLog: Script call stack:
Function XComGame.XComPresentationLayerBase:BaseScreenState.PoppedState
Function XComGame.XComPresentationLayerBase:State_ProgressDialog.Deactivate
Function Engine.OnlineEventMgr:ActivateAllSystemMessages
[0010.28] DevHTTP: Performing DNS lookup for prod.xcom-ew.firaxis.com
[0010.28] DevHTTP: FHttpDownload resolve complete to: 65.118.245.139:80
[0010.28] DevHTTP: FHttpDownload resolve complete to: 65.118.245.139:80
[0010.37] DevHTTP: FHttpDownload request (/ew/PlayerInfo.ashx) started
[0010.37] DevHTTP: FHttpDownload request (/ew/Dict.ashx?keyz=XComGameCore.ini) started
[0010.42] DevHTTP: HTTP POST payload sent, waiting for response
[0010.49] DevHTTP: FHttpDownload request (/ew/Dict.ashx?keyz=XComGameCore.ini) completed
[0010.52] Log: Updating config/loc from XComGameCore.ini took 0.028828 seconds
[0010.52] DevOnline: TitleFile XComGameCore.ini Download Succeeded!
so it will always override your .ini file unless you add those to the host....then the log looks like this...

DevHTTP: Performing DNS lookup for prod.xcom-ew.firaxis.com
[0009.51] DevHTTP: FHttpDownload resolve complete to: 127.0.0.1:80
[0009.51] DevHTTP: FHttpDownload resolve complete to: 127.0.0.1:80
[0009.55] DevHTTP: FHttpDownload request (/ew/PlayerInfo.ashx) started
[0009.55] DevHTTP: FHttpDownload request (/ew/Dict.ashx?keyz=XComGameCore.ini) started
[0009.60] DevHTTP: HTTP POST payload sent, waiting for response
[0009.60] Error: 404: Failed to GET the requested file: http://prod.xcom-ew.firaxis.com:80/ew/Dict.ashx
[0009.60] DevOnline: TitleFile XComGameCore.ini Download Failed
[0009.63] DevHTTP: FHttpDownload::StateReceivingHeader: Socket error (SE_ECONNABORTED)
[0009.83] DevOnline: Obtained steam user stats
Thank you all for your help!

Edit: This might have been common knowledge for modders but i had no idea....thank you guys for being patient with me. a LITTLE new at modding within steam.
Edited by Chains101
Link to comment
Share on other sites

 

 

I don't know if this will help anyone but I updated the XCOMModHelper to support XCOM Enemy Within: https://github.com/fperks/xcom-mod-helper

 

For Enemy Within the only thing it is setup to do is to patch XCOMEW.exe to make it so it reads DefaultGameCore.ini from XEW/XCOMGame/Config folder without needing Modpatcher. It makes a single modification to the executable, and then any changes done to DGC will show up, without needing modpatcher.

 

Binaries: https://github.com/fperks/xcom-mod-helper/releases/tag/v0.2

Code: https://github.com/fperks/xcom-mod-helper

Documentation: https://github.com/fperks/xcom-mod-helper

 

I tried this and it says it patched it successfully ...but no changed occur. I tried a saved game and then i started a new game and both the same results. All i do is change the cost of the satellite to 1 and then go try to buy and its still 100.

 

Easiest test, edit XEW/Config/DefaultGameCore.ini, line 104 is the line for Frag Grenades, change iDamage from 3->9, save the file. Launch XCOM, start new game, try throw the grenade.

 

And no unfortunately the tool does not work with "alternative" version because unfortunately the "alternative" version seems to not work if you alter anything in the executable.

 

 

Thanks for the confirmation. Friday it is then...I hate these silly separate US/EU release dates in the digital age.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...