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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-28-19, 12:46 PM   #3
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,294
Downloads: 184
Uploads: 7


Default

Quote:
Originally Posted by Olamagato View Post
I'm afraid that all textures in the game are loaded into RAM, both from the menu and from the actual game. I think so because copies of these images are in the memory of VRAM, and this usually means that the originals are in RAM at the time of their first use. This probably means that large 2D textures occupy RAM memory even when they are not needed. However, I am not 100% sure about menu background images. However, all 2D simulator images are sure to be in the memory because during screen switching there are no disk operations or caches that could cause re-loading of images from files.
hello Olamagato,
thank you for all the info that you are sharing,

i turned all the large images that not needed alpha (including menu screens ...etc) from 32 to 24-bit and the gain at ram that i saw was not something really worthy.
the values i saw running a full modded stock game ( with viib uboat from wise,full interior , my ui at 1680x1050 and MEP v6) was:
Ram usage by sh3.exe at attack periscope station (in torpedo training mission) was 1.687mb with the images at 24-bit against 1.688 mb with the images at 32-bit.
I also split to separate images all the small items appearing on attack scope page ( i mean the parts from the bottom area of periscope.tga)

Quote:
Originally Posted by Olamagato View Post
Some small files working as alpha channel for background images without alpha channel e.g. night filter mask.
You can make even 7-bit gray texture with 1-bit alpha but SH3 engine cannot use that file. The game uses only simple truecolor images with an 8-bit alpha channel or without. You probably can not even apply bitmap compression in files, although I have not tried it. This could give about 25-50% savings for large background textures.
if by "bitmap compression" you mean the compress (RLE) button that exists in the tga save settings in paint.net ....yes it can be done. (i have done it so in all magui's images). If you mean something else , i can't say.

Exept night filter mask (you mean the Night_filter.tga right ?) and the StrTactMap.tga, have you noticed any other image with that behaviour ?


i used the windows task manager for monitoring the ram usage by the sh3.exe so i don't know if this is valid at all. Is there any program that shows ingame at real time the ram usage ? (i found on net many programmes ,such as msi afterburner, which display the ram ingame but all of them display the whole ram usage and not only the ram by sh3.exe)
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods

Last edited by makman94; 03-28-19 at 01:05 PM.
makman94 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 11:35 AM.


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