Jump to content

User:Morgan525

From UFOpaedia
Revision as of 01:45, 27 July 2012 by Morgan525 (talk | contribs) (Video)

I'm also known as "Tycho" on Strategycore forums. I've been learning about disassembly and C++ coding since December of 2011 because I wanted to mod the tank/cannon into a chaingun. I started playing with DOSbox but switched to the CE version and began focusing on its sound problems. I have tinkered with Seb76's UFOloader, added those fixes of my own, and rearranged Seb's INI file to make it less overwhelming to new users. I started helping Kyrub in his quest to convert UFOextender into one for Terror From the Deep but I guess I am now the main person doing it. You can find it here: File:TFTDextender.zip, as well as the original File:UFOLoader.zip.

TFTDextender

This section is about the loader I've been working on that is a conversion of the UFOloader which adds functionalities/fixes to the TFTD Collector's Edition (MS Windows version). The extender patches the program in memory, it does not modify the executable. The advantage is that it won't change the file on disk so there is little risk of destroying your game installation (still, it is wise to do a backup of your game folder before using this).

  • You need the VC2008 runtime to run this program. If you don't already have it installed, you can get it here. Also if you want to use the mp3 patch, you need to have Windows Media Player installed.
  • Some changes will be recorded to a game's save files so be aware of this fact when you change options and wonder why some changes don't work on games already in progress. Changes will require you to restart the loader to have them take full effect.

By default most bug fixes and video pitch are enabled; there is a section in the INI for bug fixes in case you want to disable a fix. For the rest, you will need to enable them. To use, just unpack the zip file in your XCOM directory, edit the INI file with any simple text editor, like Window's notepad, and start the TFTDextender.exe file. It looks for a file named "UFO Defense.exe" (you can change this in the INI file). Of course, if your computer fries while you're using it, I don't take any responsability... Do not hesitate to report any problem you encounter with it, I'll try to help you fix it.

TFTDextender options

Video

  • Video Pitch: similar to f0dder's loader. Fixes the garbled video because pitch is not set. This is enabled by default.
  • HQ4x: raise the resolution of the game and apply some filtering. It is quite CPU intensive though...
  • D3D: replace DirectDraw calls to Direct3D9. It sets the monitor to its default resolution and uses D3D to stretch the image on screen. It may also fix the speed issues if your video driver is configured properly
  • D3D Windowed: run the game in a window

These settings are tiered together. Some will work together while others will automatically override the previous level: [initial] video pitch -> HQ4x -> D3D -> D3D&HQ4x [highest].

  • Always On Top: force the window in the foreground
  • Clip Cursor: prevent the cursor from going outside the window. Move/resize the window to unlock it.
  • Scale Mouse: attempt to fix the cursor running off screen when using HQ4x and/or D3D
  • Screen Ratio: add black bars to keep aspect ratio on non 16/10 monitors (based on patch from mikawo) You can set "Screen Ratio" to correct your aspect ratio. I believe "1" is for a 4:3 aspect ratio like 800x600. If you have a widescreen, you need to find the appropriate reduction. For example, if you have a 1920x1080 screen. The 4:3 ratio is 1440x1080, so 1920/1440 = 1.333333333. Using this value for Screen Ratio seems to give the correct aspect ratio when compared to DOSBox results. Some common settings are 0.833333, 1.0, and 1.333333.
  • Max FPS: limit the framerate for the ones that cannot get vsync working. Not as smooth as vsync limited, but better than nothing (only works with D3D or Video Pitch enabled). Helps to slow the game, similar to lowering cycles per second. Defaulted to 70.
  • Skip Intro: bypass the Microprose and introduction video when you start the game.
  • Force Language: automatically selects the appropriate language for you.

Equipment

Equipment Screen Exactly the same as UFOextender except the sprites and a few labels are changed. The rank icon is now standard as part of TFTD.

Other Information