X-COM/TFTD Extender and languages patch


  • Please log in to reply
4 replies to this topic

#1 nebiun

nebiun

    Squaddie

  • Members
  • Pip
  • 5 posts

Posted 21 October 2012 - 06:25 PM

Few years ago I wrote a little utility for replace the French language with Italian for CE version of UFO and TFTD.

The utility extracts text from FRENCH.DAT, FRENCH2.DAT, LANG2.DAT and main EXE, creates plain text files, so I can translate every sentence in Italian.
The same utility does the reverse work.
Using the loaders with these patched files I obtain only misplaced strings, directly from the first menu (after the language choice).

This is for Tycho: can you add to your loader an option to replace one of the languages with another?

#2 nebiun

nebiun

    Squaddie

  • Members
  • Pip
  • 5 posts

Posted 22 October 2012 - 05:27 PM

Only to append source file (and exe) of my little work

Attached Files



#3 nebiun

nebiun

    Squaddie

  • Members
  • Pip
  • 5 posts

Posted 25 October 2012 - 05:20 PM

Ops!
I don't know whats happened in my previous test, but my utility works well with the extender (UFO and TFTD).
Now I can play UFO and TFTD in italian on Windows seven x64 Posted Image

#4 Tycho

Tycho

    Lieutenant

  • Project Staff
  • PipPipPipPip
  • 703 posts
  • Gender:Male

Posted 26 October 2012 - 12:47 AM

It should since all text (apart from a few necessary words added by the extender) are stored in one of the .\geoscape\<language>.DAT files.  The only caveat would be that the file name would have to remain the same.  As long as people are only making data changes to the DAT files, these changes should work with Extender.  There are a few places in TFTDextender where I had to change some unit data to compensate for a fix, but there will always be an option to disable these so your own changes will work.

#5 nebiun

nebiun

    Squaddie

  • Members
  • Pip
  • 5 posts

Posted 26 October 2012 - 05:32 PM

Hi Tycho,
Text are in the exe (sentences for the intro of the games) and in the LANGx.DAT files: in this files there are pseudo graphic character to build the geoscape menu.
My utility extract this pseudo graphic into a text file, than people can traslate geoscape menu, too.
This is an example of the extract of a LANGx.DAT:

@#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
@,#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\./
@,\...........................................................~/
@,\.........#.#..#.###.##.##,.,#.##.###.###.,#,.##,.##........~/
@,\.........#.##.#..#..#..#.#.#..#...#...#..#.#.#.#.#.........~/
@,\.........#.#.##..#..##.##,.#..##..#...#..###.##,.##........~/
@,\.........#.#..#..#..#..#.#.#..#...#...#..#.#.#.#.#.........~/
@,\.........#.#..#..#..##.#.#.,#.##..#...#..#.#.#.#.##........~/
@,\...........................................................~/
@,.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
@.//////////////////////////////////////////////////////////////
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.
@,#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\./
@,\...........................................................~/
@,\......................##,.,#,.,##.#........................~/
@,\......................#.#.#.#.#...#........................~/
@,\......................##,.###.,#,.#........................~/
@,\......................#.#.#.#...#.#........................~/
@,\......................##,.#.#.##,.#........................~/
@,\...........................................................~/
@,.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
@.//////////////////////////////////////////////////////////////
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users