Benutzer:SymTec ltd./Scripts/X3-X3TC-Converter English

Aus X-Lexikon
Zur Navigation springenZur Suche springen
X3 Reunion: start Converter
X3 Reunion: Converting complete
X3: Terran Conflict: start Converter
X3: Terran Conflict: Converting complete

The X3-X3TC-Converter is a script that can convert a X3 Reunion game into another savegame in X3: Terran Conflict. It first reads all available data of player property and writes it to a textfile. That textfile can be read by the game X3TC, which creates ships and stations for the player based on that data.

script information

{{#if:||Gruppe:||{{{group}}} {{#if:8770||TextID:||8770 (498770.xml) {{#if:||valign="top"|CommandIDs: ||{{#ifexpr: {{{cmd1}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd1}}} mod 1200}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd1}}} mod 1100}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd1}}} mod 900}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd1}}} mod 800}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd1}}} mod 700}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd1}}} mod 600}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd1}}} mod 500}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd1}}} mod 400}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd1}}} mod 300}} ({{{cmd1}}})|{{#ifexpr: {{{cmd1}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd1}}} mod 200}} ({{{cmd1}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd2}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd2}}} mod 1200}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd2}}} mod 1100}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd2}}} mod 900}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd2}}} mod 800}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd2}}} mod 700}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd2}}} mod 600}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd2}}} mod 500}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd2}}} mod 400}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd2}}} mod 300}} ({{{cmd2}}})|{{#ifexpr: {{{cmd2}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd2}}} mod 200}} ({{{cmd2}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd3}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd3}}} mod 1200}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd3}}} mod 1100}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd3}}} mod 900}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd3}}} mod 800}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd3}}} mod 700}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd3}}} mod 600}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd3}}} mod 500}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd3}}} mod 400}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd3}}} mod 300}} ({{{cmd3}}})|{{#ifexpr: {{{cmd3}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd3}}} mod 200}} ({{{cmd3}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd4}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd4}}} mod 1200}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd4}}} mod 1100}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd4}}} mod 900}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd4}}} mod 800}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd4}}} mod 700}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd4}}} mod 600}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd4}}} mod 500}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd4}}} mod 400}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd4}}} mod 300}} ({{{cmd4}}})|{{#ifexpr: {{{cmd4}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd4}}} mod 200}} ({{{cmd4}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd5}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd5}}} mod 1200}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd5}}} mod 1100}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd5}}} mod 900}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd5}}} mod 800}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd5}}} mod 700}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd5}}} mod 600}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd5}}} mod 500}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd5}}} mod 400}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd5}}} mod 300}} ({{{cmd5}}})|{{#ifexpr: {{{cmd5}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd5}}} mod 200}} ({{{cmd5}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd6}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd6}}} mod 1200}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd6}}} mod 1100}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd6}}} mod 900}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd6}}} mod 800}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd6}}} mod 700}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd6}}} mod 600}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd6}}} mod 500}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd6}}} mod 400}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd6}}} mod 300}} ({{{cmd6}}})|{{#ifexpr: {{{cmd6}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd6}}} mod 200}} ({{{cmd6}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd7}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd7}}} mod 1200}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd7}}} mod 1100}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd7}}} mod 900}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd7}}} mod 800}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd7}}} mod 700}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd7}}} mod 600}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd7}}} mod 500}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd7}}} mod 400}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd7}}} mod 300}} ({{{cmd7}}})|{{#ifexpr: {{{cmd7}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd7}}} mod 200}} ({{{cmd7}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd8}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd8}}} mod 1200}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd8}}} mod 1100}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd8}}} mod 900}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd8}}} mod 800}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd8}}} mod 700}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd8}}} mod 600}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd8}}} mod 500}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd8}}} mod 400}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd8}}} mod 300}} ({{{cmd8}}})|{{#ifexpr: {{{cmd8}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd8}}} mod 200}} ({{{cmd8}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:|
{{#ifexpr: {{{cmd9}}} > 1200|COMMAND_TYPE_SHIP_{{#expr:{{{cmd9}}} mod 1200}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 1100|COMMAND_TYPE_STATION_{{#expr:{{{cmd9}}} mod 1100}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 900|COMMAND_TYPE_TURRET_{{#expr:{{{cmd9}}} mod 900}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 800|COMMAND_TYPE_GENERAL_{{#expr:{{{cmd9}}} mod 800}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 700|COMMAND_TYPE_CUSTOM_{{#expr:{{{cmd9}}} mod 700}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 600|COMMAND_TYPE_PIRACY_{{#expr:{{{cmd9}}} mod 600}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 500|COMMAND_TYPE_SPECIAL_{{#expr:{{{cmd9}}} mod 500}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 400|COMMAND_TYPE_TRADE_{{#expr:{{{cmd9}}} mod 400}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 300|COMMAND_TYPE_FIGHT_{{#expr:{{{cmd9}}} mod 300}} ({{{cmd9}}})|{{#ifexpr: {{{cmd9}}} > 200|COMMAND_TYPE_NAV_{{#expr:{{{cmd9}}} mod 200}} ({{{cmd9}}})|nicht angegeben}}}}}}}}}}}}}}}}}}}}}} {{#if:||-}} {{#if:||colspan="2"|Ersetzte Scriptdateien:||{{{replaced}}} {{#if:http://forum.egosoft.com/viewtopic.php?t=218395 Egosoft (DE)]
Egosoft (EN)||Forum:||[http://forum.egosoft.com/viewtopic.php?t=218395 Egosoft (DE)
Egosoft (EN) {{#if:http://madxhawk.com/downloads.php?view=detail&df_id=119 madxhawk.com||Download:||madxhawk.com {{#if:29/61kB||Anzahl Files/Größe:||29/61kB {{#if:Logfile||Logfile:||log08770.txt}}
Script: X3-X3TC-Converter {{#if:SymTec ltd.|von SymTec ltd.|}} {{#if:0.9 beta|(V0.9 beta)|}}
Spiel: X3|X³ - Reunion|{{#ifeq:X3|X2|X² - The Threat|nicht angegeben}}}} {{#if: DE/EN|- DE/EN|}}

install / execute

1.: Install script package for X3 Reunion:
Copy script and textfiles from the installation folders to the X3 Reunion filesystem. Move the contents of the /scripts folder to /scripts, the files in folder /t into the folder /t.


2.: Read data from X3 Reunion:
Start your current X3 Reunion savegame. If not activated yet, you need to activate the script editor by changing your player name to "Thereshallbewings". 15 seconds after activating the script editor or loading a saved game with activated script editor, you get an incoming message which includes the option to start the converter.

Hint: By ativating the script editor, your savegame will be marked as *modified*. In case you want to continue with a non-modified savegame later (e.g. for the "uplink" feature of X3 2.5), you should not save the game now, but terminate it as soon as possible.


3.: Rename logfile and move file to X3: Terran Conflict filesystem
The X3 Reunion game folder now contains a file named log08770.txt. You need to rename that file to 8770-L044.xml and move it to the /t folder of X3: Terran Conflict.

Hint: If you rename the script incorrectly, it won't work in X3: Terran Conflict. This is a known problem.


4.: Install script package for X3: Terran Conflict:
Copy scripts from the installation folder to the X3: Terran Conflict filesystem. Move the contents of the /scripts folder to /scripts.


5.: Read data to X3: Terran Conflict:
Start a new X3TC savegame or load an old one. Activate script editor. 15 seconds after activating the script editor or loading a saved game with activated script editor, a selection window for the converter pops up. Choose the options and then select "Start Converter".


6.: Remove scripts
After the reading process, the scripts and textfiles are not needed anymore. You can remove them from your game.


known issues

Textfile cannot be found (ReadText 8770-70 cannot be found. You might not have installed the textfile correctly...)

  • If you created the datafile with one language version of the game and now try to read them with another language version, you first need to adjust the language id (44 English, 49 German). Rename 8770-L049.xml to 8770-L044.xml (or the other way round), and change the "language id" within the file.
  • The Windows Explorer has the option to not display a file ending for known file types. This option must be deactivated to rename the textfile correctly. If your browser displayed log08770 instead of log08770.txt, this is most likely the cause for this problem. You can change this in the folder options.


Factory complexes are not connected, and stations have their default names

  • MSCI is not able to connect factory complexes. In case you don't want the unconnected stations at all, there is an option on the X3TC converter start screen.


Ships have different wares in their cargobays than in X3 Reunion, weapons don't fit anymore

  • If the game internal ware id numbers have changed between the games, they need to be entered into a list manually. As I didn't have the time to do that for all wares yet, I can only do this for future versions. Until then, you should notify me if a new ware does not match the old ware so that I can add the ware to the list.
  • Not every X3TC ship can carry the same weapon as in X3 Reunion. Therefore, some weapons don't match the ships anymore. This is not going to be changed.


Ships from the XTended-Mod or other mods disappeared or changed to completely different ships

  • Like wares, ships also have id's that change from game to game. As I could not create an id list for mods and don't even know what X3TC ships to connect to the modded ships, I can only create seemingly random ships or none at all.


The error log is filled with errors

  • That's nothing unusual. The log contains many errors that don't cause trouble for the conversion process itself.


Things that the converter does not copy

  • Ships that are not part of the vanilla game
  • ship commands that are not part of the standard commands
  • complex hubs and connections
  • the player HQ (will show up as an Argon equipment dock)
  • missions/plot stuff
  • any object not owned by the player
  • player statistics
  • scripts, mods
  • variables of bonus extensions

files

/X3 Reunion
/scripts/
conv.x3.x3tc.galaxy.xml
conv.x3.x3tc.idcode.xml
conv.x3.x3tc.locvars.xml
conv.x3.x3tc.main.xml
conv.x3.x3tc.shipstring.xml
conv.x3.x3tc.start.callback.xml
conv.x3.x3tc.stationstring.xml
conv.x3.x3tc.subtypeconverter.xml
conv.x3.x3tc.warestring.xml
setup.x3.x3tc.converter.xml
/t/
498770.xml
448770.xml
/X3TC
/scripts/
conv.x3tc.error.xml
conv.x3tc.field.xml
conv.x3tc.header.xml
conv.x3tc.locvars.xml
conv.x3tc.main.xml
conv.x3tc.sector.xml
conv.x3tc.shipstring.1.xml
conv.x3tc.shipstring.2.xml
conv.x3tc.start.xml
conv.x3tc.stationstring.xml
conv.x3tc.wares.xml
setup.conv.x3tc.xml

versions

  • 0.8 beta, 03.09.2008: Closed Beta for testing purposes
  • 0.9.1 beta, 21.10.2008: Public Beta in preparation of the release
  • 0.9.2 beta, 24.10.2008: Solved problem "Wares do not get created"
  • 0.9.3 beta, 01.11.2008: Solved problem "Stations do not produce"

see also