Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[GTA|NFS|MP|OTHER] Widescreen Fixes Pack


ThirteenAG
 Share

Recommended Posts

Offtopic - I made a plugin version of the door skipping mod for RE1 HD and RE0 HD by FluffyQuack: https://github.com/ThirteenAG/RE0.RE1.DoorSkipPlugin/releases

  • Like 2
Link to comment
Share on other sites

I think the best way to increase FOV would be to find some camera related things and increase camera distance.

nope, the best way in MW to change this

 

.text:006CF4F0 fild dword ptr [eax+18h]

.text:006CF4F3 fidiv dword ptr [eax+14h]

on this

 

fld ds:flt_891050

and then, change hor aspect ration here

 

text:006CF566 fdivr ds:flt_89096C

1351c9bc88a1.png0f246df82380.png

Edited by dyons
Link to comment
Share on other sites

Thank you dyons!

ThirteenAG, he basically wants you to replace what you use for the vertical FOV with this part:

.text:006CF4F0 fild dword ptr [eax+18h]
.text:006CF4F3 fidiv dword ptr [eax+14h]

fld ds:flt_891050


This doesn't need to be changed for other aspect ratios. The game loads whatever float value you set and calculates the vertical FOV on its own.

The address he wants you to use for the horizontal FOV..

and then, change hor aspect ration here

text:006CF566 fdivr ds:flt_89096C


..is the same address you're currently using. Your widescreen fix now only needs to calculate the horizontal FOV for other aspect ratios, like it already does.

Edited by Aero_
  • Like 2
Link to comment
Share on other sites

I'll update NFS fixes soon(most likely next week) then, thanks.

 

 

can you post on rin too?

Feel free to do it, I don't mind. Edited by ThirteenAG
  • Like 1
Link to comment
Share on other sites

Actually, I was able to do some tests: NFSMostWanted.WidescreenFix.zip

 

rR56jKj.png

r0181xF.png

RMibVeP.png

 

That's with 0.737. Let me know if there's anything else I should do.

In theory this version might work with original exe that requires a disc, but I wasn't able to test it.

Edited by ThirteenAG
Link to comment
Share on other sites

I'll update NFS fixes soon(most likely next week) then, thanks.

 

can you post on rin too?

Feel free to do it, I don't mind.

 

thanks lot! and thanks again for the plugin ;)

Link to comment
Share on other sites

That's with 0.737. Let me know if there's anything else I should do.

In theory this version might work with original exe that requires a disc, but I wasn't able to test it.

 

Sorry, I was basing the 0.737 value on what your widescreen fix used to look like. The 0.75 that dyons recommends is correct if you want to match the game's ver FOV in 4:3.

 

Besides that.. my only suggestion is to allow people to correct the horizontal FOV in the config file. No more oval shaped wheels, please. If this is not possible then I understand.

Link to comment
Share on other sites

Besides that.. my only suggestion is to allow people to correct the horizontal FOV in the config file. No more oval shaped wheels, please. If this is not possible then I understand.

What do you mean exactly? I regret that I named those parameters a FOV, it's confusing, but my goal is to have correct 3D image on any aspect ratio. How does "horizontal FOV" fits into this and what would it do? I could add some FOVFactor parameter to increase/decrease those two "proportions" and achieve different FOV as a result though.
Link to comment
Share on other sites

 

Besides that.. my only suggestion is to allow people to correct the horizontal FOV in the config file. No more oval shaped wheels, please. If this is not possible then I understand.

What do you mean exactly? I regret that I named those parameters a FOV, it's confusing, but my goal is to have correct 3D image on any aspect ratio. How does "horizontal FOV" fits into this and what would it do? I could add some FOVFactor parameter to increase/decrease those two "proportions" and achieve different FOV as a result though.

 

 

This is what your widescreen fix currently looks like. Notice the wheels are ovals and the car looks really long. On PC the game is stretched by default for all aspect ratios, so this is not your fault.

 

qiB6TxU.png

 

 

This is what it looks like when I increase the "hor FOV". It squishes the sides more. The vertical stays exactly the same. If you could either fix this or allow people to adjust this in the config file that would be great.

 

0jF0vP4.png

Link to comment
Share on other sites

Hi to all! For MW good idea!

Guys, do not forget about the form of the hood in the game.

PC vs PS2.

See my first post in this thread - there is a change of address FOV and vertical stretching. ( Without ASIScript 13AG).

You can try to make the value of the vertical stretch in the race ( 1.12 ) , and the menu ( 1.08 ) variable?

Guys, do not forget about the form of the hood in the game . PC vs PS2. See my first post in this thread - there is a change of address FOV and vertical stretching. ( Without ASIScript 13AG). You can try to make the value of the vertical stretch in the race ( 1.12 ) , and the menu ( 1.08 ) variable .
Guys, do not forget about the form of the hood in the game . PC vs PS2. See my first post in this thread - there is a change of address FOV and vertical stretching. ( Without ASIScript 13AG). You can try to make the value of the vertical stretch in the race ( 1.12 ) , and the menu ( 1.08 ) variable .
Guys, do not forget about the form of the hood in the game . PC vs PS2. See my first post in this thread - there is a change of address FOV and vertical stretching. ( Without ASIScript 13AG). You can try to make the value of the vertical stretch in the race ( 1.12 ) , and the menu ( 1.08 ) variable .
Guys, do not forget about the form of the hood in the game . PC vs PS2. See my first post in this thread - there is a change of address FOV and vertical stretching. ( Without ASIScript 13AG). You can try to make the value of the vertical stretch in the race ( 1.12 ) , and the menu ( 1.08 ) variable .

 

Link to comment
Share on other sites

This is what it looks like when I increase the "hor FOV". It squishes the sides more. The vertical stays exactly the same. If you could either fix this or allow people to adjust this in the config file that would be great.

I see. I made a comparison with x360 version:

gHde1H4.png 2T2xad6.png

I can't capture x360 screens in high quality, sorry about that.

I will make an option to adjust horizontal scaling to match xbox 360 version.

This is a latest fix with 0.75: NFSMostWanted.WidescreenFix.asi

I noticed rearview mirror image is still broken with it, right? This is how it should be:

QAbKD9M.png

 

@samfednik - pm me in russian man, really hard to understand what you want to say :)

Edited by ThirteenAG
  • Like 3
Link to comment
Share on other sites

Off: RUS. Как тут личные сообщения писать - не знаю? Гугл переводчик опять косячно перевёл?

Ребята, не забывайте про вид от капота в игре. Например PC vs PS2. Посмотрите моё первое сообщение в этой ветке форума - там есть адреса изменения FOV и вертикального растяжения. (Без использования ASI-Script-a 13AG). Можно попробовать сделать значение вертикального растяжения в гонке (1.12), а в меню (1.08) изменяемым, т.е. автоматически меняющимися, когда заходишь в меню одно значение, когда в гонке - другое...
Адреса в памяти для 16:9 формата:
\\3D view camera settings:006CF5A0+1 float[1.0] Replace to float[1.4]  \\ FOV correction008AF994 float[1.15] Replace to float[1.12] \\ Vertical stretch

Edit: Fixed FOV correction address!

Edited by samfednik
  • Like 2
Link to comment
Share on other sites

I will make an option to adjust horizontal scaling to match xbox 360 version.

 

Thank you, I really appreciate it. The same should be done for Carbon and NFSU2. If you need any help applying dyons' method to the other NFS games just send me a PM and I'll tell you what I did. Assuming dyons doesn't post anything about it first. :p

 

I noticed rearview mirror image is still broken with it, right? This is how it should be:

 

Yeah, the rearview mirror has been improved compared to what it was before, but it hasn't been completely fixed. I have no idea how to adjust it, so unless dyons knows something about it, I think you're on your own for this one.

Edited by Aero_
Link to comment
Share on other sites

If you need any help applying dyons' method to the other NFS games just send me a PM and I'll tell you what I did. Assuming dyons doesn't post anything about it first.

Addresses for other games would be useful, I'll implement them some time next week.

 

 

Можно попробовать сделать значение вертикального растяжения в гонке (1.12), а в меню (1.08) изменяемым, т.е. автоматически меняющимися, когда заходишь в меню одно значение, когда в гонке - другое...

Но зачем? Кроме того, я не имею информации о том, когда в игре гонка, а когда меню. Соответственно раздельно ничего менять не получится.
Link to comment
Share on other sites

в общем я не буду пользоваться переводчиком, потому что потеряется смысл

 

суть такова что в консольных версиях аспект высчитывается во так

 

 

v11 = 1.0;

v29 = 0.5625;

if ( !(dword_480B1C & 1) )

v29 = 0.75;

if ( dword_480BB0 == 3 )

v29 = v29 * 0.5;

if ( v9 == 1 || v9 == 4 || v9 == 2 || v9 == 5 || v9 == 6 || v9 == 7 )

{

if ( dword_480B1C & 1 )

{

v11 = (1.175 - ((double)*(_WORD *)(v5 + 196) * 0.0054931641 - 10.0) * 0.003) * 1.3019999;

v12 = v29 * 1.5539999;

}

else

{

v11 = 1.05;

v12 = v29 * 1.155;

}

v29 = v12;

}

if ( v9 == 22 || v9 == 23 )

{

v11 = v11 * 1.28;

v29 = v29 * 1.7380002;

}

if ( v9 == 8 || v9 == 9 )

v29 = 0.60024011;

где v11 это горизонтальный и v29 вертикальный

 

в ПК версии так

 

v25 = (double)*(signed int *)(*(_DWORD *)(a2 + 96) + 24) / (double)*(signed int *)(*(_DWORD *)(a2 + 96) + 20);

if ( v10 == 1 || v10 == 4 || v10 == 2 || v10 == 5 )

v25 = v25 * 1.15;

if ( v10 == 8 || v10 == 9 )

v25 = 0.60024011;

v11 = (unsigned __int64)((double)*(_WORD *)(v6 + 196) * 0.5);

где v11 это горизонтальный и v25 вертикальный

 

 

собственно как видно, в консольной версии для режима 4:3 горизонтальное значение 1.05, и вертикальное 0,86625

 

для ПК версии горизонтальное я так подозреваю 1.0 (но надо дебажить) и вертикальное 0,8625

 

то есть формально для ПК версии для режима 4:3 надо тут

 

.text:006CF53A fmul ds:flt_8933D4

не 0.5 а 0.525 подставить

 

касательно желания соответствовать 100% аспекту консольной версии для 16:9, то желающие могут попробовать посчитать, угадав неизвестные переменные

 

З.Ы. и скрин с XBox360 лучшего качества

38a5a0e63207.png

 

З.Ы.Ы. снял скрин с 0.525 вместо 0.5

 

d5264bb82705.png

 

как видно горизонтальный аспект уже соотвествует консольной версии

Edited by dyons
Link to comment
Share on other sites

dyons, да, это работает, изменил значение FOV на 1.33 и картинка как на xbox360 в меню игры.

Но, правильно Aero_ пишет, что в меню игры и в самой гонке почему-то используются разные аспекты, т.е. при правильных пропорциях в меню, мы получаем овальные колёса в гонке (растянутые по-вертикали), и наоборот. Как с этим бороться?

Link to comment
Share on other sites

dyons, да, это работает, изменил значение FOV на 1.33 и картинка как на xbox360 в меню игры.

Но, правильно Aero_ пишет, что в меню игры и в самой гонке почему-то используются разные аспекты, т.е. при правильных пропорциях в меню, мы получаем овальные колёса в гонке (растянутые по-вертикали), и наоборот. Как с этим бороться?

никак, потому что формула для консольной версии для расчета горизонтального аспекта в режиме 16:9

 

v11 = (1.175 - ((double)*(_WORD *)(v5 + 196) * 0.0054931641 - 10.0) * 0.003) * 1.3019999;

 

где (double)*(_WORD *)(v5 + 196) принимает разное значение для меню, гонки и т.д.

 

для меню это около 15000, для гонки ниже

 

в ПК версии по адресу где должно быть это значение нули

 

в итоге оптимальный вариант это тут

 

.text:006CF53A fmul ds:flt_8933D4

указать 0.5125

 

разницу горизонтального аспекта в меню меньше 5% не различает 99% людей, а в гонке картинка будет слегка удалена из-за того что есть небольшая разница в вертикальном аспекте между консольными и ПК версиями, но это удаление будет тоже меньше 5%

Link to comment
Share on other sites

I think there's some confusion happening here.

 

So, samfednik is bringing up the problem of the vertical FOV stretching/squishing in different parts of the game. I'm not sure what dyons' response to this is, if he has his own solution or not (I have to rely on google translater and I'm not a programmer), but this is what my code is suppose to fix on the other page.

 

With ThirteenAG using dyons' FOV method, he won't need to readjust anything if he uses my fix. I'll have to update the code of course, but in theory everything should work without a problem for all aspect ratios. Once again though, if dyons has his own solution to this then listen to him because he knows far more than I do.

Link to comment
Share on other sites

Super Grunt 281

Hi, seem the widescreen fix for Vice City doesn't like the current location of the game (it's a downgraded Steam version so inside steamapps, common, etc... ) .

 

I'm saying that because GTA III don't have this problem : http://i.imgur.com/FLyJgYp.jpg?1

(why there is that black around the HUD by the way ? )

 

In Vice City, nothing happen at all and my modded GTA III used to be stuck at the loading bar until I moved the game on the desktop, that's why I'm sure this is because the game isn't there.

 

Since Vice City was downloaded from Steam I don't know if the game would work on the desktop and I don't want to screw up.

 

Thanks.

Edited by Super Grunt 281
Link to comment
Share on other sites

BTW, there's a micro stuttering\frame skipping issue with NFS Most Wanted, which is present on both the 360 version and PC. It takes a bit of gaming experience to notice it (some players have reported that it isn't there even on the 360) but luckily there's a simple and obvious fix on PC. You just need to run the game one one core (CPU).

 

I thought that I might need to do that since Underground 2 actually crashed because of the constant core switching. It's probably safer to run older games on one core if they weren't optimized for many.

The Audiophile Thread

 

XB271HU | TESORO Gram XS | Xtrfy MZ1 | Xbox Elite v2 | Hifiman Sundara | Fiio K9 Pro

i7 4790K 4.4 GHz | GTX 1080 Ti | 32 GB Crucial DDR3 | ADATA 256GB | Samsung 860 PRO 2TB

Xbox | Xbox 360 | Xbox Series X | PS2 | PS3 | Google Pixel 6 Pro

Link to comment
Share on other sites

Jesus. Never mind what I said. While setting affinity to one CPU for NFS MW does help it definitely does not remove micro stuttering altogether. It's inherent to the game or engine apparently.

The Audiophile Thread

 

XB271HU | TESORO Gram XS | Xtrfy MZ1 | Xbox Elite v2 | Hifiman Sundara | Fiio K9 Pro

i7 4790K 4.4 GHz | GTX 1080 Ti | 32 GB Crucial DDR3 | ADATA 256GB | Samsung 860 PRO 2TB

Xbox | Xbox 360 | Xbox Series X | PS2 | PS3 | Google Pixel 6 Pro

Link to comment
Share on other sites

Strange, the stuttering disappeared for me after installing Windows 10. To compensate somewhat (in W8.1 for me) what I did was that I added CacheSize and SwapSize in the game's key in registry (both DWORD) and put them on their maximum value. (size is in bytes, so it totals to 512 MB of cache IIRC)

 

Try to play on Windows 7 on the same machine, the stutters should disappear. The game is really picky about dat kernel.

 

As for the missing particle effects in Most Wanted PC, it's definitively something based on code, rather than on data itself. I checked and played around with the emmiter data (i.e. fxcar_dusttrail1 is the aerodynamic effect) and no matter what I did, I couldn't make it appear. Same goes for (impact) sparks. As far as the textures themselves go, they're in the game (if those are the textures in InGameA), so the fix would have to be in the executable unfortunately.

  • Like 2
Link to comment
Share on other sites

Latest version of MW's fix: https://www.sendspace.com/file/cetdgk

New way of fixing FOV, added Xbox360Scaling option to fix stetching, fixed the mouse cursor issue someone mentioned earlier.

NibLmV4.png

2AXjq48.png

cm2Ln1s.png

 

Oh, and also added another fix Aero_ made(before/after):

wYAPDxd.png OsiRMwv.png

Edited by ThirteenAG
Link to comment
Share on other sites

Aero_, how you can enable rearview mirror in this view?

 

 

Reflection looks is good.

Sorry samfednik, I don't actually have a fix for this. I'd have to trick the game into thinking I'm always using the bumper cam. If I force the rearview mirror to show then the game crashes when loading a race.

 

I'll try fixing it tomorrow.

 

Latest version of MW's fix: https://www.sendspace.com/file/cetdgk

New way of fixing FOV, added Xbox360Scaling option to fix stetching, fixed the mouse cursor issue someone mentioned earlier.

 

That Xbox360Scaling option is the way it should be, glad you included it. :happy:

Edited by Aero_
Link to comment
Share on other sites

 

Aero_, how you can enable rearview mirror in this view?

 

 

Reflection looks is good.

Sorry samfednik, I don't actually have a fix for this. I'd have to trick the game into thinking I'm always using the bumper cam. If I force the rearview mirror to show then the game crashes when loading a race.

 

value for mirror is stored here 00982B3C

but this value is constantly updated here

 

.text:006CFBD4 mov dword_982B3C, ebx

so we mast first of all set here 006CFBC5 value E8531375

 

then somehow we must change value for mirror, on 2 when we are in race and on 1 when game is paused

Edited by dyons
Link to comment
Share on other sites

That Xbox360Scaling option is the way it should be, glad you included it. :happy:

The image is still needs to be stretched vertically a bit to completely match x360 version, I'll adjust that later.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.