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 |

Fix for incorrect Periscope and UZO bearings
Goto page Previous  1, 2, 3, 4  Next
 
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
Shockwave74



Joined: 30 Mar 2005
Posts: 229

PostPosted: Thu Mar 31, 2005 12:30 pm    Post subject: Reply with quote

I guess better wait for 1024 version...i got just an nvidia gfx5600

:nope:
Back to top
View user's profile Send private message MSN Messenger
Jace11



Joined: 16 Mar 2005
Posts: 1091

PostPosted: Thu Mar 31, 2005 12:43 pm    Post subject: Reply with quote

Its fine on my 4600, why shouldn't it work on your card?

Thanks devnull, very nice little addition
Back to top
View user's profile Send private message
Redwine



Joined: 10 Jan 2002
Posts: 1143
Location: Buenos Aires , Argentina.

PostPosted: Thu Mar 31, 2005 2:55 pm    Post subject: Reply with quote

devnull wrote:
Redwine wrote:
All OK, Devnull, if you discover wich file is controlling the position of the bearing strip, please tell me........

Go ahead with job.............



I think I may have found the file you are looking for Redwine. Take a look in \data\menu\menu_1024_768.ini at these sections:

[G26 I127]
[G27 I5]
[G28 I102]
[G2B I127]

It makes sense that there are four separate sections, one each for the periscope, then the UZO and binoculars, all four share the same texture for relative bearing. They have a format roughly like this...

[G26 I127]
Name=Compass
Type=1030;Static bmp
ItemID=0x26000004
ParentID=0x26000000
Pos=273,700,180,16
Color=0x66B26680
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/bearing.tga
MatFlags=0x1
TexFmt=0x9


Anyway, hope this helps. What is it about this game that keeps me up so late past my bedtime? My coworkers are going to wonder why I have a big red exclamation mark floating over me all the time!!!

- devnull



Thanks Devnull, i will experiment with that............ are you CharlieX ? Of course you are a pioneer in this job from SH2 times..........

Best regards, and loth of thanks for exclent job..........




Shockwave74 wrote:


I guess better wait for 1024 version...i got just an nvidia gfx5600

:nope:



Did you have problems with that video card managing 1080 texture side ?

gfx5600 has a MX math processor ?

Email Devnull or email me i made both 1080 and 1024 versions............ the only issue is when you compress the 1080 into a 1024 one, it appears a little bit blur.......not the numbers but the little marks..........

Plus i made a 2160 one, and i am working in the 2048 now........... i will attempt to arrive to the 3600 one..........
Back to top
View user's profile Send private message Send e-mail Visit poster's website
timetraveller



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

PostPosted: Thu Mar 31, 2005 4:04 pm    Post subject: Reply with quote

Not sure what a "gfx"5600 is, but I have an NVIDIA FX 5600 and it works okay for me.

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



Joined: 14 Nov 2003
Posts: 53

PostPosted: Thu Mar 31, 2005 5:41 pm    Post subject: Reply with quote

1024 version will be ready tonight. Would have had it yesterday as well but it takes a bit longer with all the calculations to get the bearings on the right pixels so that they are as close to accurate as possible. By doing this manually instead of compressing a wider tga, the lines will be nice and sharp.

Redwine, yeah I used to go by charlieX a couple years back, haven't been able to get in for some reasons I can't even remember anymore...good to be remembered though, thanks.
Back to top
View user's profile Send private message
Redwine



Joined: 10 Jan 2002
Posts: 1143
Location: Buenos Aires , Argentina.

PostPosted: Thu Mar 31, 2005 10:18 pm    Post subject: Reply with quote

devnull wrote:
1024 version will be ready tonight. Would have had it yesterday as well but it takes a bit longer with all the calculations to get the bearings on the right pixels so that they are as close to accurate as possible. By doing this manually instead of compressing a wider tga, the lines will be nice and sharp.

Redwine, yeah I used to go by charlieX a couple years back, haven't been able to get in for some reasons I can't even remember anymore...good to be remembered though, thanks.



Off course !, Charlie X "The Pioneer"......... Thumbs Up

Hi........ Charlie, with the Photoshop or similar you can resize the 1080 texture for those wich can not to manage it........ looks fine, the resize only produce a little blur effect wich is not significative.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BBury



Joined: 01 Apr 2005
Posts: 13
Location: Houston, Texas

PostPosted: Fri Apr 01, 2005 3:37 am    Post subject: Reply with quote

Here's a question; Is the scope really off or is the 3D model off? I'd try testing the bearing by being completely stationary put the scope on 180, set an aft steam torpedo to zero and let her loose. if it tracts lined up with the tail of the sub instead of the scope we have a problem.
Back to top
View user's profile Send private message
devnull



Joined: 14 Nov 2003
Posts: 53

PostPosted: Fri Apr 01, 2005 7:18 am    Post subject: Reply with quote

That is a good question, but don't worry, I have already considered that possibility. My main goal was accuracy in firing torpedos, so this has been tested against torpedos fired straight out of the stern tube at 0 gyro angle. Torpedos set manually to 0 angle aft were running down the 183 bearing line. The 3D model is not off, and now neither is the guage.

For anyone that was waiting for it, the 1024 version is now available as well. It is very accurate now, the absolute worst error of any of the marks is 0.175 degrees, which is the precision limit using a 1024 pixel wide format. I think all will agree that this is well within exceptable manual TDC range at this point.

Get it here: http://sh3.charliex.com

- devnull
Back to top
View user's profile Send private message
MONOLITH



Joined: 22 Nov 2002
Posts: 524

PostPosted: Fri Apr 01, 2005 7:22 am    Post subject: Reply with quote

Devnull, I'm confused about the two versions;

1080 vs 1024

What exactly is the difference from a gameplay aspect, and which one would I choose? I'm using a Radeon X800 Pro, and I assume on the games default 1024 x 768.

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



Joined: 14 Nov 2003
Posts: 53

PostPosted: Fri Apr 01, 2005 7:40 am    Post subject: Reply with quote

1024 version: GOOD - This file is the same width as the original, 1024 pixels, and has markings every 5 degrees, just like the original. Given that there is no way to divide 1024 pixels by 360 degrees evenly, the bearingis still aren't perfect, but they are as precise as possible using a 1024 pixel wide texture. With this new file, the worst case scenario is 1/6th of a degree off, which is much more precise than the original which was nearly 3 degrees off at some points.

1080 version: BETTER - This file is 1080 pixels wide, and has markings every degree. This allows much greater precision and comes out to an even 3 pixels per degree. This works fine on my video card (Radeon 9550), but there is a chance that this will not work on some older video cards that don't support texture sizes larger than 1024 or textures that are not a power of two (512, 1024, 2048, etc). I would recommend trying this version first, then falling back to the 1024 version if this gives you trouble.

- devnull
Back to top
View user's profile Send private message
MONOLITH



Joined: 22 Nov 2002
Posts: 524

PostPosted: Fri Apr 01, 2005 7:54 am    Post subject: Reply with quote

Okay. Thanks.
Back to top
View user's profile Send private message
MONOLITH



Joined: 22 Nov 2002
Posts: 524

PostPosted: Fri Apr 01, 2005 8:03 am    Post subject: Reply with quote

Just tried out the 1080. It's perfect. Thank you. Thumbs Up


If you raise the periscope fully, then go to the observation scope, raise it and turn to 180, she lines up with the attack scope dead on.
Back to top
View user's profile Send private message
RogerWong



Joined: 23 Mar 2005
Posts: 137
Location: Austin, TX, periscope depth

PostPosted: Fri Apr 01, 2005 10:39 am    Post subject: Reply with quote

Devnull,

I think the new dials are very readable, thanks.

There's another 3-degree offset in the TDC bearing dial. If you set the dial manually to 180, the torpedo points 183 (you can see the path in the map)
Back to top
View user's profile Send private message Visit poster's website
Shockwave74



Joined: 30 Mar 2005
Posts: 229

PostPosted: Fri Apr 01, 2005 11:48 am    Post subject: Reply with quote

Hell of a job devnull congrats.

(Yes it works for my GFX5600 Smile )
Back to top
View user's profile Send private message MSN Messenger
F.J.Walker



Joined: 31 Mar 2005
Posts: 23

PostPosted: Fri Apr 01, 2005 12:50 pm    Post subject: Reply with quote

The 1080 version works perfectly on my Radeon 9800.

Thanks for the mod! Thumbs Up
Back to top
View user's profile Send private message
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
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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