Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hello, I can't open the Settings panel. The game closes instead. 

I've tried to change the resolution to 1366x768 by hand by modifying Masteroid.exe.config but it has no effect.

So I can't play my purchase, I don't see the whole of the window, which is always squared.

Hi Auburn,

I'm sorry to hear about your issue. Let's see if we can figure out what's going on! First, Modifying the resolution in the Masteroid.exe.config won't have an effect as the game doesn't use it. A couple of quick questions:

  • Are you playing on PC or Mac?
  • What type of graphics card do you have?

The game stores your save, errors and the game settings here:

[Your user folder]/masteroid

If a file called "error.log" exists, please paste the contents to me, that should tell me why your settings screen is crashing. The settings.json file in that folder is what actually controls your resolution. You can try manually changing that but I definitely want to figure out and fix the crash!

If you can get me some of that information I'm sure we can get it fixed right away!

- PC Windows 10

- Intel HD Graphics 4400


Here is the content of error.log

---

01/04/2018 00:44:03    Error    Une exception a été levée par la cible d'un appel.
01/04/2018 00:44:03    Error    La séquence ne contient aucun élément.
01/04/2018 00:44:03    Error       à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   à System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   à GumRuntime.ElementSaveExtensions.CreateGueForElement(ElementSave elementSave, Boolean fullInstantiation)
   à GumRuntime.InstanceSaveExtensionMethods.ToGraphicalUiElement(InstanceSave instanceSave, SystemManagers systemManagers)
   à Gum.Wireframe.GraphicalUiElement.CreateChildrenRecursively(ElementSave elementSave, SystemManagers systemManagers)
   à Masteroid.GumRuntimes.SettingsGumRuntime.CreateChildrenRecursively(ElementSave elementSave, SystemManagers systemManagers)
   à GumRuntime.ElementSaveExtensions.SetGraphicalUiElement(ElementSave elementSave, GraphicalUiElement toReturn, SystemManagers systemManagers)
   à FlatRedBall.Gum.GumIdb.LoadFromFile(String fileName)
   à Masteroid.Screens.Settings.LoadStaticContent(String contentManagerName)
   à Masteroid.Screens.Settings.Initialize(Boolean addToManagers)
   à FlatRedBall.Screens.ScreenManager.LoadScreen(String screen, Layer layerToLoadScreenOn, Boolean addToManagers, Boolean makeCurrentScreen)
   à FlatRedBall.Screens.ScreenManager.Activity()
   à Masteroid.Game1.Update(GameTime gameTime)
   à Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   à Microsoft.Xna.Framework.Game.Tick()
   à Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   à Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   à Masteroid.Program.Main()

---



Thanks, I've modified the settings manually and I'm able to run the game normally now !

Okay so the game is crashing because it can't get a list of resolutions from your graphics card. That may be tough to fix quickly so I'm glad you have a workaround.

As a side note, are you playing the game at 1366x768? If so I don't think you'll be able to see the whole station menu: the buttons to repair your ship and sell your cargo will be cut off. If your computer doesn't support a higher resolution I'll have to figure out how to make the station menu smaller so you can see all of the options. This may take me a day or two.

Thank you for your patience and for buying the game!

(1 edit)

It seems the game require a single ratio so what you can do is letterbox the game to force this ratio (say, 16/9). I've found no good resolution trying many, it's always cropped strangely.

(-1)

I'm not sure I understood the question. I don't letterbox Masteroid, it runs at whatever resolution you specify. However, the menu doesn't scale below 1050 well. I will try to either letterbox lower than 1050 resolution or rework the menu. I was actually working on new features for v0.10 right now but I'm switching gears to fix this!