Page 1 of 1

OSX Crash

Posted: Wed Dec 14, 2011 7:17 pm
by 486DX2/66 Dragon
I just installed the snapshot version [2011-12-04] for OSX (Lion) and it crashes on game start for BlackGate, just when the red matrix begins to show.

Is there some log I could get a hint on the problem or post here for your advice?

Thanks!!! :)

Re: OSX Crash

Posted: Wed Dec 14, 2011 7:25 pm
by Dominus
Grrr, it's not supposed to do that ;(

In Finder, right click on exult.app and click on "show package contents" and start the exult binary in there (contents/macos/exult). On starting the terminal should open as well and give some feedback.

Please copy/paste this here.

Re: OSX Crash

Posted: Wed Dec 14, 2011 9:39 pm
by 486DX2/66 Dragon
Thank you Dominus! Nice trick :)

It seems something is wrong with my copy pasting the files, the have an extra dot in the file name. I removed the dot from one file and it crashed on the next one, so that must be it.

Sorry for the trouble!

-----------------------------------------------------------------------------
Opening digital SFX's file: "/sqsfxbg.flx"
Resetting AudioMixer...
played intro
Gamedat identity FORGE
Reading usecode file.
============================
An exception occured:
Error opening file /Library/Application Support/Exult/blackgate/static/usecode
errno: 2
Error Description: No such file or directory
============================

----------------------------------------------------------------------------------------------

Re: OSX Crash

Posted: Wed Dec 14, 2011 9:42 pm
by Dominus
so I understand all is sorted out? Is the usecode file available now? Perhaps put a fresh copy of the files there.

The output you see in terminal will always show in the Console.app as well but it might be too hard to see everything if too many things are being logged by other apps at the time. So doing it like this is better for viewing :)

Re: OSX Crash

Posted: Thu Dec 15, 2011 4:23 pm
by MegaMike
So is the problem solved or not?

If not, I know the solution: Don't use a Mac :P

Re: OSX Crash

Posted: Thu Dec 15, 2011 6:17 pm
by Dominus
Phew... Take the flame bait elsewhere.

Not to mention that the error doesn't seem to be Mac exclusive and could have happened on any OS

Re: OSX Crash

Posted: Fri Dec 16, 2011 8:50 pm
by 486DX2/66 Dragon
Sorry for the late response!

BG still crashes. I tested SI and it works fine.

Tbh, I do not have the original CD at the location I am now, so I had to resort to other means. (For the record, I own the double CD that had U7BG/SI and Populus/Powermonger).

So, although the problem did persist, I cannot be sure what 's the fault. Given that I won't be traveling to where the original files are in the next months, I cannot be sure what 's going on.

The latest error for BG is this:
--------
Gamedat identity FORGE
Reading usecode file.
Support for SI Paperdolls is enabled.
Support for SI Multiracial Avatars is enabled.
Loading /exult_bg.flx...
Loading default keybindings
Failed to find Usecode symbol ''.
Map file '/map38/u7map' not found.
Shape num out of range: 8820
Shape num out of range: 8820
Map file '/map9e/u7map' not found.
Unknown entlen 3 at pos. 474
Map file '/map3f/u7map' not found.
Unknown entlen 114 at pos. 713
Map file '/map05/u7map' not found.
Failed to find Usecode symbol ''.
Segmentation fault: 11
logout
--------

There are no map* directories in the static folder. The reason I am mentioning this though, is because I tested with static from 2 completely different sources.

Thank you for your understanding :)

Re: OSX Crash

Posted: Fri Dec 16, 2011 8:56 pm
by Dominus
Looks as if you are starting from a mod or patch. Or you are trying to run a game started with a mod

Re: OSX Crash

Posted: Fri Dec 16, 2011 9:11 pm
by 486DX2/66 Dragon
***UPDATE***

I just installed KenC 's Android port and copied the same BG files to the tablet and it works with no crash.

So, it seems it is some kind of bug after all :(

Re: OSX Crash

Posted: Fri Dec 16, 2011 10:20 pm
by Dominus
Get rid of the gamedat folder and try again ~/library/application support/blackgate/gamedat (or forgeofvirtue/gamedat).

Re: OSX Crash

Posted: Sat Dec 17, 2011 8:56 am
by resin
Same thing happens to me. But it doesn't happen every time. Only once in a while. Running current version with no mods.

I also get the red tint bug that's been mentioned.

Also I want to be clear on something.. Is there supposed to be speech coming from the red guy during the intro? At one part in the faq it says it's absent because it would be too much work to sync the voices and such, but then later on it says its because the introsnd.dat is corrupted. I replaced that file with a fresh copy and nothing changed. So is the speech here supposed to be left out?

Re: OSX Crash

Posted: Sat Dec 17, 2011 3:04 pm
by 486DX2/66 Dragon
Removing the gamedat folder fixed it! Thank you Dominus!!

Re: OSX Crash

Posted: Sat Dec 17, 2011 7:50 pm
by Dominus
Speech should bevthere if sperch is enabled (as well as audio). Is your problem on osx?

Re: OSX Crash

Posted: Sat Dec 17, 2011 10:01 pm
by 486DX2/66 Dragon
I can verify there was speech on OSX as normally.

Re: OSX Crash

Posted: Sun Dec 18, 2011 2:50 pm
by resin
Speech and all other audio are enabled. This is on Vista 32bit. Can I ask why the gamedat folder is there in the first place? Won't I be sacrificing something if I delete it? There's a bunch of files in there..

Re: OSX Crash

Posted: Sun Dec 18, 2011 3:50 pm
by Dominus
Please don't hijack another thread.

That the game crashes sometimes for you is perhaps related to the disappearing objects thread.
Gamedat folder is the quicksave. We could have done it differently perhaps but that's how the original does it.
When you quicksave all the status files that are saved are saved in there. If you make a proper savegame the content is zipped to the sav file as well. When you load a savegame the contents of the sav file are being unzipped to the gamedat folder and loaded. On quick load or starting Exult the content of gamedat is loaded. So yes if you only quicksaved before and you delete the gamedat folder your qucksave is lost. But if you can't start it without crashing the you already lost it anyway ;)

As for the speech thing there is a thread about it, please read and try to follow the advice in there. If you find something that helps feel free to post there (or if you need help). We haven't found out what goes wrong there.
Edit: this is the thread http://exult.info/forum/viewtopic.php?p=345346#p345346