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

Reply
 
Thread Tools Display Modes
Old 05-29-13, 09:28 PM   #1
zakarpatska
Loader
 
Join Date: Apr 2004
Posts: 88
Downloads: 127
Uploads: 0
Default d3d9.dll used for SH3 widescreen mods

Hi All,

I'm having a problem with the SH3 wide screen mods. The problem is that if I install either the "Widescreen MaGui v3.4" or "Conus' SH3GWXWS 2.3" mods my frame rate goes through the floor. I tracked this to the "d3d9.dll" that is distributed in the mods.

By chance I discovered that if I use the d3d9.dll distributed with the "WideScreen_complete_GWX&StockSH3" mod I suddenly get high frame rates in wide screen. This is with either Conus' or MaGui wide screen mods installed and overwriting only the d3d9.dll file. The down side is that the splash screens are no longer stretched to full screen with the left hand side of splash screen images against the left side of the display with a large black area on the right since there is no stretching.

Does anyone know what is going on here? What is the origin of the d3d9.dll files used for the mods?

The "broken" d3d9.dll with the low frame rate is dated ‎Sunday, ‎May ‎09, ‎2010, ‏‎1:04:16 PM and is 190 KB (195,072 bytes) in size.

The "working" d3d9.dll with high widescreen frame rates, but where the splash screens are not stretched is dated Friday, ‎March ‎19, ‎2010 and is 185 KB (189,440 bytes) in size.

I searched the forum for the origin of d3d9.dll but couldn't find any explanation of where this dll comes from. I was hoping that I might just be able to download an updated version of the dll and this would fix both problems.

Thanks.
zakarpatska is offline   Reply With Quote
Old 05-30-13, 01:53 PM   #2
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,170
Downloads: 3232
Uploads: 0


Default

I use MaGUI 3.4 WS with her d3d9.dll without problems, and high FPS.

Try only MaGUI 3.4 WS, not overwrite with another GUI.

Regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 05-30-13, 07:30 PM   #3
zakarpatska
Loader
 
Join Date: Apr 2004
Posts: 88
Downloads: 127
Uploads: 0
Default

Hi fitzcarraldo,

Thanks for your reply. If I only install the MaGui 3.4 WS mod without any other mods I already have the problem.

If I overwrite just the d3d9.dll with the older version then the frame rate problem is gone. Instead I have the problem with the splash screens not being stretched (which I can live with).

I understand that not everyone has this problem. My suspicion is that it is some kind of interaction between the d3d9.dll and my graphics driver (Catalyst 13.4 running on a Mobility Radeon 5870).

This is why I am looking for the origin of the d3d9.dll. I'm hoping that maybe there is an updated version? Can a debug log be turned on and if yes where is the log file? Is the source for the dll available?

Thanks,
Zakarpatska
zakarpatska is offline   Reply With Quote
Old 05-31-13, 11:03 AM   #4
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Here is a newer (wip) version of the DLL that I made for a non-released widescreen mod. You must set the resolution and settings for the loadscreens in the ini file as they are for the MaGUI versioin because the included ini has presets for 1680x1050 which is not supported by currently released widescreen mods

Code:
...
DisplayWidth=????
DisplayHeight=????
FullScreen=true
Refreshrate=59

[LOADSCREENS]
Enable=true
Tx=???    
Ty=???
...
download:
http://www.mediafire.com/?6c8cdr8hz7hp8r4

Note:
This DLL is not a universal solution for widescreen. It needs a widescreen mod which is designed for a specific native resolution.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!

Last edited by Seeadler; 06-03-13 at 07:43 AM.
Seeadler is offline   Reply With Quote
Old 05-31-13, 07:16 PM   #5
zakarpatska
Loader
 
Join Date: Apr 2004
Posts: 88
Downloads: 127
Uploads: 0
Default

Yay!

Thanks Seeadler. With the new d3d9.dll I'm getting both the stretched splash screens and the high frame rate when playing the game.

In case anyone is interested the "d3d9.ini" file that I am using is:

[GLOBAL]
DebugLog=false
Dumptxt=false

[ENGINE]
ForceResOverride=true
DisplayWidth=1360
DisplayHeight=768
FullScreen=true
Refreshrate=60

[LOADSCREENS]
Enable=true
Tx=0.01635
Ty=0.0
Sx=0.0
Sy=0.00
;Tx=0.032
;Ty=0.021
;Sx=0.0
;Sy=0.0
Maxscale=true

[SCREENSHOT]
; 0=BMP 1=JPG 2=TGA
Format=2
; e.g. Path=D:\screens (folder must exist)
Path=.

Thanks again.
zakarpatska is offline   Reply With Quote
Old 06-03-13, 01:30 AM   #6
Montekidlo
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ehm.. I'm not sure what values I should enter at [LOADSCREENS]

if native rez f.e. is 1440x900 ?
  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 08:55 AM.


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