![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#12 |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]()
BigWalleye, send me your files and I will post them. PM me.
I took a quick look at the source code - which I haven't looked at in years btw. How the whole thing works is as follows: * The coordinates in the Excel are based on a 1024x768 screen 4:3 aspect, but the aspect shouldn't come into things anywhere, it's certainly not coded to change anything depending on aspect, only resolution. * sh4, when resolutions change, simply moves, but does not stretch, the image, based on quardrants. The right quadrants move further right, the left ones move further left. * shSpeech checks the quadrant defined in the CSV, * And if it is lower or upper right, such as the Oxygen at 590 x 729... * it adds your resolution to the X and then subtracts 1024, resulting in 902 for a 1336x768 scenario. * it adds your resolution to the Y, then subtracts 768, resulting in 729 for a 1336x768 scenario (no change). * If the quadrant is any of the left side quadrants - there is no change. Note that all but 5 of the quadrants are lowerleft (even if the object is further right, SH4 treats it as if it were lower left). What I would suggest is taking a screenshot at 1024x768 and take another at 1336x768. Then confirm the oxygen click point is indeed at 590 x 729 for the 1024x768 scenario. If so, check the 1336x768 screenshot. Figure out how far off it is, then PM me with the screenshots and how far off it is, and any theories as to why. If for any reason some stretching is occurring, that would definitely be it. Essentially the cause must be, simply put, that increasing your resolution beyond 1024x768 does not merely "move" the entities by a relative amount, but something else is happening. I'd imagine that when you modified all of the X/Y values, you modified them all by the same amount based on each quadrant. If you're feeling adventurous, feel free to modify voice.pl with a text editor and then compile it with perl2exe. If you have any mods installed that, say, add a new button to the command bar, that would account for why you had to modify every single X value. |
![]() |
![]() |
|
|