First pass at getting station build data from the game files

General discussions about X Rebirth.

Moderator: Moderators for English X Forum

ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 17:52
x4

First pass at getting station build data from the game files

Post by ZonedOut » Tue, 15. Jul 14, 05:19

I did a couple of quick checks and everything seemed correct,, but this data should be treated with skepticism until it has been more thoroughly checked.

Also if anyone knows the proper method for extracting the sequence titles from the game files - a hint would be appreciated. The primary sequence in particular has no name in this version.


https://www.dropbox.com/s/m1bbil7hu27wsz9/stations.7z

User avatar
Simoom
Posts: 1100
Joined: Sat, 30. Oct 10, 14:14
x4

Post by Simoom » Wed, 16. Jul 14, 12:54

Very nice! ^_^

I once tried doing something similar (it was a station-building guide + economy guide) but I didn't know how to extract the game data, so I just used the in-game CV to check the starting materials. I didn't list all the materials for each phase of the construction.

I am interested in seeing you expand upon this... may be do some sort of X3-styled factory calculator? So people know how to set up proper production chains?

Fenhris
Posts: 343
Joined: Wed, 1. Jan 14, 12:58
x4

Post by Fenhris » Wed, 16. Jul 14, 19:39

Fantastic!

Been looking for those data for this project: http://forum.egosoft.com/viewtopic.php?t=367879

Hope you dont mind me using it for this project. I will try and use your link to have the sheet extract the data by it self later.

ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 17:52
x4

Post by ZonedOut » Wed, 16. Jul 14, 23:25

Fenhris wrote:Fantastic!

Been looking for those data for this project: http://forum.egosoft.com/viewtopic.php?t=367879

Hope you dont mind me using it for this project. I will try and use your link to have the sheet extract the data by it self later.
The data is free for anyone to use.

I hope to enhance the available data to including other things such as min/avg/max build costs, production and input requirements. But that may take a few days depending on my available spare time.

Fenhris
Posts: 343
Joined: Wed, 1. Jan 14, 12:58
x4

Post by Fenhris » Thu, 17. Jul 14, 00:17

ZonedOut wrote:
The data is free for anyone to use.

I hope to enhance the available data to including other things such as min/avg/max build costs, production and input requirements. But that may take a few days depending on my available spare time.
Well, data for production are pretty easy, if I could only figuere out where to find what sub parts each module consists of, like Soltek Bridges etc. I would have each module with exact output amount.

ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 17:52
x4

Post by ZonedOut » Thu, 17. Jul 14, 03:28

Updated the data to include min/avg/max pricing for the stages and overall station. Cleaned up the format, and made the sequence titles fairly close to what the architect displays in-game (still some work to do).

https://www.dropbox.com/s/x3t7d4eaml8uo ... ns-7-16.7z



@Fenhris, I think?? what you are asking for are the wares entries in the /libraries/wares.xml file with component elements on them ???

/wares/ware/component/ref will be equal to the macro name of the station element. The production/primary/ware<s> will give you the recipe.

ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 17:52
x4

Post by ZonedOut » Sun, 20. Jul 14, 05:00

Added primary calculation for profit from station production facilities. All calculations are on average cost for input materials and average cost on sale of goods (no secondary goods or specialist effects).

Profit calculations for stations with rotating production queues on a single stage are not present in this data set.

Accuracy checking by anyone would be appreciated.

https://www.dropbox.com/s/i7fk3w3wmnafp ... ons0720.7z

ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 17:52
x4

Post by ZonedOut » Thu, 31. Jul 14, 01:52

07/30/14 update. Things to note all triplet sets of values in ()'s are min/avg/max sets. A couple of station sequences with primary modules which have no production ability are not named correctly. Bonuses are shown, but not all the possible permutations of their applications. Proof checking/critisim is not only accepted but encouraged, and if anyone can suggest a more compact format to convey the same amount of info please speak up.


https://www.dropbox.com/s/7g4nc1f1ve4x7 ... ons0730.7z

User avatar
nponoBegHuk
Posts: 458
Joined: Thu, 6. Mar 08, 20:55
xr

Post by nponoBegHuk » Tue, 7. Oct 14, 03:09

Wow, this is amazing! Incredibly useful! Thanks for your effort.
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:
7 out of 11 *retired* ships found
1 out of 17 *unique* ships found
1 out of 9 *limited* ships found
0 out of 16 *rare* ships found

ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 17:52
x4

Post by ZonedOut » Thu, 10. Mar 16, 00:42

Updated for Home of Light, as always I checked a few stations so if you spot anything wrong please let me know asap.


https://www.dropbox.com/s/lfsrugq7249xx ... ns.7z?dl=0

User avatar
Simoom
Posts: 1100
Joined: Sat, 30. Oct 10, 14:14
x4

Post by Simoom » Sun, 13. Mar 16, 14:41

Hey there ZonedOut,

I am about to do a major update to my XR station building guide by compiling your data and reorganize it in a way that's easier for people to digest. I was wondering (since you seem much more technically-knowledgeable than me) if it's possible for you to alter your data sheet to output the station data in the following format:

=========================
Station Name:
  • Production Modules:
    • [module name] x [number of modules]
  • Total Ware Production (per hour):
    • [total number of wares] x [ware name] ( [number of wares per module] x [number of modules] )
  • Total Ware Consumption (per hour):
    • [total number of wares] x [ware name] ( [number of wares per module] x [number of modules] )
=========================
Here are some examples of what I have done... so you can see the formatting I am using.
  1. Solar Energy Farm:
    • Production Modules:
      • Solar Channel x3
    • Ware Production (per hour):
      • 25200 Energy Cells (8400 x3)
    • Ware Consumption (per hour):
      • 144 Food Rations (48 x3)
  2. Wheat Plantation:
    • Production Modules:
      • Valley Forge x2
    • Ware Production (per hour):
      • 10800 Wheat (5400 x2)
    • Ware Consumption (per hour):
      • 4800 Energy Cells (2400 x2)
      • 6000 Water (3000 x2)
  3. Water Distillery:
    • Production Modules:
      • Condenser Still x2
    • Ware Production (per hour):
      • 28800 Water (14400 x2)
    • Ware Consumption (per hour):
      • 4800 Energy Cells (2400 x2)
      • 24000 Ice (12000 x2)
If this is too difficult, would it at least be possible to change the way the ware production/consumption is currently listed in your sheet? Right now ware production/consumption rate is listed by number of seconds, and the range vary (I am guessing because they "tick" at different rates), but as you can imagine it is a nightmare for me as I have to punch in all the values into a calculator manually to arrive at a hourly value. :(

Thanks!

toby_p
Posts: 7
Joined: Sat, 3. Oct 15, 16:59
xr

Post by toby_p » Sun, 13. Mar 16, 22:36

Hi Simoom,
I'm not ZonedOut but I think I can help you here nevertheless. I have been writing a parser for ZonedOut's text file recently and have already included the HoL update. It should not be too difficult to adapt it to print stuff out the way you want it. I'll post my results here as soon as I'm finished. Do you need building costs and/or secondary resources as well? Also, since HoL and Albion use the same stations (and same station names), do you maybe want the stations like this:
1. Solar Energy Farm (Albion):

Greetings,
Toby

toby_p
Posts: 7
Joined: Sat, 3. Oct 15, 16:59
xr

Post by toby_p » Sat, 19. Mar 16, 13:16

Well, that took some time, but it's done! Let me know if there is anything (format-wise or content-wise) you'd like me to change. Cosmetic changes especially are very easy. Content-wise, there are some things which I have already implemented for my project that would be easy to include here, if you need them (e.g. building costs and secondary resources).

Note: I have omitted the amount of producing/consuming modules in brackets after a product's/resources' name (as in "4800 Energy Cells (2400 x2)"), since there often are different modules consuming the same resource and therefore it would not make sense to write it this way.

Here is the file: https://www.dropbox.com/s/90nrf7bffzihk ... m.txt?dl=0

Edit (12:37): I fixed a mistake resulting in module names being printed multiple times. I have only spot-checked the data, so if you find anything inconsistent with ZonedOut's file, please tell me.

User avatar
Simoom
Posts: 1100
Joined: Sat, 30. Oct 10, 14:14
x4

Post by Simoom » Sun, 20. Mar 16, 02:35

Hey there Toby!

Thanks for working on the parser. Thing is because ZonedOut didn't get back to me for a few days, I ended up parsing all the station stats manually (I ended up including production bonuses for all the factories, since I assume most people would want to fully upgrade and crew their factories anyway). I didn't see your posts until I was done... sorry! xD

You can see the results in my guide here:
http://forum.egosoft.com/viewtopic.php?t=363137

If you are knowledgeable in coding, though... I was wondering if I might recruit you for a more ambitious project: Namely, we really need a XR production calculator (in similar fashion to the X3 one).

Would you happen to know how to make something like that?

toby_p
Posts: 7
Joined: Sat, 3. Oct 15, 16:59
xr

Post by toby_p » Sun, 20. Mar 16, 12:29

Oh my - you did all that by hand? :o That's quite perseverant! Well, I'll leave my file up anyways just in case somebody else can use it.
Great work on your guide, I posted some feedback in it's thread.
As for the production calculator... It was the reason I wrote a parser for ZonedOut's data in the first place! So yes, I am working on it. My role model is the excellent XAdrian factory complex calculator, though I fear mine will be far from the completeness and quality of that one. Since I haven't exactly written such a program before, it might be a while before I release anything, but I'm on it!

Post Reply

Return to “X Rebirth Universe”