OSX Crash

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
486DX2/66 Dragon

OSX Crash

Post 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!!! :)
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post 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.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
486DX2/66 Dragon

Re: OSX Crash

Post 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
============================

----------------------------------------------------------------------------------------------
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post 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 :)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
MegaMike

Re: OSX Crash

Post by MegaMike »

So is the problem solved or not?

If not, I know the solution: Don't use a Mac :P
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post 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
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
486DX2/66 Dragon

Re: OSX Crash

Post 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 :)
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post 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
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
486DX2/66 Dragon

Re: OSX Crash

Post 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 :(
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post by Dominus »

Get rid of the gamedat folder and try again ~/library/application support/blackgate/gamedat (or forgeofvirtue/gamedat).
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
resin

Re: OSX Crash

Post 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?
486DX2/66 Dragon

Re: OSX Crash

Post by 486DX2/66 Dragon »

Removing the gamedat folder fixed it! Thank you Dominus!!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post by Dominus »

Speech should bevthere if sperch is enabled (as well as audio). Is your problem on osx?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
486DX2/66 Dragon

Re: OSX Crash

Post by 486DX2/66 Dragon »

I can verify there was speech on OSX as normally.
resin

Re: OSX Crash

Post 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..
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OSX Crash

Post 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
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked