[Tool] X Rebirth Save Editor (08.12.2013)

The place to discuss scripting and game modifications for X Rebirth.

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

Revils
Posts: 3
Joined: Wed, 1. Jan 14, 22:36

Post by Revils » Wed, 1. Jan 14, 23:40

Hello

I've ported the Isbeorn code to C# Net 4 and did some fixes, mainly cosmetics, and changed "finish ship" function to a safer remove needed resources.
Source repository is on GitHub along with a build XRebirthSaveEditorC.zip, feel free to use and modify them.
Obviously backup your save game file before to use it with the editor.

swatti
Posts: 1255
Joined: Sun, 7. Dec 03, 13:03
x4

Post by swatti » Thu, 2. Jan 14, 14:45

Nice, huge thx man!

katiephil
Posts: 32
Joined: Sat, 3. Nov 07, 00:46
x3

Post by katiephil » Thu, 2. Jan 14, 16:57

thanks for this I was hoping it would solve the stuck shipyards but when I click to finish the ships it crashes "XRebirthSaveEditorC has stopped working" I have windows 7 64bit, tried several times.

If you need me to send you anything to help find the bug let me know will send it you.

Revils
Posts: 3
Joined: Wed, 1. Jan 14, 22:36

Post by Revils » Thu, 2. Jan 14, 23:35

just provide the save game file you are using, upload it on some free hosting file site.

katiephil
Posts: 32
Joined: Sat, 3. Nov 07, 00:46
x3

Post by katiephil » Fri, 3. Jan 14, 00:26

Revils wrote:just provide the save game file you are using, upload it on some free hosting file site.
https://www.dropbox.com/s/ajaey8dqxit5g1h/save_009.xml

The above is my save file :)

User avatar
Nikola515
Posts: 3030
Joined: Fri, 4. May 12, 07:40
x4

Post by Nikola515 » Fri, 3. Jan 14, 03:02

Revils wrote:Hello

I've ported the Isbeorn code to C# Net 4 and did some fixes, mainly cosmetics, and changed "finish ship" function to a safer remove needed resources.
Source repository is on GitHub along with a build XRebirthSaveEditorC.zip, feel free to use and modify them.
Obviously backup your save game file before to use it with the editor.
Thanks man :) This will keep me playing XR for little more.... I have favor to ask :oops: The most annoying thing for me in this game are not bugs but the way we need to look for crew.... I can go trough 10 stations and I cant find anyone who I need and if I do find him they suck :roll: Is there any way to you can add a way to add crew member on our ship( also there is way to change on this editor to change manager to pilot or captain but it is not working ) I was trying to change manager to cell specialist and it didn't work :( (specialist are rare and it is almost impossible to find without going to every station and checking everything). Can you keep eye on it when you get a chance :) Thanks again :)

Sorry bad English
It's not world hunger because we can't feed poor,it's because there will never be enough to feed the rich .....

brammie
Posts: 100
Joined: Fri, 20. Dec 13, 00:26

Post by brammie » Fri, 3. Jan 14, 13:10

Nikola515 wrote:
Revils wrote:
Is there any way to you can add a way to add crew member on our ship

Sorry bad English
short answer, yeah, doable

few options here:
1: list all NPC's in savegame and change the connection from where they are to a ship you select, and update some stuff (like listeners and owner)
2: spawn new npc, just need to make sure the seeds for the parts and identifiers are correct and put him on the ship

In the current editor its a lot of work though, just took a look and its just a basic "xml dom" editor, good for setting/getting a value based on xpath, inserting whole game objects is somewaht harder. I got a xsd and java generated code that can make things easier if needed (dunno if it works correctly though havn't tested it extensively)

And changing the "type" of npc is easier, just update some references to what they are and change the script references they use, on station somewhat harder ccause you need to change the slot they use to and might change the script they are running to ...[/code]

Revils
Posts: 3
Joined: Wed, 1. Jan 14, 22:36

Post by Revils » Fri, 3. Jan 14, 19:05

I've fixed the problem with finish build and I've also added a repair hull function, just redownload the zip file with the new build.
For the npc question, as brammie wrote, it's not so simple since also spawning and scripts are involved so a in game mod seems a more suitable solution.

katiephil
Posts: 32
Joined: Sat, 3. Nov 07, 00:46
x3

Post by katiephil » Sat, 4. Jan 14, 00:34

Revils wrote:I've fixed the problem with finish build and I've also added a repair hull function, just redownload the zip file with the new build.
For the npc question, as brammie wrote, it's not so simple since also spawning and scripts are involved so a in game mod seems a more suitable solution.
You're a star :) the update works 100% and has fixed the stuck shipyards. Thank you so much I can get back to the game.................

Saheike
Posts: 635
Joined: Mon, 30. Aug 04, 02:29
xr

Savegame Editor

Post by Saheike » Sat, 4. Jan 14, 02:44

Superb Job, the savegame editor works fine for me.


:oops:
Lieben Gruß von Sabine

//^:^\\ Trakkathrin-Kilrathina

Liberte, Egalite, Variete...

swatti
Posts: 1255
Joined: Sun, 7. Dec 03, 13:03
x4

Post by swatti » Sun, 5. Jan 14, 16:45

REQUEST: Add ammo to cap-ships

Captured ships have "Macro_ammoXXX_drone" or something, could it be possible to add those somehow?

Balor spinal-mounted missilelaunchers seem to be able to fire without any ammo but any other launcher wont.

User avatar
Nosscar
Posts: 1173
Joined: Thu, 14. Feb 13, 13:59
x4

Post by Nosscar » Sun, 5. Jan 14, 20:09

Is there anyway to use this editor to fix the urv wharf stations bug. (the plot station with the plasma/jet for resource)
Image
Ryzen5 2600:Windforce GTX 1060,6gb vram:16GB RAM DDR4 3000mhz

shawnbrown40
Posts: 41
Joined: Tue, 25. May 10, 19:03
x3tc

urv warf

Post by shawnbrown40 » Sun, 5. Jan 14, 21:46

After i downloaded and installed the obstruction overide mod all went well as i had the same problem.

http://forum.egosoft.com/viewtopic.php?t=356492


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Now to figure out how stop trade from locking up after 2 hours and the game will be playable, and move verbose info on why ships are not being built.

toepick
Posts: 102
Joined: Wed, 29. Feb 12, 17:57
x4

Post by toepick » Sun, 5. Jan 14, 22:24

I have the build small ship mod installed and it works..built a med miner and somewhat successfully mine with it (need a fleet of like 100 tho lol).

When I put in an order for a cap ship it seemed all was going well but ship never finished (just a hint of construction), and remained stalled after letting game run for a couple of days. Despite seeing frequent trade ships in and out of station.

When I loaded the game in the editor I do not see my ship being built at all. I did see some NPC ships..at BPO shipyards. Mine should be in the PMC shipyards. This is a freeplay game.

Not at home but I can provide my savegame later tonight; just wondering if anyone has any ideas why it would not show up or maybe indicates a bigger bug?

edit: savegame - https://www.dropbox.com/s/3e3h3n1jdhkzyuc/save_001.xml

User avatar
dcajner2
Posts: 21
Joined: Thu, 16. Feb 06, 12:06
x4

Post by dcajner2 » Mon, 6. Jan 14, 17:12

Do you save file after you add gravidar in mod and before you restart game?
If you can't beat them... try again ;-)

Post Reply

Return to “X Rebirth - Scripts and Modding”