X3 map v1.2 by Scorp (v1.2.3.9) Terran Conflict Edition !

General discussions about the games by Egosoft including X-BTF, XT, X², X³: Reunion, X³: Terran Conflict and X³: Albion Prelude.

Moderator: Moderators for English X Forum

I prefer ...

default map-color-scheme
402
66%
alternative map-color-scheme
207
34%
 
Total votes: 609

steve_v
Posts: 173
Joined: Sun, 12. Jun 16, 08:39
x4

Post by steve_v »

Having some difficulty getting the application to load / load my logfile...

X3AP3.2+XRM+TCAP, GNU/Linux.

I can start the application (both in wine and in a Windoze 7 VM) and see the default map, but when I try to load my logfile I get a dialog box with a red cross icon, no text and an "OK" button.
Pressing the button gives me a map with a single sector (Kingdoms End) in the upper right corner and nothing else.
Something wrong with the logfile? It's somewhere around 950Kb and appears to contain valid data, at least as far as I can see. I'm searching in it to find stuff since can't get the map working.

I had thought perhaps this is a dos/unix line ending thing, so I attempted to run it through the 'unix2dos' script. This complains of binary characters in the file, and indeed, I see non-ascii characters in some of the ship names.
Dunno if that's a thing that's supposed to be there, I guess I could write a script to remove them...

On the whole though, this app seems incredibly flaky - there's the blank dialog, then there's the "not enough timers" (which appears to be fixed with a reinstall) and now if I try to load the log for a second time without closing it I get a stack overflow... :?
What gives? Any Idea why the script is generating a lg the application can't read? And why no error output?
Iñakifp
Posts: 82
Joined: Thu, 25. Oct 07, 13:41
x4

Re: X3 map v1.2 by Scorp (v1.2.3.9) Terran Conflict Edition !

Post by Iñakifp »

Anyone making this map work with Xtended TC 2.2?
Solomon Short
Posts: 797
Joined: Wed, 25. Mar 09, 07:00
x4

Re: X3 map v1.2 by Scorp (v1.2.3.9) Terran Conflict Edition !

Post by Solomon Short »

Iñakifp wrote: Mon, 3. Feb 20, 15:24 Anyone making this map work with Xtended TC 2.2?
It should already.

It comes with a script that you can run from a hotkey (once you've defined the hotkey) that exports all the relevant map data to "log0001.txt" (IIRC) in your X3TC folder under My Games, which you can load into the map program for a "Custom Map".

I believe it's original intended use was to let you generate maps later in the game when stations have been added & removed, or you've started connecting The Xenon Hub, but it should also work for modded maps.
Iñakifp
Posts: 82
Joined: Thu, 25. Oct 07, 13:41
x4

Re: X3 map v1.2 by Scorp (v1.2.3.9) Terran Conflict Edition !

Post by Iñakifp »

Thanks for the answer.
Unfortunately I get errors when trying to open my log file. I used this map with x3 reunion/Xtended mod and x3tc/xtended mod 1.2. But I updated the mod to its last version 2.2 and it doesn't work.
It seems in version 2.0 of the mod a file must be modified. But the server hosting the file is not online anymore :(
The file is this one: 7211-L044.xml

Anyone has it?
User avatar
Hairless-Ape
Posts: 373
Joined: Wed, 6. Nov 02, 20:31
xr

Re: X3 map v1.2 by Scorp (v1.2.3.9) Terran Conflict Edition !

Post by Hairless-Ape »

Want the best maps with the best map generator/editor ever and the best mod ever?

viewtopic.php?f=94&t=449012

enjoy
Out of my mind. Back in 5 minutes.
Dunai
Posts: 1
Joined: Sun, 25. Dec 22, 21:02

Getting scorp map to actually work

Post by Dunai »

Hi, I'm playing X3TC and wanted to install a script from scorp, which shows you detailed map of your universe. Can't get it to work whatsoever, so this is a question to those, who might've played with this script or just generally could help me out.
So, script comes with its own exe installer, but it can't find the location of my game, despite me adding entry to regedit as stated on scorp's website.
Then, manually adding files to /script and /t folders in x3tc root doesn't do anything as well, as in script doesn't show up in extensions menu in settings while in-game.
User avatar
N8M4R3
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 446
Joined: Fri, 24. Nov 06, 15:48
x4

Re: Getting scorp map to actually work

Post by N8M4R3 »

Dunai wrote: Sun, 25. Dec 22, 21:08 ... script doesn't show up in extensions menu in settings while in-game.
Does the script set your game to modified after loading?
Neue Erweiterung für X3 verfügbar: Farnham's Legacy | +Optional: weitere Verbesserungen im inoffiziellen Patch v1.3.19 *** Modified*** :khaak: :thumb_up:
Diese Woche im Angebot: HUD-GUI-Mix (FL) | Text-DB 0001-L049 (FL)
Weitere Veröffentlichungen hier: N8workX
Nützliches Tool für nicht mehr vorhandene Downloads: web.archive.org
Externes Archiv für MOD/SCR Ressourcen: xdownloads.co.uk | code.google.com/archive/p/x3tcscripts/
zbynekmacek
Posts: 1
Joined: Tue, 20. May 25, 10:44

Re: X3 map v1.2 by Scorp (v1.2.3.9) Terran Conflict Edition !

Post by zbynekmacek »

I made a simple script using python that fixes the log in the game X3 TC with the Xtended mode on version 2.2a. This script fixes the wrong texts in the log and fixes them. This fixed log can then be inserted into the X3 map by Scorp for the TC version and everything works without errors. The installation instructions are simple. Insert the lines of code into a text file and name it logfix.py for example, save this file to the place where the game log is created. Then you must have the python function installed on windows and just run it. A new log_fixed.txt file will be created. Simple.

# Fixing line breaks in the log file
input_file = "log00001.txt"
output_file = "log_fixed.txt"

with open(input_file, "r", encoding="utf-8") as f:
lines = f.readlines()

fixed_lines = []
i = 0
while i < len(lines):
line = lines.rstrip("\n")

# Rule 1: current line starts with '+' and the next line starts with ';'
if line.startswith("+") and i + 1 < len(lines) and lines[i + 1].strip().startswith(";"):
combined = line + lines[i + 1].strip()
combined = combined.replace(" ;", ";") # remove space before semicolon
fixed_lines.append(combined)
i += 2

# Rule 2: current line has no semicolon and the next line starts with 'Forge'
elif i + 1 < len(lines) and ";" not in line and lines[i + 1].startswith("Forge"):
combined = line.strip() + " " + lines[i + 1].strip()
combined = combined.replace(" ;", ";")
fixed_lines.append(combined)
i += 2

# Rule 3: current line has no semicolon and the next line starts with 'alpha'
elif i + 1 < len(lines) and ";" not in line and lines[i + 1].startswith("alpha"):
combined = line.strip() + " " + lines[i + 1].strip()
combined = combined.replace(" ;", ";")
fixed_lines.append(combined)
i += 2

otherwise:
# Also remove space before semicolon in normal lines
line = line.replace(" ;", ";")
fixed_lines.append(line)
i += 1

# Write fixed lines to a new file
with open(output_file, "w", encoding="utf-8") as f:
for line in fixed_lines:
f.write(line + "\n")

print("Log fixed and saved as", output_file)


and another condition is to change the characters in 7211-L044.xml that are not supported by X3 map

<?xml version="1.0" encoding="utf-8"?>
<language id="44">
<page id="12" title="Boardcomp. greek" descr="Spoken greek letters" voice="yes">
<t id="100">alpha</t>
<t id="101">beta</t>
<t id="102">gama</t>
<t id="103">delta</t>
<t id="104">epsilon</t>
<t id="105">zeta</t>

Return to “X Trilogy Universe”