Page MenuHomeSchine - Phabricator

Starmade | customConfig files missing
Closed, FinishedPublic

Description

If you don't have Starmade/data/config/customBlockBehaviourConfigTemplate.xml, the game crashes upon entering a single player universe (note that connecting to a multiplayer server then immediately exiting it to enter your SP universe works).
This file is only an example to write a custom configuration file, which is to be placed in another folder. For some reason, it was missing on one of my laptops after the update, but I don't think the game should even attempt to read it.

attached, Starmade's log (happened on both my windows and OSX laptop):

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Singleplayer
Reproducible
Yes
Last tested (version)
0.199.172
Category
none/unspecified
First occurrence (version)
0.199.172
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Olxinos created this task.Aug 28 2016, 4:43 PM
lancake added a subscriber: lancake.EditedAug 28 2016, 6:42 PM
lancake claimed this task.

-feedback-

The files in the data/config one should always be there after an update. It's what the game copies to the root folder, then it uses that file. It's so you can use the custom config files and still have a backup.

The error you get means something went wrong on installing and you managed to get an incomplete installation folder.
We already had people in support that ended up with a missing customTexturesFolder but this is new (same issue probably).

Tried a complete new installation and it was just fine, my other existing installations updated just fine too, no idea how to reproduce. Any idea if you did something specific that could have caused this? Perhaps describe what you did from start to finish.

EDIT: Did anti-virus software block it perhaps?

lancake shifted this object from the S1 Public space to the S3 Starmade space.Aug 28 2016, 6:43 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake renamed this task from Can't enter SP universe if dummy example file is missing to customConfig files missing on clean install.
lancake renamed this task from customConfig files missing on clean install to customConfig files missing.
lancake triaged this task as Normal priority.

Nothing should have blocked the update, but well, I guess these things happen sometimes. There might also be a bug/incompatibility which causes corrupt installations of course (and caused that), but if that is the case I don't know about it.

What's worrying me in the present case is more about the game crashing because of a file it shouldn't use, as if the game was crashing because the README was missing. Starmade/data/config/customBlockBehaviourConfigTemplate.xml is clearly a dummy example file intended to modders/players, yet the game requires it to run correctly although it mustn't use any information found in that file (fortunately, it seems to completely ignore its contents: it accepts an empty file, garbage... as long as the file exists the game doesn't care)

It's not critical, as it shouldn't happen unless somebody mess with the game files or there's a corrupt update/installation. But I find this odd and somewhat dubious. Not to mention it's a file which is quite likely to be moved around since it's an example for a file supposed to be placed in another directory.

AndyP changed the task status from Open to Feedback.Feb 21 2017, 8:53 PM
Restricted Application added a project: Waiting on Author. · View Herald TranscriptFeb 21 2017, 8:53 PM
Restricted Application added a project: Waiting on Author. · View Herald TranscriptMar 10 2017, 5:43 PM
AndyP added a subscriber: AndyP.May 11 2021, 3:05 PM
AndyP closed this task as Closed.

Waiting for feedback for a long time now.
Cleanup -> Closed

Restricted Application removed a subscriber: AndyP. · View Herald Transcript