Question: how to extract .xsp file and merge it into XRM

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

Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Question: how to extract .xsp file and merge it into XRM

Post by Xenon472 »

hello all
i already asked this question a while ago and Guffeh told me this metod:
Assuming you're using X3AP and you have fully installed Cycrow's Plugin Manager:

1) I used the Package Creator (X Plugin Manager\Tools\Creator.exe) to open the .XSP and selected Export to create a .zip with the .XSP's contents. Extract the contents from the .zip into another folder for step 2.

2) Open the Part 1 (larger) XRM .CAT file with X3 Editor 2. Drag & Drop the contents of your folder (should be a dds and objects folder) from step 1 into the opened .CAT directory. No need to save the .CAT.

3.) Close the .CAT in X3 Editor 2 and then open the Part 2 (smaller) XRM .CAT file. In the directory, navigate to Addon/Types/TShips.pck & open with T File Editor. Leave that open for now, we'll come back to it.

4.) This is where it gets a little tricky. I went ahead and installed the Ship .XSP with Plugin Manager and open & closed the Plugin Manager so it produced a new TShips.pck located in your install directory (X3 Albion Prelude\addon\types\Tships.pck).

5.) I then opened that Tships.pck (You should have the one from Step 3 and now this one opened). I scrolled through the ships and looked for my ship, which should be numbered fairly high around 709-710 or so if you're looking at the left-hand column of numbers.

6.) Once I found my ship, I right-clicked & copied it. I then clicked on the XRM's Tships.pck tab from step 3 and right-clicked "Paste to End" and saved the Tships.pck. Exited both Tships & any other open tabs within X3 Editor 2, along with the program itself.

7.) Use Plugin Manager to uninstall the .XSP as we'll no longer need it installed via .XSP. We only needed it installed so Plugin manager would generate the ship entry into TShips.

8.) Technically at this point, you should be able to launch your X3AP and use the Cheat Package to create the ship. The ship's name in the list will be called something like ReadText17-500000. I don't know how to properly get the Ship's name to show up in game yet, so hopefully someone can answer that. As a work-around I used Loky77's Rename Ships with Expressions to rename it.


That's pretty much as far as I got with the process. It's a scraped together method, but it worked for me with XRM and an extracted .XSP ship.
however i had a problem whit my PC and i couldnt use it for a few months (mostly because i went to vist my grandparents so i diddn't had time to fix it)
then when i finally fixed it i compleatly forgot.
however now that i bought a new computer i reinstalled X3AP and tried that metod to install some star trek ships but unfortunatly it hasn't worked, the problem is that when i start AP (after doing all the steps that Guffeh told me) it chrashes after the initial loading screen.

Guffeh however said that his metod worked for him, so were could be the problem?
or do you know other metods to use .xsp ship and XRM togheter?

p.s
i opened a new thread beacause the other one was quite old
User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Re: Question: how to extract .xsp file and merge it into XRM

Post by DrBullwinkle »

Xenon472 wrote:do you know other metods to use .xsp ship and XRM together?
Theoretically, the "correct" way is to install XRM then install the .xsp with the Plugin Manager.

However, there have been some reports of trouble with .xsp's in the Plugin Manager thread. So you will have to try it... but be prepared to do some debugging in case it does not work (because it could, temporarily, make your game not start).
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

i first tried to install some xsp ships and the result was that the turret stop moving, and no ship could dock to any station

Then paulwheeler told me :
the PM seems to merge TShips with installed mods when installing XSP ships, but not other important files such as Components or Dummies etc. So When you install an XSP, these files revert to their vanilla versions and this breaks many mods.

I think the only way to install an XSP ship is to extract all the required files and merge the changes into the XRM versions.
Do you think that there is another method?
Or a easyer way to extract all the files an merge them into XRM?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

The PM does merge all those other files as well.
the only reason i can think y it wouldn't work with XRM is if its having trouble reading the files from the XRM cat.

But i havn't tried it yet to find out
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

could the problem be that XRM itself merge many differnt mod?
the problem could be with one of the other mods inside XRM and not XRM itself...(like the mod that add extenal docks for M6 and TS)

however there is a way to merge a .xsp and XRM?
Cycrow wrote:But i havn't tried it yet to find out
will you try to find out? :)

EDIT
I tried again (For the fourth time) and it misteriusly worked, i tought that it was too good to be true... and in fact it wasn't :shock:
i was able to spawn the ship and it seem to work but when i entred the ship to pilot it i saw that the "Viewpoint"(the point from where you see) where on the rear part of the ship (Between the Nacelles (it's the star trek sovereign)) and when you pilot the ship every station, ship, gate and so on start blinking (like if it enter and exit repeadetly into the scan range(it doesent blink the actual ship,station,ecc but only the"square that surround it))
i tried whit other ships but the results are allways the same, what i have to do?

p.s
forgive my bad english but after studing Philosophy for three hour i can't think clearly :shock:
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

Xenon472 wrote: I tried again (For the fourth time) and it misteriusly worked, i tought that it was too good to be true... and in fact it wasn't :shock:
i was able to spawn the ship and it seem to work but when i entred the ship to pilot it i saw that the "Viewpoint"(the point from where you see) where on the rear part of the ship (Between the Nacelles (it's the star trek sovereign)) and when you pilot the ship every station, ship, gate and so on start blinking (like if it enter and exit repeadetly into the scan range(it doesent blink the actual ship,station,ecc but only the"square that surround it))
i tried whit other ships but the results are allways the same, what i have to do?
does anyone know where could be the problem and how to solve it?
or maybe another way to add .xsp ships to XRM?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

Sounds like a problem with the componants file.
this sometimes happen if the file has become corrupt.

perhaps theres something in XRM's file that the PM doesn't like, and as a result cant create the correct version.

you could try deleting the file completely and see what happens.
it should fix it for all XRM ships, but might cause a problem for some of the installed ship.

at least if thats the problem, you can manually merge the componants file, will save you having to attempt to do the rest.
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

Cycrow wrote: you could try deleting the file completely and see what happens.
it should fix it for all XRM ships, but might cause a problem for some of the installed ship.

at least if thats the problem, you can manually merge the componants file, will save you having to attempt to do the rest.
what files should I delete?

however i am having the camera problem only with the installed ships and not with the XRM ones
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

Ok, then thats different then. The problem is then most likly that the PM is unable to create the componants file, so the game is just using the XRM one.

check in your types folder for componants.pck and see if its there.

also, is your game installed in program files?
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

Cycrow wrote:Ok, then thats different then. The problem is then most likly that the PM is unable to create the componants file, so the game is just using the XRM one.

check in your types folder for componants.pck and see if its there.

also, is your game installed in program files?
In the "type" folder i have components.pck , CutData.pck , dummies.pck , Tcockpits , Tships , Tware

And no my game isn't in program files but i moved it
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

It sounds like everything is correctly there

is it all the custom ships that its like, or just some of them ?

also, you could check the ship files to see if they do contain componant entries in them
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

How can i see if the ships file contain the components entries?

Anther thing is that i noticed the the problem is only with the cockpit camera and the turrect cameras are where they are supposed to be and when i am controlling a turret the problem of the "blinking squares" disappear
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

I am almost shure that the problem is related to "dummies.pck"

I made everything work(almost) after a lot of try.
I first reinstalled X3AP and XRM then i installed the ships using the pluggin manager and started the game, obviusy i encountred the turret and dock problem but i also noticed that the xsp ships where invisible and incredibly small (just a point).
Then i removed the various file created by the pluggin manager one by one and every time i removed one i run the game to see if something changed.
When i deleted "dummies.pck" and run the game i saw that the turret and the docking problem just vanished, but the xsp ships where still invisible.
Then i Followed the steps 1 and 2 that guffeh told me:
1) I used the Package Creator (X Plugin Manager\Tools\Creator.exe) to open the .XSP and selected Export to create a .zip with the .XSP's contents. Extract the contents from the .zip into another folder for step 2.

2) Open the Part 1 (larger) XRM .CAT file with X3 Editor 2. Drag & Drop the contents of your folder (should be a dds and objects folder) from step 1 into the opened .CAT directory. No need to save the .CAT.
And run the game, this time the ships showed correctly and the cockpit camera where in the right place

The only problem now is that even though some of the ships have some docking slots, i cant dock any ships to them (they dont even show when using the "dock to" command
someone know why this is happening and how (if it's possible) to fix it?
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

I think i have found the problem with the dummies.pck (but i can't solve it :x )
i tried to open "dummies.pck" with x3editor 2 but it sent an error message:

Error while loadiang object 'Normal animation' (index 1):

Error while loadiang object 'Animation' (index 26):

Error while loadiang object 'statescount' (index 2):

Error converting value
'ANIMATEDF_DOCKPORT_M5|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30' to number:

invalid numeric value


What does this mean??
And there is a way to fix it??

p.s.
this is the same dummies.pck opened with the text viewer:

// Dummies file, created by SPK Libraries V1.91

// Section: SDTYPE_ANIMATED Entries: 47
SDTYPE_ANIMATED;47;
19990;NULL;1;NULL;990;
19023;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW60;1;NULL;9010;
19040;ANIMATEDF_DOCKPORT_HUGESHIP|ANIMATEDF_DOCKPORT_UDFWD|ANIMATEDF_DOCKPORT_UDDOWN;0;
19026;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9013;
19027;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9014;
19044;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW60;0;
19145;ANIMATEDF_DOCKPORT_HUGESHIP|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_UDBACK;0;
19096;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9096;
19097;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9097;
19098;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9098;
19099;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9099;
ships\props\intern_khaak_dock;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;0;
ships\props\intern_khaak_launcher;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;0;
ships\props\extern_M4_dock;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_FWDPUSH;0;
ships\props\extern_M6_dock;ANIMATEDF_DOCKPORT_M6|ANIMATEDF_DOCKPORT_UDFWD;0;
ships\props\extern_M62_dock;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
ships\props\extern_TS_dock;ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
ships\props\extern_TS2_dock;ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_UDFWD;0;
19102;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9101;
19101;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9102;
19103;ANIMATEDF_DOCKPORT_BIGSHIP|ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_UDBACK;0;
19244;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_BELOW60|ANIMATEDF_DOCKPORT_UDBACK;0;
ships\props\new_535_ExtDock_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
;
ships\props\extern_M5_dock;ANIMATEDF_DOCKPORT_M5|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
ships\props\extern_M42_dock;ANIMATEDF_DOCKPORT_M4|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
ships\props\extern_M63_dock;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_UDFWD;0;
19110;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9110;
19111;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9111;
19112;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9112;
19113;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9113;
ships\props\TSTP_extdock_dummy;ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_M6|ANIMATEDF_DOCKPORT_M8|ANIMATEDF_DOCKPORT_UDFWD|ANIMATEDF_DOCKPORT_UDDOWN;0;
ships\killerog\props\kill_Land;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;0;
ships\killerog\props\kill_Dock;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;0;
19042;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9020;
19043;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9021;
19046;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9022;
19047;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9023;
ships\props\TSTP_extdock2_dummy;ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_M6|ANIMATEDF_DOCKPORT_M8|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
ships\x3ap\props\XTC_terran_dock_quicklaunch_scene;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9083;
ships\x3ap\props\XTC_boron_dock_land_scene;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9082;
ships\props\intern_fighterTS_dock;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_M8|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;0;
ships\X3M\Animated\Hangar01_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9020;
ships\X3M\Animated\M3M4M5DockONLY_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;1;NULL;9030;
ships\X3M\Animated\M3M4M5LaunchONLY_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9029;
ships\X3M\Animated\Defiantdock_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW60;1;NULL;9024;
ships\X3M\Animated\Hangar02_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;1;NULL;9021;

// Section: ships\props\intern_fighterTS_launcher Entries: 0
ships\props\intern_fighterTS_launcher;0;

// Section: 0 Entries: 0
0;0;

// Section: SDTYPE_DOCK Entries: 8
SDTYPE_DOCK;8;
19022;NULL;1;NULL;9008;
71;NULL;1;NULL;9009;
79;NULL;1;NULL;9009;
77;NULL;1;NULL;9009;
10213;NULL;1;NULL;9009;
10216;NULL;1;NULL;9009;
19024;NULL;1;NULL;9011;
19100;NULL;1;NULL;9100;

// Section: SDTYPE_DOORWAY Entries: 12
SDTYPE_DOORWAY;12;
320;DWF_OUTERDOCK|DWF_CARRIER;0;
367;DWF_OUTERDOCK|DWF_CARRIER;0;
371;DWF_OUTERDOCK|DWF_CARRIER;0;
370;DWF_OUTERDOCK|DWF_CARRIER;0;
369;DWF_OUTERDOCK|DWF_CARRIER;0;
368;DWF_OUTERDOCK|DWF_CARRIER;0;
372;DWF_OUTERDOCK|DWF_CARRIER;0;
19017;DWF_OUTERDOCK|DWF_CARRIER;0;
875;DWF_INNERDOCK;4;DOORSTATUS_OPENING;639;DOORSTATUS_CLOSING;640;DOORSTATUS_OPEN;642;DOORSTATUS_CLOSED;641;
10224;DWF_INNERDOCK;4;DOORSTATUS_OPENING;658;DOORSTATUS_CLOSING;659;DOORSTATUS_OPEN;660;DOORSTATUS_CLOSED;661;
10226;DWF_INNERDOCK;4;DOORSTATUS_OPENING;662;DOORSTATUS_CLOSING;663;DOORSTATUS_OPEN;664;DOORSTATUS_CLOSED;665;
874;DWF_PLATFORM;0;

// Section: SDTYPE_GUN Entries: 53
SDTYPE_GUN;53;
106;GUNF_FIXED;2;GUNSTATUS_INITIAL;4291;GUNSTATUS_FIRING;4292;0;
107;GUNF_FIXED;2;GUNSTATUS_INITIAL;4293;GUNSTATUS_FIRING;4294;0;
91;GUNF_ROTATE;1;GUNSTATUS_INITIAL;4290;2;90;GUNPARTF_ROTATEALPHA;89;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
708;GUNF_ROTATE;1;GUNSTATUS_INITIAL;4295;2;980;GUNPARTF_ROTATEGAMMA;981;GUNPARTF_ROTATEBETA|GUNPARTF_ROTATEGAMMA;
19018;GUNF_FIXED;0;0;
19019;GUNF_FIXED;0;0;
19080;GUNF_FIXED;0;0;
19081;GUNF_FIXED;0;0;
19082;GUNF_FIXED;0;0;
19083;GUNF_FIXED;0;0;
ships\props\bigturret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret_scene;3;ships\props\bigturret_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret_leftweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;ships\props\bigturret_rightweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\bigturret2_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret2_scene;3;ships\props\bigturret_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret_leftweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;ships\props\bigturret_rightweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\m6maingun_static;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\m6maingun_scene_static;GUNSTATUS_FIRING;ships\props\m6maingun_scene_moving;0;
ships\props\m3gun1d_static;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\m3gun1d_scene_static;GUNSTATUS_FIRING;ships\props\m3gun1d_scene_moving;0;
ships\props\m3turret1d_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\m3turret1d_scene;2;ships\props\m3turret1d_body;GUNPARTF_ROTATEALPHA;ships\props\m3turret1d_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\m6turret4_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\m6turret4_scene;3;ships\props\m6turret4_body;GUNPARTF_ROTATEALPHA;ships\props\m6turret4_leftweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;ships\props\m6turret4_rightweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\gatlingf_body;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\gatlingf_scene_static;GUNSTATUS_FIRING;ships\props\gatlingf_scene_moving;0;
ships\props\gatlingf_body_right;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\gatlingf_right_scene_static;GUNSTATUS_FIRING;ships\props\gatlingf_right_scene_moving;0;
ships\props\bigturret4_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret4_scene;2;ships\props\bigturret4_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret4_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\bigturret5_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret5_scene;2;ships\props\bigturret4_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret4_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\m6turret1_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\m6turret1_scene;2;ships\props\m6turret1_body;GUNPARTF_ROTATEGAMMA;ships\props\m6turret1_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\props\x2_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\x2_scene;1;ships\props\x2_body;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\Sx2_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\Sx2_scene;1;ships\props\Sx2_body;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\hugeturret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\hugeturret_scene;2;ships\props\hugeturret_body;GUNPARTF_ROTATEALPHA;ships\props\hugeturret_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\m7turret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\m7turret_scene;2;ships\props\m7turret_body;GUNPARTF_ROTATEALPHA;ships\props\m7turret_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\USC\Prop\Absolution_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\USC\Prop\Absolution_scene;2;ships\Cadius\USC\Prop\Absolution_body;GUNPARTF_ROTATEALPHA;ships\Cadius\USC\Prop\Absolution_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\USC\Prop\Revelation_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\USC\Prop\Revelation_scene;2;ships\Cadius\USC\Prop\Revelation_body;GUNPARTF_ROTATEALPHA;ships\Cadius\USC\Prop\Revelation_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\USC\Prop\Starlight_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\USC\Prop\Starlight_scene;2;ships\Cadius\USC\Prop\Starlight_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\USC\Prop\Starlight_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\USC\Prop\Scatterfire_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\USC\Prop\Scatterfire_scene;2;ships\Cadius\USC\Prop\Scatterfire_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\USC\Prop\Scatterfire_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\USC\Prop\Prophecy_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\USC\Prop\Prophecy_scene;2;ships\Cadius\USC\Prop\Prophecy_body;GUNPARTF_ROTATEALPHA;ships\Cadius\USC\Prop\Prophecy_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\ATF\Prop\Absolution_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\ATF\Prop\Absolution_scene;2;ships\Cadius\ATF\Prop\Absolution_body;GUNPARTF_ROTATEALPHA;ships\Cadius\ATF\Prop\Absolution_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\ATF\Prop\Revelation_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\ATF\Prop\Revelation_scene;2;ships\Cadius\ATF\Prop\Revelation_body;GUNPARTF_ROTATEALPHA;ships\Cadius\ATF\Prop\Revelation_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\ATF\Prop\Starlight_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\ATF\Prop\Starlight_scene;2;ships\Cadius\ATF\Prop\Starlight_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\ATF\Prop\Starlight_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\ATF\Prop\Scatterfire_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\ATF\Prop\Scatterfire_scene;2;ships\Cadius\ATF\Prop\Scatterfire_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\ATF\Prop\Scatterfire_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\ATF\Prop\Prophecy_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\ATF\Prop\Prophecy_scene;2;ships\Cadius\ATF\Prop\Prophecy_body;GUNPARTF_ROTATEALPHA;ships\Cadius\ATF\Prop\Prophecy_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Split\Prop\Predator_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Split\Prop\Predator_scene;2;ships\Cadius\Split\Prop\Predator_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Split\Prop\Predator_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Split\Prop\Venom_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Split\Prop\Venom_scene;2;ships\Cadius\Split\Prop\Venom_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Split\Prop\Venom_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Split\Prop\Talon_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Split\Prop\Talon_scene;2;ships\Cadius\Split\Prop\Talon_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\Split\Prop\Talon_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\Split\Prop\Horz_Talon_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Split\Prop\Horz_Talon_scene;2;ships\Cadius\Split\Prop\Horz_Talon_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Split\Prop\Horz_Talon_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Teladi\Prop\Horz_Repeater_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Teladi\Prop\Horz_Repeater_scene;2;ships\Cadius\Teladi\Prop\Horz_Repeater_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Teladi\Prop\Horz_Repeater_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Teladi\Prop\Repeater_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Teladi\Prop\Repeater_scene;2;ships\Cadius\Teladi\Prop\Repeater_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\Teladi\Prop\Repeater_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\Teladi\Prop\Dual_Repeater_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Teladi\Prop\Dual_Repeater_scene;2;ships\Cadius\Teladi\Prop\Dual_Repeater_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\Teladi\Prop\Dual_Repeater_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\Teladi\Prop\Kinetic_Cannon_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Teladi\Prop\Kinetic_Cannon_scene;2;ships\Cadius\Teladi\Prop\Kinetic_Cannon_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Teladi\Prop\Kinetic_Cannon_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Teladi\Prop\Railgun_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Teladi\Prop\Railgun_scene;2;ships\Cadius\Teladi\Prop\Railgun_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Teladi\Prop\Railgun_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\killerog\props\Kill_tur1_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\killerog\props\Kill_tur1_scene;3;ships\killerog\props\Kill_tur1_body;GUNPARTF_ROTATEGAMMA;ships\killerog\props\Kill_tur1_gunleft;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;ships\killerog\props\Kill_tur1_gunright;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\killerog\props\KOG_M5GUN;GUNF_FIXED;0;0;
ships\killerog\props\Kill_tur2_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\killerog\props\Kill_tur2_scene;3;ships\killerog\props\Kill_tur2_body;GUNPARTF_ROTATEGAMMA;ships\killerog\props\Kill_tur2_gunleft;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;ships\killerog\props\Kill_tur2_gunright;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\killerog\props\KOG_M3GUN;GUNF_FIXED;0;0;
ships\Cadius\Argon\Prop\Adranus_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Argon\Prop\Adranus_scene;2;ships\Cadius\Argon\Prop\Adranus_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Argon\Prop\Adranus_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Argon\Prop\Orcus_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Argon\Prop\Orcus_scene;2;ships\Cadius\Argon\Prop\Orcus_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\Argon\Prop\Orcus_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\Argon\Prop\Vigil_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Argon\Prop\Vigil_scene;2;ships\Cadius\Argon\Prop\Vigil_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Argon\Prop\Vigil_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Cadius\Argon\Prop\Vulcan_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Argon\Prop\Vulcan_scene;2;ships\Cadius\Argon\Prop\Vulcan_body;GUNPARTF_ROTATEGAMMA;ships\Cadius\Argon\Prop\Vulcan_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Cadius\Argon\Prop\Enyo_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Cadius\Argon\Prop\Enyo_scene;2;ships\Cadius\Argon\Prop\Enyo_body;GUNPARTF_ROTATEALPHA;ships\Cadius\Argon\Prop\Enyo_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;

// Section: SDTYPE_CONNECTION Entries: 1
SDTYPE_CONNECTION;1;
dummy_connection;NULL;1;NULL;0;
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

I see the problem, theres a blank entry in the file for some reason

Code: Select all

ships\props\new_535_ExtDock_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0; 
 ; 
ships\props\extern_M5_dock;ANIMATEDF_DOCKPORT_M5|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
remove the line with just the ; in
To:

Code: Select all

ships\props\new_535_ExtDock_dummy;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0; 
ships\props\extern_M5_dock;ANIMATEDF_DOCKPORT_M5|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW30;0;
Then change the line at the top

Code: Select all

SDTYPE_ANIMATED;47;
to:

Code: Select all

SDTYPE_ANIMATED;46;
will have to look at where that ; is coming from, i guess its something to do with XRM's dummy file thats confusing the plugin manager
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

Looks like i have found the problem with the XRM file.

theres an extra space added after one of the entries that the plugin manager is detecting as a new line.

should hopefully be easy enough to filter out
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

ok i did what you told me but now there is another error message:


Error while loadiang object 'Normal animations (2)' (index 5):

Error while loadiang object 'anicount' (index 1):

Error converting value 'GUNF_FIXED' to number:

invalid numeric value



xD
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

These are wrong as well

Remove them

Code: Select all

// Section: ships\props\intern_fighterTS_launcher Entries: 0 
 ships\props\intern_fighterTS_launcher;0; 

 // Section: 0 Entries: 0 
 0;0;
then add this

Code: Select all

ships\props\intern_fighterTS_launcher;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_M8|ANIMATEDF_DOCKPORT_QUICKLAUNCH|ANIMATEDF_DOCKPORT_STARTONLY;0;
below the line

Code: Select all

ships\props\intern_fighterTS_dock;ANIMATEDF_DOCKPORT_FIGHTER|ANIMATEDF_DOCKPORT_TRANSPORT|ANIMATEDF_DOCKPORT_M8|ANIMATEDF_DOCKPORT_HANGAR|ANIMATEDF_DOCKPORT_LANDONLY;0;
and change the top line again and increase the number from 46 to 47


hopefully if it starts working, i should have enough to be able to fix it properly in the plugin manager
Xenon472
Posts: 162
Joined: Fri, 19. Jun 09, 20:07
x4

Post by Xenon472 »

Cycrow, you are a genius
now it work perfectly :D :D :D :D :D :D
thanks so much for your help :D :D :D :D
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

Not quite finished yet ;)

you could try downloading this update to the plugin manager
http://cycrow.thexuniverse.us/Beta/SpkUpdater.exe

This should hopefully allow it to generate the correct dummies file now

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