is there a way of editing my save to add food rations to a ship?

General discussions about X Rebirth.

Moderator: Moderators for English X Forum

stoooo
Posts: 9
Joined: Wed, 29. Oct 08, 00:01

is there a way of editing my save to add food rations to a ship?

Post by stoooo »

is there a way of editing my save to add food rations to a ship? Ive been stuck on the 300 food ration part for a whole day now and nothing works, ive sold and bought ships, cleared orders, bought cargo drones got the ship to dock to buy but NOTHING IS HAPPENING!!!

So can i edit the stuff in?
Teisan
Posts: 9
Joined: Sun, 8. Jun 08, 01:50
xr

Post by Teisan »

Here's what you do. Go into Documents -> Egosoft -> X Rebirth -> numbers -> save. Pick the save you want to edit (I make a quicksave normally)

Then, open that save in notepad. Notepad++ is really helpful, as it can parse the xml into something readable. Do a search for owner="player", then find the ship you want. A Rahanas will be "units_size_l_kit_container_01_macro" for example. Otherwise you're just gonna have to trial and error.

After finding the entry, scroll down to the line that looks something like this:

<component class="storage" macro="storage_ship_l_container_01_macro" connection="shipconnection" id="[0xee0]">

If the cargo bay is empty, insert this code between that entry and the <connections> directly below it:

<cargo>
<summary connection="cargo">
<ware ware="foodrations" amount="300"/>
</summary>
</cargo>

If you have cargo, just plug the line with the actual ware in.

A warning with xml. Make sure you have the brackets right. See how there's a cargo and then a /cargo? You can also sum that up like this: <cargo/>. If it doesn't work the first time, fiddle with the brackets.

This is an example of something I had to do to fill my Rahanas with the stuff to make a station:

<connection connection="connection_storage02" macro="connection_storage02">
<component class="storage" macro="storage_ship_l_container_01_macro" connection="shipconnection" id="[0xee0]">
<cargo>
<summary connection="cargo">
<ware ware="fusionreactor" amount="200"/>
<ware ware="reinforcedmetalplating" amount="2000"/>
<ware ware="bioopticwiring" amount="1000"/>
<ware ware="shieldgenerator" amount="50"/>
<ware ware="dumbfireturret"/>
<ware ware="machinegunturret" amount="50"/>
<ware ware="plasmaturret" amount="30"/>
</summary>
</cargo>
<connections>
<connection connection="cargo" macro="cargo">
<component class="cargobay" macro="cargobay_ship_l_container_01_macro" connection="storageconnection" id="[0x29f5b]">
<connections/>
</component>
</connection>

That should be a good guide of what you want to end up with, just with the wares in the middle replaced with the food rations. Hope it's helpful!
stealthhammer
Posts: 1461
Joined: Fri, 12. Sep 08, 04:27

Post by stealthhammer »

What about for money wise?

I tried to edit the money in but I couldn't get it to work correctly for me.
"The more we, as a human race, becomes more advanced, the more we, as a human race, lose our humanity and common sense." - Sean Patrick Feeney

"Technological progress is like an axe in the hands of a pathological criminal." - Albert Einstine
Gronzui
Posts: 1
Joined: Wed, 25. Jan 12, 08:01
x3ap

Post by Gronzui »

stealthhammer wrote:What about for money wise?

I tried to edit the money in but I couldn't get it to work correctly for me.
The money is stored in multiple places. I am not sure which ones are not important so I edit all of them.
The elements are:
<player name="Ren Otani" .../>
<account id="[0x20]" .../> <- there are 10 of these in my save
and
<stat id="money_player" .../>
stoooo
Posts: 9
Joined: Wed, 29. Oct 08, 00:01

Post by stoooo »

you sir, are a god! I no longer have to put up with the idiot trader yipeee!! woooohooooo!!!!
:)
stealthhammer
Posts: 1461
Joined: Fri, 12. Sep 08, 04:27

Post by stealthhammer »

I only have a few and I tried the spots and no luck, I am tho getting tired of listening to the dang trader though.

Love the game and have faith in ego to fix the bugs tho but wow.

<player name="Ren Otani" location="{20005,45}" money="47101"/>

That should be the line for the money edit i think, since 47101 is what I have currently in my account.
"The more we, as a human race, becomes more advanced, the more we, as a human race, lose our humanity and common sense." - Sean Patrick Feeney

"Technological progress is like an axe in the hands of a pathological criminal." - Albert Einstine
SkunkedAussie
Posts: 7
Joined: Sun, 17. Nov 13, 08:08

Post by SkunkedAussie »

Why not do it properly and use the construction ship to buy them?

You need to take it to a sector with a capital shipyard in it (make sure it is in the same sector as you) and buy a cargo drone from the shipyard.

Then open up your map and look for a Staples Farmery and plot in the course. Buy the 300 rations from there and you're on your merry way.

It's much more rewarding to play the game as intended without cheating even when its bugged to hell.
Agouti
Posts: 12
Joined: Wed, 25. Sep 13, 14:23
x4

Post by Agouti »

SkunkedAussie wrote:Why not do it properly and use the construction ship to buy them?

You need to take it to a sector with a capital shipyard in it (make sure it is in the same sector as you) and buy a cargo drone from the shipyard.

Then open up your map and look for a Staples Farmery and plot in the course. Buy the 300 rations from there and you're on your merry way.

It's much more rewarding to play the game as intended without cheating even when its bugged to hell.
That is what I'm, and others, are trying to do. I'm a long time player of the X series, and always have had my own mods running. I intensely dislike cheating, and the mods I make/use are always "fair". The bugs here aren't just an inconvenience, they make the campaign literally impossible to complete.

My cargo ship is currently sitting right outside the food sale point doing nothing, with cargo drones in the hold, because of this bug. I edited the food into it and simultaneously edited my money to remove the exact cost.

Your high horse is looking a little sickly, my friend.
Mahkamar
Posts: 6
Joined: Tue, 2. Dec 03, 15:23
x4

Post by Mahkamar »

well yes it would be more rewarding playing the game as intented but seeing also the ship seller-drone seller dont offer the drones you are pretty much forced to add it in your savegame sigh
cpmartins
Posts: 9
Joined: Sat, 16. Nov 13, 03:03

Post by cpmartins »

This is what you said:
SkunkedAussie wrote: It's much more rewarding to play the game as intended without cheating even when its bugged to hell.
And this is what you mean:
"It's much more rewarding to play the game as intended without cheating even when its bugged to hell FOR ME."

What I find it "extremely rewarding" is when I have fun. Dealing with this bug, is not fun, FOR ME.

I lost all my ships when I placed them on my squad. That was not fun. FOR ME.

And so I merrily CHEATED, HACKED and otherwise SCREWED with the game, and oh my IT WAS FUN! But of course, it was fun, FOR ME. I'd never DARE to tell anyone how to play their single player game. That's just silly. But then again, That is just ME.
Ephemeriis
Posts: 53
Joined: Fri, 2. Oct 09, 17:20
x4

Post by Ephemeriis »

SkunkedAussie wrote:Why not do it properly and use the construction ship to buy them?
Well...

To start with, the game really doesn't make it clear that I'm supposed to do that.

I get the objective of deliver 300 food and nothing more. There's really no explanation of how to do that. And the steps I used to deliver those energy cells in the only other trade mission I did don't seem to work.

And as I'm looking through my property I see that I've got a bulk freighter full of meat, which leads me to believe that maybe I'm supposed to do something with that ship...

The idea that I'd have to take my constructor ship to get outfitted with a cargo drone and use that instead of my freighter just didn't occur to me.

Which is why I wound up in this thread to start with...

Of course, having learned that I needed to use my constructor, I then tripped over some new issues. Mainly that I can't get my constructor to move.
SkunkedAussie wrote:It's much more rewarding to play the game as intended without cheating
In general, I agree with you...
SkunkedAussie wrote:even when its bugged to hell.
...but you just lost me.

When the game is so broken that I can't even do what the developers intended - All bets are off.

I'm not going to bash my head against a brick wall or wait days for a bugfix. I'm going to find some way to have fun with what I've got.
aedn
Posts: 28
Joined: Mon, 9. Jul 07, 04:31
x3ap

Post by aedn »

Teisan wrote: Then, open that save in notepad. Notepad++ is really helpful, as it can parse the xml into something readable. Do a search for owner="player", then find the ship you want. A Rahanas will be "units_size_l_kit_container_01_macro" for example. Otherwise you're just gonna have to trial and error.
Thank you for the Notepad ++. My ships are stuck in a trade loop and wont move, and trying to parse the file in notepad for me was making me want to throw my computer out the window.

Return to “X Rebirth Universe”