Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   FMB, Mission & Campaign builder Discussions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=203)
-   -   IL-2 Campaign Installer v1.0 (http://forum.fulqrumpublishing.com/showthread.php?t=23908)

TheEnlightenedFlorist 06-19-2011 06:41 AM

IL-2 Campaign Tool v1.1
 
2 Attachment(s)
Update: IL-2 Campaign Installer is now IL-2 Campaign Tool. Functionality has been added.

IL-2 Campaign installer is a piece of software that will install campaigns for you.

To install a campaign, first download and extract it to your hard drive. Open IL-2 Campaign Installer and select the directory containing the campaign by clicking on "Campaign". Next, tell the program where your Steam directory is by clicking on "Steam". Select the root Steam directory. Finally, click install and hope for the best.

Doing a "file integrity check" in Steam will make any installed campaigns disappear from the list. Use the backup function to bring them back. The program makes a backup every time a campaign is installed or uninstalled, or if you hit the button. Progress should be saved. ;)

Campaign builders: The installer assumes your "poster" image is named Poster.bmp and campaigns have been made correctly.

I haven't seen many campaigns floating around (and none in English). Hopefully this encourages more people to make campaigns. Please let me know if you find any bugs and if there are any features you would like to see (besides an uninstaller :grin:).

Update: An uninstaller has been added. I cannot guarantee correct uninstallation of campaigns not installed by this program. Added a function to backup and restore the campaigns.ini file. Also, renamed program to work around Microsoft's BS.

Update v1.1: The program will now attempt to find the Steam path on it's own. It may or may not work on XP (or even other Windows 7 installs), however, you can still manually select the path.

Airwarfare Link

Gamekeeper 06-19-2011 06:59 AM

Brilliant little tool, as Steam will wipe any installed campaigns when checking integrity of files a back up utility would be a good additional feature or even separate utility.

To help campaign builders out there can you tell us what files need to be in place for campaigns to install and work correctly?

TheEnlightenedFlorist 06-19-2011 07:29 AM

1 Attachment(s)
Quote:

Originally Posted by Gamekeeper (Post 299237)
To help campaign builders out there can you tell us what files need to be in place for campaigns to install and work correctly?

I don't make 'em, I just install 'em. ;)

Look here. Starting at #4.

It seems you need to create a file named Campaign.ini and put the order of the missions in it. Then you need to create a base mission called "Campaign" and make a briefing in a certain way. Also, a picture can be used for the Campaign menu.

I've attached the campaign I used while testing. Hopefully, along with the post I linked to, it will make things clearer.

Quote:

Originally Posted by Gamekeeper (Post 299237)
Steam will wipe any installed campaigns when checking integrity of files a back up utility would be a good additional feature or even separate utility.

If I remember correctly, Steam only overwrites the campaigns.ini file. The actual campaign data remains. What we really need is a second campaigns.ini file in addition to the original. That way campaigns can be easily added, but there is no risk of accidentally deleting the original campaigns and if it does happen, they can be restored using Steam.

von Pilsner 06-19-2011 08:01 PM

Great idea, hopefully soon there will be lots of (English language) campaigns to use it with. ;)

Thanks for putting this together.

TheEnlightenedFlorist 06-20-2011 05:43 AM

Updated: An uninstaller has been added. I cannot guarantee correct uninstallation of campaigns not installed by this program. Added a function to backup and restore the campaigns.ini file. Also, renamed program to work around Microsoft's BS.

As Airwarfare is currently down, I will update that link later.

Gamekeeper 06-20-2011 02:57 PM

We're back up now, our hosts had a power outage

Ataros 06-28-2011 09:43 AM

After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257

Quote:

Here is an example of how to make your campaign:
TstCampaign.rar http://www.sukhoi.ru/forum/attachmen...4&d=1309250431

put everything in the root of the game >> AddIns. Respectively, add tst.campaign.xml item containing menu path and the path to the campaign handler, which is to be located in 'parts' directory (the game scans all the xml in folder AddIns). In your mission folder will actually be the campaign files. In parts \ tst \ src \ Campaign - sources, TstMission.cs - base class for the mission, TstCampaign.cs - campaign handler. When working in the campaign "My Documents \ folder games \ mission" will create a folder "tst" in which ini file with campaign progress is located, and of all that is needed for the progress and statistics can be written there. Thus no need to change any source configs for your campaigns, Steam updates will not overwrite anything, and installers do not have to split hairs overwriting stuff.


TheEnlightenedFlorist 06-29-2011 06:16 AM

Quote:

Originally Posted by Ataros (Post 303300)
After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257

I wonder if there's a world record for least amount of time a piece of software was relevant. :lol:

dflion 07-04-2011 12:03 AM

Thanks for your help
 
Quote:

Originally Posted by Ataros (Post 303300)
After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257

Thanks 'Ataros' for this post and thanks 'TheEnlightenedFlorist' for all your efforts to get the campaigns working.

I have just been looking at the three Russian BOB campaigns in detail and they have done an excellent job. I am now busy converting my 'single mission' campaigns (Spitfire Dawn and JG26) to proper campaigns.

One thing I did notice, is that for some reason, when you finish a mission in the campaign, then come out of the simulator, when I came back to carry on with the next campaign mission, I had to start from scratch again, in two cases. At other times it went onto the next campaign mission ok.

Have you any thoughts about what is happening here?

DFLion

dflion 07-05-2011 12:36 PM

FMB programing question for Ataros
 
Quote:

Originally Posted by Ataros (Post 303300)
After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257

Do you have to manually create a .cs file, or if all the .msn file are put into a file structure within COD, does this action automatically create the campaign's .cs files?

I am not a 'programmer' but willing to learn. I know the .cs files activate the campaign mission's actions, triggers etc. Can you just put a 'copied' basic .cs file into the game structure to get the campaign activated. When I learn the programming language, I will alter them later?

DFLion


All times are GMT. The time now is 05:10 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.