Jump to content

Mod Distribution/Automation Program


Daemonjax

Recommended Posts

To test multiple files for XCMM Java I need mods.

 

Has anyone created mods which have more than one edit per upk resource and more than one resource in a upk. Multiple upk's of the previous standard would be great.????

 

Also. Is anyone else having any issues with XShape and the game still crashing after it is used? Is the game checking another location for the upk file hashes? I am crashing even after manual editing of exe..

 

I am almost ready to release a beta of XCMM just want XShape to be working first.

Link to comment
Share on other sites

  • Replies 108
  • Created
  • Last Reply

Top Posters In This Topic

No problems with Xshape.

 

For testing I can offer you changing start year to 1999, where are 4 classes in XComSTrategyGame.upk edited.

 

XComSTrategyGame.upk - classes XGGeoscape, XGStrategyAI

function InitNewGame()
{
 m_kDateTime.SetTime(0, 0, 0, 3, 1, 2015);
}

XComSTrategyGame.upk - class XGFundingCouncil

function CreateMission(TFCMission MissionData)
{
 kDateTime.SetTime(0, 0, 0, 3, 1, 2015);
}

Searched for 03 26 1D DF 07 (3 matches), changed to 03 26 1D CF 07.

 

XComSTrategyGame.upk - class XGDateTime

function bool IsFirstDay()
{
 return m_iMonth == 3 && (m_iYear == 2015) && (m_iDay == 1);
}

Searched for 9A 01 84 25 00 00 1D DF 07 (1 match), changed to 9A 01 84 25 00 00 1D CF 07.

 

Edit: I slacked. Correct function in XGFundingCouncil class is CreateMission, not InitNewGame.

Edited by Drakous79
Link to comment
Share on other sites

@twinj

did deltete the files with the uncompressed fileextension ?

did you use modpatcher after changes to the upk ?

Thanks for reply. I don't know what he problem was. But yeah I checked all of those things. I had to reinstall. Im fully backed up now. I must of stuffed around too much with tests and broke something.

Link to comment
Share on other sites

No problems with Xshape.

 

For testing I can offer you changing start year to 1999, where are 4 classes in XComSTrategyGame.upk edited.

 

XComSTrategyGame.upk - classes XGFundingCouncil, XGGeoscape, XGStrategyAI

function InitNewGame()
{
 m_kDateTime.SetTime(0, 0, 0, 3, 1, 2015);
}

Searched for 03 26 1D DF 07 (3 matches), changed to 03 26 1D CF 07.

 

XComSTrategyGame.upk - class XGDateTime

function bool IsFirstDay()
{
 return m_iMonth == 3 && (m_iYear == 2015) && (m_iDay == 1);
}

Searched for 9A 01 84 25 00 00 1D DF 07 (1 match), changed to 9A 01 84 25 00 00 1D CF 07.

 

Making it now thx!

Link to comment
Share on other sites

Trying it too.

 

I am sorry, because I slacked. Correct function in XGFundingCouncil class is CreateMission, not InitNewGame.

Link to comment
Share on other sites

Trying it too.

 

I am sorry, because I slacked. Correct function in XGFundingCouncil class is CreateMission, not InitNewGame.

 

No worries. I added the GenderEquality mod to it as well to diversify the files that XCMM needed to check. I am able to make and install the below mod and xshape XCom using XCMM.

 

It still needs some cleanup and extra features but in its current state it works. My start year was 1999!

 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XComMod>
   <Name>ModEst1999v2</Name>
   <Author>Drakous79 / DaemonJax / twinj</Author>
   <Description>Changes the start year to 1999. The same year XCom classic was based on. Also changes the chance that a new rookie soldier is a woman. Because women were tougher in the 90's.</Description>
   <Hash>5F0696FDEA016FF24BAEB07303156E55A788FF59</Hash>
   <ChangedFiles>
       <ResFile>
           <ResourceName>InitNewGame.Function</ResourceName>
           <UpkFilename>XComStrategyGame.upk</UpkFilename>
           <ByteSum>4378</ByteSum>
           <SearchHashLength>143</SearchHashLength>
           <SearchHash>FC4EC23447B6D34BB1D36F3ED1C122EA02F92C90</SearchHash>
           <Changes>
               <HexEdit>
                   <Offset>101</Offset>
                   <Data>CF</Data>
               </HexEdit>
           </Changes>
       </ResFile>
       <ResFile>
           <ResourceName>InitNewGame.Function</ResourceName>
           <UpkFilename>XComStrategyGame.upk</UpkFilename>
           <ByteSum>9361</ByteSum>
           <SearchHashLength>301</SearchHashLength>
           <SearchHash>F37A2B9DD67AFEE415F682EC802D645037919D6C</SearchHash>
           <Changes>
               <HexEdit>
                   <Offset>101</Offset>
                   <Data>CF</Data>
               </HexEdit>
           </Changes>
       </ResFile>
       <ResFile>
           <ResourceName>CreateMission.Function</ResourceName>
           <UpkFilename>XComStrategyGame.upk</UpkFilename>
           <ByteSum>40791</ByteSum>
           <SearchHashLength>1250</SearchHashLength>
           <SearchHash>0B8662E7723C262054DA2BB30B420AF1A6446311</SearchHash>
           <Changes>
               <HexEdit>
                   <Offset>101</Offset>
                   <Data>CF</Data>
               </HexEdit>
           </Changes>
       </ResFile>
       <ResFile>
           <ResourceName>IsFirstDay.Function</ResourceName>
           <UpkFilename>XComStrategyGame.upk</UpkFilename>
           <ByteSum>3110</ByteSum>
           <SearchHashLength>110</SearchHashLength>
           <SearchHash>A31541C2068D03EA1C20BD41C7ACEF102722ACB3</SearchHash>
           <Changes>
               <HexEdit>
                   <Offset>70</Offset>
                   <Data>CF</Data>
               </HexEdit>
           </Changes>
       </ResFile>
       <ResFile>
           <ResourceName>CreateTSoldier.Function</ResourceName>
           <UpkFilename>XComGame.upk</UpkFilename>
           <ByteSum>104516</ByteSum>
           <SearchHashLength>2023</SearchHashLength>
           <SearchHash>092450C0A758BADAE0552BBF8F0170CB821A7FE0</SearchHash>
           <Changes>
               <HexEdit>
                   <Offset>374</Offset>
                   <Data>02</Data>
               </HexEdit>
           </Changes>
       </ResFile>
   </ChangedFiles>
</XComMod>

 

 

Edited by twinj
Link to comment
Share on other sites

Because women were tougher in the 90's.

:) Wonderful! Going to test it.

 

Edit: Oh, have to wait for new version of XCMM first.

Edited by Drakous79
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...