[Script][V1.3|2.5|1.0] X2-X3//X3-X3-Converter//Copy Ships and Stations

The place to discuss scripting and game modifications for X³: Reunion.

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

kuunlb
Posts: 22
Joined: Mon, 4. Feb 08, 17:58

Post by kuunlb »

ok

here's some info..

i finally was able to transfer my ships and stations to the XTM mod from vanilla..

however..

all my TL's that had stations in them waiting to be deployed.. vanished..

some items like nividium.. and others that are rare.. also vanished..

my pontifax ship vanished (not to worry i had a hyperion made :)

I also found that unlinking all my stations via not moving the complex nodes... made it much easier for me to compile my complexes..

i had 5 complexes of 66 stations.. now i have 2 of 66.. took some work.. but i liked my end results..

i got to relocate my HQ where i wanted it and have an almost entire map of stations including mines with a hub really close to my HQ.. and my HQ close to a gate :)

this script is wonderful..

has it's drawbacks.. but is otherwise very useful.. ty symtec for your help and contribution

btw.. when you run the script.. don't do ANYTHING until you hear the beep.. my logfil was being cuyt short cause i kept checking the messages... and falsely thinking it was finished

now, onto world domination XTM style!

Kuun
User avatar
SymTec ltd.
Posts: 5285
Joined: Mon, 11. Apr 05, 21:11
x3tc

Post by SymTec ltd. »

nice that it turned out so well :)

there are, infact, some rather "interesting" issues with the converter. It is written based on my scripting abilities from one year ago, so I could probably do much better now. But as you see by the amount of support I can give right now, I am not having a lot of time :| - so I can only hope that the thing keeps working as well as it does.
User avatar
Algoran
Posts: 584
Joined: Wed, 5. Apr 06, 08:12
x3tc

Post by Algoran »

This converter is excellent :D Just thought i would say, ive had a small problem with it - its only spawning 10 of my 20 stations in my new game. Everything else works fine. It puts a message in my log for each station it fails to spawn, something along the lines of:

3: parsing error: object 3 could not be created.
string: (a bunch of numbers and letters including several 'null's)x (station name)

oh also its not reinstalling ships tunings fully, but i gather thats just something that happens.
kuunlb
Posts: 22
Joined: Mon, 4. Feb 08, 17:58

Post by kuunlb »

it may not be perfect.. but it most definately serves it's purpose
ok yeah so i lost a few of those special ships.. but those came from missions and can be reattained..

the most important thing is.. i got to keep all my stations :)

and i got to take them to th new XTM stuff and won't miss out on anything

cheers :)


btw ty for your assistance and timely replies via email

kuun
User avatar
kilrathy
Posts: 922
Joined: Thu, 18. Jan 07, 09:01
x3tc

Post by kilrathy »

Hello there.

I successfully used the X2 - X3 converter and i have now all my old X2 universe in my X3 version 2.5 game.

I have a problem with all my factories, they have came with their stock and ressources but they don't want to produce any more. The counter of % of needed ressources is stuck to 0% while they have ressources and money.

Any idea of what is wrong ? Thank's for your answer.
kuunlb
Posts: 22
Joined: Mon, 4. Feb 08, 17:58

Post by kuunlb »

i think the station resource fixer comes in handy here?

check the readme with the converter

i believe the fixer is in the ai panel
User avatar
kilrathy
Posts: 922
Joined: Thu, 18. Jan 07, 09:01
x3tc

Post by kilrathy »

nothing in the AI panel (it's empty) and nothing about a fixer in the readme file. too bad...
kuunlb
Posts: 22
Joined: Mon, 4. Feb 08, 17:58

Post by kuunlb »

kilrathy wrote:nothing in the AI panel (it's empty) and nothing about a fixer in the readme file. too bad...
my apologies

i went and verified.. i was referring to the fixer in the ashleys XXL mod.. sorry for the confusion
User avatar
SymTec ltd.
Posts: 5285
Joined: Mon, 11. Apr 05, 21:11
x3tc

Post by SymTec ltd. »

I confirm and admit that this is a bug, and a really known one as well. It can be fixed (by me), but has not been so far, and might possibly not ever be.

I know that I wrote a fix that fixed existing stations - it is in this topic iirc.
User avatar
ChemODun
Posts: 436
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

Hi, are you need Russian translation for X3-X3 converter ? It was maked by me for EG. Can I send it to you?
Multiply entropy by absolute zero

Freedom in space
Midnight Runner
Posts: 5
Joined: Fri, 8. Feb 08, 16:42

Post by Midnight Runner »

Mmm...where is the mammoth with my phq in it? Can't find the bugger :(
spoidz
Posts: 607
Joined: Sat, 6. Mar 04, 20:43
x3tc

Post by spoidz »

Midnight,

It will be named whatever you named your HQ when you wrote the log file.

Mine was "HQ ARGUS" so now I have a Mammoth named "HQ ARGUS".

Also it may also try to land at the nearest place it can, so it may have landed somewhere near where you had dropped the HQ.

Check your "property owned" list, it is the fastest way to find it. Your Sector Map may not show it if it landed already.
X-EagleWing
Posts: 6
Joined: Sun, 10. Feb 08, 16:21

Post by X-EagleWing »

A problem in my used the x3-x3-converter, the Known sectors, salvage insurances and Bank Credits can be successful convert to the log8758.txt. but not include any ship for me(not owned any station). And, I'm used the DDRS Mod. Thanks
spoidz
Posts: 607
Joined: Sat, 6. Mar 04, 20:43
x3tc

Post by spoidz »

X-EagleWing,

I don't know anything about DDRS mod so I can't say that there isn't some conflict.

If you still have that original log8758.txt, open it with notepad

Check the very first line and see that it looks similar to this
<?xml version="1.0" encoding="UTF-8" ?><language id="44"><page id="8758" title=" " descr=" ">
It MUST be in UTF-8 encoding. If it is not you'll have to re-save it in that format. (Notepad has a button to choose format).

Scroll through the txt file and see if it "looks" like it has all your stuff.

Most of the lines will end with the name of your items
<t id="14">sA2A0A282jj7nGRnullnullnull00000000Y00000n6J8wE06IUKwF01J60ywG01Vk0wB00HBSx Your Falcon Hauler 06 </t>

If you don't see any of your ships (or station) in that text file I would suggest re-WRITE from your last clean universe again.
X-EagleWing
Posts: 6
Joined: Sun, 10. Feb 08, 16:21

Post by X-EagleWing »

Thanks for help.
This's all information in my log8758.txt
<?xml version="1.0" encoding="UTF-8" ?><language id="44"><page id="8758" title=" " descr=" "><t id="1">u6mmHN00000981hl80Ke80U480cZ81Ge000000000000802700008
000G0007nTn80008000800080008000I3I2I1H3H1G5G4G3F6F5F3E6E3E2E1
D6D1C6B7B6B5A8A7A5A4999894939289888379787776737269666564636
26160595852515049484241403B3A3938373635343231302F2E2D2C2B292
72625242322201E1D191817161514131211100D06050403020100</t>
<t id="2">zEOF</t>
</page></language>
I'd expected need wait for some minutes on converting. but the 3 step of convert was soon to be completed on each try.
And, what the "clean" mean ....?
Remove all plugin script?---(of course, That's no problem)
Restart at first?---(NO~ , my Destroyer,my Xenon J,my LX, my NOVA Raider,and over then 20 Mercurys......) :o :( :D
spoidz
Posts: 607
Joined: Sat, 6. Mar 04, 20:43
x3tc

Post by spoidz »

X-EagleWing,

Well that def looks like a bad WRITE sequence since it didn't capture any of your ships.

What did the converter message log print out? If it couldn't WRITE something it might have left an error message.

It is "almost mandatory" that once you start the converter WRITE that you don't touch it. Don't even answer any of the beeps. Just let it run until you are practically sure that it has stopped. (you shouldn't hear any ticking at all). And be aware if you have more than 250 items it will pause there and not make any sound, then start up again. Don't mess with it.

Same thing for READ, let it run, get snacks, come back.
---------

Clean means the last good save that has all your stuff "AND" is running fine with no crashes/problems.

The converter will "copy" any bad stations/ships already in your game.

---------
Also I know that the converter needs a patch to allow XTM .6 ships to be copied to XTM .7. I don't know if there may be any special DDRS ships that the converter doesn't "know" how to capture.

Easy check I guess, did you have any plain X3 vanilla ships in your fleet? If not try adding a vanilla ship next time and see if converter finds it.

Hope any of that helps
X-EagleWing
Posts: 6
Joined: Sun, 10. Feb 08, 16:21

Post by X-EagleWing »

OK, Just let it run~, I try again that writed data into logfile with don't touch any key carefully....

But same result after waiting 25 minutes. that're messages received on converting.
x2-x3-converting started, Current logfile is 8758, textID in logfile is 8759. 02:59

Step 1 completed - signed 78 objects with individual ID on local var. 02:59
(right, I have 77 ships, other one maybe the general information)

Start copying data into logfile 8758, this process may take several minutes 02:59

Step 2 completed - loaded credit amount and known sectors into string. 03:00

Step 3 started - copy ships and stations into logfile. 03:00
(It will completed immediately)

Copying completed - created 1 object in logfile 8758 03:00
(o~ what's going on, why only 1 object can be added to logfile)
-------------------------
All my ships like to be runing fine and not any history for crashed or maked some problem.
I don't have any special DDRS ship now, all be lose at fight.
er....what's the vanilla ship mean? :D :D like a ice-cream?:roll:

thanks so much to do that.
spoidz
Posts: 607
Joined: Sat, 6. Mar 04, 20:43
x3tc

Post by spoidz »

Vanilla ship would be any ships that are part of original X3-reunion, before any mods.

-------

And before I just assume, how are telling that none of the ships came through? After you READ, are any ships in your Property Owned list?

And you also know that you can't re-run this into the same game save over again. You normally have to start a NEW game and then run the converter into that NEW SAVE. And you can only decompress the file once in that same new SAVE.

And are you running the English version of X3? There are a few posts in here about having to change the language ID for other languages.


-------

By chance you have you tried WRITE, starting from a different save game, one that still has all your stuff but not the same one so far. There might be an odd chance that the game somehow is already corrupted some way (at least for converter).

-------

I'm trying to think what would be any diff with your game other than DDRS mod.

I am running XTM mod and it seems to work fine for me.

One thing to try, but no idea if it applies.

Try adding that 0.6-0.7 patch to the converter, then run it again. Maybe, maybe, the same code that was added for that has some effect on running this with mods.
Plugin for the XTended-Mod v0.6->v0.7
This plugin - plugged into the X3-X3-Converter v2 - converts even the special XTM-ships to the correct ship types in the new game. To do this, first the X3-X3-Converter has to be installed, then this plugin has to be unzipped and the .xml-file moved to the "scripts"-directory, overwriting the old file.

Download
http://upload.creshal.de/files/4/x2x3Co ... -XTM07.zip
-----
Last idea would be (if you have all your current universe/empire in a vanilla game save, WRITE from that and then import it into a new DDRS install.

-------

Other than that I'd post back in the DDRS thread and ask if anyone else has used it with that mod. Or send a Private Message directly to SymTec ltd. and see if he can help more.

Sorry, that's about all I can think of at this point.
X-EagleWing
Posts: 6
Joined: Sun, 10. Feb 08, 16:21

Post by X-EagleWing »

---spoidz

I owned about 20 Mercury that it's for original x3. and after READ in new game, no other ships in property owned list except the Buster.

I'm running the English version.

I try the XTM0.6-0.7 convert plugin too, I know really no idea for my case. anyway thank you so much for this help.
X-EagleWing
Posts: 6
Joined: Sun, 10. Feb 08, 16:21

Post by X-EagleWing »

Restart a new game is easily, but the save of old was spent more time for me. so, I will try different way to do this.

Frist, destroy all Navigation Relay Satellite.
I owned 38 Navigation Relay Satellite in different sector......

Return to “X³: Reunion - Scripts and Modding”