mspraggs / potentia

Southampton Game Jam 2015
0 stars 0 forks source link

Building Application Bundle #89

Open DivFord opened 8 years ago

DivFord commented 8 years ago

I found an article about turning shell scripts into Mac OS application bundles. It's surprisingly simple (in theory) and seems like something we'll want to sort out at some point for usability.

The problem is, while the game runs fine from the terminal, I get a crash running it as an app. Is it just me, or is this crashing while trying to set a font size?

Process: game [4015] Path: /Users/USER/Desktop/game.app/Contents/MacOS/game Identifier: game Version: ??? (???) Code Type: X86-64 (Native) Parent Process: launchd [155]

Date/Time: 2015-08-19 17:06:02.606 +0100 OS Version: Mac OS X 10.7.5 (11G63) Report Version: 9

Interval Since Last Report: 75498 sec Crashes Since Last Report: 7 Per-App Crashes Since Last Report: 6 Anonymous UUID: 228FD70B-044C-4795-BF03-33A57E06F079

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0: --> __TEXT 000000010e713000-000000010e82e000 [ 1132K] r-x/rwx SM=COW /Users/USER/Desktop/game.app/Contents/MacOS/game

Application Specific Information: objc[4015]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.libsdl.SDL2-ttf 0x000000010e8ee3a3 TTF_SizeUTF8 + 54 1 org.libsdl.SDL2-ttf 0x000000010e8ee945 TTF_RenderUTF8_Solid + 69 2 org.libsdl.SDL2-ttf 0x000000010e8ee8c7 TTF_RenderText_Solid + 101 3 game 0x000000010e7f0abe Window::createFont() + 334 (Window.cpp:152) 4 game 0x000000010e7f080d Window::open(std::1::basic_string<char, std::__1::char_traits, std::1::allocator >, int, int, unsigned int) + 621 (Window.cpp:47) 5 game 0x000000010e78026c main + 1980 (main.cpp:53) 6 game 0x000000010e716e04 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff8fe7c7e6 kevent + 10 1 libdispatch.dylib 0x00007fff8a7b5786 _dispatch_mgr_invoke + 923 2 libdispatch.dylib 0x00007fff8a7b4316 _dispatch_mgr_thread + 54

Thread 2: 0 libsystem_kernel.dylib 0x00007fff8fe7c192 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8843e594 _pthread_wqthread + 758 2 libsystem_c.dylib 0x00007fff8843fb85 start_wqthread + 13

Thread 3: 0 libsystem_kernel.dylib 0x00007fff8fe7c192 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8843e594 _pthread_wqthread + 758 2 libsystem_c.dylib 0x00007fff8843fb85 start_wqthread + 13

Thread 4: 0 libsystem_kernel.dylib 0x00007fff8fe7c192 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8843e594 _pthread_wqthread + 758 2 libsystem_c.dylib 0x00007fff8843fb85 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x00007fff6e3119a8 rdx: 0x00007fff6e3119ac rdi: 0x0000000000000000 rsi: 0x00007fff6e3119f0 rbp: 0x00007fff6e311940 rsp: 0x00007fff6e3118d0 r8: 0x00007fff6e311610 r9: 0x00007fff6e311610 r10: 0x000000010e9d3298 r11: 0x000000010e989000 r12: 0x0000000000000000 r13: 0x00007fff76d78f60 r14: 0x0000000000000000 r15: 0x000000010e81cd3e rip: 0x000000010e8ee3a3 rfl: 0x0000000000010206 cr2: 0x0000000000000000 Logical CPU: 0

Binary Images: 0x10e713000 - 0x10e82dff7 +game (??? - ???) /Users/USER/Desktop/game.app/Contents/MacOS/game 0x10e8d5000 - 0x10e8e3ff7 +org.libsdl.SDL2-image (2.0.0 - 2.0.0) /Library/Frameworks/SDL2_image.framework/Versions/A/SDL2_image 0x10e8ec000 - 0x10e8f0fff +org.libsdl.SDL2-ttf (2.0.12 - 2.0.12) <89D18445-4D54-329F-A2D6-F9C2F887F57C> /Library/Frameworks/SDL2_ttf.framework/Versions/A/SDL2_ttf 0x10e8f9000 - 0x10e9c0fff +org.libsdl.SDL2 (2.0.3 - 2.0.3) <78D9C537-E977-3AD1-9890-53FBC62A4D69> /Library/Frameworks/SDL2.framework/Versions/A/SDL2 0x10e9e3000 - 0x10e9e9fff com.apple.agl (3.2.0 - AGL-3.2.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x10e9f1000 - 0x10ea08fff +org.sfml-dev.sfml-audio (2.3.0 - 2.3.0) /Library/Frameworks/sfml-audio.framework/Versions/2.3.0/sfml-audio 0x10ea1b000 - 0x10ea5fff7 +webp (0.1.3 - 0.1.3) /Library/Frameworks/SDL2_image.framework/Versions/A/Frameworks/webp.framework/Versions/A/webp 0x10ea73000 - 0x10ea76fff com.apple.ForceFeedback (1.0.4 - 1.0.4) /System/Library/Frameworks/ForceFeedback.framework/Versions/A/ForceFeedback 0x10ea7c000 - 0x10eb02fe7 +FreeType (2.4.8 - 2.4.8) <6DF58A25-830A-36D7-917C-73869CD91F52> /Library/Frameworks/SDL2_ttf.framework/Versions/A/Frameworks/FreeType.framework/Versions/A/FreeType 0x10eb1a000 - 0x10eb26ff7 +org.sfml-dev.sfml-system (2.3.0 - 2.3.0) <8B9A8F77-483B-309F-AB2E-E983A0526854> /Library/Frameworks/sfml-system.framework/Versions/2.3.0/sfml-system 0x10eb34000 - 0x10eb5ffff com.apple.audio.OpenAL (1.5.1 - 1.5.1) <5B954EC6-08B6-3255-932C-DDAB908E72F4> /Library/Frameworks/OpenAL.framework/Versions/A/OpenAL 0x10eb73000 - 0x10ebeaff7 +org.sfml-dev.vorbisenc (??? - 1.0) <5B7CAF65-A2D4-3778-8317-4AF315A92513> /Library/Frameworks/vorbisenc.framework/Versions/A/vorbisenc 0x10ec34000 - 0x10ec39ff7 +org.sfml-dev.vorbisfile (??? - 1.0) <2A582B4F-7FFF-3822-B80A-56344FA1835B> /Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile 0x10ec42000 - 0x10ec6cfff +org.sfml-dev.vorbis (??? - 1.0) <14749F21-C594-3171-A1B0-8103CAFF056F> /Library/Frameworks/vorbis.framework/Versions/A/vorbis 0x10ec75000 - 0x10ec78ff7 libCoreFSCache.dylib (??? - ???) <0D155750-7910-32C5-8327-924FC1089442> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib 0x10ec7c000 - 0x10ec80ff7 +org.sfml-dev.ogg (??? - 1.0) <856EA22F-16B9-3747-8265-B0A26ACCA1A3> /Library/Frameworks/ogg.framework/Versions/A/ogg 0x10ec85000 - 0x10ecc5fff +org.sfml-dev.FLAC (??? - 1.0) /Library/Frameworks/FLAC.framework/Versions/A/FLAC 0x10f2a4000 - 0x10f2b2fff libGPUSupport.dylib (??? - ???) <9FF8DDA2-7CB1-3888-8AAE-227C7691CB98> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupport.dylib 0x11297d000 - 0x112b35fff GLEngine (??? - ???) <59179FEC-D0E2-38B3-BD49-765506A645AC> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine 0x112b6c000 - 0x112cc6fff libGLProgrammability.dylib (??? - ???) <90390984-70BC-365C-AB3E-16C35C4240CB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x112cf8000 - 0x1130dffe7 com.apple.driver.AppleIntelHD3000GraphicsGLDriver (7.32.12 - 7.3.2) <5C9C9474-BA99-33A6-BAD8-628224491FED> /System/Library/Extensions/AppleIntelHD3000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD3000GraphicsGLDriver 0x113205000 - 0x113233ff7 GLRendererFloat (??? - ???) <06CA5D0B-BC5F-3CC7-836D-A02F7DB92BE8> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat 0x11323c000 - 0x113246fef libcldcpuengine.dylib (2.0.19 - compatibility 1.0.0) <4572AD1E-D1D1-3412-AFCC-D37037B1FAB5> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib 0x7fff6e313000 - 0x7fff6e347baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld 0x7fff86af4000 - 0x7fff86af4fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib 0x7fff86af5000 - 0x7fff86b0afff com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x7fff86b0b000 - 0x7fff86b16ff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib 0x7fff86b17000 - 0x7fff86b7fff7 com.apple.audio.CoreAudio (4.0.3 - 4.0.3) <9987DC46-2A96-3BA0-B88B-04E573C0AD9B> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x7fff86b80000 - 0x7fff86b81ff7 libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib 0x7fff86ee2000 - 0x7fff8703ffff com.apple.audio.toolbox.AudioToolbox (1.7.3 - 1.7.3) <5F1E4695-BC74-3ADD-8345-627BCD68201A> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x7fff87394000 - 0x7fff873aafff libGL.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x7fff873ab000 - 0x7fff8761ffff com.apple.CoreImage (7.99.1 - 1.0.1) <4BB09B79-275B-364C-9466-0FF36ABB1218> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage 0x7fff87620000 - 0x7fff8794cfff com.apple.HIToolbox (1.9 - ???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7fff8794d000 - 0x7fff879a1fff libFontRegistry.dylib (??? - ???) <60FF9C2C-5E44-3C49-8A08-F26101898F21> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib 0x7fff879a2000 - 0x7fff879a3ff7 libsystem_sandbox.dylib (??? - ???) <5459F293-E1F2-33B3-B9B2-2ABB7B915B62> /usr/lib/system/libsystem_sandbox.dylib 0x7fff87a12000 - 0x7fff87ac5ff7 com.apple.CoreText (220.22.0 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x7fff87b36000 - 0x7fff87c38fff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) /usr/lib/libxml2.2.dylib 0x7fff87c39000 - 0x7fff87d2efff libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib 0x7fff87d32000 - 0x7fff87d76ff7 libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <416FB9E6-76F2-3CB8-8CCB-C12ACECFD611> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x7fff87d77000 - 0x7fff87d7cfff com.apple.OpenDirectory (10.7 - 146) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x7fff87d7d000 - 0x7fff88099fff com.apple.CoreServices.CarbonCore (960.25 - 960.25) <4FC1AB30-022C-3C67-AC46-FDCBFCB7EEDE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x7fff88184000 - 0x7fff8829dfff com.apple.DesktopServices (1.6.5 - 1.6.5) <5E7DD5F4-B4DA-3F75-A14A-3494E81CFBA0> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x7fff8829e000 - 0x7fff8829efff com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x7fff8829f000 - 0x7fff883a6fe7 libsqlite3.dylib (9.6.0 - compatibility 9.0.0) /usr/lib/libsqlite3.dylib 0x7fff883ee000 - 0x7fff884cbfef libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib 0x7fff884d6000 - 0x7fff884d6fff com.apple.vecLib (3.7 - vecLib 3.7) <9A58105C-B36E-35B5-812C-4ED693F2618F> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x7fff884d7000 - 0x7fff887f0fff com.apple.Foundation (6.7.2 - 833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7fff887f1000 - 0x7fff887fbff7 liblaunch.dylib (392.39.0 - compatibility 1.0.0) <8C235D13-2928-30E5-9E12-2CC3D6324AE2> /usr/lib/system/liblaunch.dylib 0x7fff887fc000 - 0x7fff8889efff com.apple.securityfoundation (5.0 - 55116) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x7fff888a5000 - 0x7fff888c9fff com.apple.RemoteViewServices (1.5 - 44.2) /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices 0x7fff888ca000 - 0x7fff888d3ff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) /usr/lib/system/libsystem_notify.dylib 0x7fff888d4000 - 0x7fff888e1ff7 libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <8EDE3492-D916-37B2-A066-3E0F054411FD> /usr/lib/libbz2.1.0.dylib 0x7fff888e2000 - 0x7fff889c6e5f libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib 0x7fff88a3b000 - 0x7fff89641fff com.apple.AppKit (6.7.5 - 1138.51) <44417D02-6123-3FC3-A119-CE51BB4C3006> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7fff89642000 - 0x7fff896bdff7 com.apple.print.framework.PrintCore (7.1 - 366.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x7fff89720000 - 0x7fff89782ff7 com.apple.Symbolication (1.3 - 91) /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication 0x7fff89783000 - 0x7fff89861fff com.apple.DiscRecording (6.0.4 - 6040.4.1) /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording 0x7fff89862000 - 0x7fff8989dfff com.apple.LDAPFramework (3.2 - 120.2) <275D4298-C435-3E98-AA25-95D9D0A56550> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP 0x7fff898a3000 - 0x7fff898aefff com.apple.CommonAuth (2.2 - 2.0) <4F5302A5-867A-3F2E-9E4B-98FA011678F8> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth 0x7fff898af000 - 0x7fff898b1fff com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent 0x7fff898b2000 - 0x7fff898b7fff libpam.2.dylib (3.0.0 - compatibility 3.0.0) /usr/lib/libpam.2.dylib 0x7fff898b8000 - 0x7fff89918fff libvDSP.dylib (325.4.0 - compatibility 1.0.0) <3A7521E6-5510-3FA7-AB65-79693A7A5839> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x7fff899a8000 - 0x7fff899d4ff7 com.apple.CoreServicesInternal (113.20 - 113.20) <786118E6-7D7E-3016-9FD5-A7CE411A251F> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal 0x7fff899d5000 - 0x7fff89adffe7 libcrypto.0.9.8.dylib (0.9.8 - compatibility 0.9.8) <0E7A4F63-035E-3406-AE8C-8F9E3E47D2EE> /usr/lib/libcrypto.0.9.8.dylib 0x7fff89b4f000 - 0x7fff89f7cfff libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x7fff89f7d000 - 0x7fff89f7dfff com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x7fff89f7e000 - 0x7fff89f82fff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) /usr/lib/system/libmathCommon.A.dylib 0x7fff89f83000 - 0x7fff89f95ff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib 0x7fff89f96000 - 0x7fff89faaff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x7fff8a5a9000 - 0x7fff8a5d6fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib 0x7fff8a5d7000 - 0x7fff8a5dafff libRadiance.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x7fff8a767000 - 0x7fff8a783ff7 com.apple.GenerationalStorage (1.0 - 126.1) <509F52ED-E54B-3FEF-B3C2-759387B826E6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage 0x7fff8a7b2000 - 0x7fff8a7c0fff libdispatch.dylib (187.10.0 - compatibility 1.0.0) <8E03C652-922A-3399-93DE-9EA0CBFA0039> /usr/lib/system/libdispatch.dylib 0x7fff8a7cb000 - 0x7fff8a80bff7 libcups.2.dylib (2.9.0 - compatibility 2.0.0) <7D2E5016-A960-3ADE-B042-F74063E79550> /usr/lib/libcups.2.dylib 0x7fff8a876000 - 0x7fff8a87efff libsystem_dnssd.dylib (??? - ???) <584B321E-5159-37CD-B2E7-82E069C70AFB> /usr/lib/system/libsystem_dnssd.dylib 0x7fff8a87f000 - 0x7fff8a8afff7 com.apple.DictionaryServices (1.2.1 - 158.3) <5E2EBBFD-D520-3379-A431-11DAA844B8D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x7fff8a8b0000 - 0x7fff8a8cdff7 com.apple.openscripting (1.3.3 - ???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x7fff8a907000 - 0x7fff8a90cff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib 0x7fff8a90d000 - 0x7fff8a90ffff libquarantine.dylib (36.7.0 - compatibility 1.0.0) <8D9832F9-E4A9-38C3-B880-E5210B2353C7> /usr/lib/system/libquarantine.dylib 0x7fff8b0b9000 - 0x7fff8b0bafff liblangid.dylib (??? - ???) /usr/lib/liblangid.dylib 0x7fff8b0bb000 - 0x7fff8b0bcfff libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib 0x7fff8b0bd000 - 0x7fff8b0e1fff com.apple.Kerberos (1.0 - 1) <1F826BCE-DA8F-381D-9C4C-A36AA0EA1CB9> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x7fff8b0e2000 - 0x7fff8b30cfe7 com.apple.CoreData (104.1 - 358.14) <6BB64605-8DA7-337D-A2AB-A3346A421CBD> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x7fff8b30d000 - 0x7fff8b380fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib 0x7fff8b391000 - 0x7fff8b396fff libcache.dylib (47.0.0 - compatibility 1.0.0) /usr/lib/system/libcache.dylib 0x7fff8b42a000 - 0x7fff8b524ff7 com.apple.DiskImagesFramework (10.7.4 - 331.7) /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages 0x7fff8b54f000 - 0x7fff8b62efff com.apple.ImageIO.framework (3.1.2 - 588) <37F047A9-48E3-3AF7-8931-462D63BE6121> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x7fff8ba51000 - 0x7fff8bb87fff com.apple.vImage (5.1 - 5.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x7fff8bb88000 - 0x7fff8bbc3ff7 libssl.0.9.8.dylib (0.9.8 - compatibility 0.9.8) /usr/lib/libssl.0.9.8.dylib 0x7fff8bcbd000 - 0x7fff8bd42ff7 com.apple.Heimdal (2.2 - 2.0) <52B0F371-D272-3C8E-B42F-04D3FDD8AD0D> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal 0x7fff8bd43000 - 0x7fff8bd43fff com.apple.ApplicationServices (41 - 41) <03F3FA8F-8D2A-3AB6-A8E3-40B001116339> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x7fff8bd44000 - 0x7fff8bd9cff7 libTIFF.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x7fff8bee2000 - 0x7fff8bfa9ff7 com.apple.ColorSync (4.7.4 - 4.7.4) <590AFCDA-F10E-31FE-9B01-DA5FFE74C2BB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x7fff8bfac000 - 0x7fff8bfacfff com.apple.audio.units.AudioUnit (1.7.3 - 1.7.3) <04C10813-CCE5-3333-8C72-E8E35E417B3B> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x7fff8bfad000 - 0x7fff8c2a2ff7 com.apple.security (7.0 - 55148.6) <4535E500-973A-3BA7-AF65-DF5CF0658F02> /System/Library/Frameworks/Security.framework/Versions/A/Security 0x7fff8c2a3000 - 0x7fff8c2a7fff libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib 0x7fff8c30f000 - 0x7fff8c41cfff libJP2.dylib (??? - ???) <1CF69239-3D3D-30CE-AC7B-C7E8C9166BC2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib 0x7fff8c41d000 - 0x7fff8c450ff7 com.apple.GSS (2.2 - 2.0) /System/Library/Frameworks/GSS.framework/Versions/A/GSS 0x7fff8c451000 - 0x7fff8c45fff7 libkxld.dylib (??? - ???) <01161870-E3B3-3F87-BA4A-0AA7A081F409> /usr/lib/system/libkxld.dylib 0x7fff8c460000 - 0x7fff8c463fff libCoreVMClient.dylib (??? - ???) <28CB0F3F-A202-391F-8CAC-FC9A1398A962> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib 0x7fff8c464000 - 0x7fff8c472fff com.apple.NetAuth (1.0 - 3.0) /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth 0x7fff8c473000 - 0x7fff8c475fff libCVMSPluginSupport.dylib (??? - ???) <982F1ED4-3CBB-3161-8BEA-8A980C27FCC1> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib 0x7fff8c617000 - 0x7fff8c68dff7 libc++.1.dylib (28.4.0 - compatibility 1.0.0) /usr/lib/libc++.1.dylib 0x7fff8c68e000 - 0x7fff8c68ffff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib 0x7fff8c6bc000 - 0x7fff8c6c2fff IOSurface (??? - ???) <77C6757B-D357-3E34-9424-48F962B5CC9C> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x7fff8c6c3000 - 0x7fff8c863ff7 com.apple.QuartzCore (1.7 - 270.5) <19E5E0AB-DAA9-3F97-988C-D9A46AFB9C04> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x7fff8c864000 - 0x7fff8c865fff libunc.dylib (24.0.0 - compatibility 1.0.0) /usr/lib/system/libunc.dylib 0x7fff8c866000 - 0x7fff8c869fff com.apple.help (1.3.2 - 42) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x7fff8c887000 - 0x7fff8c8c2fff libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib 0x7fff8c8c3000 - 0x7fff8d261747 com.apple.CoreGraphics (1.600.0 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x7fff8d262000 - 0x7fff8d263ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib 0x7fff8d4c7000 - 0x7fff8d77ffff com.apple.RawCamera.bundle (4.00 - 658) <789BC5C7-F03A-388C-B540-070FF5574B0C> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera 0x7fff8d80f000 - 0x7fff8d821ff7 libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib 0x7fff8d822000 - 0x7fff8d8a5fef com.apple.Metadata (10.7.0 - 627.37) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x7fff8d8a6000 - 0x7fff8da0dff7 com.apple.CFNetwork (520.5.3 - 520.5.3) <1C11C214-1C70-3358-A709-69C84D999DB8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x7fff8da16000 - 0x7fff8da1aff7 com.apple.CommonPanels (1.2.5 - 94) <0BB2C436-C9D5-380B-86B5-E355A7711259> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x7fff8da1b000 - 0x7fff8da32fff com.apple.CFOpenDirectory (10.7 - 144) <9709423E-8484-3B26-AAE8-EF58D1B8FB3F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x7fff8da33000 - 0x7fff8dc35fff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <0176782F-9526-3905-813A-7A5676EC2C86> /usr/lib/libicucore.A.dylib 0x7fff8dc56000 - 0x7fff8dc7ffff libJPEG.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x7fff8dd32000 - 0x7fff8dd7eff7 com.apple.SystemConfiguration (1.11.3 - 1.11) <0A7F1982-B4EA-3424-A0C7-FE46C6224F03> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x7fff8dd7f000 - 0x7fff8dd84fff libGIF.dylib (??? - ???) <58A4492D-AAE7-3B8F-8B06-62867471A3EE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x7fff8dd85000 - 0x7fff8df59ff7 com.apple.CoreFoundation (6.7.2 - 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff8df5a000 - 0x7fff8e03eff7 com.apple.CoreServices.OSServices (478.50 - 478.50) <3D6AA4EF-C601-36C7-8F3A-A00964F01759> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x7fff8e216000 - 0x7fff8e225ff7 libxar-nossl.dylib (??? - ???) /usr/lib/libxar-nossl.dylib 0x7fff8e226000 - 0x7fff8e251ff7 libxslt.1.dylib (3.24.0 - compatibility 3.0.0) /usr/lib/libxslt.1.dylib 0x7fff8e252000 - 0x7fff8e2a4ff7 libGLU.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x7fff8e2a5000 - 0x7fff8e2b4fff com.apple.opengl (1.8.1 - 1.8.1) <51B34133-CEE3-3FC6-82AC-ADF567AE673C> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x7fff8e2b5000 - 0x7fff8e2dbfff com.apple.framework.familycontrols (3.0 - 300) <6F0C58C0-22E7-3877-8CFA-1ED0CB3CE38B> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls 0x7fff8e2dc000 - 0x7fff8e2deff7 com.apple.print.framework.Print (7.4 - 247.3) <626C58D5-2841-3329-8C32-9F4A8353F3E7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x7fff8e326000 - 0x7fff8e333fff libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <39E20909-68D8-3FB7-A089-A1866618E026> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x7fff8e337000 - 0x7fff8e337fff com.apple.Carbon (153 - 153) <895C2BF2-1666-3A59-A669-311B1F4F368B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x7fff8ea27000 - 0x7fff8eeeefff FaceCoreLight (1.4.7 - compatibility 1.0.0) /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight 0x7fff8eeef000 - 0x7fff8ef35fff libcurl.4.dylib (7.0.0 - compatibility 7.0.0) <066449E4-406B-3ABC-9DB8-E62777498154> /usr/lib/libcurl.4.dylib 0x7fff8ef36000 - 0x7fff8ef53fff libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib 0x7fff8ef56000 - 0x7fff8f53afff libBLAS.dylib (??? - ???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x7fff8f53b000 - 0x7fff8f57dff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) /usr/lib/system/libcommonCrypto.dylib 0x7fff8f9db000 - 0x7fff8f9fafff libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <0635C52D-DD53-3721-A488-4C6E95607A74> /usr/lib/libresolv.9.dylib 0x7fff8fa09000 - 0x7fff8fa10fff com.apple.NetFS (4.0 - 4.0) /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS 0x7fff8fd6c000 - 0x7fff8fda6fe7 com.apple.DebugSymbols (2.1 - 87) /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols 0x7fff8fda7000 - 0x7fff8fe17fff com.apple.datadetectorscore (3.0 - 179.4) <9C01D16F-75A9-3BDD-B91A-F0F32261A2E7> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore 0x7fff8fe18000 - 0x7fff8fe40fff com.apple.PerformanceAnalysis (1.11 - 11) <8D4C6382-DD92-37A2-BCFC-E89951320848> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis 0x7fff8fe43000 - 0x7fff8fe64fff libPng.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x7fff8fe65000 - 0x7fff8fe85fff libsystem_kernel.dylib (1699.32.7 - compatibility 1.0.0) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib 0x7fff8fe86000 - 0x7fff8fefcfff com.apple.CoreSymbolication (2.2 - 73.2) <126415E3-3A35-315B-B4B7-507CDBED0D58> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication 0x7fff8fefd000 - 0x7fff8fefdfff com.apple.Accelerate (1.7 - Accelerate 1.7) <82DDF6F5-FBC3-323D-B71D-CF7ABC5CF568> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x7fff903a3000 - 0x7fff9043dff7 com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x7fff91193000 - 0x7fff91298fff libFontParser.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib 0x7fff912c1000 - 0x7fff912c1fff com.apple.Cocoa (6.6 - ???) <021D4214-9C23-3CD8-AFB2-F331697A4508> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x7fff912c2000 - 0x7fff912d8ff7 com.apple.ImageCapture (7.1.0 - 7.1.0) <1AD40E02-2126-377B-A0D2-CBB21D932558> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x7fff9141e000 - 0x7fff91425fff libGFXShared.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib 0x7fff9143b000 - 0x7fff91464fff com.apple.CoreVideo (1.7 - 70.3) <9A9D4058-9935-3B0A-B1A6-27EB78D02249> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x7fff91465000 - 0x7fff91468ff7 com.apple.securityhi (4.0 - 1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x7fff915a9000 - 0x7fff91614ff7 com.apple.framework.IOKit (2.0 - ???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x7fff91689000 - 0x7fff9168dfff libdyld.dylib (195.5.0 - compatibility 1.0.0) /usr/lib/system/libdyld.dylib 0x7fff91920000 - 0x7fff91937fff com.apple.MultitouchSupport.framework (231.4 - 231.4) <10A978D1-8781-33F0-BE45-60C9171F7278> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport 0x7fff91ce2000 - 0x7fff91d78ff7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) <642D8D54-F9F5-3FBB-A96C-EEFE94C6278B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x7fff91e7c000 - 0x7fff91ecafff libauto.dylib (??? - ???) /usr/lib/libauto.dylib 0x7fff91ecb000 - 0x7fff91ed2fff libcopyfile.dylib (85.1.70 - compatibility 1.0.0) /usr/lib/system/libcopyfile.dylib 0x7fff92110000 - 0x7fff92110fff libOpenScriptingUtil.dylib (??? - ???) /usr/lib/libOpenScriptingUtil.dylib 0x7fff9220f000 - 0x7fff9221aff7 com.apple.speech.recognition.framework (4.0.21 - 4.0.21) <6540EAF2-E3BF-3D2E-B4C1-F106180D6F20> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x7fff92640000 - 0x7fff926e5fff com.apple.ink.framework (10.7.5 - 113) <1AE6676D-490A-36C2-B6CC-00F93AEB31DE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x7fff926e6000 - 0x7fff92727fff com.apple.QD (3.40.1 - ???) <13ACC7F4-B004-3370-B575-6D06447EE428> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x7fff92728000 - 0x7fff92790ff7 com.apple.coreui (1.2.2 - 165.11) <9316266A-39CA-3EC7-9C9E-726462CEFF4D> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x7fff9280e000 - 0x7fff92815fff com.apple.CommerceCore (1.0 - 17.1) /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore 0x7fff92816000 - 0x7fff9285aff7 com.apple.MediaKit (12 - 602) <0C2CBEDA-412F-3DDF-9C74-44114E5E0DB9> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit 0x7fff92ac8000 - 0x7fff92acdfff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib 0x7fff92bed000 - 0x7fff92c71ff7 com.apple.ApplicationServices.ATS (317.13.0 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x7fff92c72000 - 0x7fff92c78ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib 0x7fff92c80000 - 0x7fff92cdcff7 com.apple.HIServices (1.21 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x7fff92ea3000 - 0x7fff92ee3fe7 libGLImage.dylib (??? - ???) <0B7DAB2B-F1C6-39C7-B864-61EF683B6656> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x7fff92ee8000 - 0x7fff92f43ff7 com.apple.opencl (2.0.19 - 2.0.19) /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL 0x7fff930b1000 - 0x7fff930f0fff com.apple.AE (527.7 - 527.7) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x7fff930f1000 - 0x7fff930f7fff libmacho.dylib (800.0.0 - compatibility 1.0.0) /usr/lib/system/libmacho.dylib 0x7fff930f8000 - 0x7fff930fefff com.apple.DiskArbitration (2.4.1 - 2.4.1) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x7fff930ff000 - 0x7fff931a0ff7 com.apple.LaunchServices (480.42 - 480.42) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x7fff93aa2000 - 0x7fff93af6ff7 com.apple.ScalableUserInterface (1.0 - 1) <1873D7BE-2272-31A1-8F85-F70C4D706B3B> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface 0x7fff93af7000 - 0x7fff93b09ff7 libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib 0x7fff93b49000 - 0x7fff93b5cff7 libCRFSuite.dylib (??? - ???) <034D4DAA-63F0-35E4-BCEF-338DD7A453DD> /usr/lib/libCRFSuite.dylib

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 2 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 3695 thread_create: 1 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=162.5M resident=109.4M(67%) swapped_out_or_unallocated=53.1M(33%) Writable regions: Total=89.8M written=2320K(3%) resident=22.7M(25%) swapped_out=4K(0%) unallocated=67.1M(75%)

REGION TYPE VIRTUAL =========== ======= CG backing stores 1344K CG image 4K CG raster data 64K CG shared images 3448K CoreGraphics 16K CoreServices 3600K IOKit 172K MALLOC 58.8M MALLOC guard page 48K STACK GUARD 56.0M Stack 10.0M VM_ALLOCATE 16.1M __CI_BITMAP 80K DATA 12.8M IMAGE 528K LINKEDIT 51.8M TEXT 110.7M __UNICODE 544K mapped file 36.8M shared memory 1996K =========== ======= TOTAL 364.6M

Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f99 Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020 Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.19.22) Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en1 Serial ATA Device: TOSHIBA MK3265GSXF, 320.07 GB Serial ATA Device: HL-DT-ST DVDRW GS31N USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3 USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2 USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5 USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8 USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0253, 0xfa120000 / 4 USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2 USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

mspraggs commented 8 years ago

I think part of the problem may lie in the program being unable to find textures and so on when it's loaded. What we need is a cross-platform way of identifying the directory that contains the sprites and so on. The method of doing this differs between Windows, Linux and Mac, hence the need for a cross-platform method.

DivFord commented 8 years ago

Looks like you're probably right. The Apple way of doing things seems to be a Contents folder containing the executable, and a Resources folder containing the graphics etc. https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html

Any idea what the setup for Linux or Windows would be?

Fyll commented 8 years ago

I'll state up front that I know next to nothing about any of this, but if I'm not mistaken, you're saying that the executable doesn't know where the images and whatnot are, and the method for finding them is different for each OS? If so, one easy(-ish) solution would be to just eat these resources into the executable. It'd make the compile time stupidly large, but that should only be a concern at the end.

Alternatively, seeing as this is just a small indie thing, we could put a disclaimer in saying "leave it in this folder and no shortcutting", then just use relative paths.

mspraggs commented 8 years ago

No idea to be honest. In Windows I guess there'd be a directory in Program Files and we could do whatever in there. In Linux I guess the sprites might go in /usr/share/potentia or something.

We could use CMake to set a preprocessor variable that specifies the main sprites directory. I think CMake has some variables that specify what the operating system is, and you can define preprocessor stuff within CMake, so that's one possibility.

DivFord commented 8 years ago

My brother has a Windows desktop. I'll have a look around to see how things tend to be structured there.

Also, I'll try rearranging file paths on my version to see if that actually fixes anything.

mspraggs commented 8 years ago

Looking at my Windows partition, the layout is basically for the C drive to have three folders in: Program Files, Users and Windows. Program Files contains the programs installed on the system, each in its own folder. How each program structures the contents of those folders is really up to the makers of the program.

DivFord commented 8 years ago

This is clearly something we need to do eventually (if we want anyone to play the game, we have to make it accessible), but probably not something to focus on now. I won't close it, but ignore it for the moment.