![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
![]()
Playing around with that new, lightweight parser that might be used for SHIV, I had an interesting idea:
What would happen if there was an external tool to reduce the campaign layers by removing all units that are outside the time period and geographical zone of the patrol? I'd guess you would end up with .mis files of only about 5-10 % the size of the complete ones, that I am sure of. Now the question I ask myself are: Would this increase loading times significantly, or is the time used up for something else? And what would happen if the player loaded up a savegame .. would it be possible to manage the new campaign layers so that it would not cause problems on the users side?? This is basically a question to anybody with some experience with the campaign files. I just thought that theoretically it could be the starting point for a drastic reduction in loading times, the biggest problem I have with SHIII. GE
__________________
|
![]() |
![]() |
![]() |
#2 |
Grey Wolf
![]() Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
|
![]()
When I'm testing mods I use a set of clear campaign layers, the game loads a mission in about 20", compared to the 3/4 minutes with the full layers.
Ref |
![]() |
![]() |
![]() |
#3 |
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
![]()
Hi ref, 20 seconds vs 45 seconds or 20 sec vs 3-4 minutes??
And you mean you removed everything but the header and the game still loads?? I might try that to get an idea.
__________________
|
![]() |
![]() |
![]() |
#4 |
Grey Wolf
![]() Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
|
![]()
20 sec Vs. 3/4 minutes.
Just open the mission editor and save as rnd/lnd/scr without adding anything, even campaign (didn't test it on purpouse, just forgot to disable them) starts at coords 0,0 of the map. Ref |
![]() |
![]() |
![]() |
#5 |
Rear Admiral
![]() |
![]()
You can strip the RND and SCR layers totally devoid of anything and it will still load.
Personllay ive always thought (and i could be wrong) that, graphics aside; load time is a mix of number of units the game is loading (IE the sea and air directories) , plus the size of the RND/SCR layers. |
![]() |
![]() |
![]() |
#7 | |
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
![]() Quote:
Now what I am suggestion is not as mod, but a program that you configure like: Start: Month/Year End: Month/Year TOO: <area> The program would the read all campaign files, discard all units outside the specs and write the reduced layer back into new files. That would not be difficult, at least now with the kind of libraries I am using / developing. But! I see lots of problems with loading of previous savegames. I have not done any testing of the implications and that's what I hope to find out through this thread: a) Do the units in a campaign layer have to be in sequential order for SHIII to load? b) If not, and if the index of a unit / group has changed in between save/load, will SHIII then crash because it cannot resolve the references? c) will the reduction of the layers lead to a significant speedup of loading / that does justify such a program? (feedback so far indicates this might be the case) Would anybody have an interest in such a program? I am not saying I will do it, but I can provide a c# library that does most of the work already (it makes parsing and writing the .mis files a breeze and is very fast). GE
__________________
|
|
![]() |
![]() |
![]() |
#8 |
Rear Admiral
![]() Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
|
![]()
Yeah your right Duce
Try removing the campaign files AND the Sea and Roster files I have a light set of files I enable through JSGME that only has The German roster folder and that only has subs in The sea and Air folders are empty and so are the Scr and Rnd I leave the LND as thats what I am usually testing with that set up My comp is old and slow but that set up flies in Makes port set up a breeze |
![]() |
![]() |
![]() |
#9 |
Sea Lord
![]() Join Date: Mar 2005
Location: Grid CH 26, Spain ,Barcelona
Posts: 1,857
Downloads: 204
Uploads: 0
|
![]()
Academy missions load very fast compared with Single and campaign.
i was thinking delete some unvisited world areas like pacific, india, south africa.. and focus in atlantic, caribbean and med
__________________
But this ship can't sink!... She is made of iron, sir. I assure you, she can. and she will. It is a mathematical certainty. Strength and honor |
![]() |
![]() |
![]() |
|
|