The music was a little high(was too lazy to adjust computer volume), so I turned it down a tad and the game crashed as I hit the "Apply" button. I figured that it was, quite obviously, a bug. I went to make this thread, but as I tried again without changing anything, it crashed again.
Changing/saving preferences in the menu crashes game.
(6 posts) (2 voices)-
Posted 1 year ago #
-
Meerkat, can you check the contents of your MMORPG.prefs file, in the Data/Preferences directory, and post the contents? From your explanation, it sounds an awful lot like the old "invalid value for the autosave preference" bug that I fixed in 1.0.16. Maybe I missed a weird corner case, or something.
Any useful assert or anything in the stdout.txt file?
Posted 1 year ago # -
stdout.txt
7: 1440 x 900 Initialising [800x600] resolution... Successfully detected all required extensions for bloom shader. Screen Ratio: 1.333333 OpenGL Version 2.1.0 Red size: 8 bits Blue size: 8 bits Green size: 8 bits Alpha size: 8 bits Color buffer size: 32 bits Depth bufer size: 24 bits ++ Initialising mixer ++ audio frequency=44100Hz format=S16LSB channels=2 ?? No sound driver reported by SDL_AudioDriverName. >> MEMORY STATUS >> Heap current usage 0 / 16777216 (0.00% usage) >> Heap highwater usage 0 / 16777216 (0.00% usage) >> Heap largest free block 16777216 / 16777216 bytes free (0.00% fragmentation) -- Initialising game "MMORPG" No joystick found. Using keyboard input. Failed assertion: fopen() returned 2, opening file 'Data/Preferences/global.prefs' Failed condition: (m_file != NULL) aI also seem to be missing the preference files, no doubt causing the bug. :V
Kinda strange though, so far I've missed the Saves directory and the preference files in 1.0.16.
Posted 1 year ago # -
Okay. I'm improving that error handling in the next version. :)
But with that said.. the "2" return value is ENOENT, which translated from C-speak to english, is complaining that a directory doesn't exist.
This probably means that you don't have a Data directory in the same directory with the game executable, or that there's no "Preferences" directory inside that Data directory.
In the past, we've seen this happen because someone's unzip program just dumped all the game's files inside a single directory, rather than obey the directories specified in the zipfile. We've also seen it happen because some unzip programs don't create empty directories (such as the Preferences and Saves directories) even if they are specified in the zipfile.
Create those directories manually, and stuff should work. In the next release I'll have placeholder files in those directories to force them to be created even by lazy unzipping tools. ;)
Posted 1 year ago # -
Glad to see you working on those bugs Trevor, keep it up and before you know it, you'd be asked to work in the big corporations!
Posted 1 year ago # -
I'm already in the industry, actually. I've worked on games released on Dreamcast, PS2, and XBox 360 so far, and have a game for the Wii which should be appearing on store shelves sometime in the next few weeks.
The initial intent behind the VectorStorm engine was to make it an open-source example of what a commercial-quality game engine running on a (fictional) game console is like, which is why it intentionally has a static controller spec, limited memory, etc.
Of course, I've broken most of those initial intentions during the creation of MMORPG Tycoon, allowing mouse input, vastly increasing the memory space available, etc.
Posted 1 year ago #
Reply
You must log in to post.