I recently unpacked the X4 catalogs to backcheck a tool I made up for storage estimation, and I am scratching my head on one item: Scrap Metal Production.
The Scrap Processor does not contain very much data in the encyclopedia (e.g. cycle time, products/hr, etc.); encyclopedia only provides the input-output ratios (i.e. 1x Raw Scrap + 10x ECells => 1x Scrap Metal). My first go at this I did not really want to dig into to endlessness of the data catalogs, so I pulled open the Logistics area of a built station and saw that a 1x Scrap Processor produces 9000x Scrap Metal / hr and has a cycle time of 60 seconds...so that would mean 60 cycles per hour, and 150 scrap metal per cycle. Now...this does not make much linkage with the Encyclopedia, just that I would need 150x Raw Scrap and 1500x ECells per cycle...I didn't make much of it, so I carried on in blissful ignorance.
Now that I am looking at the wares.xml file, I was perplexed to see that after a cycle time of 60s only 1x Scrap Metal is to be produced. Which would only mean 60 Scrap Metal / hr should be shown. Even if it was 1 Scrap Metal per second (1 cycle = 1 second), this would be 3600 Scrap Metal / hr....Station Logistics section would therefore be 2.5x higher than what the xml data is showing. I don't see any modifiers to maybe account for the discrepancy. There is also nothing to note within the processing module macro file either (proc_gen_scrapworks_macro.xml)...unsure if that is even the right file to look at!
What am I missing here?
Some screenshots: https://drive.google.com/drive/folders/ ... sp=sharing
Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
Moderator: Moderators for English X Forum
-
- Posts: 715
- Joined: Wed, 4. Jan 12, 22:23
Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
Playing X4+All_DLC on:
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
-
- Posts: 849
- Joined: Sat, 10. Dec 11, 03:10
Re: Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
You can think of the scrap processor as internally having 150 synced scrap cutters working in prallel.
-
- XWiki Moderator
- Posts: 172
- Joined: Tue, 8. Sep 20, 05:31
Re: Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
I'd suggest giving this steam guide a read, it has some deeper explanations on the scrap economy - in particular: the conversion rates and ratios needed.
Apologies if your question was more of a "how do I interpret the wares.xml files".
Apologies if your question was more of a "how do I interpret the wares.xml files".
-
- Posts: 715
- Joined: Wed, 4. Jan 12, 22:23
Re: Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
Didn't know that guide existed - I had a read but ya I understand the ratios and all that, but I just wanted to get clarity on the discrepancy between the data xml files and the game itself. Thanks thoughMookau wrote: ↑Sun, 30. Jun 24, 13:46 I'd suggest giving this steam guide a read, it has some deeper explanations on the scrap economy - in particular: the conversion rates and ratios needed.
Apologies if your question was more of a "how do I interpret the wares.xml files".

Playing X4+All_DLC on:
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
-
- Posts: 715
- Joined: Wed, 4. Jan 12, 22:23
Re: Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
That's fine, I have the tool to be using the 150x factor at the moment. It's just odd that the Scrap Processor is the only one that appears to be doing something funky that is not shown within the ware.xml, module.xml, or the processing structure macro framework within the data files.TheDeliveryMan wrote: ↑Sun, 30. Jun 24, 12:01 You can think of the scrap processor as internally having 150 synced scrap cutters working in parallel.
Playing X4+All_DLC on:
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
-
- XWiki Moderator
- Posts: 172
- Joined: Tue, 8. Sep 20, 05:31
Re: Question on Scrap Metal Production (Wiki / XML vs. in-game logistics)
The answer you're looking for is probably the value in defaults.xml where the dataset "processingmodule" contains the value used for scrapmetal processing.
Really, it's not terribly helpful beyond knowing that 150 is the magic number.
Really, it's not terribly helpful beyond knowing that 150 is the magic number.