![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
The Old Man
![]() Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
|
![]()
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.
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Swabbie
![]() Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
|
![]()
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.
|
![]() |
![]() |
![]() |
#3 |
The Old Man
![]() Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
|
![]()
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 ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#4 |
Swabbie
![]() Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
|
![]()
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.
|
![]() |
![]() |
![]() |
#5 |
The Old Man
![]() Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
|
![]()
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
![]()
__________________
![]() |
![]() |
![]() |
![]() |
#6 |
Swabbie
![]() Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
|
![]()
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. |
![]() |
![]() |
![]() |
|
|