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

Reply
 
Thread Tools Display Modes
Old 05-25-10, 09:59 AM   #301
Shiplord
Helmsman
 
Join Date: Jan 2002
Posts: 109
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by rascal101 View Post
Anyway - My problem is a sudden crash to desk top - no warning the game literally just dissappears - it doesnt seem to be influenced by prximity to land - for instance at the moment I'm cruising off the North West Coast of Scotland above Ireland coming down to the approach to the UK home port - I get a bit over half way between Scotland and Northern Ireland and suddenly - no game -
As I have said it already here:
http://www.subsim.com/radioroom/show...&postcount=250
the crashes with this mod is based on the sluttish created color map( climatezones.tga) in this mod



The red RGB value of a region must match with the specified Color?? value in the file ClimateZones.cfg

these values are OK
RGB: 40,0,0 = Color40=Polar_AClimateNorthern
RGB: 60,0,0 = Color60=TemperateClimateNorthern

but
RGB: 48,0,0 = no Color48 entry in ClimateZones.cfg
RGB: 55,0,0 = no Color55 entry in ClimateZones.cfg

game crashes to desktop when moving from a existing climate zone into a non-existing climate zone
Shiplord is offline   Reply With Quote
Old 05-25-10, 11:23 AM   #302
MattDizzle
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by W_clear View Post
you use MOD too much, so easily collapse. Between the MOD and the MOD will be a collision。The correct way is: you like MODs into a large MOD ,Try do it.
Start combine mod with other mod polishers to form fantastic mod. Community no like features stolen in reference to deploying one mod rather than other mod.
  Reply With Quote
Old 05-25-10, 11:34 AM   #303
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 876
Uploads: 23


Default

Quote:
Originally Posted by Shiplord View Post
As I have said it already here:
http://www.subsim.com/radioroom/show...&postcount=250
the crashes with this mod is based on the sluttish created color map( climatezones.tga) in this mod



The red RGB value of a region must match with the specified Color?? value in the file ClimateZones.cfg

these values are OK
RGB: 40,0,0 = Color40=Polar_AClimateNorthern
RGB: 60,0,0 = Color60=TemperateClimateNorthern

but
RGB: 48,0,0 = no Color48 entry in ClimateZones.cfg
RGB: 55,0,0 = no Color55 entry in ClimateZones.cfg

game crashes to desktop when moving from a existing climate zone into a non-existing climate zone
Is there a ClimateZones.cfg that corrects this issue?

I have CTD often when I am traveling long distances and it may be related to the issue you are describing. I may be migrating from one climate zone to another when these CTD take place.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 05-25-10, 11:43 AM   #304
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

First of all, what W_clear was saying, is take the files from the fix and put them into the proper place in Environmental Mod 2.0. Don't JSGME both of them, makes for too much clutter.

Second of all, you might want to delete the fogdistances.cfg file from the mod, or replace it with the one from Env1.2.

If you do this, you should be ok(key word: should). I did this and have stopped getting the CTDs. However, I have only been testing in the Mediterranean. Hope this helps some people.

Edit: Shiplord, are you sure that you are using W_clear's latest ClimateZones.tga
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-25-10, 12:24 PM   #305
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by SteelViking View Post
Edit: Shiplord, are you sure that you are using W_clear's latest ClimateZones.tga
I just downloaded the mod and the included ClimateZones.tga file has all sorts of unreferenced color values. Especially near coastlines.
__________________

kylania is offline   Reply With Quote
Old 05-25-10, 12:29 PM   #306
Sub Commander
Mate
 
Join Date: Jul 2009
Location: the Netherlands
Posts: 55
Downloads: 53
Uploads: 0
Default

So I download 1.0 first then 2.0 and then 2.1 and i put 2.0 over 1.0 and 2.1 over 2.0, how exactly?
Sub Commander is offline   Reply With Quote
Old 05-25-10, 12:57 PM   #307
Shiplord
Helmsman
 
Join Date: Jan 2002
Posts: 109
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by SteelViking View Post
Edit: Shiplord, are you sure that you are using W_clear's latest ClimateZones.tga
yes, it's from the 2.1 fix

here is a comparison of 2.0 and 2.1, only the Mediterranean region and the area east of Denmark (Kattegat) was changed, all other areas of the world still have the errors of non existing color values for coastal seas in the cfg. I think it's a wrong use of the color fill function in Photoshop, anti-alias and tolerance are not set correctly and therefore the colors smoothes with others while filling a region
Shiplord is offline   Reply With Quote
Old 05-25-10, 12:59 PM   #308
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by kylania View Post
I just downloaded the mod and the included ClimateZones.tga file has all sorts of unreferenced color values. Especially near coastlines.
Ok, I stand corrected. I just must not be heading into any of the bugged areas.

It would take a lot of work to redo the whole file to not have ANY incorrect references.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-25-10, 01:08 PM   #309
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by SteelViking View Post
Ok, I stand corrected. I just must not be heading into any of the bugged areas.

It would take a lot of work to redo the whole file to not have ANY incorrect references.
Can you add in additional color references to the cfg file instead? You'd still need to get a list of the colors on the new map, but might be easier than a pixel by pixel adjustment of the map image.
__________________

kylania is offline   Reply With Quote
Old 05-25-10, 01:14 PM   #310
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by kylania View Post
Can you add in additional color references to the cfg file instead? You'd still need to get a list of the colors on the new map, but might be easier than a pixel by pixel adjustment of the map image.
Aha, W_clear added several to the cfg, so I don't see why more couldn't be added. That would be easier, as long as there are not too many different colors going on. I will look into it, but someone with more modding experience than me should really look into it.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-25-10, 01:17 PM   #311
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Been talking to a Photoshop pro of mine trying to find the easist way of getting all the color values in an image. Might be easier to do it via hex editor-y-ish or that compare program maybe?
__________________

kylania is offline   Reply With Quote
Old 05-25-10, 01:24 PM   #312
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

I have another idea, GIMP the open source image editor, has a tool that you can select all areas of an image that have the same color, and they can then be edited all at once. If we just nail down all the unreferenced colors, it would be a snap to simply "select all" and fill with a referenced color. Still some serious work but easier than any idea so far I think.

Don't know much about hex editor, and if you are talking about Win Merge, the file comparer/combiner, it only works for text files I am pretty sure.

Edit: Or do you mean what Shiplord was using, because I think that is just in photoshop is it not?
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-25-10, 01:37 PM   #313
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Actually, with PS, it's pretty simple to just select each color range, swap to default, then paint over the other one and so on. 41-49 = 40 so far.
__________________

kylania is offline   Reply With Quote
Old 05-25-10, 01:53 PM   #314
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Kylania, are you working on retouching the map, because I have been furiously going about trying it with my idea, I think I have about 90% of the errors removed. Would anyone be interested in testing this for me. I don't have any downloading site accounts so it will have to be through email.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-25-10, 01:57 PM   #315
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Sure, all I've done was like 9 colors before being sidetracked by "work", silly work.
__________________

kylania is offline   Reply With Quote
Reply


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 01:31 PM.


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