Jump to content

User:Tarvis: Difference between revisions

From UFOpaedia
Tarvis (talk | contribs)
Tarvis (talk | contribs)
Line 6: Line 6:




I've added a couple features to d3d.cpp. (Based on UFO Extender v. 1.29. and TFTF Extender 1.061.1
I've added a couple features to d3d.cpp. (Based on UFO Extender v. 1.29. and TFTD Extender 1.061.1)


*Width/Height options for fullscreen resolution (D3D Width/D3D Height in .ini). Set both to 0 to use current desktop resolution (default/original behavior)
*Width/Height options for fullscreen resolution (D3D Width/D3D Height in .ini). Set both to 0 to use current desktop resolution (default/original behavior)

Revision as of 17:59, 29 December 2012

UFO Extender D3D tweaks

Get here: ufoe_d3dtweaks.zip

For TFTD: tftde_d3dtweaks.zip


I've added a couple features to d3d.cpp. (Based on UFO Extender v. 1.29. and TFTD Extender 1.061.1)

  • Width/Height options for fullscreen resolution (D3D Width/D3D Height in .ini). Set both to 0 to use current desktop resolution (default/original behavior)
  • Bilinear Filtering option (Linear Filter in .ini) Setting to 2 will prescale the game first, which will be a compromise between blocky and blurry.

Linear Filter=0

Linear Filter=1

Linear Filter=2

Thanks for the great work! I definitly can tell that the image is sharper with the Linear=2. Although, I don't see much difference if it is =1 vs =0. Bad eyes, old system, or am I not looking for the right things?- Tycho
It's because Imgur converted them to .jpgs. I'll make (smaller) example images and upload them here. (done)

Things I'd like to look into eventually

  • Make D3D Windowed mode read from D3D Width/Height options and ensure correct game resolution
    • Windowed Fullscreen mode when D3D Width/Height are 0
  • Disable mouse clipping when game is not in focus (alt+tabbed out/minimized)
  • Add 'auto' setting for Screen Ratio which will automatically letterbox the game to 16:10 on any resolution
  • Make Alt+F4 close the game when fullscreen too
  • Add option to keep redrawing screen even if nothing is changed. This will fix issues with Steam Overlay and others.
  • Raise cap for new "Battlescape Speed" value as 5 still seems too slow
The values I put into each setting are just initial values. There is no way for me to evaluate what settings are needed for faster systems. What kind of system are you running (Are you using any other speed mods)? When I set the value to 5, the icon above the current unit and smoke animations are blurrs with an occasional pause. I have a five year old laptop with XP.
update: What are you using to zip the files? I get an 'unknown method' error on all the files except for patcher.dll -Tycho.
I have a Phenom II X4 on Windows 7, with just the stock .EXE and no other speed changes. At setting 5, the unit selection arrow only moves for me at about 3 times a second. FPS setting is not capped. The reason I'd like to uncap the Battlescape Speed value is so that the value can be adjusted for any system since performance on other machines can't be anticipated. Also, I repackaged the .zip (using Windows this time, before I used 7zip) and uploaded it. -Tarvis
Strange. I have a Core Duo, with XP Home that I got in 2006. How does the game run if the option is disabled? The delay at setting five is 34ms-(time to run through the next loop of the battlescape routine[ms]). Are you running with any compatibility options of Windows 7? Thanks for uploading a new version of the zip, BTW!-Tycho
Nope, no other settings. With it turned off it runs at blazing blur speed (unless FPS cap is on, but if I do it that way it's still a bit too fast) I figure if I could set it to 10 or 15 it would be just fine. Weird that it runs slower for me than it does for you, though... -Tarvis
For me, 5 is ploddish (about 3fps sounds about right), 1 is crawling, and 0 is full speed (a blur). Works the same on both my XP and 7 rigs. I'm inclined to blame graphics drivers for any discrepancies people see (over hardware or OS), given that my XP rig used to have usable scrolling without mods until I upgraded them. -  Bomb Bloke (Talk/Contribs) 02:02, 29 December 2012 (EST)
Thanks BB! I'm thinking I'll set the possible delay values at 68, 51, 34, 16, 10, and add and option for 6. - Tycho