.

The place to discuss scripting and game modifications for X³: Farnham's Legacy

Moderators: Scripting / Modding Moderators, Moderators for English X Forum, Moderators for the X3:FL Forums

Ramdat
Posts: 124
Joined: Sun, 1. Jun 14, 02:53
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Ramdat »

Forleyor wrote: Sun, 6. Jun 21, 17:28
You can extract the scripts folder in the Cat Manager, Click Scripts folder and then click extract when in the VFS view.

Note though that you will need the ingame script editor to actually load and edit files properly or X Studio from this forum here: viewtopic.php?f=201&t=439195
Ah, that is unfortunate. I was hoping I could simply edit the text without more tools since I only want to change a few numbers. Thanks for your help, though.
User avatar
nponoBegHuk
Posts: 474
Joined: Thu, 6. Mar 08, 19:55
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by nponoBegHuk »

I appreciate your effort on updating this popular tool for the newest game.

However I'm still using my own CatManager.plugin from here, since in your version using "Extract files" on a folder containing files with more than one dot in its name still produces errors.

Steps to reproduce error:
  • Open VFS for a local game install (I used Albion Prelude)
  • Use "Extract files" button on a suitalble folder (director is a good choice)
  • The plugin will start extracting files into a folder of your choice, stripping the filenames of any string after the first dot (for example 2.001 Terran Plot Scene 1.xml will be renamed to 2.xml
  • When the next file with the similar name gets processed, for example 2.002 Terran Plot Scene 2.xml, it will ask you to overwrite the existing file 2.xml
It was not hard to track down back in the day but I don't think I have the source code for the fix anyone (and would be somewhat pointless, since you changed the code yourself). I hope you are interested in producing a fix for this annoying bug for your version.
Fast sector selection on the Universe Map | Rock locations for Mobile/OOS mining | Botting for max speed Hyperion | Complete list of ship sources | Capturing smaller ships

My current ship collection:
11 out of 11 *retired* ships found
17 out of 17 *unique* ships found
9 out of 9 *limited* ships found
16 out of 16 *rare* ships found
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

nponoBegHuk wrote: Thu, 15. Jul 21, 15:09 I appreciate your effort on updating this popular tool for the newest game.

However I'm still using my own CatManager.plugin from here, since in your version using "Extract files" on a folder containing files with more than one dot in its name still produces errors.

Steps to reproduce error:
  • Open VFS for a local game install (I used Albion Prelude)
  • Use "Extract files" button on a suitalble folder (director is a good choice)
  • The plugin will start extracting files into a folder of your choice, stripping the filenames of any string after the first dot (for example 2.001 Terran Plot Scene 1.xml will be renamed to 2.xml
  • When the next file with the similar name gets processed, for example 2.002 Terran Plot Scene 2.xml, it will ask you to overwrite the existing file 2.xml
It was not hard to track down back in the day but I don't think I have the source code for the fix anyone (and would be somewhat pointless, since you changed the code yourself). I hope you are interested in producing a fix for this annoying bug for your version.
Thanks for the report.

I made that fix pretty quickly and only accounted for the scripts folder (I didn't actually know director has files similar to scripts folder honestly), it appears the problem is caused by a Path.ChangeExtension call from microsofts own .dll which is messing up the file names with more than one "." in it.

I have just released Update 9 which should fix the issue everywhere, although If there are any issues on other directories extraction or anything else breaks, feel free to let me know.
unknown1
Posts: 629
Joined: Mon, 10. Dec 07, 12:12
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by unknown1 »

Hi, thx a lot for your effort in updating this tool.

Just a question pls:
What does the flag ''PAC'' in the TBullets file stand for ?
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

unknown1 wrote: Sat, 5. Nov 22, 20:52 Hi, thx a lot for your effort in updating this tool.

Just a question pls:
What does the flag ''PAC'' in the TBullets file stand for ?
Hey!

I don't check this thread too much these days, sorry!

Although I have no confirmation or ever double checked, I would assume being in TBullets that "PAC" is short for "Partical Accelerator Cannon". Someone correct me if that is wrong though :)
User avatar
alexalsp
Posts: 1960
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by alexalsp »

CAT MANAGER

Please fix it if possible.

During decompression, the unpacked file is not saved correctly.

Code: Select all

name.pck.*
adding

Code: Select all

.pck
to any unpacked files

should be

Code: Select all

name.*
in the original version, there is no such thing and everything is correctly unpacked with the correct file names.
User avatar
alexalsp
Posts: 1960
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by alexalsp »

Looks like we'll have to wait a long time for this minor issue to be fixed.... :(
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

alexalsp wrote: Mon, 2. Jan 23, 12:57 Looks like we'll have to wait a long time for this minor issue to be fixed.... :(
Hey, sorry for the late reply, I've been quite unwell since end of December.

I just tried extracing the files in types and scripts folders, and it seems to unpack ok. Can you let me know what files you tried that didnt unpack correctly?
User avatar
alexalsp
Posts: 1960
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by alexalsp »

Forleyor wrote: Thu, 9. Mar 23, 10:55
alexalsp wrote: Mon, 2. Jan 23, 12:57 Looks like we'll have to wait a long time for this minor issue to be fixed.... :(
Hey, sorry for the late reply, I've been quite unwell since end of December.

I just tried extracing the files in types and scripts folders, and it seems to unpack ok. Can you let me know what files you tried that didnt unpack correctly?
In the old version, it unpacks without PCK NAME.DDS. This applies to any files unpacked by CAT TOOL.

https://youtu.be/bZCmQlx9JIQ
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

alexalsp wrote: Thu, 9. Mar 23, 11:42
Forleyor wrote: Thu, 9. Mar 23, 10:55
alexalsp wrote: Mon, 2. Jan 23, 12:57 Looks like we'll have to wait a long time for this minor issue to be fixed.... :(
Hey, sorry for the late reply, I've been quite unwell since end of December.

I just tried extracing the files in types and scripts folders, and it seems to unpack ok. Can you let me know what files you tried that didnt unpack correctly?
In the old version, it unpacks without PCK NAME.DDS. This applies to any files unpacked by CAT TOOL.

https://youtu.be/bZCmQlx9JIQ
It seems a fix I made to fix scripts failing to extract properly without their names cut off was causing the names to be labelled wrong, I pushed Update 11 which reverts this, the only thing now is extracting scripts will probably no work again at the moment. can you confirm if it fixes the issue?
User avatar
alexalsp
Posts: 1960
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by alexalsp »

Forleyor wrote: Fri, 10. Mar 23, 18:03
alexalsp wrote: Thu, 9. Mar 23, 11:42
Forleyor wrote: Thu, 9. Mar 23, 10:55

Hey, sorry for the late reply, I've been quite unwell since end of December.

I just tried extracing the files in types and scripts folders, and it seems to unpack ok. Can you let me know what files you tried that didnt unpack correctly?
In the old version, it unpacks without PCK NAME.DDS. This applies to any files unpacked by CAT TOOL.

https://youtu.be/bZCmQlx9JIQ
It seems a fix I made to fix scripts failing to extract properly without their names cut off was causing the names to be labelled wrong, I pushed Update 11 which reverts this, the only thing now is extracting scripts will probably no work again at the moment. can you confirm if it fixes the issue?
Yes, now the files have been unpacked as it should, without PCK. Thank you. :)
Scripts also extracted without problems.
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

Released Update 12 in first post.

Fixed some inconsistencies in jobs editor, should now write correct data on save.
draffutt
Posts: 4293
Joined: Wed, 21. Feb 07, 17:46
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by draffutt »

Hello Forleyor;

Installed your update today (Thanks by the way!) and there is a couple of issue’s I have come across:

1) When I attempted to run for the first time it complained x3object2.dll didn’t exist. So I am assuming I need to copy x3object.dll -> x3object2.dll (instructions didn’t state); so I copied and renamed
2) Help -> about -> selecting “BOD Compiler” cause app to error with “Unhandled exception…”
3) Error log is giving me 2 errors:
a) Error loading plugin file 'G:\X3\X3 Editor TC\Plugins\3DViewer.plugin':
b) Could not load file or assembly 'SlimDX, Version=2.0.3.37, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
3DViewer.plugin is located in in the plugins folder
Is there something else that needs to be loaded/done/configured?
4) If I select X3AP.exe under Game executable it automatically selects the correct Game Version. But if the game “Game executable” is set to X3FL and I select Game version x3: Terran Conflict it does not change the Game executable to X3TC
5) Game Profiles: If I click on Rescan games it doesn’t seem to find any x game. I am going to assume it cannot find them due to all my Steam x games are located on my server Example “Y:\SteamLibrary\steamapps\common\X3 Terran Conflict”
None of us is as smart as all of us. ~Ken Blanchard

TC player bug fixes
Reunion player bug fixes
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

draffutt wrote: Tue, 16. May 23, 15:06 Hello Forleyor;

Installed your update today (Thanks by the way!) and there is a couple of issue’s I have come across:

1) When I attempted to run for the first time it complained x3object2.dll didn’t exist. So I am assuming I need to copy x3object.dll -> x3object2.dll (instructions didn’t state); so I copied and renamed
2) Help -> about -> selecting “BOD Compiler” cause app to error with “Unhandled exception…”
3) Error log is giving me 2 errors:
a) Error loading plugin file 'G:\X3\X3 Editor TC\Plugins\3DViewer.plugin':
b) Could not load file or assembly 'SlimDX, Version=2.0.3.37, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
3DViewer.plugin is located in in the plugins folder
Is there something else that needs to be loaded/done/configured?
4) If I select X3AP.exe under Game executable it automatically selects the correct Game Version. But if the game “Game executable” is set to X3FL and I select Game version x3: Terran Conflict it does not change the Game executable to X3TC
5) Game Profiles: If I click on Rescan games it doesn’t seem to find any x game. I am going to assume it cannot find them due to all my Steam x games are located on my server Example “Y:\SteamLibrary\steamapps\common\X3 Terran Conflict”
Hey!

1) X3Obects2.dll should be installed along with the rest of X3 Editor 2 (latest version from doubleshadows site is: X3 Editor 2-2.0.27.0-setup.exe), can you confirm you installed this? should be no need to rename the dll (Ive only actually seen x3objects2.dll didnt know there was a non 2 version)
2) I dont seem to have this issue: I cant reproduce it, so no info at the moment sorry :(
3) Also cant reproduce, loading fine here too.
4) Unsure about this, for me if I "browse" for any exe it sets that version of the game to the matching game version: closing configuration sets it correctly to what I chose.
5) Sounds like it could a server issue yeah, I have the game installed through steam on D: and rescanning works no problem.

EDIT: I actually dont make changes to the BOD Compiler plugin or the 3DViewer plugin if you have issues with them feel free to install X3 Editor 2-2.0.27.0-setup.exe from doubleshadow site and dont copy my versions see if it makes any difference :) to be honest I should only ship new versions of the plugins I actually change which is mostly Job Editor and X3 Editor2.exe plus my custom x3objectsFLPatcher.dll
ctw619
Posts: 25
Joined: Mon, 22. Jan 07, 02:56
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by ctw619 »

thx at first
when i open jobs.pck, there had a Error messages, error for loading file: ’types\TShips’ ,File does not exist. but i saw the TShips.pck when i opened before, and also can open this flie to adjust, whats the problem?
Deniskos
Posts: 181
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Deniskos »

Confirmed, Job Editor does not work.
Either the author has blocked it by time or by Internet. But why?

___________________________
Everything works fine, thanks.
Last edited by Deniskos on Sun, 23. Jun 24, 10:27, edited 2 times in total.
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

ctw619 wrote: Mon, 6. May 24, 09:27 thx at first
when i open jobs.pck, there had a Error messages, error for loading file: ’types\TShips’ ,File does not exist. but i saw the TShips.pck when i opened before, and also can open this flie to adjust, whats the problem?
Deniskos wrote: Mon, 6. May 24, 11:32 Confirmed, Job Editor does not work.
Didn't see these sorry!

I assume you both are referring to Farnhams Legacy right? I Just tested this, jobs opens fine on my end.

If either of you are willing to provide feedback, can you confirm that your paths in configuration points to the same locations:

Code: Select all

Path to Game
E:\Steam\SteamApps\common\X3 Terran Conflict

Game Execetubale
E:\Steam\SteamApps\common\X3 Terran Conflict\X3FL.exe
After that going to File > Open from VFS > types/jobs.pck works fine here.

I haven't made any changes to these files for a long time there is no reason that there should be any issues now all of a sudden... and I for sure didn't add any kind of logic to block it based on time or over the internet....
Deniskos
Posts: 181
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Deniskos »

Oh sorry, my mistake. Everything works perfectly.
Thanks for making me take another look at this :)
Forleyor
Posts: 45
Joined: Thu, 11. Jun 15, 19:09

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by Forleyor »

Updated link with source
User avatar
alexalsp
Posts: 1960
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [PROGRAM] X3 Editor 2 v2.0.27.0 updated for FL [Unofficial Update]

Post by alexalsp »

Thank you. :thumb_up:

Return to “X³: Farnham's Legacy - Scripts and Modding”