Jump to content
XCOMUFO & Xenocide

A Fix For The Tftd Research Bug


Recommended Posts

I've been digging through the research tree in the code, and although I haven't yet been able to figure out how to modify the executable to change the tech tree or fix the research bugs (but I am certainly trying!) I've got an executable that fixes the bugs in an existing game.

 

This fixes the four research bugs I know of relating to mis-ordering of research. If you're missing an item like Alien Sub Construction, the Disruptor Pulse Launcher, or the MC Reader, the game will automatically let you the research item once you acquire it -- you don't need to rerun this executable after you've acquired a sample of the item.

 

If you're using xcomutil this can be run automatically after each battle.

 

Feedback appreciated!

 

 

FAQ from the README:

 

 

Q. Should I back up my data before I run this?

 

A. Yes. This doesn't modify any executables,

just game data, so backing up your saved games

is sufficient.

 

Q. Which version of TFTD is this for?

 

A. This is for version 2, in which you can research

Magnetic Navigation as soon as you have it.

 

It shouldn't break anything with version 1, but I

have done no testing. Feedback from anyone using

version 1 would be appreciated.

 

Q. How do I fix a research bug in my saved game?

 

A. Go to the specific saved game directory and run

RESEARCH.EXE. If there is a bug that is fixed,

you will get a message describing each bug it

finds and fixed.

 

Q. Which research bugs does it fix?

 

A. It currently fixes four:

 

1. If the MC Lab is fully researched, then the

MC Reader will become available once you

acquire one (even if you don't yet have one).

 

2. If you have researched Plastic Aqua Armor,

Ion Beam Accelerators, and a live Deep One,

then Ion Armor will be available.

 

3. If you have researched Zrbite, then you will

be able to research the Disruptor Launcher

once you acquire one.

 

4. If you have researched Zrbite and the

Transmission Resolver, you will be able to

research Alien Sub Construction once you

acquire a sample.

 

Q. Can I incorporate this into my game?

 

A. If you have XcomUtil, yes! It should run

automatically. Just copy research.exe and

xcuhook3.bat to MPS/TFTD.

 

If you already have an xcuhook3.bat script,

you can merge them together.

 

If you don't want to get status messages

after every battle, add " --quiet" after

"research.exe" in the xcuhook3.bat file..

 

 

 

Q. What does the future hold?

 

A. These things:

 

1. Making individual fixes selectable.

 

2. Getting rid of the corpse requirements for

the vibroblade.

 

3. Reading generic changes from a configuration file.

 

4. Putting these changes into the executable.

tftdfrix.zip

Link to comment
Share on other sites

  • 2 weeks later...
Nice too see a TFTD fan...uhh Dan? have you seen this page at all?

 

http://paralight.ru/xcom/

 

Pretty much fixes anything you could ever want fixed in the way of research.

 

Yep, I saw that. It's what inspired me to write what I did.

 

It's a little restrictive for me: it makes anything you're missing be automatically completed in one day, and you have to complete all other projects at all other bases. I was playing TFTD with the XcomUtil patch for getting research help from aliens, for instance, and didn't want to just mark the MC Reader as "done" since it practically requires nabbing an Aquatoid Medic.

 

The Tech Tree PDF hosted at that page has some bugs on it, though. Such as, the advanced SWS's come after Manta, not the Hammerhead.

 

Is there any demand for getting rid of the corpse requirements for Vibroblade research? That one is easy enough to do, but once I move away from just fixing bugs and towards modding things, I'll need to supply a configuration file or script of some kind.

Link to comment
Share on other sites

  • 2 years later...

hi

i fell into the live deep one/ion beam accelerators trap, so i couldn't get the ion armour.

When I used this thing, it idnd't report any bugs fixed, but i still cannot research the ion armour. Both the live deep one and ion beam accelerators are already researched.

help plz???

thx

Link to comment
Share on other sites

Do you have Plastic Aqua Armor? Ion Armor requires that you have Plastic Aqua Armor and the Ion Beam Accelerators researched before you interrogate the live Deep-One.

 

You could just start a brand new game and copy the Research.dat file (and up.dat to clear the ufopaedia) from the new game into your current game. That way you'll be able to start your research from scratch.

 

- NKF

Link to comment
Share on other sites

  • 4 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...