Blank Screen Startup Mac OS X 10.9.4 and 10.9.5

Started by jotapeh, October 01, 2014, 11:56:25 AM

Previous topic - Next topic

Mystic

Quote from: stefanstr on October 02, 2014, 05:14:41 PM
Quote from: Mystic on October 02, 2014, 05:05:27 PM
Quote from: stefanstr on October 02, 2014, 04:59:19 PM
To make it even weirder... Alpha 7 works perfectly in fullscreen mode on my MacBook Pro Retina 15�. No issues so far.

Curious.  Is there any chance that you already had been running Alpha 6 in fullscreen, so that Alpha 7 was in fullscreen by default when you started it up?  (Because that works on my system, too.)  If that's the case, can you try switching Alpha 7 to windowed mode and then back to see if you then experience the problem?

Yes, that is exactly my case. Although I have deleted all RimWorld related data in Caches to have a new start. I will try it later to move to windowed mode and back to fullscreen, but right now I will not, knowing that it might make it difficult for me to play. I like Alpha 7 too much. ;)

That's understandable, and I suspect you'd see the same problem if you did the test.  One thing to note: if you still have Alpha 6 installed alongside Alpha 7 (as do I), you should be able to get fullscreen in Alpha 7 back again after such an experiment via the following procedure: once you get the black screen in Alpha 7, hit Cmd+Esc to get back to windowed mode, quit Alpha 7, run Alpha 6 (ignoring any startup errors from data file incompatibility), switch to fullscreen in Alpha 6, then exit Alpha 6 and relaunch Alpha 7.  If your system is like mine, you'll have your fullscreen mode back in Alpha 7 at that point (as long as you don't change it again in Alpha 7 prior to any patch Tynan might come up with).

asciiface

Fullscreen status isn't stored in ~/Library/Caches/unity.Ludeon Studios.RimWorld/Config, so where is that? Might be a place to start. I was trying to recreate the "set it in 6 and then switch to 7" without having 6 installed.

Mystic

Quote from: asciiface on October 02, 2014, 06:09:04 PM
Fullscreen status isn't stored in ~/Library/Caches/unity.Ludeon Studios.RimWorld/Config, so where is that? Might be a place to start. I was trying to recreate the "set it in 6 and then switch to 7" without having 6 installed.

An interesting idea!  I don't know where the setting is stored, unfortunately ... maybe Tynan or someone else more knowledgeable about this than myself will be able to help.

Tynan

Wait wait, so does that work? You can make A7 run properly in fullscreen by setting it up in Alpha6?

If so, can any of you please post any relevant config files/data before and after this change? I'm desperate to see what the difference might be.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

asciiface

Quote from: Tynan on October 02, 2014, 06:32:16 PM
Wait wait, so does that work? You can make A7 run properly in fullscreen by setting it up in Alpha6?

If so, can any of you please post any relevant config files/data before and after this change? I'm desperate to see what the difference might be.


Where is fullscreen True/False stored? I was going to try and check it by hand without reinstalling A6

Tynan

Quote from: asciiface on October 02, 2014, 06:33:30 PM
Quote from: Tynan on October 02, 2014, 06:32:16 PM
Wait wait, so does that work? You can make A7 run properly in fullscreen by setting it up in Alpha6?

If so, can any of you please post any relevant config files/data before and after this change? I'm desperate to see what the difference might be.


Where is fullscreen True/False stored? I was going to try and check it by hand without reinstalling A6

At this moment I don't even know. It's a Unity setting, in Windows it's in the registry, I don't know the Mac equivalent.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

asciiface

It seems the state is stored in:

~/Library/Saved\ Application\ State/unity.Ludeon\ Studios.RimWorld.savedState/
~/Library/Preferences/unity.Ludeon\ Studios.RimWorld.plist

Removing these DID force it back to starting in FullScreen, but it is still broken. I am digging around more.

asciiface

$ plutil -convert xml1  ~/Library/Preferences/unity.Ludeon\ Studios.RimWorld.plist
Fullscreen:
$ ls
Config   Saves   Worlds
[REDACTED@ringworld ~/Library/Caches/unity.Ludeon Studios.RimWorld]
$ cat  ~/Library/Preferences/unity.Ludeon\ Studios.RimWorld.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Screenmanager Is Fullscreen mode</key>
   <integer>1</integer>
   <key>Screenmanager Resolution Height</key>
   <integer>856</integer>
   <key>Screenmanager Resolution Width</key>
   <integer>1440</integer>
   <key>UnityGraphicsQuality</key>
   <integer>1</integer>
</dict>
</plist>

windowed:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Screenmanager Is Fullscreen mode</key>
   <integer>0</integer>
   <key>Screenmanager Resolution Height</key>
   <integer>856</integer>
   <key>Screenmanager Resolution Width</key>
   <integer>1440</integer>
   <key>UnityGraphicsQuality</key>
   <integer>1</integer>
</dict>
</plist>


Not very exciting. But this is how Unity seems to be handling it, so it literally makes 0 sense to me how opening in Alpha6 and then Alpha7 makes it work, unless someone feels like providing me the plist file from alpha6 fullscreen'd to compare (it MIGHT be different, doubt it)

asciiface

I don't have any more downloads for alpha 6, so could someone follow these steps for me:

Open Alpha6, set it to fullscreen, enter a game and then exit.
Then you need to open command line and run:

edit: had the wrong unity game
plutil -convert xml1 ~/Library/Saved\ Application\ State/unity.Ludeon\ Studios.RimWorld.savedState/windows.plist
cat ~/Library/Saved\ Application\ State/unity.Ludeon\ Studios.RimWorld.savedState/windows.plist

Copy the results of cat. Then open Alpha7 and do the same and paste both results :D

I am thinking Unity Save States might have clues... I am trying to figure out a potential workaround for fullscreen

Tynan

Blast! Ok, well that's as expected. But I really want to see what it looks like after it's configured by Alpha 6.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

asciiface

alpha 6:

$ cat  ~/Library/Preferences/unity.Ludeon\ Studios.RimWorld.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Screenmanager Is Fullscreen mode</key>
   <integer>1</integer>
   <key>Screenmanager Resolution Height</key>
   <integer>856</integer>
   <key>Screenmanager Resolution Width</key>
   <integer>1440</integer>
   <key>UnityGraphicsQuality</key>
   <integer>1</integer>
</dict>
</plist>

$ cat  ~/Library/Saved\ Application\ State/unity.Ludeon\ Studios.RimWorld.savedState/windows.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
   <dict>
      <key>MenuBar AvailableSpace</key>
      <real>1179</real>
      <key>MenuBar FilterInfo</key>
      <true/>
      <key>NSDataKey</key>
      <data>
      MKK6AoLOLMgOFNAq8OC3FQ==
      </data>
      <key>NSIsMainMenuBar</key>
      <true/>
      <key>NSWindowID</key>
      <integer>1</integer>
      <key>NSWindowNumber</key>
      <integer>6340</integer>
   </dict>
   <dict>
      <key>NSDataKey</key>
      <data>
      XGkm+cfz+UiuDZE8ro6hAw==
      </data>
      <key>NSDragRegion</key>
      <data>
      AAAAgAIAAAADAAAACAAAABUAAAAbAAAAKQAAAC8AAAA9AAAAlAUAAAwAAAAK
      AAAAAwAAAAcAAAAVAAAAGwAAACkAAAAvAAAAPQAAAJ0FAAATAAAABAAAAAMA
      AACdBQAAFgAAAAIAAAD///9/
      </data>
      <key>NSIsFullScreen</key>
      <true/>
      <key>NSTitle</key>
      <string>RimWorld534Mac</string>
      <key>NSUIPersistenceIsKey</key>
      <true/>
      <key>NSUIPersistenceIsMain</key>
      <true/>
      <key>NSWindowCloseButtonFrame</key>
      <string>{{7, 3}, {14, 16}}</string>
      <key>NSWindowFrame</key>
      <string>0 0 1440 900 0 0 1440 900 </string>
      <key>NSWindowID</key>
      <integer>2</integer>
      <key>NSWindowLevel</key>
      <integer>0</integer>
      <key>NSWindowMiniaturizeButtonFrame</key>
      <string>{{27, 3}, {14, 16}}</string>
      <key>NSWindowNumber</key>
      <integer>6343</integer>
      <key>NSWindowZoomButtonFrame</key>
      <string>{{47, 3}, {14, 16}}</string>
   </dict>
   <dict>
      <key>CFBundleVersion</key>
      <string>4.5.0f6</string>
      <key>NSDataKey</key>
      <data>
      A9s3HrknTCUu02+iqEx5RQ==
      </data>
      <key>NSExecutableInode</key>
      <integer>3889295</integer>
      <key>NSIsGlobal</key>
      <true/>
      <key>NSWindowID</key>
      <integer>4294967295</integer>
      <key>NSWindowZOrder</key>
      <array>
         <integer>6343</integer>
         <integer>6344</integer>
      </array>
   </dict>
</array>
</plist>

asciiface

Quote from: asciiface on October 02, 2014, 07:20:55 PM
alpha 6:

$ cat  ~/Library/Preferences/unity.Ludeon\ Studios.RimWorld.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Screenmanager Is Fullscreen mode</key>
   <integer>1</integer>
   <key>Screenmanager Resolution Height</key>
   <integer>856</integer>
   <key>Screenmanager Resolution Width</key>
   <integer>1440</integer>
   <key>UnityGraphicsQuality</key>
   <integer>1</integer>
</dict>
</plist>

$ cat  ~/Library/Saved\ Application\ State/unity.Ludeon\ Studios.RimWorld.savedState/windows.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
   <dict>
      <key>MenuBar AvailableSpace</key>
      <real>1179</real>
      <key>MenuBar FilterInfo</key>
      <true/>
      <key>NSDataKey</key>
      <data>
      MKK6AoLOLMgOFNAq8OC3FQ==
      </data>
      <key>NSIsMainMenuBar</key>
      <true/>
      <key>NSWindowID</key>
      <integer>1</integer>
      <key>NSWindowNumber</key>
      <integer>6340</integer>
   </dict>
   <dict>
      <key>NSDataKey</key>
      <data>
      XGkm+cfz+UiuDZE8ro6hAw==
      </data>
      <key>NSDragRegion</key>
      <data>
      AAAAgAIAAAADAAAACAAAABUAAAAbAAAAKQAAAC8AAAA9AAAAlAUAAAwAAAAK
      AAAAAwAAAAcAAAAVAAAAGwAAACkAAAAvAAAAPQAAAJ0FAAATAAAABAAAAAMA
      AACdBQAAFgAAAAIAAAD///9/
      </data>
      <key>NSIsFullScreen</key>
      <true/>
      <key>NSTitle</key>
      <string>RimWorld534Mac</string>
      <key>NSUIPersistenceIsKey</key>
      <true/>
      <key>NSUIPersistenceIsMain</key>
      <true/>
      <key>NSWindowCloseButtonFrame</key>
      <string>{{7, 3}, {14, 16}}</string>
      <key>NSWindowFrame</key>
      <string>0 0 1440 900 0 0 1440 900 </string>
      <key>NSWindowID</key>
      <integer>2</integer>
      <key>NSWindowLevel</key>
      <integer>0</integer>
      <key>NSWindowMiniaturizeButtonFrame</key>
      <string>{{27, 3}, {14, 16}}</string>
      <key>NSWindowNumber</key>
      <integer>6343</integer>
      <key>NSWindowZoomButtonFrame</key>
      <string>{{47, 3}, {14, 16}}</string>
   </dict>
   <dict>
      <key>CFBundleVersion</key>
      <string>4.5.0f6</string>
      <key>NSDataKey</key>
      <data>
      A9s3HrknTCUu02+iqEx5RQ==
      </data>
      <key>NSExecutableInode</key>
      <integer>3889295</integer>
      <key>NSIsGlobal</key>
      <true/>
      <key>NSWindowID</key>
      <integer>4294967295</integer>
      <key>NSWindowZOrder</key>
      <array>
         <integer>6343</integer>
         <integer>6344</integer>
      </array>
   </dict>
</array>
</plist>


Configuring in alpha6 then switching to 7 didn't fix it

Tynan

Tynan Sylvester - @TynanSylvester - Tynan's Blog

asciiface

I'm at my wits end, it might be time for you to tap the Unity community :\

@mystic can you change the title to 10.9.4 & 10.9.5? I am on *.5

Mystic

Quote from: asciiface on October 02, 2014, 07:38:55 PM
I'm at my wits end, it might be time for you to tap the Unity community :\

@mystic can you change the title to 10.9.4 & 10.9.5? I am on *.5

I would change it if I had started the thread, but I didn't, so I don't have the permissions. By the way, I'm on 10.9.5 as well (on both of the Macs on which I am seeing this problem). Specs of my systems follow, in case it matters (which I don't think it does, but I suppose you never know):

iMac 27", core i7 quad 2.93GHz, 16GB RAM, ATI HD 5750 1GB video

MacBook Pro 15" (non-retina), core i7 quad 2.6GHz, 8GB RAM, NVIDIA GT 650M 1GB video