PDA

View Full Version : TR2 and Widescreen.


mizuno_suisei
09-05-09, 14:53
Hi guys.

I bought my brand new 23" widescreen monitor a few days ago ^^ 1920x1080. But I have a problem. (Actually, its with TR2,TR3,TR4 but I'll stick with TR2 for now)

When I run the setup as Windowed Mode 1920x1080 16:9, it looks fantastic, I even maximise the window so I can only see the task bar and the window bar and it looks great.

When I run the setup as Fullscreen Mode 1920x1080, Lara looks quite stretched.

I took two screenshots of both versions and I can see that The FOV is definately different.

Any reason why Fullscreen and Windowed mode at the SAME resolution is so different and how I can fix it?
I see an AspectMode registry key in the Tomb Raider II area in the registry if thats any problem.

AspectMode 0x00000001 (1) << Thats the key.

There is also a FullScreenBBP key too, but Its probably not relevant but I don't know what the BBP means.

Thanks for any help.

Zac,

gidierre
09-05-09, 16:03
Hi guys.

I bought my brand new 23" widescreen monitor a few days ago ^^ 1920x1080. But I have a problem. (Actually, its with TR2,TR3,TR4 but I'll stick with TR2 for now)

Any reason why Fullscreen and Windowed mode at the SAME resolution is so different and how I can fix it?

There is also a FullScreenBBP key too, but Its probably not relevant but I don't know what the BBP means

you probably mean bpp aka bits per pixel color depth of e.g. 32bbp/32bit


anyway fullscreen bpp = true mode or 32 or possibly 24 bit too
should have little to do with this

well, as a rule of thumb I'd start noticing that fullscreen 1920x1080 (not a 4:3 ratio obviously) can/will be handled differently than same thing windowed

what I'd be going about first would be imho to tweak the settings for digital display properties in the graphics driver control panel so it doesn't stretch the image anymore (at fullscreen)
but also notice this will apply to any given non-native (i.e. other than 1920x1080) resolution only!

mizuno_suisei
09-05-09, 16:41
Hmm I dont really understand what you mean by digital display properties in the graphics driver control panel. Is that in the TR2 setup screen?

Hold on. Is this this area?

http://i44.************/33ljv4j.jpg

If it is, I tried all 4 of those settings but no difference (What was originally checked is the one selected now in that picture)

gidierre
09-05-09, 16:55
Hmm I dont really understand what you mean by digital display properties in the graphics driver control panel. Is that in the TR2 setup screen?
no, it's a general windows settings thing

e.g.
right click on desktop
depending on the graphics card brand, the OS version and stuff

you'll have something like
properties
Scale image - maintain aspect ratio

I don't have an English layout so I can't provide any detailed verbatim
info except maybe linking to more detailed discussion such as
this (http://vogons.zetafleet.com/viewtopic.php?t=14242)
maybe

see if it's of any use my post dated
Distortion on 16:10 widescreen :: 2007-1-17 @ 12:48 pm
and
Distortion on 16:10 widescreen :: 2007-2-07 @ 09:24 pm
following the screens linked to therein
HTH

mizuno_suisei
09-05-09, 16:57
Hi sorry, I edited my post above yours with some more info ;)

gidierre
09-05-09, 17:03
Hold on. Is this this area?

If it is, I tried all 4 of those settings but no difference (What was originally checked is the one selected now in that picture)

OK that's it
and w/widescreens you definitely want to go
use scaling with fixed aspect ratio

as I repeat that can only work with non-native full res.

if your fullres stays what its default is anyway
there'll be no aspect ratio fixing, right?

mizuno_suisei
09-05-09, 17:12
Ok, I chose that setting. So what your saying is, I cant play TR2 in my max resolution in order for the stretching to stop?

gidierre
09-05-09, 17:22
I cant play TR2 in my max resolution in order for the stretching to stop?
well, the point here is just that if your screen is 16:10 or so, or anything widescreen but 4:3
some stretching will happen unless you tell the graphics driver to compensate for it with vertical or horizontal black stripes (pillarboxing & C.)

your max res can be approximately approached, but at the very best some pillar- or letterboxing can't be avoided
let's just forget about windowboxing because that's the lousiest thing :mad:

mizuno_suisei
09-05-09, 17:26
Ahh ok thankyou. I just loaded TR2 as 1440x900 as Fullscreen and I did get the two black bars down each side and yes, it wasnt stretched :)

Im sure with coding etc.. There are ways around it. A user named Harley Wuson made a neat patch to force Widescreen support in the TR4 (TRLE) engine and it works perfectly, on what ever resolution. I've tried to patch TR2 with it myself but its very difficult finding where each offset is as TR2 and TR4 engine is quite different.

gidierre
09-05-09, 17:39
There are ways around it. A user named Harley Wuson made a neat patch to force Widescreen support in the TR4 (TRLE) engine and it works perfectly, on what ever resolution. I've tried to patch TR2 with it myself but its very difficult finding where each offset is as TR2 and TR4 engine is quite different.

that's for sure

the trle widescr. patching is interesting
had no idea about it, don't have trle at all either :(
it ought to be seen how it makes the trick before it can be tried to port it to another trx exe, of course.

mizuno_suisei
09-05-09, 17:47
I'd actually shown it to a friend of mine who is good with Hex editing etc...and he said the codes in that patch, Seem to have nothing to do with editing the FOV etc..only registry keys and the new Widescreen option in the setup menu. And he doesnt know which part of it actually effects the widescreen effect. Weird eh.

These are what codes are changed in the executable


DRACO=0.3

Omnipresence=1
Name=Widescreen mode option
Description=Adds new "Widescreen" option in setup menu that allows you to use 16:10 aspect ratio resolutions (for ex., 1680x1050). It prevents squashed image effect on widescreen monitors.//// - Patch developed by Harly Wuson

RequiresRemap=1
RequiresYiff=1
RequiresPart=0
RequiresSave=0
Dependencies=

CondBehave=1

Offffset00=18C
DeflData00=50
ModNData00=64
ModRData00=

Offffset01=278
DeflData01=500B
ModNData01=0010
ModRData01=

Offffset02=C0108
DeflData02=000000000000010009040000800100000000000 00000000000000000000001000904000090010000000000000 0000000000000000000010009040000A001000000000000000 00000000000000000010009040000B00100000022
ModNData02=426F6D650000010009040000800100000000000 00000000000000000000001000904000090010000000000000 0000000000000000000010009040000A001000000000000000 00000000000000000010009040000B0010000D421
ModRData02=

Offffset03=831AD
DeflData03=E8BEF7FFFF
ModNData03=E95E2A3C00
ModRData03=E95E2A7C00

Offffset04=F3C10
DeflData04=
ModNData04=E85BCDC3FF83C4086A006A0068F000000068070 4000056FFD750FFD385C00F95C05068605C8400E834CDC3FFE 971D5C3FFE8BACDC3FF6A006834C0980068605C8400E8A9CDC 3FF83C40CE96FCFC3FF9057696465005055D53F
ModRData04=E85BCD83FF83C4086A006A0068F000000068070 4000056FFD750FFD385C00F95C05068605CC400E834CD83FFE 971D583FFE8BACD83FF6A006834C0D80068605CC400E8A9CD8 3FF83C40CE96FCF83FF9057696465005055D53F

Offffset05=82BC9
DeflData05=E832FEFFFF
ModNData05=E973303C00
ModRData05=E973307C00

Offffset06=C0163
DeflData06=003401000000000000000000005028
ModNData06=003401000000000000000000000823
ModRData06=

Offffset07=C0173
DeflData07=00E802000000000000000000005023
ModNData07=00E80200000000000000000000F025
ModRData07=

Offffset08=C0183
DeflData08=00FC0400000000000000000000E021
ModNData08=002A05000000000000000000001C2B
ModRData08=

Offffset09=C0193
DeflData09=002000000000000000000000003823
ModNData09=002000000000000000000000003C2B
ModRData09=

Offffset10=C01A3
DeflData10=00140000000000000000000000382B
ModNData10=00140000000000000000000000502B
ModRData10=

Offffset11=C01B3
DeflData11=001400000000000000000000000800490044004 9005F00490043004F004E00000000000000000000000000000 013006B00419C00000B001B00439C000013000D00080000009 3006D00429C000001000100280000002000000040000000010 00100000000008000000000000000000000000000000000000 00000000000FFFFFF000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000C0000000C00000018 00000018000000300000023000000360000003E0000003FC00 0003F8000003F0000003E0000003C000000380000003000000 0200000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3FFFFFFE1FFFFFFE1FF FFFFC3FFFFFBC3FFFFF987FFFFF887FFFFF80FFFFFF800FFFF F801FFFFF803FFFFF807FFFFF80FFFFFF81FFFFFF83FFFFFF8 7FFFFFF8FFFFFFF9FFFFFFFFFFFFFFF0000000000000200010 0200040000100010034010000010000000000C408C08000000 0001700000000004E0127010000000054006F006D006200200 052006100690064006500720020002D0020005400680065002 0004C00610073007400200052006500760065006C006100740 069006F006E00000008004D0053002000530061006E0073002 00053006500720069006600000003000150000000000D00160 034014700E803FFFF850000000000000003000150000000000 D00430034014F00EB03FFFF850000000000000003002150000 000001500620075005400EC03FFFF850000000000000003000 150000000001500790073000A000104FFFF800054005800540 05F00570069006E0064006F007700650064000000000000000 3002150000000001400AB0076005400EE03FFFF85000000000 0000009000050000000009D006300A0000A00F203FFFF80005 400580054005F0048006100720064007700610072006500000 00000000009000050000000009D007000A0000A00F303FFFF8 0005400580054005F0053006F0066007400770061007200650 000000000000003000150000000009D007D009F000A000504F FFF8000540058005400200056006F006C0075006D006500740 0720069006300200046006F006700000000000000030001500 00000009D008A00A0000A00F403FFFF8000540058005400200 0420069006C0069006E0065006100720000000000000003000 150000000009D009700A0000A00F803FFFF800054005800540 02000420075006D00700020004D00610070000000000000000 3000150000000009D00A400A0000A00F603FFFF80005400580 0540020004C006F00770020005100750061006C00690074007 90020005400650078007400750072006500730000000000000 003000150000000009D00B100A0000A00F703FFFF800054005 800540020004C006F00770020005100750061006C006900740 079002000420075006D00700020004D0061007000730000000 00007000050000000000700E70040012100F903FFFF8000540 0780074005F0053006F0075006E00640000000000230001500 0000000FD00E60043000A00FA03FFFF80005400580054005F0 0440069007300610062006C006500000000000300215000000 0000D00F40034014700ED03FFFF85000000000000000100015 0000000006D00110132000E000100FFFF80004F004B0000000 00000000000015000000000AF00110132000E000200FFFF800 0430061006E00630065006C000000000000000700005000000 0000700070040012700E903FFFF80005400780074005F00470 07200610070006800690063007300410064006100700074006 50072000000000007000050000000000700380040019E00EA0 3FFFF80005400780074005F004F00750074007000750074005 30065007400740069006E00670073000000000000000700005 0000000000F00550080003E00F103FFFF80005400580054005 F005200650073006F006C007500740069006F006E000000000 0000007000050000000000E009E0081002200F503FFFF80005 400580054005F0054006500780074007500720065002000520 0650073006F006C007500740069006F006E000000000000000 70000500000000094005500AD007B00FF03FFFF80005400580 054005F00520065006E0064006500720020004F00700074006 9006F006E00730000000000000003000150000000009D00BE0 09E000A000604FFFF80005400580054005F004400690073006 10062006C0065005F0046004D0056000000000000000000280 00000200000004000000001000400000000000002000000000 00000000000000000000000000000000000000080000080000 000808000800000008000800080800000C0C0C000808080000 000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFF FFF00000000000887788111188000000011100000000000877 88011080000000011110000000000000070110000000000111 00000000000000000010000000000011001111000000000000 00000888300001000000000000000000000088778300000000 00000000000000000881111880000000000000000000000088 11771180000000000000660000000088111111880000000000 00000000000888888888888000000000000000000008878883 87778000000000000000000008778378877770000000000000 000000000003F8700081000000000000000000001110780111 01000000000111100000091110819111100000000011191000 00019911310991101000000881191000000011188830011010 00000081191000000808887788808000111111111911100000 877FF777880008199999999999110008878FFF777881081111 111119111100008717F7778301088118888119188101000818 77788011008111008119108000010000888000100088111081 19100000000100000001000008811081191000000000001111 00000000881181191000000000000000000000000811111910 00000000000000000000000881111910000000000000000000 00000088111910000000000000000000000000088119100000 00000000000000000000008811100000000000000000000000 00000888000000000000000000000FF0000003F8000003F800 0003FFC000087FF0000C03F8000F03FC001FF83C003FF80000 3FFF80001FFFC0001FFFC0001FFFF0000FFFF0000FF0F0000F E0F0000FC0E0000FE0E0000800200000000000000000000000 10001860BC001820FE003C20FE00FE00FFFFFF00FFFFFF00FF FFFF80FFFFFFC0FFFFFFE0FFFFFFF1FFFFF000001000100202 0100001000400E802000002000000000000000000000000000 000000000000000000000
ModNData11=001400000000000000000000000800490044004 9005F00490043004F004E00C80001000100280000002000000 04000000001000100000000008000000000000000000000000 00000000000000000000000FFFFFF000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000C0000 000C0000001800000018000000300000023000000360000003 E0000003FC000003F8000003F0000003E0000003C000000380 0000030000000200000000000000000000000FFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3FFFFFF E1FFFFFFE1FFFFFFC3FFFFFBC3FFFFF987FFFFF887FFFFF80F FFFFF800FFFFF801FFFFF803FFFFF807FFFFF80FFFFFF81FFF FFF83FFFFFF87FFFFFF8FFFFFFF9FFFFFFFFFFFFFFF2800000 02000000040000000010004000000000000020000000000000 00000000000000000000000000000000000800000800000008 08000800000008000800080800000C0C0C000808080000000F F0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0 00000000008877881111880000000111000000000008778801 10800000000111100000000000000701100000000001110000 00000000000000100000000000110011110000000000000000 08883000010000000000000000000000887783000000000000 00000000000008811118800000000000000000000000881177 11800000000000006600000000881111118800000000000000 00000008888888888880000000000000000000088788838777 80000000000000000000087783788777700000000000000000 00000003F87000810000000000000000000011107801110100 00000001111000000911108191111000000000111910000001 99113109911010000008811910000000111888300110100000 0081191000000808887788808000111111111911100000877F F777880008199999999999110008878FFF7778810811111111 19111100008717F77783010881188881191881010008187778 80110081110081191080000100008880001000881110811910 00000001000000010000088110811910000000000011110000 00008811811910000000000000000000000008111119100000 00000000000000000008811119100000000000000000000000 00881119100000000000000000000000000881191000000000 00000000000000000088111000000000000000000000000000 0888000000000000000000000FF0000003F8000003F8000003 FFC000087FF0000C03F8000F03FC001FF83C003FF800003FFF 80001FFFC0001FFFC0001FFFF0000FFFF0000FF0F0000FE0F0 000FC0E0000FE0E00008002000000000000000000000001000 1860BC001820FE003C20FE00FE00FFFFFF00FFFFFF00FFFFFF 80FFFFFFC0FFFFFFE0FFFFFFF1FFFFFC408C08000000000180 0000000004E0127010000000054006F006D006200200052006 100690064006500720020002D00200054006800650020004C0 0610073007400200052006500760065006C006100740069006 F006E00000008004D0053002000530061006E0073002000530 06500720069006600000003000150000000000D00160034014 700E803FFFF850000000000000003000150000000000D00430 034014F00EB03FFFF850000000000000003002150000000001 500620075005400EC03FFFF850000000000000003000150000 000001500770073000A000104FFFF80005400580054005F005 70069006E0064006F007700650064000000000000000300215 0000000001400AB0076005400EE03FFFF85000000000000000 9000050000000009D006300A0000A00F203FFFF80005400580 054005F0048006100720064007700610072006500000000000 00009000050000000009D007000A0000A00F303FFFF8000540 0580054005F0053006F0066007400770061007200650000000 000000003000150000000009D007D009F000A000504FFFF800 0540058005400200056006F006C0075006D006500740072006 9006300200046006F006700000000000000030001500000000 09D008A00A0000A00F403FFFF8000540058005400200042006 9006C0069006E0065006100720000000000000003000150000 000009D009700A0000A00F803FFFF800054005800540020004 20075006D00700020004D00610070000000000000000300015 0000000009D00A400A0000A00F603FFFF80005400580054002 0004C006F00770020005100750061006C00690074007900200 05400650078007400750072006500730000000000000003000 150000000009D00B100A0000A00F703FFFF800054005800540 020004C006F00770020005100750061006C006900740079002 000420075006D00700020004D0061007000730000000000070 00050000000000700E70040012100F903FFFF8000540078007 4005F0053006F0075006E00640000000000230001500000000 0FD00E60043000A00FA03FFFF80005400580054005F0044006 9007300610062006C0065000000000003002150000000000D0 0F40034014700ED03FFFF85000000000000000100015000000 0006D00110132000E000100FFFF80004F004B0000000000000 00000015000000000AF00110132000E000200FFFF800043006 1006E00630065006C000000000000000700005000000000070 0070040012700E903FFFF80005400780074005F00470072006 10070006800690063007300410064006100700074006500720 00000000007000050000000000700380040019E00EA03FFFF8 0005400780074005F004F00750074007000750074005300650 07400740069006E00670073000000000000000700005000000 0000F00550080003E00F103FFFF80005400580054005F00520 0650073006F006C007500740069006F006E000000000000000 7000050000000000E009E0081002200F503FFFF80005400580 054005F0054006500780074007500720065002000520065007 3006F006C007500740069006F006E000000000000000700005 00000000094005500AD007B00FF03FFFF80005400580054005 F00520065006E0064006500720020004F007000740069006F0 06E00730000000000000003000150000000009D00BE009E000 A000604FFFF80005400580054005F004400690073006100620 06C0065005F0046004D0056000000000003000150000000001 50083006C000A000704FFFF800057006900640065007300630 07200650065006E0000000000000013006B00419C00000B001 B00439C000013000D000800000093006D00429C00000000020 00100200040000100010034010000010000000100010020201 00001000400E802000002
ModRData11=

Offffset12=8D6E7
DeflData12=D83DD0734A00
ModNData12=E984853B0090
ModRData12=E984857B0090

Offffset13=F3C70
DeflData13=
ModNData13=803D34C0D800017408D83DD0734A00EB06D83D6 55CC400E9617AC4FF803D34C0D80001740725FE1F0000EB0D2 5FE1F00006BC0010590000000E9CD79C4FF
ModRData13=803D34C0D800017408D83DD0734A00EB06D83D6 55CC400E9617A84FF803D34C0D80001740725FE1F0000EB0D2 5FE1F00006BC0010590000000E9CD7984FF

Offffset15=8D676
DeflData15=25FE1F00
ModNData15=E911863B
ModRData15=E911867B



Oh god I wish this could be done with TR2,3,4 xD

gidierre
09-05-09, 18:02
Seem to have nothing to do with editing the FOV etc..only registry keys and the new Widescreen option in the setup menu. And he doesnt know which part of it actually effects the widescreen effect. Weird eh.
These are what codes are changed in the executable


yes, very nice :)

of course, I'm talking "from the outside"
and simple hex-editing isn't enough as an analysis

I suppose the patcher will have inevitably disassembled the exe first
and so should everyone who wants to follow suit

just imho I'd guess he must have relied on global windows parameters interfacing rather than morphing all the trle engine ;)