Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

RAW File Viewer

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
btaft



Joined: 15 Apr 2005
Posts: 151

PostPosted: Wed Aug 03, 2005 6:23 am    Post subject: RAW File Viewer Reply with quote

What would be a decent program for opening and editing RAW files in SH3. Any help is appreciated.

Thanks,

BT
Back to top
View user's profile Send private message
Canaris



Joined: 10 May 2005
Posts: 29

PostPosted: Wed Aug 03, 2005 11:25 am    Post subject: Reply with quote

Maybe you can use your paintprogram. But you have to know the specs of that rawfile, because their is no header that contains imageinformation.


MfG
Canaris[/img]
Back to top
View user's profile Send private message
btaft



Joined: 15 Apr 2005
Posts: 151

PostPosted: Wed Aug 03, 2005 2:49 pm    Post subject: Reply with quote

Bump,

Isn't there anyone that does graphic work for these mods know of a recommended program. Any help is appreciated.

Thanks,

BT
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Wed Aug 03, 2005 5:08 pm    Post subject: Reply with quote

Paint Shop Pro will open them. You must supply the width, height, and color (RGB) format information.

TT
Back to top
View user's profile Send private message Send e-mail Visit poster's website
btaft



Joined: 15 Apr 2005
Posts: 151

PostPosted: Wed Aug 03, 2005 7:29 pm    Post subject: Reply with quote

Thanks
Back to top
View user's profile Send private message
oRGy



Joined: 21 Apr 2005
Posts: 644

PostPosted: Thu Aug 04, 2005 5:13 am    Post subject: Reply with quote

Uh, one second Canaris. What is that image you posted?
Back to top
View user's profile Send private message Send e-mail
Canaris



Joined: 10 May 2005
Posts: 29

PostPosted: Thu Aug 04, 2005 5:58 am    Post subject: Reply with quote

That is 21600_10800.raw from SH3/data/Terrain/Maps/Maps2 folder.
btaft, Its opend with Paint Shop Pro. Wink

MfG
Canaris
Back to top
View user's profile Send private message
btaft



Joined: 15 Apr 2005
Posts: 151

PostPosted: Thu Aug 04, 2005 6:27 am    Post subject: Reply with quote

Thanks again. Looks like I will be getting Paint Shop Pro. Does it have good editing tools?
Back to top
View user's profile Send private message
oRGy



Joined: 21 Apr 2005
Posts: 644

PostPosted: Thu Aug 04, 2005 7:19 am    Post subject: Reply with quote

Canaris;

It is my suspicion that that file is the heightmap information for the terrain engine. Can you confirm this? If true, this is a great find at it means that the game reads terrain info from a moddable file. This means we can do the following:

1) Create the Kiel Canal

2) Get rid of the Churchill Barriers in Scapa Flow, for the early war period at least, thus enabling a proper recreation of Priens incursion

3) Change the coastline of the Netherlands to what it was in the 1940's

They're the ones of the top of my head. I suspect you could even integrate those changes with SH3 commander so the churchill barriers would be up by late war, or the flooding of parts of the Netherlands when the Germans were retreating could be simulated.
Back to top
View user's profile Send private message Send e-mail
btaft



Joined: 15 Apr 2005
Posts: 151

PostPosted: Thu Aug 04, 2005 7:59 am    Post subject: Reply with quote

Quote:
It is my suspicion that that file is the heightmap information for the terrain engine. Can you confirm this? If true, this is a great find at it means that the game reads terrain info from a moddable file. This means we can do the following:


This is an interesting thought, though I suspect the height data is in a data file. My suspicion about this file was that it was purely a graphic file over which different shades were overlayed depending if it was land or water.

I was hoping to use it in order to place a couple of bathymetric contours based on the height data used. But if it is the other way around then looks like you will be able to do some interesting things.
Back to top
View user's profile Send private message
Seeadler



Joined: 14 Mar 2001
Posts: 1992
Location: Germany

PostPosted: Thu Aug 04, 2005 11:19 am    Post subject: Reply with quote

oRGy wrote:
Canaris;
It is my suspicion that that file is the heightmap information for the terrain engine.

Yes but only for certain zoom-levels on the F5 map!

Levels 40000,20000,10000 meters per pixel use 4320_2160.raw
Levels 4000,2000,1000,500 meters per pixel use 21600_10800.raw

Levels 200,100,50,20,10,5,2,1 meters per pixel use tiles from this hightmap which are stored in run-length encoded files. To edit them you need the algorithm the dev's use to RLE encode them.

For example, you can cut off England with PaitShopPro or Photoshop from the two RAW files. In the higher zoom levels on the map, England is gone but if you zoom in, the land is still there until you also edit the tile files.

But this is only for the F5 map, if you want edit the 3D geo data you must edit the tiles stored in TerrainData.BFD ( the 240 MB file ). To do this you need also the algorithm the dev's used to store the data.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group