Q about X2 utilities

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

siddham
Posts: 513
Joined: Thu, 25. Nov 04, 21:05
x3tc

Q about X2 utilities

Post by siddham »

Finishing up XBtF and getting set-up to play X2

Is there an X2 utility that makes it possible to extract information from the game files or from a savegame and produce printouts of my factories and ships etc...and...it would be great to be able to printout sector maps where I have properties?

Thanks
User avatar
Shadow dream
Posts: 1840
Joined: Thu, 1. Mar 07, 11:39
x3tc

Post by Shadow dream »

afaik those tools are only available for X3, not X2... scorp designed a programm that, connected with a script, exports informations from the runnung game and make them viewable in his programm.

Shadow
Wahre Gentlemen behalten sogar umzingelt von Löwen ihren Leitsatz: Ladies first.
Wann lernt die Gesellschaft endlich, dass Geld erst die Probleme macht, die wir haben?
[ external image ]
Topic - Gallery - Forum - Freiheit
jlehtone
Posts: 22866
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

LordSuch's Sector Planner had a script to write out stations from game.
Logaan had a site to post stats to (way before Egosoft had "Uplink"). That used a script as well.

So there have been X2 "tools".
siddham
Posts: 513
Joined: Thu, 25. Nov 04, 21:05
x3tc

Post by siddham »

[quote="jlehtone"]LordSuch's [url=http://forum.egosoft.com/viewtopic.php?t=44238]Sector Planner[/url] had a script to write out stations from game.
Logaan had a site to post stats to (way before Egosoft had "Uplink"). That used a script as well.

So there have been X2 "tools".[/quote]

Great...thank you.
I have found the Sector Planner...
but I cannot find Loogan's tool to extract the data.
On his site he has a page where he writes about it - but as a thing in the past; it's no longer available on his site.

Is it available elsewhere...
or does anyone have a copy of it they could send me?

Thanks :)
jlehtone
Posts: 22866
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Now that I remember, there was the X2-X3R Converter too. Look from X3R S&M Community Library. Again, a X2 script to write possessions into file (and X3R script to recreate them in that game).


:headbang: The Uplink. X2 1.5 has that. Writes out a file. No scripts required.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
siddham
Posts: 513
Joined: Thu, 25. Nov 04, 21:05
x3tc

Post by siddham »

And can I print the file out?

I mean - it doesnt just upload the data to Egosoft to be viewed there?
jlehtone
Posts: 22866
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Yes, you can "print" the file. The game does not upload; it just creates the file.

The file has extension '.pck' and is compressed with zlib algorithm. Quite many compression tools should be able to extract it. I have used 'gunzip'. You should make the extension of the decompressed file '.xml'. xml has structure, so it can be parsed easily to, for example, CSV (comma separated values) table that a spreadsheet can import.

A station entry in the file tells the sector, station type, price, value of wares in it, money on account, and "theoretical profit". "Profit" is "one hour continuous thoughput with all prices at average", so not the real ingame value. I find it useful though, to recalculate the yield of the Mine.

A ship entry tells sector, ship type, price, and value of wares. I cannot remember which of the two prices contains the ship upgrades.

The "sector" in the entries is just (x,y) of the sector in the galaxy map. (Kingdom End is 0,0.) Likewise, ship/station type and race are numeric, as referenced in the game's data files.

Return to “X²: The Threat - Scripts and Modding”