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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-27-07, 10:01 PM   #1
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default File with copy of SH4 world (PTO) map?

I'm sure this must be around somewhere, but I couldn't find it so I'm hoping someone can save me some time and point me to it. I'm looking for a soft copy of the map that SH4 uses for the PTO - I'd like to replicate what I did with SH3 and make a map with my skippers' ship sinkings (like the one below):



But, I need a .bmp or .tga or similarly usable file copy of the SH4 map (that I can open with Paintshop Pro) to make this work - can anybody help by telling me where I can find such a map? Since there are no patrol grids to worry about, I suppose in a pinch I could use some other PTO map I might find out on the web, but I figured it would make more sense to use the SH4 map if I could find it.
__________________
panthercules is offline   Reply With Quote
Old 06-29-07, 03:20 PM   #2
OCeallaigh
Swabbie
 
Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
Default

Hi, as far as I can see the map is a greyscale .raw image contained in data/terrain/maps with the image dimensions as the file name. If you're using psp just open the file and input the dimensions and it should come out ok. The actual pallete used by the game is data/terrain/pal/gradient.tga, the colours in here are applied to the raw file to produce the map you see ingame. It should be easy to convert it to a pallete and apply it to the actual map and get the image you want.
OCeallaigh is offline   Reply With Quote
Old 06-29-07, 06:42 PM   #3
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Thanks - looks like you're probably right. Unfortunately, I have had no luck figuring out how to get PSP (using ver. 7) to convert the gradient.tga file into a palette file or to apply the colors to the grayscale map

Any suggestions? Otherwise, I guess I'll just start looking for some general PTO maps out there somewhere to use. I'm not in a huge hurry - I've only sunk 2 ships so far in my first 2 patrols and just starting my third, so it's not like it's going to take me very long to put the markers on the map at this point
__________________
panthercules is offline   Reply With Quote
Old 06-29-07, 09:20 PM   #4
OCeallaigh
Swabbie
 
Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
Default

No sorry, only way I know how to do it would be to edit the palette by hand. Wouldnt take that long theres only 6 colours, first three rows of the palette are water, rest is land.
OCeallaigh is offline   Reply With Quote
Old 06-29-07, 10:32 PM   #5
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Well, PSP is telling me that there are 249 unique colors in the grayscale map, but only 6 (as you indicate above) in the gradient/color file. I don't know enough about how PSP works to figure out how to apply those 6 colors to the 249-shades of gray and make the map colored. Guess I'll just grab another PTO map somewhere, if I can find one. Thanks for trying to help
__________________
panthercules is offline   Reply With Quote
Old 06-30-07, 12:02 AM   #6
OCeallaigh
Swabbie
 
Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
Default

The only way I can figure out is to save the six colours to the custom colours in the colour picker and then manually apply the colours to the palette of the .raw image using the edit palette option under the colour menu, bit slow but it works.

Incidently a quick floodfil with a gradient on gradient.tga improves the ingame map somewhat, bit strange the developers chose to make the land all the same colour despite the height data being present. Whole terain folder looks fairly messy at a quick glance, every name on the map is a 1024* dxt5 texture which use 4mb of memory each, bit wasteful imho.
OCeallaigh 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 04:38 AM.


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