Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4   Go Down

Author Topic: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)  (Read 15309 times)

0 Members and 1 Guest are viewing this topic.

sniperton

  • member
  • Offline Offline
  • Posts: 1228

CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)

v1.0
v1.1 -- updated + hotfix

Changelog v1.1b
--- new weapons file added as a hotfix (fixes a bug that caused a pink plane issue)

Changelog v1.1
 ---- fixed FW190G1 duplicate loadouts
 ---- fixed ME262A2NJ duplicate loadouts
 ---- fixed compatibility problem in TB3 loadouts (i.e. no need for Config-TORP JSGMEMOD any more)
 ---- fixed IL4-DB3T missing hooks in class file
 ---- added classes for B-17F and PBN-1 with new hooks by DreamK to fix compatibility between mines and torps mods in WAW.
 ---- fixed several small errors in cod files which were affecting empty loadouts and some non-empty loadouts (e.g. 1xTorpedo_45_36_AV_A for IL4-DB3T)
 ---- added missing sounds and presets for PWS-26 which was causing game to hang when this aircraft was selected.
 ---- now all loadout data in weapons.properties is based on internal game data

Why this mod, and what is it good for?
First, you don’t need this mod if you don’t use DCG. Some planes in WAW do not comply with naming conventions established by the stock game and which DCG is expecting. These irregularities make DCG hang or let you create missions with lonely pink planes going on a sightseeing tour. One out of ten planes in WAW is affected in this way or another. This mod makes WAW fully compatible with DCG on the price that non-DCG missions which use any planes affected by this mod (ca. 110 planes) might be broken while this mod is enabled.

What does this mod do?
The mod comes with a newly generated weapons.properties file (for the first time covering WAW’s full content) and ~120 class files adjusted to the effect that
– now we have all the planes with both a “default” and a “none” loadout (missing loadouts were added);
– now we have all the planes with standardized “default” and “none” loadouts (the Uppercase/lowercase problem was solved and irregular entries such as “empty” or “Empty” were converted to standardized ones);
– now we have all the planes with loadouts compatible with Il-2’s native format for localized content (removed were the spaces that formerly prevented Il-2 from using them properly);
– some weapons were absent from CUP-WAW#20 which prevented several planes from using their full loadouts; hopefully these will be integrated into an official WAW update.
- fixed some compatibility issues between weapons mods within WAW.

We estimate that there have been at least 3000 changes to the weapons.properties file that came with WAW (including the addition of nearly one thousand loadout configurations not available before). The new weapons.properties is >99.9% generated from game data and the final few tricky exceptions were handled manually. This means that we feel confident that a newly installed WAW20 with this mod added will be completely compatible with DCG in terms of armaments.

For a full list of changes please refer to our report file attached to the mod.

Download (v1.1 + hotfix)
https://www.mediafire.com/download/guv2u5nqpubac3a/%23WAW_DCG_compatibility_mod_v1.1.zip

Hotfix only (if you don't want to re-download the whole package):
https://www.mediafire.com/download/bsviem6nh97bgzc/%23WAW_DCG_compatibility_mod_v1.1b.zip

Installation and activation
[0. disable and delete the v1.0 folder if you already have one]
1. copy the <#WAW_DCG_compatibility_mod_v1.1> folder to the JSGMEMODS folder in your CUP-WAW#20 installation;
2. overwrite it with the hotfix;
3. activate through JSGME.exe.

The new weapons.properties file
The original weapons.properties file included in WAW is neither complete, nor accurate. So first we analysed WAW’s class files and fixed several problems as outlined above. Then we extracted all relevant data and generated a new file with only the localized names taken from the old weapons file. The new file has all the planes available in WAW#20 with all their payload configurations. Loadouts not previously included are marked with an initial “$” sign in their localized name.
We’ve found several planes in the class files which are not to be found in WAW#20’s air.ini (and are not available in-game as a consequence). We included them for reference (marked as “# NoAirIni ...”), commenting out those which would surely conflict with existing types. Yet it's safer not to enable the rest either, since they may have been left out on purpose.

Disclaimer and recommendations
All class, cod and 3do files included were created by others. Moezilla and sniperton claim no credit for their creation but only their modification for the purposes of compatibility with the third-party software, Paul Lowengrin's DCG. This mod was designed to be used primarily (but not exclusively) in conjunction with sniperton’s Data Integrity Tool for DCG, which is released separately (https://www.sas1946.com/main/index.php/topic,51325.0.html) and which makes full use of the new weapons.properties file, also enabling you to import data from it to DCG.
If you have edited your CUP-WAW#20 installation with newer mod planes, then those planes will not be available in DCG without further editing of the weapons file included in this mod. If you should find a bug or strange behaviour then contact the authors through the SAS forum.

Credits
1C:Maddox for creating Il-2 Sturmovik;
All modders and the www.sas1946.com community for keeping up the good work;
Paul Lowengrin for creating and maintaining DCG (http://forum.jg1.org/forum/8-lowengrins-dynamic-campaign-generators-dcg-for-il-2-cfs2/);

Authors
sniperton: original idea, parsing java files for irregularities (with special thanks to Moezilla for his guidance), weapons.properties creation;
Moezilla: java and cod editing, re-compiling and re-hashing, project maintenance.
Logged

sniperton

  • member
  • Offline Offline
  • Posts: 1228
Notes for DIT users
« Reply #1 on: May 12, 2016, 07:51:49 AM »

DIT users are kindly requested to
1) install and enable v1.1 (while uninstalling and/or disabling v1.0);
2) re-run DIT with unchanged parameters;
3) notice that they lost a few loadouts;
4) be happy about these losses as those loadouts were wrong and would have made DCG hang;
5) be happy about the dozens of new loadouts made newly available to them.
Logged

JG7_X_Man

  • Missioneer
  • member
  • Offline Offline
  • Posts: 277
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #2 on: May 13, 2016, 05:00:48 PM »

Great job guys! Downloading now!
Logged

JG7_X_Man

  • Missioneer
  • member
  • Offline Offline
  • Posts: 277
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #3 on: May 15, 2016, 06:55:12 PM »

Sniperton - Very clever way to solve our DCG problem.

I am touching every aircraft in my air.ini when I got to the Spitfire MkVb Trop, 1941. The weapons.properties has SpitfireMkVbT but the air.ini has SpitfireMkVbTrop. Making the change in the weapons.properties fixed the mismatch.
Logged

sniperton

  • member
  • Offline Offline
  • Posts: 1228
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #4 on: May 16, 2016, 03:24:11 PM »

Very clever way to solve our DCG problem.

Unfortunately, not fully solved yet. My statistical guess is that appr. 2 percent of the loadouts and loadout assignments are still unsafe to use. Although we worked from the class files, they turned out to be not always reliable. Moe is digging deep in WAW to fix the problem.

To resolve all DCG-related problems you have to resolve several other problems not related to DCG. The upcoming v1.1 could be named 'WAW#20 Self-Compatibility Patch' as well...  :D
Logged

JG7_X_Man

  • Missioneer
  • member
  • Offline Offline
  • Posts: 277
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #5 on: May 18, 2016, 11:57:49 AM »

Totally excited!
Logged

Vortex

  • member
  • Offline Offline
  • Posts: 49
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #6 on: May 18, 2016, 03:11:06 PM »

Very very nice. Good job! Waiting for years for something like this!
Logged

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #7 on: May 18, 2016, 03:57:54 PM »

Agree. This will add a lot of stability to DCG campaigns.
Logged

JG7_X_Man

  • Missioneer
  • member
  • Offline Offline
  • Posts: 277
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #8 on: May 19, 2016, 11:53:53 AM »

...Unfortunately, not fully solved yet. My statistical guess is that appr. 2 percent of the loadouts and loadout assignments are still unsafe to use.

I just found that out :)

Which is OK because of the way IL-2 was designed. Zip the folder as a backup, then a simple extract into a location of choice and the game is up and running again. Like it was build on a linux platform. I do love it so!
Logged

sniperton

  • member
  • Offline Offline
  • Posts: 1228
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #9 on: May 24, 2016, 05:52:38 PM »

* updated *
Logged

JG7_X_Man

  • Missioneer
  • member
  • Offline Offline
  • Posts: 277
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #10 on: May 24, 2016, 06:31:37 PM »

Outstanding! :)

What I really really really love about your IL-2 Data Integrity Tool for DCG is the fact that you only have to map a weapon set once and it copies the selection to all other aircraft with the same load-out automatically GREAT FORESIGHT!!! ;)
Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 926
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: CUP-WAW#20 Compatibility Mod for DCG (by Moezilla and sniperton)
« Reply #11 on: June 01, 2016, 11:13:07 AM »

Excellent team work Moezilla and sniperton!

Thank you very much for this CUP version and also for the VPMod version!  :)
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!
Pages: [1] 2 3 4   Go Up
 

Page created in 0.033 seconds with 24 queries.