Under The Hood

From UFOpaedia
Revision as of 21:54, 9 November 2005 by JellyfishGreen (talk | contribs) (→‎General: anyone for secret items?)
Jump to navigation Jump to search

Information in this section cracks open the bonnet and attempts to explain the how and why questions on a variety of aspects of the inner workings of the games, such as formulas and other odds and ends like reproduceable game bugs or useful 'glitches'. (Note this does not include technical bugs)

As we don't have the source code, quite a lot of the information here is derived the traditional way, with paper, pen and lots of free time.

Note: It is hoped that the following articles will be incorporated into their related sections at a later date - where and when ever possible (reactions under stats, phantom radars under general radar information, etc). Also duplicate entries will need to be cleared out.


Useful Glitches, Workarounds or Just Plain Odd Stuff

See also Exploits

Not so useful Glitches

See also Known Bugs.

  • Glitches with the Gauss SWS (TFTD only)
  • Ufo Names in Tftd (TFTD only)
  • Vertical waypoint bug (Collectors Edition only) - Blaster bombs go south instead of straight down.
  • Proximity mine bug - if nobody explodes the proximity mine, something else may explode in the future.
  • Disappearing ammo bug- partly used clips are discarded. XCOMUTIL fixes.
  • Ctrl+C - why it does what it does and why you shouldn't exploit it. (Dos versions only, where GEOSCAPE and BATTLESCAPE are separate programs connected by a batch file.)
  • "My body is a weapon" - Alien corpses sometimes contain an ammo clip. Probably another case of data corruption
  • Unresearched alien weapons can not be thrown. (Items need a weight to be thrown, and you don't know its weight until you research it.)
  • Transfer limit cash eater - Only 100 items can be in transit at a time. (Here, a transfer of e.g. 200 Elerium counts as one "item". Also, all soldiers are counted individually.) If you go over the limit, you will get a warning that there is no more transport capacity. If you STILL try to transport something after getting the warning, the item will stay where it is, but the transportation cost still gets deducted.

Game File Analysis

Not-for-profit-just-for-fun reverse engineering.

  • General note re: hex editing game files
  • GEODATA - Text for localization.
  • GEOGRAPH - Graphics for UFOpaedia and research screen backgrounds.
  • MAPS - Pre-generated Battlescape terrain blocks (.MAP). These are filled in with terrain tiles. A few dozen blocks make up a battlescape.
  • MISSDAT\DUM.BIN - placeholder
  • ROUTES - Alien route maps (.RMP) for moving around the pre-generated Battlescape terrain blocks.
  • SOUND - 1990-era sound drivers, or MIDI files for Windows version.
  • TERRAIN - Battlescape graphic tiles for buildings, ships, and terrain.
  • UFO2EXE\TACTICAL.EXE - The "Battlescape" program in DOS-release of UFO.
  • UFOEXE\GEOSCAPE.EXE - The "Geoscape" program that handles base management and aircraft.
  • UFOEXE\BLACK.EXE - The black screen UFO.BAT puts up when swapping between the above two programs.
  • UFOGRAPH - Misc graphics (.PCK) for soldier equipment screens, smoke, motion detector blobs
  • UFOINTRO - Holds the introduction movie (.FLI) and the endgame pictures (.LBM)
  • UNITS - Battlescape graphics for soldiers, aliens, and the pixelated guns they hold. (.PCK)
  • Stub for the moment - a link to DaiShiva's miscellaneous file formats, including many of the above. Until this section gets fleshed out.
  • Why Febuary is special - it has 31 days