View Single Post
Old 11-29-16, 11:36 PM   #6457
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 876
Uploads: 23


gear Dead Weight

I just found something while poking around in the Campaign's.

There are MANY files that are identical duplicates (Common) in each Campaign like Harbors.mis for example.
I used WinMerge to verify that all these files were identical. (A lot of dead weight and not to mention keeping them in sync)

I edited my data\Campaigns\CampaignProjects\Total_Germany.pj file and made the following changes.

[Layer21]
LayerType=0
MissionName=..\Common\Harbors

[Layer22]
LayerType=0
MissionName=..\Common\ScriptedPortPlanes

Mission Editor 2 was able to successfully load those files for the total Total_Germany Campaign from the Common Campaign without any errors.

Using TDW_GenericPatcher_v_1_0_168_0 I have the option enbled to show all game messages and there were no error's while starting the game.

I started a new Career and the Buoy's and Scripted Planes were working in Total_Germany Campaign.

Removing all those Duplicated files would greatly reduce TWOS MOD size (disk space footprint) making it a faster download etc.

This is a easy change to all Campaign Project (.pj) files that can be tested/verified quickly.

-=[EDIT]=-
Here is some more info on a test I am running now.
 
I made a test MOD that installs/removes campaign files.
Alls the files REMOVED_ are changed in the Total_Germany.pj to be read from the Common Campaign folder and game is running fine.
TDW Validator reports 2 Campaign errors, One for Monsun_Gruppe and one for Turning_Point. These 2 empty Campaign folders were added by EMCCD Mod and not related to this test.
Test performed on Stock Campaign other then my changes for test and NewUIs_0_7_4_2

data\Campaigns\CampaignProjects\Total_Germany.pj
data\Campaigns\CampaignProjects\Common\Common.mis
data\Campaigns\CampaignProjects\Common\Harbors.mis
data\Campaigns\CampaignProjects\Common\ScriptedPor tPlanes.mis
data\Campaigns\CampaignProjects\Common\ScriptedPor tPlanes.tsr
data\Campaigns\CampaignProjects\Total_Germany\Camp aign.tsr
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_Airbases.mis
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_Common.mis
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_Convoys.mis
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_LocationNames.mis
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_Ocean_liners.mis
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_PoliticalTerritory1939.mis
data\Campaigns\CampaignProjects\Total_Germany\REMO VE_Taskforces.mis
data\Campaigns\CampaignProjects\Total_Germany\Tota l_Germany_OBJ.mis

Added Buoys, Graf Zepplin and Tub_Z required for Harbors.mis
Added the Me-262 and Go-229B required for ScriptedPortPlanes.mis


Regards!
TheBeast
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 11-30-16 at 03:32 AM. Reason: Add more followup information
TheBeast is offline   Reply With Quote