doubleshadow's X3 Editor (0.15 - patch 2.0 compatible)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 893
- Joined: Sat, 26. Nov 05, 21:49
Until the editor works with xml (pck) as it used to, try using x3mm. extract the file decompressing it doing so, edit it somewhere else, re-import it (will be compressed on import) and done. I did that with mine.
wondering how to reverse a reversed sleep pattern
My Scripts (English + Deutsch)
I am not impatient. I just live fast
My Scripts (English + Deutsch)
I am not impatient. I just live fast
-
- Posts: 671
- Joined: Fri, 12. Mar 04, 08:14
That's very well possible... No one likes corrupted files. Mainly X3bonesbro wrote:I also installed the 0.3. I discovered that it is very unhappy if your file is corrupt. If you load a file with a corrupt entry. When you close the TXT editor, then close the main X3 Editor window, the application will crash and generate a Data Execution Prevention message.

Are you sure with this? Wasn't the fault been in wrong data in TShips file instead?Moxy wrote:When editing compressed Tships file in a mod, the editor corrupts it and the save-game crashes upon loading.
-
- Posts: 1277
- Joined: Sat, 12. Nov 05, 19:46
Pretty sure (not 100%).Are you sure with this? Wasn't the fault been in wrong data in TShips file instead?
I tracked the bug down to some .000000 added in a few fields of a Tships line that was working before the upgrade.
When I removed them it worked fine again.
First time this has happened and well, logic more or less dictates that if it used to work, you upgrade and then suddenly it's not....
I'll test some more, might just have been a very unlucky combination of some sort.
The Xtended Mod
Need Help?
Ask Questions / View the FAQ's at TheXUniverse Forums
Read the News on Mod Developments at our Website
Need Help?
Ask Questions / View the FAQ's at TheXUniverse Forums
Read the News on Mod Developments at our Website
-
- Posts: 671
- Joined: Fri, 12. Mar 04, 08:14
So download the C runtime and zlib1 library installation and Visual Basic Runtime from here and install them. The X3 Editor installer should download them automatically but it seems that it doesn't always work. Select "System directory" when installing the C runtime (that's the easist way).apricotslice wrote:I've just tried downloading, and while installing, it failed to find the needed runtime libraries.
-
- Moderator (Script&Mod)
- Posts: 13485
- Joined: Sun, 15. Feb 04, 20:12
Can confirm what Moxy said. Can play anymore - ctd after a few seconds gameplay. All ships seem to have changed stats
http://i6.photobucket.com/albums/y232/e ... trange.jpg
Seems that saving the TShips did mess up a few things.
Cheers Euclid
Edit: Added screenshot. Only thing I did was to change some specs of the of the Iguana Vanguard. Uh, forget to say that undoing the changes of Igu makes no difference. E.
http://i6.photobucket.com/albums/y232/e ... trange.jpg
Seems that saving the TShips did mess up a few things.
Cheers Euclid
Edit: Added screenshot. Only thing I did was to change some specs of the of the Iguana Vanguard. Uh, forget to say that undoing the changes of Igu makes no difference. E.
-
- Posts: 671
- Joined: Fri, 12. Mar 04, 08:14
Yes I know already.euclid wrote:Can confirm what Moxy said. Can play anymore - ctd after a few seconds gameplay. All ships seem to have changed stats
http://i6.photobucket.com/albums/y232/e ... trange.jpg
Seems that saving the TShips did mess up a few things.
Cheers Euclid
Edit: Added screenshot. Only thing I did was to change some specs of the of the Iguana Vanguard. Uh, forget to say that undoing the changes of Igu makes no difference. E.
Warning for version 0.0.3 users
Do not modify speed or acceleration. Doing so will corrupt the TShips file. Other changes *should* be safe.
If your file is already broken and you don't want to loose your changes
You can maually edit the file in notepad and fix the values at indexes 7 and 8 (counted from 0). They must be stored as integers (whole numbers) not as floats.
Example of SS_SH_A_TL (Argon Mammoth)
Bad data:
Code: Select all
0;0;0.005814;0.004654;0.045486;0;3161;29185.000000;1334.000000;102;1;11;373;3300;112;247;...
Code: Select all
0;0;0.005814;0.004654;0.045486;0;3161;29185;1334;102;1;11;373;3300;112;247;...
The other solution is to know which ship entry is wrong and edit those values in the "raw data" view in X3E. This should help as well.
New version will be released within few days. Until then, you may consider switching back to 0.0.2.
Sorry fo the problems

-
- Posts: 893
- Joined: Sat, 26. Nov 05, 21:49
I think we'll get over it 
Are you going to allow xml editing again in your next version?

Are you going to allow xml editing again in your next version?
wondering how to reverse a reversed sleep pattern
My Scripts (English + Deutsch)
I am not impatient. I just live fast
My Scripts (English + Deutsch)
I am not impatient. I just live fast
-
- Posts: 671
- Joined: Fri, 12. Mar 04, 08:14
-
- Posts: 893
- Joined: Sat, 26. Nov 05, 21:49

wondering how to reverse a reversed sleep pattern
My Scripts (English + Deutsch)
I am not impatient. I just live fast
My Scripts (English + Deutsch)
I am not impatient. I just live fast
-
- Posts: 148
- Joined: Wed, 23. Nov 05, 19:53
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Silly question I suspect, but I've just started playing around with the editor.
After you change something, say a ship, how do you get those changes inside the game ?
It appears as if I'm editing the game itself, but when you run the game, no changes are evident.
What am I missing ?
Also, how are prices at shipyards stored for ships and stations ?
Edit 2: What is the glue between things ? Eg, how do you specify what shield comes with the standard lasertower ? Where is the links between stations and what products are on it ?
After you change something, say a ship, how do you get those changes inside the game ?
It appears as if I'm editing the game itself, but when you run the game, no changes are evident.
What am I missing ?
Also, how are prices at shipyards stored for ships and stations ?
Edit 2: What is the glue between things ? Eg, how do you specify what shield comes with the standard lasertower ? Where is the links between stations and what products are on it ?
-
- Posts: 90
- Joined: Mon, 31. Oct 05, 00:19
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Ah....now I've been using the 04 file. Whats the diference betwen them ?Dunks wrote:probably the safest and easyest way is to copy 05.dat and 05.cat into your mods dir, rename them, edit the files in the renamed file and select it as a mod when you start the game, ship prices i think are in tships twice
production RelVal (npc)
production RelVal (player)
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Been doing some "playing around". 
Can confirm that changing the speed or accelleration does crash the game.
I can understand acceleration, but why do changing the speed and rudder upgrades numbers crash things ?
After all, these can be changed by scripting, why would they not be changable in the editor ?
Edit :
New question. Can someone explain the 01 to 05 files and what each is for.

Can confirm that changing the speed or accelleration does crash the game.
I can understand acceleration, but why do changing the speed and rudder upgrades numbers crash things ?
After all, these can be changed by scripting, why would they not be changable in the editor ?
Edit :
New question. Can someone explain the 01 to 05 files and what each is for.
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
So I call it 06.Dunks wrote:probably the safest and easyest way is to copy 05.dat and 05.cat into your mods dir, rename them, edit the files in the renamed file and select it as a mod when you start the game, ship prices i think are in tships twice
How exactly do I get the game to use it ? Is this custom game option ? If so, theres a X universe option and that is all, even when I put the 06 files in.
Theres obviously something simple I'm missing here.
-
- Posts: 314
- Joined: Mon, 2. Aug 04, 08:25
-
- Posts: 90
- Joined: Mon, 31. Oct 05, 00:19
When you start the game just before you run x3 there is an option to select mod, if its in your mods dir it will appear in there, as whatever you named the files to. you need both files btw the .cat and the .dat file in there.apricotslice wrote:So I call it 06.Dunks wrote:probably the safest and easyest way is to copy 05.dat and 05.cat into your mods dir, rename them, edit the files in the renamed file and select it as a mod when you start the game, ship prices i think are in tships twice
How exactly do I get the game to use it ? Is this custom game option ? If so, theres a X universe option and that is all, even when I put the 06 files in.
Theres obviously something simple I'm missing here.
The game will use the last .cat. .dat file in the x3 dir so if you were editing the files in 04 thats why changes were not evident in the game.
I would also use mod manager to delete any files in the file you copied that you are not editing, to allow any further patches to change these files.
-
- Posts: 893
- Joined: Sat, 26. Nov 05, 21:49
I found out that when you choose a file to edit and the popup window opens, a double click on the file itself on the list, rather than OK/Open button, solves the problem. Apparently the regular open/save dialog comes up with an error thinking i.e. "440001.pcx doesn't exist", which is an error of the errorrustybucket wrote:I have upgradede to version 4, but I am still getting an XML/PCK eror message. Has support for those files been enabled?

wondering how to reverse a reversed sleep pattern
My Scripts (English + Deutsch)
I am not impatient. I just live fast
My Scripts (English + Deutsch)
I am not impatient. I just live fast
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Where do I find the definitions for the actual gun slots ?
And what will fit into what turrent.
Was just looking at the new spec for the centaur in the M6 upgrade mod, and the way the extra guns in the turrents is done seemed weird. 2 count for each entry, but the center one had a zero count ? No wonder I couldnt get turrent upgrades to work.
Is there something that says what gun will go in what sort of turrent name ? And what turrents will go in what ship type ?
The editor is good, but seems to allow you to anything at all, where it should really be telling you that you cant do certain things.
And what will fit into what turrent.
Was just looking at the new spec for the centaur in the M6 upgrade mod, and the way the extra guns in the turrents is done seemed weird. 2 count for each entry, but the center one had a zero count ? No wonder I couldnt get turrent upgrades to work.
Is there something that says what gun will go in what sort of turrent name ? And what turrents will go in what ship type ?
The editor is good, but seems to allow you to anything at all, where it should really be telling you that you cant do certain things.