Page 1 of 1
Exult on intel macs?
Posted: Tue Jul 25, 2006 1:46 pm
by robby
I was hoping to be able to build Exult 1.2 on an intel mac, but was running into some problems. Configure seems to be okay, but I get the error below during make.
Should be doing something else?
Thanks,
Robby
% make
make all-recursive
Making all in files
Making all in zip
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in conf
make[2]: Nothing to be done for `all'.
Making all in shapes
source='bodies.cc' object='bodies.lo' libtool=yes \
depfile='.deps/bodies.Plo' tmpdepfile='.deps/bodies.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./.. -I./../files -I./../imagewin -I/sw/include/SDL -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -DMACOSX -O2 -Wno-long-long -c -o bodies.lo `test -f bodies.cc || echo './'`bodies.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./.. -I./../files -I./../imagewin -I/sw/include/SDL -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -DMACOSX -O2 -Wno-long-long -c bodies.cc -MT bodies.lo -MD -MP -MF .deps/bodies.TPlo -o bodies.o
../hash_utils.h:32: error: 'std::hash_map' has not been declared
../hash_utils.h:50: error: 'std::hash_set' has not been declared
../game.h:60: error: ISO C++ forbids declaration of 'hash_map' with no type
../game.h:60: error: expected ';' before '<' token
../game.h:61: error: ISO C++ forbids declaration of 'hash_map' with no type
../game.h:61: error: expected ';' before '<' token
bodies.cc: In static member function 'static int Body_lookup::find(int, int&, int&)':
bodies.cc:424: error: expected initializer before '<' token
bodies.cc:429: error: 'htable' was not declared in this scope
bodies.cc:432: error: expected type-specifier before 'hash_set'
bodies.cc:432: error: expected `;' before 'hash_set'
bodies.cc:456: error: 'hash_set' was not declared in this scope
bodies.cc:456: error: expected primary-expression before 'short'
bodies.cc:456: error: expected `;' before 'short'
bodies.cc:461: error: 'it' was not declared in this scope
bodies.cc:461: error: 'htable' was not declared in this scope
make[2]: *** [bodies.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Re: Exult on intel macs?
Posted: Tue Jul 25, 2006 11:17 pm
by Dominus
I *think* Watt from the Pentagram team already reported some issues and found some workarounds (for compiling Pentagram that is, but I *think* (again) that Exult probably suffers from the same problems). See the #pentagram logs at
http://www.math.leidenuniv.nl/~wpalenst ... ramlog.php and browse through the last two months. It had something to do with stuff like sdl not all being natively availlable for the intel macs.
Perhaps Willem as keeper of the logs knows more and can quickly locate it.
Re: Exult on intel macs?
Posted: Wed Jul 26, 2006 3:03 am
by robby
FWIW, I got sdl from fink. I had run configure before getting sdl and it complained, but after sdl was installed, it seemed fine.
The error message doesn't _seem_ to be about the sdl ...
I also checked the logs for 2005 and 2006, searching for "intel" and didn't find anything relevant.
Robby
Re: Exult on intel macs?
Posted: Wed Jul 26, 2006 5:43 am
by SB-X
This build issue with hash_map was encountered before. Is this the same GCC problem someone else was having recently?
I'd ask if you used autogen.sh but you're using 1.2 which I don't think is available from CVS, and I'm not sure if 1.2 is still known to build successfully.
http://exult.info/forum/viewtopic.php?p=33401#p33401
http://exult.info/forum/viewtopic.php?p=28680#p28680
http://exult.info/forum/viewtopic.php?p=27153#p27153
Re: Exult on intel macs?
Posted: Wed Jul 26, 2006 11:27 pm
by Dominus
yeah, I missed that it was about 1.2
There have not been ANY fixes for 1.2 in the source so that is something you need to find out by comparing notes with the other forum entries.
BUT I'd suggest trying to build current CVS to see if that is something that got fixed.
Re: Exult on intel macs?
Posted: Thu Jul 27, 2006 2:23 pm
by robby
Thanks for the tips. I was able to compile it fine with the cvs tar file I found on the website (is there actual cvs anonymous access that I missed somewhere?)
After playing a little bit, I clicked on my character and got the stackdump below.
I'll probably just go back to 1.2 in emulation mode, unless my help would be useful for debugging (if this doesn't happen for you, for example)
Thanks,
Robby
Date/Time: 2006-07-27 18:21:19.180 -0500
OS Version: 10.4.7 (Build 8J2135)
Report Version: 4
Command: exult
Path: ./exult
Parent: tcsh [206]
Version: ??? (???)
PID: 13559
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000012
Thread 0 Crashed:
0 exult 0x000a7690 Gump_manager::add_gump(Game_object*, int, bool) + 356 (SDLMain.m:358)
1 exult 0x00007f1f Actor::show_inventory() + 61 (crt.c:305)
2 exult 0x0005b21e Game_window::double_clicked(int, int) + 170 (crt.c:305)
3 exult 0x0003c136 Handle_event(SDL_Event&) + 1954 (crt.c:305)
4 exult 0x0003d600 Play() + 1190 (crt.c:305)
5 exult 0x0003fe8e exult_main(char const*) + 2646 (crt.c:305)
6 exult 0x00040873 SDL_main + 617 (crt.c:305)
7 exult 0x00091696 -[SDLMain applicationDidFinishLaunching:] + 75 (SDLMain.m:297)
8 com.apple.Foundation 0x9272104f _nsnote_callback + 230
9 com.apple.CoreFoundation 0x9084c649 __CFXNotificationPost + 345
10 com.apple.CoreFoundation 0x90843e80 _CFXNotificationPostNotification + 600
11 com.apple.Foundation 0x927196b4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 121
12 com.apple.Foundation 0x9272059d -[NSNotificationCenter postNotificationName:object:] + 55
13 com.apple.AppKit 0x933a61a0 -[NSApplication _postDidFinishNotification] + 124
14 com.apple.AppKit 0x933a608a -[NSApplication _sendFinishLaunchingNotification] + 67
15 com.apple.AppKit 0x933a5b89 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 273
16 com.apple.AppKit 0x933a5754 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 96
17 com.apple.Foundation 0x92726d35 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 447
18 com.apple.Foundation 0x92726b5f _NSAppleEventManagerGenericHandler + 91
19 com.apple.AE 0x91511fb5 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 147
20 com.apple.AE 0x91511ee6 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
21 com.apple.AE 0x91511db2 aeProcessAppleEvent + 190
22 com.apple.HIToolbox 0x92f052cc AEProcessAppleEvent + 37
23 com.apple.AppKit 0x933a3949 _DPSNextEvent + 1048
24 com.apple.AppKit 0x933a335e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
25 com.apple.AppKit 0x9339d0e3 -[NSApplication run] + 512
26 exult 0x00091dea main + 1557 (SDLMain.m:224)
27 exult 0x00002b4e _start + 228 (crt.c:272)
28 exult 0x00002a69 start + 41
Thread 1:
0 libSystem.B.dylib 0x9001aafc select + 12
1 libSDL-1.2.0.dylib 0x0103f904 RunTimer + 43 (SDL_systimer.c:269)
2 libSDL-1.2.0.dylib 0x0103f532 SDL_RunThread + 57 (SDL_thread.c:218)
3 libSDL-1.2.0.dylib 0x0103f261 RunThread + 17 (SDL_systhread.c:83)
4 libSystem.B.dylib 0x90024b07 _pthread_body + 84
Thread 0 crashed with i386 Thread State:
eax: 0x00191ae4 ebx: 0x000a753a ecx:0x00000000 edx: 0x00000000
edi: 0x00000258 esi: 0x0123ba30 ebp:0xbfffe458 esp: 0xbfffe3e0
ss: 0x0000002f efl: 0x00010286 eip:0x000a7690 cs: 0x00000027
ds: 0x0000002f es: 0x0000002f fs:0x00000000 gs: 0x00000037
Binary Images Description:
0x1000 - 0x190fff exult /Users/robby/Desktop/u7/exult/exult
0x266000 - 0x27efff libSDL_mixer-1.2.0.dylib /sw/lib/libSDL_mixer-1.2.0.dylib
0x2ef000 - 0x2f1fff libogg.0.dylib /sw/lib/libogg.0.dylib
0x405000 - 0x40bfff libvorbisfile.3.dylib /sw/lib/libvorbisfile.3.dylib
0x41d000 - 0x434fff libvorbis.0.dylib /sw/lib/libvorbis.0.dylib
0x605000 - 0x63ffff libsmpeg-0.4.0.dylib /sw/lib/libsmpeg-0.4.0.dylib
0x70a000 - 0x741fff libmikmod.2.dylib /sw/lib/libmikmod.2.dylib
0x1008000 - 0x1046fff libSDL-1.2.0.dylib /sw/lib/libSDL-1.2.0.dylib
0x8fe00000 - 0x8fe4bfff dyld 45.1 /usr/lib/dyld
0x90000000 - 0x9016efff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901be000 - 0x901c0fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x901c2000 - 0x901fefff com.apple.CoreText 1.1.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90225000 - 0x902fafff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031a000 - 0x9076afff com.apple.CoreGraphics 1.258.33 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90801000 - 0x908c9fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90907000 - 0x90907fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90909000 - 0x909fcfff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a4c000 - 0x90acbfff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90af4000 - 0x90b57fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bc6000 - 0x90bcdfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90bd2000 - 0x90c42fff com.apple.framework.IOKit 1.4.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c57000 - 0x90c69fff libauto.dylib /usr/lib/libauto.dylib
0x90c6f000 - 0x90f14fff com.apple.CoreServices.CarbonCore 682.12 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f57000 - 0x90fbffff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90ff7000 - 0x91035fff com.apple.CFNetwork 129.16 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x91047000 - 0x91057fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x91062000 - 0x910e0fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x91115000 - 0x91133fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9113f000 - 0x9114dfff libz.1.dylib /usr/lib/libz.1.dylib
0x91150000 - 0x91306fff com.apple.security 4.4.1 (27569) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913f5000 - 0x913fdfff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91404000 - 0x9142afff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x9143c000 - 0x91443fff libbsm.dylib /usr/lib/libbsm.dylib
0x91447000 - 0x914c0fff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9150e000 - 0x9150efff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91510000 - 0x9153bfff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9154e000 - 0x91622fff com.apple.ColorSync 4.4.6 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9165b000 - 0x916d8fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91705000 - 0x917affff com.apple.QD 3.10.20 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917d5000 - 0x91820fff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x9183f000 - 0x91855fff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91861000 - 0x9187bfff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x91885000 - 0x918c2fff com.apple.LaunchServices 180 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918d6000 - 0x918e1fff com.apple.speech.synthesis.framework 3.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918e8000 - 0x91920fff com.apple.ImageIO.framework 1.4.7 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91932000 - 0x919e4fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91a2a000 - 0x91a40fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91a45000 - 0x91a61fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a66000 - 0x91ac4fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91ad4000 - 0x91ad8fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91ada000 - 0x91b35fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b39000 - 0x91b76fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91b7c000 - 0x91b96fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91b9b000 - 0x91b9dfff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91b9f000 - 0x91b9ffff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91ba1000 - 0x91c2bfff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91c32000 - 0x91c32fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91c34000 - 0x91c79fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91c81000 - 0x91ca6fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91cad000 - 0x92230fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9226d000 - 0x9261ffff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9264c000 - 0x926d0fff com.apple.DesktopServices 1.3.4 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x9270c000 - 0x9293efff com.apple.Foundation 6.4.6 (567.27) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92a4a000 - 0x92b28fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x92b45000 - 0x92c32fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92c42000 - 0x92c59fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92c64000 - 0x92cbbfff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92ccf000 - 0x92ccffff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92cd1000 - 0x92ce1fff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92cef000 - 0x92cf7fff com.apple.speech.recognition.framework 3.5 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92cfd000 - 0x92d02fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92d08000 - 0x92d99fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92dad000 - 0x92db0fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92db3000 - 0x92dd0fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92de0000 - 0x92de6fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92dec000 - 0x92e4ffff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92e73000 - 0x92eb4fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92edb000 - 0x92ee8fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92eef000 - 0x92ef4fff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92ef9000 - 0x931ebfff com.apple.HIToolbox 1.4.8 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x932f0000 - 0x932fbfff com.apple.opengl 1.4.10 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9338a000 - 0x9338afff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x9338c000 - 0x93a45fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93dc6000 - 0x93e40fff com.apple.CoreData 90 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93e79000 - 0x93f3afff com.apple.audio.toolbox.AudioToolbox 1.4.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93f7a000 - 0x93f7afff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93f7c000 - 0x9412afff com.apple.QuartzCore 1.4.8 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94178000 - 0x941b9fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x941c1000 - 0x941fbfff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x94376000 - 0x94385fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x9438c000 - 0x94397fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x943e3000 - 0x943fdfff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x94403000 - 0x946bafff com.apple.QuickTime 7.1.2 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x966d3000 - 0x96709fff com.apple.audio.midi.CoreMIDI 1.5.1 (41) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x9711b000 - 0x97120fff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
Model: MacBook1,1, BootROM MB11.005F.B00, 2 processors, Intel Core Duo, 2 GHz, 1 GB
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
Memory Module: DIMM0/BANK 0, 512 MB, DDR2 SDRAM, 667 MHz
Memory Module: DIMM1/BANK 1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 0.1.24
Bluetooth: Version 1.7.5f10, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: TOSHIBA MK1032GSX, 93.16 GB
Parallel ATA Device: MATSHITADVD-R UJ-857
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
Re: Exult on intel macs?
Posted: Thu Jul 27, 2006 2:27 pm
by robby
Oh no! I switched back to 1.2 and now it won't let me "journey onward".
When I click on that, it just exits. Below is all of the output from exult, when run in the shell.
Is there anything I can do? It's depressing to start over
Thanks,
Robby
/Applications/Exult% ./Exult.app/Contents/MacOS/exult
Exult version 1.2
Built at: Aug 3 2004 10:46:11
Compile-time options: HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.3 20030304 (Apple Computer, Inc. build 1640)
Platform: Mac OS X
Exult path settings:
Data : data
Digital music : data/music
Black Gate : found
exult_bg.flx : found
Serpent Isle : not found (./static/sispeech.spc)
exult_si.flx : found
Starting a BLACK GATE game
Game path settings:
Static : ./static
Gamedat : /Users/robby/.exult/blackgate/gamedat
Savegame: /Users/robby/.exult/blackgate
Patch : ./patch
Gamedat identity FORGE
Couldn't open SI 'paperdol.vga', 'gumps.vga' or 'shapes.vga'.
Support for SI Paperdolls and Multiracial Avatars in BG is disabled.
Loading /exult_bg.flx...
Loading default keybindings
Abort
Exit 134
Re: Exult on intel macs?
Posted: Thu Jul 27, 2006 2:30 pm
by robby
Following up on my most recent post: I was worried about something like this, so I took care not to overwrite my save slot from v1.2. Is there something I can do to get back to at least that position in the game?
Thanks,
Robby
Re: Exult on intel macs?
Posted: Thu Jul 27, 2006 4:16 pm
by marzo
is there actual cvs anonymous access that I missed somewhere?
Try this:
cvs -z3 -d:pserver:
anonymous@exult.cvs.sourceforge.net:/cvsroot/exult co -P ./exult
This comes from the project page (more specifically, from
here.
I was worried about something like this, so I took care not to overwrite my save slot from v1.2. Is there something I can do to get back to at least that position in the game?
Simply start a new game and then load the game you want; Exult journeys onward to the last game you saved and/or loaded.
Re: Exult on intel macs?
Posted: Thu Jul 27, 2006 10:55 pm
by Dominus
you might need the anonymous CVS access (I haven'T looked at your error messages since those don't mean anything to me). We did have problems before when people not on Windows used the CVS snapshot.
Re: Exult on intel macs?
Posted: Thu Aug 03, 2006 8:03 am
by robby
Thank you very much for the tip! I did manage to get back to my v1.2 save game.
Thanks also for an excellent job with Exult! I'd bought a copy of U7 a few years ago, but well after it was actually playable on a machine I owned (as I learned after I got it home, much to my chagrin). Now I can give it a spin!
Robby
Re: Exult on intel macs?
Posted: Fri Aug 18, 2006 8:59 am
by EmuBite
Any updates in this area?
I'm about to buy a MacBook or MacBook Pro, and I'd like to continue playing U7 using Exult.
Is there a Unviersal Binary build for exult? If so, has anyone had success compiling from source? If so, could you detail step-by-step instructions?
I'd like to play with the nightly builds, but I don't know how to compile on an Intel Mac.
Thanks for any information.
Re: Exult on intel macs?
Posted: Sat Aug 19, 2006 3:06 am
by octopusfluff
One of my planned projects for this weekend is to try to build Exult on my Intel iMac. I'll be sure to put up a note on how it does (or does not) go.
I would of course be pulling from CVS, as I could not imagine playing 1.2 at this point.
Re: Exult on intel macs?
Posted: Sat Aug 19, 2006 4:48 am
by EmuBite
Sounds great. Let us know how it goes. I'm anxious to get Exult working on an Intel system.
If you do successfully compile, perhaps the resulting binary could be hosted on the Exult website? Since Apple is finished with the Intel transition, more people will find this useful.
Thanks again.
Re: Exult on intel macs?
Posted: Sat Aug 19, 2006 7:06 am
by Dominus
I don't think hosting a single CVS snapshot is a that good idea. Since there could always be the chance that just that one snapshot is the very bad one that breaks all kinds of things. That's why it is so neat of Kirben to provide daily snapshots (if code actually changed). Detailed instructions on how to compile Exult on Intel Mac and a Exult 1.2 package would be much more usefull.
Re: Exult on intel macs?
Posted: Sat Aug 19, 2006 8:43 am
by EmuBite
Dominus,
I didn't think of that, but you're right. If we could get the "Dummies Guide to Compiling Exult on Intel Macs," that would be best. (I say "Dummies Guide" here because I know next to nothing about compiling software from source!)
I haven't been following Exult's progress lately, but I take it there has been substantial improvements in the daily snapshots. However, I'd love to see a 1.2 Universal Binary as well.
Re: Exult on intel macs?
Posted: Sat Aug 19, 2006 2:51 pm
by Syndicate Dragon
Yes, I'd love to see some guidance on this as well!
Re: Exult on intel macs?
Posted: Sun Aug 20, 2006 11:21 am
by octopusfluff
Initial news: I'm having a bit of trouble with SDL-Mixer. I had been using Darwin Ports to provide a lot of the libraries.. This isn't working out so hot; it appears that the version of sdl-mixer source that Darwin Ports pulls doesn't like OSX 10.4. Is most antagonistic about it, so far.
I'll look into other options for this later, such as fink (which is suggested in the docs).
I'm not certain how darwin ports and fink would interact, though. That has the potential to get messy.
Re: Exult on intel macs?
Posted: Sun Aug 20, 2006 2:23 pm
by octopusfluff
At the moment, fink has one of their core servers down. I don't feel like futzing around with their documented workarounds, so this will have to wait until later. I have too much of a headache right now for that. :p
So you know, if I get this working, I have absolutely no objection to producing a 1.2 Universal Binary package, and if someone can assist with tools to do so, I wouldn't mind producing snapshots of CVS at some interval. Probably not daily, but bi-weekly certainly, possibly weekly.
Re: Exult on intel macs?
Posted: Sun Aug 20, 2006 2:39 pm
by MeddlingMonk
It's not on Intel Macs there's a problem making Exult. I have the same troubles on my PowerBook. At first it would just complain of missing this or that library or whatever but eventually I got everything (apparently) required through Fink but the make process still ends with errors. Possibly I'm just an idiot but I have no problems at all in Fedora 5, so I suppose I can't be completely stupid. If there's anyone who is able to successfuly make Exult from CVS source code on a Mac regardless of processor, it'd be nice to hear from them because I'm stumped.
Re: Exult on intel macs?
Posted: Tue Aug 22, 2006 10:58 am
by MeddlingMonk
OK. This is weird. I had another go with the latest snapshot and it worked. I didn't do anything different so I have no idea why it worked this time and not the last time.
Re: Exult on intel macs?
Posted: Tue Aug 22, 2006 11:23 am
by marzo
It worked this time because there was a (recently added) compile problem which was fixed in the last snapshot or so.
Re: Exult on intel macs?
Posted: Tue Aug 22, 2006 1:44 pm
by EmuBite
MeddlingMonk,
Can you give a step-by-step guide how to compile from CVS? Sounds like you're on the right track!
Cheers.
Re: Exult on intel macs?
Posted: Tue Aug 22, 2006 3:30 pm
by Dominus
Especially I'd like to know what differs from the steps that are described in ReadMe.MacOSX
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 7:43 am
by MeddlingMonk
I'm not sure I can give any step-by-step instructions, mostly because I haven't been very methodical in what I've been trying. I would try to get it to work, get annoyed and leave off for a while and then try again and sometimes it'd be so long between attempts I could forget what I tried before. I should have kept notes.
But I think I can give some pointers. I should say I'm using OS 10.4.7 and Fink. At first I would get errors about not finding libraries it needed and eventually I figured out that I needed to modify the path. There are a couple of ways to do that and which you do would depend on what you're using specifically for your terminal. And if you want to cover your ass you can do both (like I did).
For the first way, in terminal first you should gain admin rights by typing 'sudo -s' and entering your password, then change directories to /etc and use whatever text editor you want to use (I use pico) to open the file profile (in other words type 'pico profile'). I edited the path so it reads:
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/sw/bin:/sw/share:/sw/lib"
For the second way, the file to modify is csh.login. So same as above but type 'pico csh.login' and I ended the path to read:
setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/sw/bin:/sw/share:/sw/lib"
After doing that I had better luck but make was always ending by saying it was missing a package or library. I would then get that with Fink but then make would say it was missing something else. It would only complain of missing one thing at a time and there may have been close to half a dozen things I had to get that aren't mentioned in the OSX readme. The problem here is I didn't keep a list of what all it was asking for so, EmuBite, you may want to make a list and share it here so Dominus or whoever can add it to the readme along with my path-editing stuff.
Now, after finally getting it built (oh, btw, the part in the readme about 'make Exult_app' still doesn't work for me) I just the U7 original game data and also the digital audio files. I should say first I had no issues with the files gotten from the Ultima Collection CD. I know some say you have to go to the trouble of installing with DOSBox but I'm not sure that's necessary. However, I didn't put the game data on my Mac direct from the CD. I had already been using Exult on my Fedora box and when I had made Exult on the Mac I just made a samba connection to the other computer and copied the files over, and the only reason I'm bothering to describe all this is I have a vague memory of having altered the permissions of all the files and folders for BG and SI after I had copied them to the Fedora box. I think the only thing necessary, really, is to be sure that you have read and write permissions for each file and folder for BOTH owner and group.
Since I was wanting to use the diginal audio, I ran into a tiny problem because of the ogg format but that was easily solved by going to
http://www.xiph.org/quicktime/ and getting XiphQT. After the package is installed you have to restart your computer. And that brings me to a final thing, which is before that restart I could not switch to fullscreen mode but could afterwards.
Oh, and one other thing. It would be very nice to have aspect ratio correction added at some point. A problem of sorts I've found on *nix systems (Fedfora first and then OSX) is that the graphics in Exult are vertically slightly squashed. Instead of filling the entire screen at the default resolution the image stretches all the way from left to right but not top to bottom. Now on the Fedora box that was easily corrected by adjusting my monitor's height and width controls but there's nothing like that available on my PowerBook. I can choose the next-higher resolution and that will fill the entire screen but it does nothing for the vertical compression.
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 8:00 am
by Dominus
I'm not sure I can give any step-by-step instructions, mostly because I haven't been very methodical in what I've been trying. I would try to get it to work, get annoyed and leave off for a while and then try again and sometimes it'd be so long between attempts I could forget what I tried before. I should have kept notes.
nevertheless your not-quite-step-by-step gives at least some (vital) pointers as to where to expect culprits. Thanks for that.
Oh, and one other thing. It would be very nice to have aspect ratio correction added at some point. A problem of sorts I've found on *nix systems (Fedfora first and then OSX) is that the graphics in Exult are vertically slightly squashed. Instead of filling the entire screen at the default resolution the image stretches all the way from left to right but not top to bottom. Now on the Fedora box that was easily corrected by adjusting my monitor's height and width controls but there's nothing like that available on my PowerBook. I can choose the next-higher resolution and that will fill the entire screen but it does nothing for the vertical compression.
hmm, that is strange indeed
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 8:14 am
by MeddlingMonk
And here's something else. The problem of copying files directly from the CD v. installing with DOSBox is definitely about permissions. When you just copy the files (and this would be an issue for any *nix OS) the permissions for owner are read and write but for group they are read only. The group permissions also need to be read and write. That needs to be changed for every file and folder for BG and SI but fortunately that can be done for batches. In OSX it's as simple as copying to the hard drive the folder for BG and SI, selecting both folders and bringing up the info, then go down to Owership & Permissions, expand Details, change Access under Group from read only to read and write and then click on Apply to enclosed items. And of course it would be similar using KDE or Gnome except that with Gnome you can only change permissions one directory level at a time.
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 8:49 am
by MeddlingMonk
Just one more thing (I seem to be channeling Columbo today), the error I get when I try to do make Exult_app is "make: *** No rule to make target `Exult_app'. Stop."
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 9:02 am
by Dominus
I'll take a note of the permissions thing and will add this to the "Installation" section as a separate point to make sure that is set correctly.
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 9:21 am
by wjp
That's because you need to say 'make bundle', and not Exult_app.
Re: Exult on intel macs?
Posted: Wed Aug 23, 2006 12:29 pm
by MeddlingMonk
Thanks. README.MacOSX doesn't say that.
Re: Exult on intel macs?
Posted: Thu Aug 24, 2006 8:40 am
by Wizardry Dragon
I'm not sure if Macs are any different, but on Ubuntu-Linux, CHMODing everything to 755 seems to work fine for me as far as permissions go.
This may or may not have been useful, but I hope the former
--------
Peter M Dodge aka Wizardry Dragon
Lead Designer,
Ultima VII: The Feudal Lands
Re: Exult on intel macs?
Posted: Thu Aug 24, 2006 2:24 pm
by MeddlingMonk
It's probably the same or close enough. But most Mac users are GUI. Some are gooey but we won't go there.