Author Topic: FO1 Widescreen Fix!  (Read 8539 times)

AltS7

  • Posts: 257

Original game looks stretched with modern widescreen resolutions. And it spoils impressions from this nice looking game. A good modder from gtaforums, ThirteenAG, already fixed many good old games. Finally it's time for FlatOut!

Some comparison:
original 4:3 & fixed 16:9
original 16:9 vs fixed 16:9
original vs fixed 16:10

*This fix is compatible with all known version & won't replace files, just add few into root game folder;
* Stretched interface elements with FlatOut 2 are likely to be corrected;
* FOV (Field of View) adjustment also might happen but for now author can't promise it;
* 2d menu elements are still stretched because with accepted fix it looks cut

Download
« Last Edit: August 06, 2013, 09:37:52 AM by AltS7 »


glitchrum

  • Posts: 8
Yes, how does it work?

As i could not find a readme on github i have just copied the files
dsound.dll and flatout_widescreen_fix.asi
in the Flatout root directory and then started the flatout.exe

But this doesn't work.

Current version: FlatOut widescreen fix v1.2
https://github.com/ThirteenAG/FlatOut_widescreen_fix/releases

« Last Edit: August 02, 2013, 10:07:37 PM by glitchrum »

AltS7

  • Posts: 257
Yes, how does it work?

As i could not find a readme on github i have just copied the files
dsound.dll and flatout_widescreen_fix.asi
in the Flatout root directory and then started the flatout.exe

https://github.com/ThirteenAG/FlatOut_widescreen_fix/releases

You've done it right.
dsound.dll is universal asi loader/injector
flatout_widescreen_fix.asi is actually plugin.

Widescreen fix doesn't add any additional options, it just adapts image to widescreen aspect ratios (e.g. 16:9, 16:10). To do this it deals with an executable file (dynamically patches some values in memory, similar to trainer/cheat program).

Please, be more specific. What resolution do you use? What is a version of your flatout.exe (also checksum or file size (in bytes) would be nice)?
« Last Edit: August 03, 2013, 12:46:21 AM by AltS7 »

Purple44

  • *
  • Posts: 6797
Yes, how does it work?

As i could not find a readme on github i have just copied the files
dsound.dll and flatout_widescreen_fix.asi
in the Flatout root directory and then started the flatout.exe

https://github.com/ThirteenAG/FlatOut_widescreen_fix/releases

You've done it right.
dsound.dll is universal asi loader/injector
flatout_widescreen_fix.asi is actually plugin.

Widescreen fix doesn't add any additional options, it just adapts image to widescreen aspect ratios (e.g. 16:9, 16:10). To do this it deals with an executable file (dynamically patches some values in memory, similar to trainer/cheat program).

Please, be more specific. What resolution do you use? What is a version of your flatout.exe (also checksum or file size (in bytes) would be nice)?

I'm confuse, would not these files need to be packup into a Flatout 1 bfs file and listed in the filesystem.ini or patch.ini files for them to work with Flatout 1?

Archives = {
   [1] = "common1.bfs",
   [2] = "common2.bfs",
   [3] = "us.bfs",
   [4] = "freeroam-FO1.bfs",
}


Or is this mod only for players that have an unpack version of Flatout 1?

Or some how the flatout.exe will read these two files?
Flatout Joint, where the mods were.

i5 2500, 8GB, Nvidia 660 960, SB Recon, Win 10 or Win7 64bit, DFGT Wheel

glitchrum

  • Posts: 8
i don't know how it exactly work, but once you place the injector (in this case the DirectX library dsound.dll) in the root folder of a game that uses DirectX, the game will load this library automatically.
... like the Graphic modification ENBSeries do, i think ...
Then, the library loads the asi file (the Plugin).
And the Plugin dynamically patches some values in memory, similar to trainer/cheat program - hope this is correct ...

The current version v1.2 did not function on my system as well.
ThirteenAG found the problem yesterday.
With the injector 'dinput8.dll' the problem could be solved:
dinput8_based_asi_loader.zip

Use this injector instead of dsound.dll.
He said he will probably replace the injector in the next version.

EDIT:
dsound.dll = Direct Sound library
dinput8.dll = Direct Input library
dsound.dll only function properly if you choose 'Direct Sound' instead of 'Windows Multimedia Waveout', 'ASIO' or 'NoSound' in the Flatout Setup Menu.
flatout.exe -setup
But the injector dinput8.dll is the better alternative, as Direct Sound causes some problems on some machines in Flatout.

Thanks ThirteenAG for this excellent tool!
« Last Edit: August 03, 2013, 04:32:13 PM by glitchrum »

Purple44

  • *
  • Posts: 6797
Ya I use 'Windows Multimedia Waveout' in Flatout 2. I forget what the issue was with Direct Sound setting in FO2.
Flatout Joint, where the mods were.

i5 2500, 8GB, Nvidia 660 960, SB Recon, Win 10 or Win7 64bit, DFGT Wheel

AltS7

  • Posts: 257
i don't know how it exactly work, but once you place the injector (in this case the DirectX library dsound.dll) in the root folder of a game that uses DirectX, the game will load this library automatically.
The game obliviously reads system files & redistritables (Directx, C++, PhysX, OpenAL, GFWL etc) from places where they're installed. But if in the game/application folder present files with the same names (dbghelp.dll, dsound.dll, dinput8.dll, d3d9.dll, dxgi.dl, xlive.dll, binkw32.dll etc), executable will try to read them instead. Sometimes even developers do such trick because their app can work [correctly] only with some version (-s) of files.
As for injectors, they doesn't replace original modules (that game requires to work) but connects to them (e.g. dsound.dll from the game folder loads dsound.dll from system folder). That's why they're universal for different types of Windows OS.
« Last Edit: August 03, 2013, 07:39:29 PM by AltS7 »

glitchrum

  • Posts: 8
Ya I use 'Windows Multimedia Waveout' in Flatout 2. I forget what the issue was with Direct Sound setting in FO2.

Have you got my PM Purple?

...with Direct Sound the game can freeze from time to time + sound delays or glitches can happen (quite or no engine sound but loud nitro sound)...

Thanks AltS7 for the usefull background infos.


Purple44

  • *
  • Posts: 6797
Ya I use 'Windows Multimedia Waveout' in Flatout 2. I forget what the issue was with Direct Sound setting in FO2.


Have you got my PM Purple?

...with Direct Sound the game can freeze from time to time + sound delays or glitches can happen (quite or no engine sound but loud nitro sound)...

Thanks AltS7 for the usefull background infos.


Ah I see I have a PM, just read it, will send you a PM but can't right now. It about time I go host our FOv3 mod. It the first Saturday of the month. Later today I will send you a PM.

http://community.bugbeargames.com/index.php?topic=527.0
Flatout Joint, where the mods were.

i5 2500, 8GB, Nvidia 660 960, SB Recon, Win 10 or Win7 64bit, DFGT Wheel

Purple44

  • *
  • Posts: 6797
PM sent, sorry I'm a day late sending PM.  :-[

Spent 3 hours racing FOv3 mod online yesterday and forgot to send you a PM.
Flatout Joint, where the mods were.

i5 2500, 8GB, Nvidia 660 960, SB Recon, Win 10 or Win7 64bit, DFGT Wheel

glitchrum

  • Posts: 8
PM sent, sorry I'm a day late sending PM.  :-[

Spent 3 hours racing FOv3 mod online yesterday and forgot to send you a PM.


No problem Purple.
Meanwhile i installed and testes FOV3 and FOv2Plus ;)
Did you get my answer?

Found these glitches with Widescreen fix v1.2:




Purple44

  • *
  • Posts: 6797
PM sent.
Flatout Joint, where the mods were.

i5 2500, 8GB, Nvidia 660 960, SB Recon, Win 10 or Win7 64bit, DFGT Wheel

AltS7

  • Posts: 257
@ glitchrum
Unfortunately, both issues can be 'fixed' only with reversion to previous 'stretched' state. As to the first, I don't think it's worth it. WS fix of FO2 also has a lot of not centered text. 'Not fully tinted screen' looks bad so WS fix probably won't touch it in next version.

AltS7

  • Posts: 257
Updated Flatout fix
- lots of improvements, proper support of any resolution except 5:4
- Menu is properly scaled and centered. Loading screen isn't though
- Should work with any exe, once again