Page MenuHomeSchine - Phabricator

Starmade | BlockConfigImport.xml not importing new Recipes
Closed, DuplicatePublic

Description

Alright, so this gave me quite a headache. I used the block editor to create new recipes for the factories, Personal Capsule Refinery, Micro Assembler, and the "Make Macro Factory Block." I then saved the output to a "BlockConfigImport.xml" file and put it into the "\StarMade\customBlockConfig" folder. On both single player and on our server for Light vs Dark, the recipes in the factories showed up with no problem. However, the capsule refinery, micro-assembler, and personal crafting recipes did not.

So, I tried instead to replace the "BlockConfig.xml" file in the "StarMade\StarMade\data\config\" folder. This worked to enable the rest of the recipes. However, this is not a good solution for our server because the "BlockConfig.xml" file will be wiped out every update and have to be replaced again.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
v0.199.353
Category
Blockconfig
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

These instructions will work for either a server or single player. But if on a server, make sure to upload the file to the correct place on the server, and when "restarting" the game, restart both the client and the server.

  1. Open StarMade. Go to "Tools & Mods," and open the Block Editor.
  2. In the block editor, go to the "Recipes" tab, and add a recipe for the Micro Assembler.
  3. Click on "File", then "Save As..". Browse to the "customBlockConfig" folder and save the file as "BlockConfigImport.xml"
  4. Restart the game to ensure the new xml file is loaded. (I noticed that changes to the config file did not always hold when I did not restart the game)
  5. Start a single player world. Place down a micro-assembler, and look for the recipe. It won't be there. Also try to put the items in to perform the recipe, and it won't work.

Now, let's make it work, at least till the next update.

  1. Open up an explorer window and browse to your "StarMade/customBlockConfig/" folder. Rename the file "BlockConfigImport.xml" to "BlockConfig.xml". Cut this file, then browse to your "StarMade/data/config/" folder. Rename the original "BlockConfig.xml" to "BlockConfig.xml.orig". Then paste the cut file.
  2. Restart your game completely.
  3. Start the game and start a single player world. Place down a micro-assembler. Open up the "View Production Recipe" tab and you will now see the custom recipe. It should also work. However, the "BlockConfig.xml" file will be replaced upon the next update, requiring the file be updated every update. This defeats the purpose of custom config files.
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Benevolent27 edited Steps to reproduce. (Show Details)
SmilingDemon shifted this object from the S1 Public space to the S3 Starmade space.Dec 28 2016, 9:01 AM
SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".
SmilingDemon changed the edit policy from "Task Author" to "Starmade (Project)".
SmilingDemon moved this task from New / Unconfirmed to Open / Validated on the Issue Navigation board.
SmilingDemon added a subscriber: SmilingDemon.
SmilingDemon claimed this task.
SmilingDemon removed SmilingDemon as the assignee of this task.
SmilingDemon triaged this task as Low priority.

-validated-

AndyP claimed this task.Dec 28 2016, 9:08 AM

-Duplicate-

This is currently a not supported.
But will most likely be added.

Restricted Application removed a project: Issue Navigation. · View Herald TranscriptDec 28 2016, 9:09 AM
In T2135#83732, @AndyP wrote:

-Duplicate-
This is currently a not supported.
But will most likely be added.

Thank you for the response. I hope this gets included soon. I'm going to have to manually update the recipes every update, and since we're on an automated update schedule, things are going to break every update on our server till I get around to doing the manual updates. :(

Restricted Application added a project: Blockconfig. · View Herald TranscriptMar 10 2017, 5:42 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Mar 29 2017, 1:24 PM