SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Environmental MOD for Silent Hunter 5 (https://www.subsim.com/radioroom/showthread.php?t=166178)

Shiplord 05-25-10 09:59 AM

Quote:

Originally Posted by rascal101 (Post 1402666)
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

http://s3.directupload.net/images/100525/x42pz7ip.png

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:timeout:

MattDizzle 05-25-10 11:23 AM

Quote:

Originally Posted by W_clear (Post 1402690)
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.

TheBeast 05-25-10 11:34 AM

Quote:

Originally Posted by Shiplord (Post 1402764)
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

http://s3.directupload.net/images/100525/x42pz7ip.png

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:timeout:

Is there a ClimateZones.cfg that corrects this issue?:06:

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.

SteelViking 05-25-10 11:43 AM

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.:salute:

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

kylania 05-25-10 12:24 PM

Quote:

Originally Posted by SteelViking (Post 1402837)
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.

Sub Commander 05-25-10 12:29 PM

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?

Shiplord 05-25-10 12:57 PM

Quote:

Originally Posted by SteelViking (Post 1402837)
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;)
http://s10.directupload.net/images/1...p/ph2rudm6.png

SteelViking 05-25-10 12:59 PM

Quote:

Originally Posted by kylania (Post 1402859)
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:hmmm:.

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

kylania 05-25-10 01:08 PM

Quote:

Originally Posted by SteelViking (Post 1402890)
Ok, I stand corrected. I just must not be heading into any of the bugged areas:hmmm:.

:damn: 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.

SteelViking 05-25-10 01:14 PM

Quote:

Originally Posted by kylania (Post 1402897)
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.

kylania 05-25-10 01:17 PM

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?

SteelViking 05-25-10 01:24 PM

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?

kylania 05-25-10 01:37 PM

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. :)

SteelViking 05-25-10 01:53 PM

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.

kylania 05-25-10 01:57 PM

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


All times are GMT -5. The time now is 05:30 AM.

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.