Open Halsifer opened 7 years ago
This sounds like the sort of problem that will (hopefully) be resolved when SDL windows are introduced into the master branch. Unfortunately, there is no timeframe on when that will happen, currently.
As for getting you back up and running in the meantime... It sounds like you've already tried deleting all saved data in the following locations.
~/Library/Application Support/StepMania 5/
~/Library/Caches/StepMania 5/
~/Library/Logs/StepMania 5/
~/Library/Preferences/StepMania 5/
Assuming you've already tried deleting everything in those locations, and StepMania is still crashing at startup, I don't even know how to advise you next.
It sounds like macOS is trying to move the SM window to another Desktop/Space or secondary display.
Man, what a bummer.
Yeah, I have tried deleting all those folders, including any other files/folders containing "stepmania". I also created two more desktops spaces for some hope, tried also connected a secondary display, and I also tried increasing my regular resolution of 1440x900 to 2880x1800. All attempts separately and together with no luck...
If there is a way to reset the previous/default window location/size based on the application in macOS, that would possibly work. But as far as I know, that is typically stored in the Stepmania plist file or in the Stepmania 5 folder both within Preferences. Unless there is a place I'm missing?
Otherwise, it seems the only solution would be to wait for a fix (which you mentioned has no timeframe), or create a new user account and migrate, which is a pain all in it's own. :(
I know I'll probably receive flack for commenting on a post that's over a year old, but seeing as how this is literally the only thread I've found regarding this issue...
Funny enough, I just today had this very issue happen on macOS High Sierra (10.13.2) with StepMania 5.0.12. I seem to have figured out how to make StepMania stop crashing upon startup, and it won't require making a new user account, should anybody else encounter this issue in the future...
It appears that after you maximize the window, be it through double-clicking the title bar, or accidentally tapping Option+Return as I did today, after you bring the game back to Windowed mode, it will crash upon any further starts. I've found, if you edit your Preferences.ini file under ~/Library/Preferences/StepMania 5/ to start in full screen mode by modifying Windowed=1 to Windowed=0, it'll let you start up. From there, just hit enter to get to the main title screen (in my case, it was a black window and I had to wait until I heard the selection sound.) From there, a quick Option+Return will bring it back to windowed. Once you're in Windowed mode, you may notice two title bars for the window. This appears to be what causes the crash. At least, in my case it was. This is the Tab Bar, and if it's set to display, StepMania will be unable to start up. From here, just click on the Window menu up top, and click "Hide Tab Bar". That should allow StepMania to open properly again. It also seems to be why it doesn't affect any other user accounts on the system. The only thing that still confuses me is why it seems to cause the issue on any version of StepMania that is installed, no matter if you delete all instances of StepMania from your Mac prior to trying other versions.
Hopefully this post will serve to help somebody else out in the future!
@brunnerbl89
Can you try a newer build of Stepmania? There were some recent fixes with OSX and full screen implemented.
I have a build available here.
http://stepmania.objects.dreamhost.com/StepMania-5.1-git-55562324e2-mac.dmg
@concubidated I actually tried a 5.1 build when I was having the issues after going full screen from 5.0.1 and it was giving me the same error upon start up before I figured out what was causing the issue. This was after removing every file related to SM from my system. I'll certainly give it another try when I'm able to though, to be sure, and I'll let you know the results.
This is not the same as the 5.1-3 build.
Please give this one a shot.
So while Stepmania was running, I accidentally double clicked the title bar, which you can set the action in Mac OS X by going to System Preferences --> Dock --> 'Double-Click a window's titlebar to' Zoom/Minimize.
My setting was set to zoom, which basically fills the window in the screen vertically. When I did this to stepmania, the window moved and disappear completely off the screen. (No other desktop spaces either.) So naturally, I quit the application and restarted. And now it will crash on start every single time. If I start it from a different user, it works no problem. But my user account will not work.
I have tried completely deleting Stepmania references in my user's Library in Application Support, Caches, Logs, Saved Application States, and Preferences, with no luck at all. Any ideas?
I am running macOS Sierra 10.12 (16A323) and I have tried Stepmania 5.0.11, 5.0.12 and 5.1 -3. They all fail to start, and yes, all those warning of files are actually avaliable. The crash log is below: