Teslagrad

Teslagrad

View Stats:
CXZman Dec 13, 2013 @ 3:16pm
Screen resolution issue
Hi

I tried to launch the Demo and my screen immediatly showed me "input not supported" which is the message it displays when something goes wrong with the resolution the game asks for.

That's the third Unity based game that actually did this to me. I know for being part of the development of a couple of Unity games that this is an issue that Unity itself handles pretty nicely, and I'm sadly surprised there are still this kind of problems around while it really shouldn't happen.

Just wanted to let you know that previous problematic games could correct that problem, that we had to check on this with our games and that, to my knowledge, Unity does half the job by providing an array of end user's system supported resolutions. It shouldn't be much of a struggle.

< >
Showing 1-15 of 19 comments
Kein Zantezuken Dec 13, 2013 @ 3:55pm 
if it is not much of a hassle you could open:
c:\Users\%USERNAME%\AppData\LocalLow\Rain\Teslagrad\Settings\SettingsConfig.asset

with notepad and change

resolutionWidth: 1024
resolutionHeight: 768


To desired values. It also would make sense to set:
vSync: to True
and, if problem still there after that:
isFullScreen to False

Save, start the game again.
Last edited by Kein Zantezuken; Dec 13, 2013 @ 4:08pm
Fredrik  [developer] Dec 14, 2013 @ 10:06am 
I guess we have some more work to do, regarding this issue. Could you describe how I could make this issue happen on my own machine? If I can make it happen, I will be able to fix it. If needed, I can make a dual-screen setup in order to test this issue.

Also, Kein is correct about the settings file... give us a heads up if you still have problems.
Also, I tried to make an answer on our forums http://teslagrad.com/forum/showthread.php?tid=715&pid=1763#pid1763
CXZman Dec 14, 2013 @ 7:04pm 
Hi there.

I don't know how you could reproduce the problem on your computer. I believe you guys developped the game it could t the very least not crash or malfunction on your own computers :) So it's safe to assume such a problem cannot happen on your side.

If the default resolution is 1024x768, it probably has to do with the fact that I have a 16:9 display or with the possible strange frequency you're trying to set.

Forcing the game to start Windowed is kinda ugly, but would give you a 100% chance on making sure NOBODY would ever have this problem again. Yet, some AAA games, like Batman arkham origins, are doing exactly that. First run on window, user has configure it himself, and done.

Another way to do that is to publish with the start up screen, some games are also doing that.

But you should use something like this anyway : http://docs.unity3d.com/Documentation/ScriptReference/Screen-resolutions.html
I strongly doubt this example code would try to put my screen in a 4:3 resolution. You might want to filter the width/height so that it won't try to display at something like 640x360 :)
Kein Zantezuken Dec 14, 2013 @ 7:08pm 
If the default resolution is 1024x768, it probably has to do with the fact that I have a 16:9 display or with the possible strange frequency you're trying to set.
That's not the case, I'm not sure where did you get that. If I'm not mistaken the game (engine) detects desktop resolution automatically and uses it. May be the issue in your case some custom or unusual resolution (as you mentioned: "That's the third Unity based game that actually did this to me.")? May be engine fails to detect it.

1024x768 was just an example I gave. If you are still having issues, I can post my config file so you at least can start the demo,
Last edited by Kein Zantezuken; Dec 14, 2013 @ 7:13pm
Fredrik  [developer] Dec 15, 2013 @ 2:33am 
There is still resolution errors with interlaced resolutions, on some macs. I know very little about this, because we don't have such a machine yet. The problem then is that the list mentioned contains resolutions that can not be used after all.
I really want to solve this issue properly, either by detecting the incompatibility, or detecting the problem when it happens, and then falling back to windowed mode.
CXZman Dec 15, 2013 @ 7:18am 
You guys made me reinstall the Demo :)

I'm surprised interlaced monitor exists on Apple systems. The only way I could think of these is pluging a TV set on a Mac. Even then, the video card signal would still had to be interlaced which has to be explicitly set, while every recent TV set is capable of displaying progressive signal.

Anyway, I tried to go look where Kein Zantezuken pointed there would be a file to edit, but there was none. I tried to press enter repeat times unitl something in the sound indicated me the game was actually playing (I'm glad you did a good job on ergonomy there :) Icould effectively launch a new game without even seing the screen; Thanks for that).

Yet, the only thing that poped out in the AppData folder was a new folder (named "1") with my save data inside. There is no settings file in the Settings folder.

I woudl suggest you print out the whole array of resolutions Unity is listing into the output_log so that I can give you the result on my system.

For now, it only print my desktop resolution : desktop: 1920x1080 60Hz; virtual: 1920x1080 at 0,0
I still don't know what resolution the game is trying to display
Last edited by CXZman; Dec 15, 2013 @ 7:19am
Fredrik  [developer] Dec 15, 2013 @ 8:10am 
I'll post a window-mode SettingsConfig.asset here. If you're on Vista/Win7/Win8 it should be placed at the place Kein mentioned:
Fredrik  [developer] Dec 15, 2013 @ 8:18am 
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: fileID: 0 m_PrefabInternal: fileID: 0 m_GameObject: fileID: 0 m_Enabled: 1 m_EditorHideFlags: 0 m_Script: fileID: 11500000 guid: 6fc78d9f72e238a43b85ce6a130e47d3 type: 1 m_Name: SettingsConfig formatVersion: 1.8 volume: 100 fxVolume: 100 ambienceVolume: 100 musicVolume: 100 resolutionWidth: 1280 resolutionHeight: 800 lightLevel: 0 maxTimeMultiplier: 1 controllerChoice: 0 customControls: - 97 - 100 - 119 - 115 - 32 - 273 - 274 - 275 - 276 - 27 - 9 - 0 - 281 - 280 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0
Last edited by Kein Zantezuken; Dec 15, 2013 @ 8:43am
CXZman Dec 15, 2013 @ 8:56am 
I copy-pasted the yaml in a new txt file placed inside the Settings folder, renamed SettingsConfig.asset. It didn't put the game in window mode at all. What it did was to put the game in fullscreen, but this time it forced my screen into 1280x800 resolution (which is 16:10). Because of the difference between 16:9 and 16:10, I had letterbox borders on the left and right of the game's screen... BUT the game finally showed up!

I noted that this time the game tried an unsupported resolution first, then tried to display 1280x800 (which worked).

I had the opportunity to access the option menu and set the screen resolution myself (1920x1080, vsync set to ON, fullscreen was already ON). Now it just works fine.

The SettingsConfig.asset file was updated once I closed the game so here it is :

%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: fileID: 0 m_PrefabInternal: fileID: 0 m_GameObject: fileID: 0 m_Enabled: 1 m_EditorHideFlags: 0 m_Script: fileID: 11500000 guid: 6fc78d9f72e238a43b85ce6a130e47d3 type: 1 m_Name: SettingsConfig formatVersion: 1.8 volume: 100 fxVolume: 100 ambienceVolume: 100 musicVolume: 100 resolutionWidth: 1920 resolutionHeight: 1080 lightLevel: 0 maxTimeMultiplier: 1 controllerChoice: 0 customControls: - 97 - 100 - 119 - 115 - 32 - 273 - 274 - 275 - 276 - 27 - 9 - 0 - 281 - 280 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 customLanguage: Unknown isFullScreen: True vSync: True
Kein Zantezuken Dec 15, 2013 @ 9:33am 
Yeah, Frederick forgot to copy&paste whole file with
customLanguage: Unknown isFullScreen: True vSync: True

at the end, but at least it works now. Have fun.
Gabriel Knight Dec 17, 2013 @ 4:43am 
So, I am having the same issue, and I figured I would try to do what you did to fix the other issue, and I went to the folder location... and found it to be completely empty. I'm running Window 7 64 bit, I have a NVIDIA GT 650M video card with 2 gigs of vram, an Intel i7-3610QM running at 2.3 GHz, six gigs of ram, and I'm running at 1680 by 1050 screen resolution (16 by 10 aspect ratio.)

This is a log file I found in the Steamapps/Teslagrad/Teslagrad_Data folder called "output_log" I do not know if this helps, but I'm trying. ^_^;;


Initialize engine version: 4.2.1f4 (4d30acc925c2)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 9.0c [igdumd32.dll 8.15.10.2653]
Renderer: Intel(R) HD Graphics 4000
Vendor: Intel
VRAM: 944 MB (via DXGI)
Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\UnityEngine.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo-firstpass.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\ArabicSupport.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\ArabicSupport.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.Core.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.Core.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.RepresentationModel.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.RepresentationModel.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\SteamworksManaged.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\SteamworksManaged.dll into Unity Child Domain
- Completed reload, in 0.056 seconds
<RI> Initializing input.

<RI> Input initialized.

desktop: 1680x1050 60Hz; virtual: 1680x1050 at 0,0
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Boo.Lang.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\System.dll (this message is harmless)
Initialize engine version: 4.2.1f4 (4d30acc925c2)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 9.0c [igdumd32.dll 8.15.10.2653]
Renderer: Intel(R) HD Graphics 4000
Vendor: Intel
VRAM: 944 MB (via DXGI)
Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\UnityEngine.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo-firstpass.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-Boo.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\ArabicSupport.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\ArabicSupport.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.Core.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.Core.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.RepresentationModel.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\YamlDotNet.RepresentationModel.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\SteamworksManaged.dll (this message is harmless)
Loading C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\SteamworksManaged.dll into Unity Child Domain
- Completed reload, in 0.061 seconds
<RI> Initializing input.

<RI> Input initialized.

desktop: 1680x1050 60Hz; virtual: 2560x1600 at 0,0
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\Boo.Lang.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Teslagrad\Teslagrad_Data\Managed\System.dll (this message is harmless)

If possible, please adivse solution to problem.

Thank you.
Fredrik  [developer] Dec 17, 2013 @ 6:48am 
The next version of the game, at least on Windows, will default to your current resolution, if the demo/full game has not been launched before, and SettingsConfig.asset is missing.
Last edited by Fredrik; Dec 17, 2013 @ 7:04am
Fredrik  [developer] Dec 17, 2013 @ 6:52am 
Solution, if no folder is found:
Create (including folders, and replacing %USERNAME% with your username) c:\Users\%USERNAME%\AppData\LocalLow\Rain\Teslagrad\Settings\SettingsConfig.asset
Paste your desired settings there. Use the format posted by [FR] CXZman.
CXZman Dec 18, 2013 @ 1:43pm 
Originally posted by fludvigsen:
The next version of the game, at least on Windows, will default to your current resolution

Seems good. If you want, I can reinstall the demo when the new version come out so I can tes this fix and confirm with you it solves the problem. Just post here so Steam shoot me an alert when it's pushed
Inconstante Feb 6, 2014 @ 3:26pm 
Thanks Gabriel Knight, you helped me find some information about my problem.

When I try to launch the game, the screen becomes black for a couple of seconds, then it returns to Windows. No error messages. But post #11 told me where to find the error log. Here's what I found:

Could not load a dll file. Make sure that the steam_api.dll/libsteam_api.dylib file is placed at the correct location. See the documentation for more info.

Does somebody know what to do? Do I have to re-install Steam?
< >
Showing 1-15 of 19 comments
Per page: 1530 50