SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-29-16, 11:36 PM   #11
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.