SUBSIM Radio Room Forums
Frau kaleun shops here, how about you?
Want to support Subsim and make Amazon pay for it? Click here to start any Amazon shopping.


SUBSIM: The Web's #1 BBS for all submarine and naval simulations!

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-24-2008, 10:18 AM   #1
Dietrich
Sparky
 
Join Date: Jul 2006
Posts: 158
Downloads: 0
Uploads: 0
Default Help needed on non-distorted menu background

I'm trying to put a new background onto one of the menus in SH3 (data\Menu\Net\Session.tga). As there is some text on this background, I've noticed that this particular screen has been scaled. Note that I am using GWX-2.1 as a base, here.

To give you an example, here is a small fragment of the screen as it appears in my graphics editor, and then as it appears if I capture it as a screenshot from the game:



Note how the text on the right is slightly distorted? Well, I know why that is... it is because of the entry in the data\Menu\menu_1024_768.ini file. In particular, the entry is:

Code:
[G29 I23]
Name=Background
Type=1030;Static bmp
ItemID=0x290000FF
ParentID=0x29000000
Pos=0,768,1024,768
Materials=1
Display=2
Mat 0=data/menu/net/session.tga
MatFlags=0x1
TexFmt=0x9
Now, I've gone and checked the documentation on this (Reference = http://www.subsim.com/radioroom/showthread.php?t=111832) and the "Display=2" seems to be the problem. This seems to be a stretching option, and by having it set this way, the image is distorted slightly as the game attempts to rescale it.

So, I then tried setting it to "Display=0", which is the "no stretch" option. However, this causes a rather bizarre effect... the background then only occupies the top part of the screen. It is as if it is being squeezed to only use up the top portion of the screen, and the bottom half is left black. It is almost as if the graphic should somehow be normalised to 1024x1024 or something.

I've tried looking for another full screen graphic that has "Display=0", but they are all either small or are stretched.

Can anyone help, or even suggest something I might be able to try?

Many thanks!
Dietrich is offline   Reply With Quote
 

Thread Tools
Display Modes

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 08:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 1997- 2013 Subsim