.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Mac OSX demo wont launch! Help (http://forum.shrapnelgames.com/showthread.php?t=16586)

Senaca October 29th, 2003 02:20 AM

Mac OSX demo wont launch! Help
 
I've looked around and though I saw references to other people with this problem I couldn't find the solution posted. I've downloadedthe demo and ckicked on the app it starts to launch for about a second then just dies with no error message.

I have tried this on both 10.2.8 and the new 10.3 (Panther release. (I work at Apple)

Dual 1.25ghz powerPC G4 512mb memory
64MB graphic card ATI

HJ October 29th, 2003 02:24 AM

Re: Mac OSX demo wont launch! Help
 
I have the same problem, but with the PC Version. Does it crash immediately without even starting?
I don't know whether things are the same with Mac, but do you also have a text file in the instalation folder called stderr.txt that reads:

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
?

I also added the -dd switch to my shortcut, and got the log.txt file in the folder which reads:


-------------------------
----- DOMINIONS ---------
-------------------------

dbglevel 2 pc_endian
datapath='.'
savepath='.'
temppath='C:\WINDOWS\TEMP/dom16882'

Incidentally, I also have ATI Radeon with 64 MB RAM (latest drivers, catalyst 3.8), although I'm using Win98SE. Maybe there is a link there?

[ October 29, 2003, 00:48: Message edited by: HJ ]

josh_f October 29th, 2003 02:55 AM

Re: Mac OSX demo wont launch! Help
 
Have you tried launching Dominions with the run in window mode switch? (could someone from IW post the switch). When I first tried to run the demo on my dual 500 g4, the video went all flakey. I discovered if I hit ctrl-tab to enter windowed mode it worked fine.

HJ October 29th, 2003 02:58 AM

Re: Mac OSX demo wont launch! Help
 
Well, I did, and it didn't work. The switch is --window, or --window --res 640 400. And for me it's not that the window goes flakey, the window terminates immediately after initializing. If I understood the starter of this thread correctly, he has the same problem while also using ATI.

[ October 29, 2003, 01:00: Message edited by: HJ ]

Stavetor October 29th, 2003 05:24 AM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Senaca:
I've looked around and though I saw references to other people with this problem I couldn't find the solution posted. I've downloadedthe demo and ckicked on the app it starts to launch for about a second then just dies with no error message.

I have tried this on both 10.2.8 and the new 10.3 (Panther release. (I work at Apple)

Dual 1.25ghz powerPC G4 512mb memory
64MB graphic card ATI

<font size="2" face="sans-serif, arial, verdana">I've got this same problem, also on 10.2.8. I posted about this in the Linux Demo Problems thread, because I'd had trouble unpacking the .tar.gz like several Linux Users. Stuffit crashes about halfway through the unpacking process, but it does leave me with the dominions folder and the app. However, when I try to launch the app, it fires up for a few seconds and then quits, no message or anything. Very frustrating after sitting through a 4 hour download (I'm on a 56k modem).

st.patrik October 29th, 2003 05:26 AM

Re: Mac OSX demo wont launch! Help
 
I haven't had any problems on my iMac running 10.2.6, for whatever that's worth.

Cameroon October 29th, 2003 05:31 AM

Re: Mac OSX demo wont launch! Help
 
To be honest, I don't know how anyone on a Mac is running this (unless they also have the SDL framework elsewhere and it's getting pulled in).

The console (Applications -> Utilities -> Console for those who don't know its there) shows error Messages from apps and such. This is the error that's spit out when DOM2 tries to launch:

dyld: /Users/username/Downloads/dom2demo_osx Folder/dominions2demo.app/Contents/MacOS/dominions2 can't open library: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL (No such file or directory, errno = 2)

Basically what that says is that the framework SDL should be inside the application bundle. Well, it's not. The demo that's distributed is missing that framework at least, and possibly others (can't tell since the app can't get past not having that framework). It looks like a copy phase was missed during build. I'm a Mac OS X developer, btw, so I'm not just blathering on http://forum.shrapnelgames.com/images/icons/icon12.gif .

Seriously hope someone's reading this post 'cause I'd really love to play the demo but obviousy we Mac Users aren't likely to get anywhere if the SDL framework isn't available for DOM2 to get at.

[Edit]
Just after I posted this, I saw someone mentioning that stuffit was crashing. Perhaps the archive is corrupt and thus not everything is getting unpacked as it should be. So maybe the copy phase worked but the archiving didn't http://forum.shrapnelgames.com/images/icons/icon12.gif

[ October 29, 2003, 03:33: Message edited by: Cameroon ]

st.patrik October 29th, 2003 06:01 AM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Cameroon:
To be honest, I don't know how anyone on a Mac is running this (unless they also have the SDL framework elsewhere and it's getting pulled in).

The console (Applications -> Utilities -> Console for those who don't know its there) shows error Messages from apps and such. This is the error that's spit out when DOM2 tries to launch:

dyld: /Users/username/Downloads/dom2demo_osx Folder/dominions2demo.app/Contents/MacOS/dominions2 can't open library: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL (No such file or directory, errno = 2)

Basically what that says is that the framework SDL should be inside the application bundle. Well, it's not. The demo that's distributed is missing that framework at least, and possibly others (can't tell since the app can't get past not having that framework). It looks like a copy phase was missed during build. I'm a Mac OS X developer, btw, so I'm not just blathering on http://forum.shrapnelgames.com/images/icons/icon12.gif .

Seriously hope someone's reading this post 'cause I'd really love to play the demo but obviousy we Mac Users aren't likely to get anywhere if the SDL framework isn't available for DOM2 to get at.

[Edit]
Just after I posted this, I saw someone mentioning that stuffit was crashing. Perhaps the archive is corrupt and thus not everything is getting unpacked as it should be. So maybe the copy phase worked but the archiving didn't http://forum.shrapnelgames.com/images/icons/icon12.gif

<font size="2" face="sans-serif, arial, verdana">Maybe why it's working for me is that I downloaded something like this several months ago to help with Dom I, so I could have had it in place. In case anyone doesn't know where to get a Version of SDL for mac, Illwinter posted a link on their news page back in April: www.illwinter.com/index.html

[ October 29, 2003, 04:02: Message edited by: st.patrik ]

Stavetor October 29th, 2003 10:46 AM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by st.patrik:
Maybe why it's working for me is that I downloaded something like this several months ago to help with Dom I, so I could have had it in place. In case anyone doesn't know where to get a Version of SDL for mac, Illwinter posted a link on their news page back in April: www.illwinter.com/index.html
<font size="2" face="sans-serif, arial, verdana">I just got the latest Version of SDL tonight and the demo still doesn't work, although now what happens is that it starts up for a few seconds and then crashes. I checked on the console and the error message I got was:

NÂgot gick fel!
loadmalloc: can't open ./guiborder2.tga

Based off this and the fact that Stuffit crashed yet again after a second download, I think Cameroon may be right. Maybe the archive is corrupt? Although that doesn't explain why it seems to work alright for St.patrik and (I'm assuming) others...

As an aside, anyone know what "NÂgot gick fel!" means?

Cameroon October 29th, 2003 01:39 PM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Stavetor:
I just got the latest Version of SDL tonight and the demo still doesn't work, although now what happens is that it starts up for a few seconds and then crashes. I checked on the console and the error message I got was:

NÂgot gick fel!
loadmalloc: can't open ./guiborder2.tga

Based off this and the fact that Stuffit crashed yet again after a second download, I think Cameroon may be right. Maybe the archive is corrupt? Although that doesn't explain why it seems to work alright for St.patrik and (I'm assuming) others...

As an aside, anyone know what "NÂgot gick fel!" means?

<font size="2" face="sans-serif, arial, verdana">I downloaded SDL this morning. The installer informs you that you can install it in /Library/Frameworks (the system framework directory) or in your home Framework directory ~/Library/Frameworks (you need to create the Frameworks folder in ~/Library if it doesn't already exist). I decided to go with ~/Library/Framework option because, honestly, I didn't want it global to the system until I knew it was going to do something useful.

DOM2 fired right up. There are definitely some packaging issues, or else Illwinter is indicating that the Users need to download SDL to play the game (but that seems awful silly http://forum.shrapnelgames.com/images/icons/icon12.gif ).

For those who are having trouble with the game
- download the Runtime Library of SDL for Mac OS X (you can find the link here: http://www.illwinter.com/index.html )

- then either create the Frameworks folder in your home Library, or follow the default and let it install into /Library/Frameworks (you'll need sys admin privs for the default option)

Those are the steps I followed and I got a pretty DOM2 start screen http://forum.shrapnelgames.com/images/icons/icon12.gif

For what it's worth, I'm on a G5 with 10.3.

Hope they fix their packaging issues and I hope those having difficulty with the demo can get into the game with the above help.

This definitely sucks for Illwinter though, lots of Mac Users are gonna download the demo and have it not launch and chuck it. http://forum.shrapnelgames.com/images/icons/icon9.gif

HJ October 29th, 2003 07:38 PM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Johan K:
You need to install the SDL lib before running Dominions.
<font size="2" face="sans-serif, arial, verdana">Johan , I sent you a reply through pm.

Vodalian October 29th, 2003 08:23 PM

Re: Mac OSX demo wont launch! Help
 
I've finally got the demo running in a window with an amazing frame rate of 1 fps. However, there is one serious problem left. My mouse "cursor" seems to be moving up when I move the mouse down and down when I move the mouse up.

[ October 29, 2003, 18:24: Message edited by: Vodalian ]

Johan K October 29th, 2003 10:30 PM

Re: Mac OSX demo wont launch! Help
 
That was weird, unless you hold the mouse upside down at least. If you haven't done so already try to update to the latest Version of SDL. Link three Posts down.

[ October 29, 2003, 20:30: Message edited by: Johan K ]

Senaca October 30th, 2003 01:47 AM

Re: Mac OSX demo wont launch! Help
 
Yea, followed the link to the framework, installed it and the game runs fine (for 10 minutes at least) Thanks for the help! Perhaps you should sticky this thread for all Mac Users.

That being said the framework was very small, I don't really see the advantage in leaving it out. I would integrate it into the demo and repost.

Cheers,
Ron

Johan K October 30th, 2003 02:58 AM

Re: Mac OSX demo wont launch! Help
 
Ooops, seems like we have missed an important part of the demo installation instructions. The reason SDL isn't included is to make the download smaller and people who have played other SDL games (like dominions I) already has it installed.

You need to install the SDL lib before running Dominions. It can be found here:
http://www.libsdl.org/download-1.2.php
Download runtime for MacOSX.

The dom2demo_osx.tar.gz file should be 73730190 bytes large.

Sorry for the missing instructions!

[ October 29, 2003, 17:23: Message edited by: Johan K ]

Cameroon October 30th, 2003 02:59 AM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Senaca:
That being said the framework was very small, I don't really see the advantage in leaving it out. I would integrate it into the demo and repost.

Cheers,
Ron

<font size="2" face="sans-serif, arial, verdana">That's exactly the same thing I was thinking. The download is already 70 megs, the SDL framework is tiny by comparison. I'd much rather have to d/l even a few extra megs to get the demo than to have to go get another piece of software http://forum.shrapnelgames.com/images/icons/icon12.gif

Johan K October 30th, 2003 10:32 AM

Re: Mac OSX demo wont launch! Help
 
Well, I guess we could change it if all the Mac Users prefer to have it bundled inside the application. It might make it harder to upgrade to new SDL Versions though http://forum.shrapnelgames.com/image...s/rolleyes.gif

*Edit: Anyone who knows the magic location of frameworks inside app bundles, please let me in on the secret http://forum.shrapnelgames.com/images/icons/icon7.gif

[ October 30, 2003, 09:33: Message edited by: Johan K ]

iRichard October 30th, 2003 12:38 PM

Re: Mac OSX demo wont launch! Help
 
Hello

1) SDL package : you should not include it INSIDE the app but WITH the archive. (already have several "embedded" app with different SDL Version)

2) magical location : download an "embedded" Version of Battle for Wesnoth from www.libsdl.org and look inside.

3) is there a battle simulator in the full Version of Dom2 ?
(which I pre-ordered)

PS : This is my first post on this board.

[ October 30, 2003, 14:41: Message edited by: iRichard ]

Cameroon October 30th, 2003 04:21 PM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by iRichard:
Hello

1) SDL package : you should not include it INSIDE the app but WITH the archive. (already have several "embedded" app with different SDL Version)

2) magical location : download an "embedded" Version of Battle for Wesnoth from www.libsdl.org and look inside.

3) is there a battle simulator in the full Version of Dom2 ?
(which a pre-ordered)

PS : This is my first post on this board.

<font size="2" face="sans-serif, arial, verdana">The reason that I prefer to have SDL embedded is so that I know my apps will work no matter what Version of SDL they were built against.

How much would it suck if you had purchased two games, but you had to swap which Version of SDL was installed because one was built against an older Version of SDL and didn't work correctly with the new Version?

It's not that difficult to create an updater that replaces the SDL inside the application bundle. I think it's a great development time-saver, too, because you don't have to worry about "Well, what if the user has a different Version of SDL installed?"

Sithrandel December 15th, 2003 12:22 PM

Re: Mac OSX demo wont launch! Help
 
Hello there... I have to say that I am a convert to embedded Mac libraries, for a number of reasons....

1) Mac Users chose a Mac because they are easy to use. They expect to double click a program and it to run. If it doesn't, clearly it is the fault of the programmer. Not theirs because they forgot to install something else. [Even worse is when you suggest they compile something.] I am of the same opinion, I love my Mac because usually I only have to dive beneath the hood when I want to.

2) Because including the SDL framework merely puts a copy into the internal Frameworks folder and embedded can easly be made unembedded if someone wants to make it work with a system copy. The chances are greater that someone who is going to want to do that can understand remove instructions than that a true novice will understand how to add it.

3) The libraries are small compared to data / library files.

4) You can always produce embedded and non-embedded Versions (if you use the Apple dev tools you can easly compile both in a single pbxbuild instruction).

5) When Battle For Wesnoth had only a non-embedded Version there were lots and lots of Queries about "it won't launch". Once there was an embedded Version this vanished. Part of the problem is that the app won't run and say "can't find SDL"... it just won't run.

6) The official distribution can include a copy of SDL which is definitely compatible with the build.

All in all the best option is the dual embedded and non-embedded Versions, with the obvious choice being embedded and instructions in the readme on how to remove the embedded library.

By the way, I would suggest for the same reasons, that a fix is made to the windowed mode on OSX even if the inverted cursor co-ordinates are SDL's fault.

Dominions II is a superb game, so let it shine http://forum.shrapnelgames.com/images/icons/icon10.gif

Johan K December 15th, 2003 12:34 PM

Re: Mac OSX demo wont launch! Help
 
As soon as the demos are updated (pretty soon now) the SDL will be included in the osx app bundle. So it will be click and go.

dbradhud February 18th, 2004 06:37 AM

Re: Mac OSX demo wont launch! Help
 
I tried to dowload the OSX demo with three different browsers without success. Safair kept trying to download until the stated size of the file was over 150MB. Netscape and Explorer could download the file, but Stuffit Expander crashed trying to expand it. Anyone else having better luck?

Johan K February 18th, 2004 12:36 PM

Re: Mac OSX demo wont launch! Help
 
If you have trouble downloading then try this link instead:
http://www.illwinter.com/dom2/dom2demo_osx.tar.gz

dbradhud February 18th, 2004 07:05 PM

Re: Mac OSX demo wont launch! Help
 
I was able to download the file from the Illwinter website without any problems. Thanks.

Joe Mannino April 17th, 2004 12:58 AM

Re: Mac OSX demo wont launch! Help
 
I had downloaded the demo and it worked fine. I just received the game, installed it and double clicked. It let me create a god, but when I try to create a game, the program quits. No error message, nothing traumatic, it just fades out, same as the quit command did from the demo. Same thing happens when I try to play from the CD. I can see the demo games I saved, but the applications quits as well when I try to open them (I didn't expect to be able to play them, but as they were there I tried).

Also, I downloaded the patch, and that will not work either- it return with: Some files you tried to patch are locked or missing. Patch not applied.

I checked and the application is not locked. I've reloaded SDL and copied the application over twice each, and even restarted after the second time with no change in results.

I'm running 10.3.3 on a G4. Any suggestions?

Thanks,
Joe

Etaoin Shrdlu April 17th, 2004 02:20 AM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Joe Mannino:


Also, I downloaded the patch, and that will not work either- it return with: Some files you tried to patch are locked or missing. Patch not applied.

I checked and the application is not locked. I've reloaded SDL and copied the application over twice each, and even restarted after the second time with no change in results.

<font size="2" face="sans-serif, arial, verdana">Command-i on the main app file. Under "Ownership and Permissions," it will be marked Read only . Change this to Read and Write . Worked for me. Be sure to change it back after patching-- you wouldn't want to accidentally scramble some other file afterward http://forum.shrapnelgames.com/images/icons/tongue.gif

Johan K April 17th, 2004 08:56 AM

Re: Mac OSX demo wont launch! Help
 
Quote:

Originally posted by Joe Mannino:
I had downloaded the demo and it worked fine. I just received the game, installed it and double clicked. It let me create a god, but when I try to create a game, the program quits.
<font size="2" face="sans-serif, arial, verdana">I you start dominions from a terminal window and with the -d switch (for debug) you will see some text as well as an error message when the game quits.

Joe Mannino April 18th, 2004 01:19 AM

Re: Mac OSX demo wont launch! Help
 
Changing the info to read and write worked perfect- it even lets me play the demo games.

Thanks!
Joe


All times are GMT -4. The time now is 12:23 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.