Jump to content

Compile a mod for publication


tsanford01

Recommended Posts

Hello All,

 

I have been playing around with the game a couple of months now and have made numerous changes to the .exe, xcomgame.upk and xcomstrategygame.upk to suit my taste and enjoy ability. I would now like to share those extensive changes with the community unfortunately I changed things on the fly and have no records to create patchers and such. Is there a way to compare the original files with mine and create the patch files....Man i would love to just zip my exe and upks but i know it is not allowed (.

 

Any help would be great. I think everyone would enjoy a fresh take on the game.

Link to comment
Share on other sites

You can extract the ini section from the .exe that you edited; publish it here in a spoiler tag, I can clean it up and package it as a patchable mod. You'll need to have a good description to share anything though, no one wants just "hey this is my game".

 

UPK tweaks are far tougher. You can make a binary diff with some automated tools, but I'm not sure if it will work. Generally you have to use this - http://forums.nexusmods.com/index.php?/topic/811448-mod-distributionautomation-program/page__st__90 - to do anything with these mods.

Link to comment
Share on other sites

You can do the following to compare UPK file changes.

 

1. Grab the original uncompressed UPK file. Rename it to the original name (ie. XComGame.upk).

 

2.. Open it in UE Explorer. Go to File > Exporting > Export Classes

 

3. Go to: (UE Explorer folder) \ Decompiled.

 

4. There you'll find a folder with the classes from the UPK file in text format. Rename the XComGame folder, containing the text files, to "Original XComGame".

 

5. Now grab the modified uncompressed UPK file. Rename it to the original name (ie. XComGame.upk).

 

6.. Open it in UE Explorer. Go to File > Exporting > Export Classes

 

7. Go to: (UE Explorer folder) \ Decompiled.

 

8. Rename the XComGame folder, containing the modified text files, to "Modified XComGame".

 

9. Download WinMerge (google it). Open the "Modified XComGame" and "Original XComGame" folders in WinMerge to see the differences of all files. WinMerge will tell you if there's a difference between two files. In such a case, you can double click that file and it will highlight the exact lines of code that are different.

Edited by BlackAlpha
Link to comment
Share on other sites

Thanks for the replies..I have no trouble figuring out what is changed, and I could use the modpatcher to replace the entire ini part. It is the hex edits to the UPKs that trouble me. I have custom trees, timers, etc. once i isolate the changes how do I make it user friendly for others to use?

 

BTW Blackalpha how is Xenonauts..been tempted to buy it myself

Link to comment
Share on other sites

Thanks for the replies..I have no trouble figuring out what is changed, and I could use the modpatcher to replace the entire ini part. It is the hex edits to the UPKs that trouble me. I have custom trees, timers, etc. once i isolate the changes how do I make it user friendly for others to use?

 

BTW Blackalpha how is Xenonauts..been tempted to buy it myself

 

See my previous post to find the edits you made. Unless you intend to create a program similar to the Toolboks, you will have to post it as a modders resource. In other words, you simply post the code and explain what you've modified and what the end result is.

 

Haven't actually played Xenonauts yet. A bug made it so I couldn't start the game. Fixed it yesterday, but today I swiched from XP to Windows 7 and I first plan to play the new Hitman game.

 

EDIT: Not exactly sure what your intention is, but you could of course simply release it as a mod.

Edited by BlackAlpha
Link to comment
Share on other sites

tsanford01: Xenonauts is miles ahead of XCOM 2012 in terms of gameplay. It's however much longer, much slower-paced, and, as of now, the alpha builds aren't very stable. But playable. The game is much grittier and more down-to-Earth, they even made it 1979.

So your guys don't even get Interceptor - in an instance of Newer Than They Think, Interceptor is just 10 years old, first ceramic plates were only used in the 1990s, and a simple Kevlar vest is state of the art for you.

 

Fixed it yesterday, but today I swiched from XP to Windows 7 and I first plan to play the new Hitman game.

Wow! You've outlasted me. And I thought I was the last power user to make the transition. I only made the switch this year because the new GTX680 cards wouldn't work on XP 64-bit, which is too much to sacrifice. Final switch, that is, I used to have 7 as secondary since '09, but went back to XP as primary after an annoying 3 months with the vistaspawn.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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