Author Topic:  Project Campaign Merging  (Read 167 times)

14 Mar 17

Read 167 times

Offline RizZen

  • Members
  • Rookie
  • *

Hello dear (almost vanished) no guts no galaxy mech commander fans!

Two weeks ago I found this old game and started playing again. After finishing the first two campaigns

Original (30 missions)
Desperate Measures (12 missions)

I downloaded the Bengal, X-Ray, exodus ... 3 major campaigns made by users with all in all 100 more missions to play.

The real bad thing for me was that you couldn't take over your team to the expansion after finishing original campaign.

I started to try doing it myself manually and failed handling with *.sav/*.pkk files at the beginning but then found your database and some information about a user called cmunsta. I downloaded his tools, found some other sites like Github and started to play with the gamefiles. First I learned how to get your team through all campaigns by hacking the start0.pkk files at campaigns beginnings.

But it wasn't enough to me. It is no pleasure to build new starting files after some missions.

So I decided to do what never has been done or finished before, merging all campaigns made by users in one major campaign.

To be faster I splitted to two campaigns I'm building:

1. The overwriting "original game" campaign including: original + all three available user campaigns (~80-100) missions playable in ONE major campaign.

2. The overwriting "expansion game" campaign including: desperate measures + three other expansion campaigns by users (~40-50) missions to play as one campaign.

So atleast it will also be possible to take your final team at the end of the first major campaign to the expansion but won't make much sense cause with this amount of missions you can see it playing two different stories then with two different starting conditions.

The biggest problem for me at the moment is how to get each data/terrain/ file extracted out of the mod campaigns .fst files.

So if anyone wants to help and knows more about extracting ALL files of a .fst tell me how it can be done. At the moment this is my only problem cause to load mission files with an editor I need to have the individual files for each mission which actually I can not extract.

At the moment I have a campaign with 9 original and 9 mod campaign missions working but to do more I need help in extracting or recreating the files.
« Last Edit: 14 Mar 17 by RizZen »

14 Mar 17

Reply #1

Offline slickrcbd

  • Rookie
  • *

This thread might help

As might this link

Could you post some links to where you got the custom solo maps? I think I accidentally deleted any maps I downloaded and a lot of links I'm finding are broken.

15 Mar 17

Reply #2

Offline RizZen

  • Members
  • Rookie
  • *

Yeah thank you but I've already got all valuable information of all threads of this forum including all extracted data. What I need to know is how to extract two files with the same name out of a *.fst:

data/missions -> individual
data/terrain -> individual terrain

Fstextract only extracts the first file it finds and it's always the from mission folder. The mission fit of terrain it doesn't extract cause fstextract refuses to take any paths to sub folders...

To your question: all regular mission files you can find in the extracted data from what you gave me above. All regular missions are saved in mission.fst file in root folder. Extracted files from ur download including all regular missions in it.

What was harder was to find out which files actually belong to what mission cause the developers didn't had a straight naming procedure... so u need to find out urself what files u need to have a complete regular mission. I already have mission 1-10 separated and can change them successful on own delight.

Hope it helps.

Edit: I try to explain easy how missions work on mech commander:

Each mission contains several files in sub directories. These files are compressed in *.fst (familiar to zip/7z compressed) files. The mission.fst & terrain.fst files in your game root directory including all files from a mission.

In fst files the files are stored like a library with sub directories. To change game you need these:

\MCXgamefolder\ all .fst files game contains
\MCXgamefolder\data\missions (all mission data files)
MCXgamefolder\data\missions\warriors (mission brain files and warriors)
\MCXgamefolder\data\terrain (mission map files)

Each mission should contain these files:

Mission.fst files:

data\missions\ (for solo "campaign" mission)
data\missions\map1.txt (briefing text)
data\missions\ (only if campaign mission)

Warrior/brain files

Terrain.fst files:

You see to have successfully implemented campaign mission you need minimum 19 files containing all data mission uses to run with its individual map and mission objectives.

If you use original campaign missions it's very simple to extract and separate these missions. Hard is to relink them after changing file names cause missions are linked to the other mission files. When you rename you need to replace these links in the mission data files in order to run it later. And it's important to know that original missions contain more files than these above cause they are scripted and some changes the developers did you can't implement with game editor.

If you use the game editor to work on original missions you need to keep in mind that all units on the map are scripted manually by the developers or with another program than editor or extender. The editor just can open the original maps but it won't show you the mission data like objectives and no units will be placed.

These are scripted missions and the units and objectives are to find in abl files.
In order to edit these without recreating whole mission data manually you need to put in additional units manually instead.

What should be possible are map changes without touching mission data means you probably can add buildings and bridges without scripting.
« Last Edit: 15 Mar 17 by RizZen »

20 Mar 17

Reply #3

Offline RizZen

  • Members
  • Rookie
  • *


I have managed to merge

Mission 1 - RizZen Original
Mission 2-34 - Xenocide & Exodus User Campaigns in mixed order.

in one campaign overriding the original campaign.

All in all this means I managed to create an independent 34 missions campaign with missions of before three different campaigns in a single one.

Now I needed to add some purchase files and making changes in files. And now this is the first usermade campaign working standalone with this mission count.

Harder willbe to add X-Ray campaign cause X-Ray is way different then the other two available user campaigns. But I won't give up on that.

The "new mission order" will mix the missions of existing campaigns in a way that orirignal mission order of each campaign related to operation numbers will stay the same.

So it won't be like you play f.e.

Mission 1 original
Mission 10 exodus
Mission 8 xenocide

It will be more like:

Playing first mission 1-5 of original campaign
followed by
Mission 1 xenocide
Mission 2 xenocide
Mission 1 exodus
Mission 2 exodus
Mission 3 xenocide
Mission 3 exodus
Mission 6-10 original
And so on.

So you can build up a good functioning mech crew by playing the early missions first and at the end the hardest ending missions.

At the moment my campaign merge contains 34 working missions but I try to enlarge by adding the missing 29 original missions from now and finding a way to work with 26 X-ray campaign missions means could be 89 missions in a single campaign if it is done.

21 Mar 17

Reply #4

Offline SeanLang

  • NGNG Founder
  • Legendary
  • *

Interesting indeed...

Only major issue I see with this is logistics, which assets are available to the player. There might have to be some adjustments made, but regardless very cool!

I always wanted to play the original + expansion campaign together.

21 Mar 17

Reply #5

Offline RizZen

  • Members
  • Rookie
  • *

Well I will make some .rar files and will upload my work soon.

Yeah playing both campaigns as a one is also one of my tasks but due to the fact original contains more missions and that original files easy to include with other originals but expansion is another store/map data defined by planets.

It is definitely possible to switch that but it will cause errors I bet because some pilots exists twice and there maybe problem with game handling different planets and so on...

All in all it is a big amount of work.

If I can run 3 campaigns of the original similar soon I will merge expansion next. After that we can talk about merging expansion / original.

For now to play on expansion with same team it is also possible you just need to build a new start0.pkk containing warriors and mechs of your last savegame.

To do that you need cmunsta's tools in order to extract files of ur savegame and packing them in a new sol file which then just need to be packed with the master definition file of expansion campaign and it's initstore.

For the files I upload soon I will open a new download section.

Ur wishes for logistics: we talk about all that stuff when I have built a running campaign. In order to do it fast I will just do editing to get it work not to change gameplay or anything else. Purchase data will be same as vanilla but change from mission 31 on cause vanilla campaign has not more than 30 purchase files.


I could separate all user campaigns now:

Original Exodus - 16 missions
Original Bengal - 18 missions
Original X-Ray - 26 missions
Original MCG - 30 missions (mission data 3-30 missing needs to be manually rewritten)
90 missions if merged as original

Expansion Turncoat - 5 missions
Expansion Bengal - 12 missions
Expansion DSC - 12 missions
Expansion MCG - 12 missions (without mission data)
41 missions when merged as expansion

Unknown MechWarrior3 - ~30 missions
(With an expansion campaign file)
When I can integrate to expansion it could contain 71 missions.

So in the end there could be really two independent big campaigns on one game if it's successful ongoing like now.
« Last Edit: 21 Mar 17 by RizZen »

Yesterday at 04:41 PM

Reply #6

Offline RizZen

  • Members
  • Rookie
  • *

Campaign start

Mission 1 Reloaded

Basic mission


Mad Cat Gift in Mission 1, but u need luck to get it with tactics.
One of the early missions


As one of my fore posters said: some pics can show more than 1000 words.
« Last Edit: Yesterday at 04:49 PM by RizZen »