[PROGRAM] X-Studio Script Editor [v1.08 : 14th Feb 14]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

sorry that's my mistake! i've put that into the next update so i can see where its crashing. i think i'm gonna put out another update tonight with some extra details in the console and some other fixes.
Rapunzel, Rapunzel, let down your bear...
User avatar
ezra-r
Posts: 3427
Joined: Fri, 14. Oct 05, 21:04
x4

Post by ezra-r »

wow, amazing community, Egosoft an all of us are lucky to have such a wonderful community devs.

Scripts, mods, programs...

Even though I don't have a clue of scripting I want to thank you mr.bear for the effort, only good things can come out of this.

Since there is no love emoticon here is the closest thing I could get :khaak:
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

ezra-r wrote:I want to thank you mr.bear for the effort, only good things can come out of this.

Since there is no love emoticon here is the closest thing I could get [ external image ]
awww... thanks ezra! thats really nice of you.

[ external image ]

Happy Bear!
Rapunzel, Rapunzel, let down your bear...
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

----------------------------------------------------------------------

Preceeding messages relate to Beta II (Update 2)

----------- BETA II (Update 3) RELEASED -----------

Following messages relate to Beta II (Update 3)

----------------------------------------------------------------------

@jack775544: I think I've solved all the issues you were experiencing

@ScRaT_GER: I've added an incredible amount of detail to the Console - this should help us find the problem. Can you email me the new Console.log to xstudio.development at gmail.com please?

@ScRaT_GER: i've also added three structured exception handlers, unforuntately they won't tell you anything about the problem but they'll stop the program crashing! (thats the best i can do for now, theyre quite different to c++ exceptions - i'll have to read up on them)
Last edited by mr.bear on Sun, 27. May 12, 23:39, edited 1 time in total.
Rapunzel, Rapunzel, let down your bear...
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

jack775544 wrote:What files does it need from the X3 directory for this program to work? I am trying to make this work on my USB without having to copy the entire X3 directroy across.
Hey jack, sorry i missed this in your earlier post. i've put instructions on the main page about which data files you need.
Rapunzel, Rapunzel, let down your bear...
User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 »

Ok thanks mr.bear I'll try it out tomorow (no time tonight :cry: )
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

@ScRaT_GER: I've added an incredible amount of detail to the Console - this should help us find the problem. Can you email me the new Console.log to xstudio.development@gmail.com please?
You can view the log here: http://justpaste.it/z38

The good news: The editor doesn't crash anymore.
The bad news (besides that it fails loading the game data): I cannot close it via the top-right X button, but only via the task manager.
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

hey ScRaT - what happens if you move language file \t\8100-L044.pck out of the 't' folder?
Rapunzel, Rapunzel, let down your bear...
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Okay, that solves the first error. However, now it complains about a missing 00044.pck (I have the german version of course).

Maybe I should wait until you implemented the loading of different language files?
User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 »

@ ScRaT_GER: Isn't 00044.pck the mov file?
@mr.bear: thanks the USB version is working nicely however you should also say that a copy of X3TC.exe is also required on the game directory (otherwise it does't think it is a gmae file).
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

@ ScRaT_GER: Isn't 00044.pck the mov file?
Yes, it is. However in the german version, only the 00049.pck is installed.

I also tried to unpack the 00049.pck (which is only a packed xml file), change its lanugage id to 44 and than repack it into 00044.rar and then rename it to 00044.pck, but it didn't work. I guess the .pck files are not simply renamed .rar files but something different.
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

ScRaT_GER wrote:
@ ScRaT_GER: Isn't 00044.pck the mov file?
Yes, it is. However in the german version, only the 00049.pck is installed.

I also tried to unpack the 00049.pck (which is only a packed xml file), change its lanugage id to 44 and than repack it into 00044.rar and then rename it to 00044.pck, but it didn't work. I guess the .pck files are not simply renamed .rar files but something different.
ScRaT/Jack: its actually the definitions file for speech clips.

ScRaT : Yeah you might as well wait cos I think i'll have support for different languages finished this evening. I've added support for loading XML/TXT files, instead of just PCK, and I *think* i've found the bug that was causing the program to crash on your computer.

Can you email "\t\8100-L044.pck" to me please? I want to see if there was anything usual about that file..
Last edited by mr.bear on Fri, 11. May 12, 20:40, edited 1 time in total.
Rapunzel, Rapunzel, let down your bear...
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

jack775544 wrote:@ ScRaT_GER: Isn't 00044.pck the mov file?
@mr.bear: thanks the USB version is working nicely however you should also say that a copy of X3TC.exe is also required on the game directory (otherwise it does't think it is a gmae file).
Jack - Doesn't it ask you to select the game version? X2, X3 or X3TC?
Rapunzel, Rapunzel, let down your bear...
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

ScRaT : Yeah you might as well wait cos I think i'll have support for different languages finished this evening. I've added support for loading XML/TXT files, instead of just PCK, and I *think* i've found the bug that was causing the program to crash on your computer.
Unfortunately I don't have it at the moment (different computer on weekend). It's definitely a valid XML file.

Anyhow, I'll just wait for the language support.
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

ScRaT_GER wrote:
ScRaT : Yeah you might as well wait cos I think i'll have support for different languages finished this evening. I've added support for loading XML/TXT files, instead of just PCK, and I *think* i've found the bug that was causing the program to crash on your computer.
Unfortunately I don't have it at the moment (different computer on weekend). It's definitely a valid XML file.

Anyhow, I'll just wait for the language support.
could you send it to me when you get the chance? i'd appreciate it. i had to write my own xml parser and that file might just contain something I haven't seen before or thought of.
Rapunzel, Rapunzel, let down your bear...
User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 »

mr.bear wrote: Jack - Doesn't it ask you to select the game version? X2, X3 or X3TC?
Sorry I meant to say it needed a game exe file for it to recognise the game directory, so either X2.exe, X3.exe or X3TC.exe. Just a note that you should add to the front page in the "How to Run From Extracted Data" section that's all.
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

jack775544 wrote:
mr.bear wrote: Jack - Doesn't it ask you to select the game version? X2, X3 or X3TC?
Sorry I meant to say it needed a game exe file for it to recognise the game directory, so either X2.exe, X3.exe or X3TC.exe. Just a note that you should add to the front page in the "How to Run From Extracted Data" section that's all.
you shouldn't need to copy the .EXE file - a box should pop up asking you to confirm the game version - didn't that box appear?
Rapunzel, Rapunzel, let down your bear...
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

----------------------------------------------------------------------

Preceeding messages relate to Beta II (Update 3)

----------- BETA II (Update 4) RELEASED -----------

Following messages relate to Beta II (Update 4)

----------------------------------------------------------------------
Rapunzel, Rapunzel, let down your bear...
User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 »

mr.bear wrote:you shouldn't need to copy the .EXE file - a box should pop up asking you to confirm the game version - didn't that box appear?
Ok it works now, I must of did something wrong somewhere before.
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
User avatar
mr.bear
Posts: 444
Joined: Sat, 11. Dec 10, 01:38
x2

Post by mr.bear »

jack775544 wrote:
mr.bear wrote:you shouldn't need to copy the .EXE file - a box should pop up asking you to confirm the game version - didn't that box appear?
Ok it works now, I must of did something wrong somewhere before.
nah, it was just a bug.
Rapunzel, Rapunzel, let down your bear...

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”