historic_bruno Posted December 27, 2011 Report Share Posted December 27, 2011 Here's a screenshot and some system info:Based on your screenshot, I would say it's some weirdness with the camera position or input, because the UI and minimap are there, but there's no orange camera box in the minimap. It's probably offworld, which is why you see nothing, I've had a problem like this before on Windows. Try clicking on the minimap or scrolling, see if your camera comes back, and check that your mouse is not accidentally scrolling the map before the game loads. Either way I think this can be considered a bug. Quote Link to comment Share on other sites More sharing options...
Kimball Posted December 27, 2011 Report Share Posted December 27, 2011 I made sure the application wasn't selected (and thus not receiving input from the mouse) while it loaded and tried clicking on the map. I think you're right, it probably is a camera issue but I don't see any way of fixing it. Perhaps when I get through these build errors this issue will go away. My build could have been faulty somehow. Juicyfruit, I have boost version 1.48.0. I couldn't find any boost folder in /usr/local/include and I'm not sure if that's a problem. Quote Link to comment Share on other sites More sharing options...
infyquest Posted December 28, 2011 Report Share Posted December 28, 2011 you need to download daily snapshots of the source. sometimes projects like sdl dont have latest snapshots. hence i am against it and other reasons like some patches which are not in the main tree of original libraries might be needed, etc. I vote -1 for that proposal of having separate script to download sources and compile them Quote Link to comment Share on other sites More sharing options...
Juicyfruit Posted December 28, 2011 Report Share Posted December 28, 2011 Juicyfruit, I have boost version 1.48.0. I couldn't find any boost folder in /usr/local/include and I'm not sure if that's a problem.My bad, mac ports boost is in /opt/local/include/boost/ then if you have not changed the path.Ill try to help you this evening on IRC. Im in the western europe timezone. Not sure if that suits you ?I talked some with OS X maintainers from other projects and they seem to prefer static linking for release executables.I am trying to build a set of minimally configured ( as small as possible) static libs and the corresponding headers and modify the build to use those instead.My goal is to provide a package that allows the user to do a "just works" compile without having to install macports and a lot of libs. Quote Link to comment Share on other sites More sharing options...
atopuzov Posted December 28, 2011 Report Share Posted December 28, 2011 Hi,I have uploaded a new set of binaries for Mac OS X (on the first page) if anyone is interested. These are SDL 1.2 based (thanks for the link to the patch) and have scenario editor (wxwidgets 2.9).Best regardsAleksandar Quote Link to comment Share on other sites More sharing options...
Kimball Posted December 28, 2011 Report Share Posted December 28, 2011 Hi,I have uploaded a new set of binaries for Mac OS X (on the first page) if anyone is interested. These are SDL 1.2 based (thanks for the link to the patch) and have scenario editor (wxwidgets 2.9).Best regardsAleksandarThanks for the binaries, Aleksandar! I still get this black screen error with his binaries, so I'm starting to think it has something to do with my computer. Any way to troubleshoot it? Quote Link to comment Share on other sites More sharing options...
xy77 Posted December 28, 2011 Report Share Posted December 28, 2011 Hi,I have uploaded a new set of binaries for Mac OS X (on the first page) if anyone is interested. These are SDL 1.2 based (thanks for the link to the patch) and have scenario editor (wxwidgets 2.9).Best regardsAleksandarThe game starts (strangely yellow cursor) but crashes with the following log message (collapsed for readability's sake):Process: pyrogenesis [52235]Path: /Users/USER/Downloads/*/pyrogenesis.app/Contents/MacOS/pyrogenesisIdentifier: com.wildfiregames.app.pyrogenesisVersion: r10803 (r10803)Code Type: X86-64 (Native)Parent Process: launchd [308]Date/Time: 2011-12-28 16:09:09.442 +0100OS Version: Mac OS X 10.7.2 (11C74)Report Version: 9Interval Since Last Report: 3280441 secCrashes Since Last Report: 171Per-App Interval Since Last Report: 65 secPer-App Crashes Since Last Report: 8Anonymous UUID: 332C68E7-7876-4225-8568-A844CA5D45FDCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGTRAP)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:objc[52235]: garbage collection is OFFThread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x00007fff8985782a __kill + 101 com.wildfiregames.app.pyrogenesis 0x0000000104a98198 debug_break() + 402 com.wildfiregames.app.pyrogenesis 0x0000000104a6b59b unifont_linespacing(long long) + 753 com.wildfiregames.app.pyrogenesis 0x00000001048b2a3b CFont::GetLineSpacing() + 314 com.wildfiregames.app.pyrogenesis 0x00000001048e9a23 _ZL6InitPsbRK5CStrW10CScriptVal + 1955 com.wildfiregames.app.pyrogenesis 0x00000001048ebc02 InitGraphics(CmdLineArgs const&, int) + 21786 com.wildfiregames.app.pyrogenesis 0x00000001047d3f73 SDL_main + 15717 com.wildfiregames.app.pyrogenesis 0x0000000104aa2750 -[sDLMain applicationDidFinishLaunching:] + 488 com.apple.Foundation 0x00007fff90215de2 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 479 com.apple.CoreFoundation 0x00007fff884e3e0a _CFXNotificationPost + 263410 com.apple.Foundation 0x00007fff90202097 -[NSNotificationCenter postNotificationName:object:userInfo:] + 6511 com.apple.AppKit 0x00007fff8a57faa7 -[NSApplication _postDidFinishNotification] + 21212 com.apple.AppKit 0x00007fff8a57f80d -[NSApplication _sendFinishLaunchingNotification] + 7813 com.apple.AppKit 0x00007fff8a57e4d2 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 24214 com.apple.AppKit 0x00007fff8a57e233 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 33015 com.apple.CoreFoundation 0x00007fff8852d851 -[NSObject performSelector:withObject:withObject:] + 6516 com.apple.Foundation 0x00007fff9023889b __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 10117 com.apple.Foundation 0x00007fff90237822 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 28318 com.apple.Foundation 0x00007fff902376b0 _NSAppleEventManagerGenericHandler + 10519 com.apple.AE 0x00007fff8eb85c25 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 20020 com.apple.AE 0x00007fff8eb85b03 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 3821 com.apple.AE 0x00007fff8eb859f7 aeProcessAppleEvent + 25022 com.apple.HIToolbox 0x00007fff8baf8b6d AEProcessAppleEvent + 10223 com.apple.AppKit 0x00007fff8a57b63d _DPSNextEvent + 124724 com.apple.AppKit 0x00007fff8a57acf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 13525 com.apple.AppKit 0x00007fff8a57762d -[NSApplication run] + 47026 com.wildfiregames.app.pyrogenesis 0x0000000104aa2564 main + 144427 com.wildfiregames.app.pyrogenesis 0x00000001047d3624 start + 52If I try to run the game from the command line, the following output appears:Cache: 500 (total: 2048) MiBTIMER| InitVfs: 701 usTIMER| InitScripting: 8.467 msTIMER| CONFIG_Init: 1.248 msERROR: CVFSFile: file hwdetect/hwdetect.js couldn't be opened (vfs_load: -110100)ERROR: Failed to load hardware detection scriptTIMER| RunHardwareDetection: 236 usAPIC: not uniqueTIMER| write_sys_info: 18.091 msERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110100)ERROR: Failed to read grammar shaders/program.rngTIMER| InitRenderer: 2.895 msERROR: Failed to find font 'mono-10'unifont.cpp(230): Function call failed: return value was -110100 (VFS directory not found)Function call failed: return value was -110100 (VFS directory not found)Location: unifont.cpp:230 (unifont_linespacing)Call stack:(error while dumping stack: Function not supported)errno = 0 (No error reported here)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cunifont.cpp(244): Function call failed: return value was -110100 (VFS directory not found)Function call failed: return value was -110100 (VFS directory not found)Location: unifont.cpp:244 (unifont_character_width)Call stack:(error while dumping stack: Function not supported)errno = 0 (No error reported here)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cunifont.cpp(206): Function call failed: return value was -110100 (VFS directory not found)Function call failed: return value was -110100 (VFS directory not found)Location: unifont.cpp:206 (unifont_unload)Call stack:(error while dumping stack: Function not supported)errno = 0 (No error reported here)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cTIMER| ps_console: 70.5216 sTIMER| ps_lang_hotkeys: 672 usERROR: Failed to find file: "gui/page_pregame.xml"ERROR: Failed to find file: "shaders/model_common.xml"ERROR: Failed to load shader 'model_common'ERROR: Failed to find file: "shaders/solid_tex.xml"ERROR: Failed to load shader 'solid_tex'ERROR: Failed to find file: "shaders/solid.xml"ERROR: Failed to load shader 'solid'ERROR: Failed to find file: "shaders/solid_instancing.xml"ERROR: Failed to load shader 'solid_instancing'ERROR: Failed to find file: "shaders/solid_player.xml"ERROR: Failed to load shader 'solid_player'ERROR: Failed to find file: "shaders/solid_player_instancing.xml"ERROR: Failed to load shader 'solid_player_instancing'ERROR: Failed to find file: "shaders/solid_tex.xml"ERROR: Failed to load shader 'solid_tex'ERROR: Failed to find file: "shaders/model_common.xml"ERROR: Failed to load shader 'model_common'ERROR: Failed to find file: "shaders/model_common_instancing.xml"ERROR: Failed to load shader 'model_common_instancing'ERROR: Failed to find file: "shaders/model_common.xml"ERROR: Failed to load shader 'model_common'ERROR: Failed to find file: "shaders/model_common_instancing.xml"ERROR: Failed to load shader 'model_common_instancing'ERROR: Failed to find font 'mono-stroke-10'unifont.cpp(230): Function call failed: return value was -110100 (VFS directory not found)Function call failed: return value was -110100 (VFS directory not found)Location: unifont.cpp:230 (unifont_linespacing)Call stack:(error while dumping stack: Function not supported)errno = 0 (Error during IO)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cunifont.cpp(219): Function call failed: return value was -110100 (VFS directory not found)Function call failed: return value was -110100 (VFS directory not found)Location: unifont.cpp:219 (unifont_bind)Call stack:(error while dumping stack: Function not supported)errno = 0 (No error reported here)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cunifont.cpp(273): Assertion failed: "BoundGlyphs != NULL"Assertion failed: "BoundGlyphs != NULL"Location: unifont.cpp:273 (glvwprintf)Call stack:(error while dumping stack: Function not supported)errno = 0 (No error reported here)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cSegmentation fault: 11With the following error log:Process: pyrogenesis [52378]Path: /Users/USER/Downloads/*/pyrogenesis.app/Contents/MacOS/./pyrogenesisIdentifier: com.wildfiregames.app.pyrogenesisVersion: r10803 (r10803)Code Type: X86-64 (Native)Parent Process: bash [52340]Date/Time: 2011-12-28 16:20:13.400 +0100OS Version: Mac OS X 10.7.2 (11C74)Report Version: 9Interval Since Last Report: 3281100 secCrashes Since Last Report: 180Per-App Interval Since Last Report: 198 secPer-App Crashes Since Last Report: 17Anonymous UUID: 332C68E7-7876-4225-8568-A844CA5D45FDCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010VM Regions Near 0x10:--> __TEXT 0000000102d41000-000000010318d000 [ 4400K] r-x/rwx SM=COW /Users/USER/Downloads/*/pyrogenesis.app/Contents/MacOS/pyrogenesisApplication Specific Information:objc[52378]: garbage collection is OFFThread 0 Crashed:: Dispatch queue: com.apple.main-thread0 com.wildfiregames.app.pyrogenesis 0x0000000102fda967 glvwprintf(wchar_t const*, __va_list_tag*) + 2631 com.wildfiregames.app.pyrogenesis 0x0000000102fdabe4 glwprintf(wchar_t const*, ...) + 1482 com.wildfiregames.app.pyrogenesis 0x0000000102e0a786 CLogger::Render() + 4823 com.wildfiregames.app.pyrogenesis 0x0000000102e5cef1 Render() + 10254 com.wildfiregames.app.pyrogenesis 0x0000000102d43974 SDL_main + 41325 com.wildfiregames.app.pyrogenesis 0x0000000103011750 -[sDLMain applicationDidFinishLaunching:] + 486 com.apple.Foundation 0x00007fff90215de2 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 477 com.apple.CoreFoundation 0x00007fff884e3e0a _CFXNotificationPost + 26348 com.apple.Foundation 0x00007fff90202097 -[NSNotificationCenter postNotificationName:object:userInfo:] + 659 com.apple.AppKit 0x00007fff8a57faa7 -[NSApplication _postDidFinishNotification] + 21210 com.apple.AppKit 0x00007fff8a57f80d -[NSApplication _sendFinishLaunchingNotification] + 7811 com.apple.AppKit 0x00007fff8a57e4d2 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 24212 com.apple.AppKit 0x00007fff8a57e233 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 33013 com.apple.CoreFoundation 0x00007fff8852d851 -[NSObject performSelector:withObject:withObject:] + 6514 com.apple.Foundation 0x00007fff9023889b __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 10115 com.apple.Foundation 0x00007fff90237822 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 28316 com.apple.Foundation 0x00007fff902376b0 _NSAppleEventManagerGenericHandler + 10517 com.apple.AE 0x00007fff8eb85c25 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 20018 com.apple.AE 0x00007fff8eb85b03 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 3819 com.apple.AE 0x00007fff8eb859f7 aeProcessAppleEvent + 25020 com.apple.HIToolbox 0x00007fff8baf8b6d AEProcessAppleEvent + 10221 com.apple.AppKit 0x00007fff8a57b63d _DPSNextEvent + 124722 com.apple.AppKit 0x00007fff8a57acf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 13523 com.apple.AppKit 0x00007fff8a57762d -[NSApplication run] + 47024 com.wildfiregames.app.pyrogenesis 0x0000000103011564 main + 144425 com.wildfiregames.app.pyrogenesis 0x0000000102d42624 start + 52 Quote Link to comment Share on other sites More sharing options...
atopuzov Posted December 28, 2011 Report Share Posted December 28, 2011 (edited) The game starts (strangely yellow cursor) but crashes with the following log message (collapsed for readability's sake):Hi,Have downloaded the data file and unpacked it? These are only binaries since the data package is c/a 300mb. In the future I can make a self contained app (that has everything needed inside)ATM you have to have the data in ../data (sorry for that I will make a new version that looks for the data in the same directory in which the app resides).Best regardsAleksandarP.S.You should have a folder in which the game will reside eg. 0adImageAnd data files in the data folderImageAn the binaries in the folderImage Edited December 28, 2011 by atopuzov Quote Link to comment Share on other sites More sharing options...
atopuzov Posted December 28, 2011 Report Share Posted December 28, 2011 Thanks for the binaries, Aleksandar! I still get this black screen error with his binaries, so I'm starting to think it has something to do with my computer. Any way to troubleshoot it?Hi,What Mac OS version do you have? I have compiled this on 10.7 so for now it's the safest bet to try it on 10.7.I'll set up a build environment to target earlier versions of Mac OS X in the next few days.Best regardsAleksandar Quote Link to comment Share on other sites More sharing options...
xy77 Posted December 28, 2011 Report Share Posted December 28, 2011 (edited) Hi,Have downloaded the data file and unpacked it? These are only binaries since the data package is c/a 300mb. In the future I can make a self contained app (that has everything needed inside)ATM you have to have the data in ../data (sorry for that I will make a new version that looks for the data in the same directory in which the app resides).Best regardsAleksandarThe data archive has the folder data put below binaries, which got me confused. Thanks for the hint. It has to look like this:o 0AD folder `-o binaries or system or whatever you like | `-o pyrogenesis.app `-o data `-o config `-o mods `-o toolsHowever graphics look very strange on my external monitor.Anyway, great to be able to run the game.- David Edited December 28, 2011 by xy77 Quote Link to comment Share on other sites More sharing options...
atopuzov Posted December 28, 2011 Report Share Posted December 28, 2011 (edited) The data archive has the folder data put below binaries, which got me confused. Thanks for the hint. It has to look like this:o 0AD folder `-o binaries | `-o pyrogenesis.app `-o data `-o config `-o mods `-o toolsHi,Yup that's right. I'll fix that soon so it looks for the data right in directory as same as the app (slow upload speeds ;().Best regardsAleksandar Edited December 28, 2011 by atopuzov Quote Link to comment Share on other sites More sharing options...
Kimball Posted December 28, 2011 Report Share Posted December 28, 2011 Hi,What Mac OS version do you have? I have compiled this on 10.7 so for now it's the safest bet to try it on 10.7.I'll set up a build environment to target earlier versions of Mac OS X in the next few days.Best regardsAleksandar10.7.2 Quote Link to comment Share on other sites More sharing options...
atopuzov Posted December 28, 2011 Report Share Posted December 28, 2011 10.7.2Hi,Can you confirm that your directory structure looks like the one in the previous posts? Can you remove your .config/0ad (first backup your copy) and then start?Can you check .config/0ad/log for any errors.Best regardsAleksandar Quote Link to comment Share on other sites More sharing options...
Kimball Posted December 28, 2011 Report Share Posted December 28, 2011 Hi,Can you confirm that your directory structure looks like the one in the previous posts? Can you remove your .config/0ad (first backup your copy) and then start?Can you check .config/0ad/log for any errors.Best regardsAleksandarI have your binaries (pyrogenesis.app and ActorEditor.app) in my system folder. Everything else is the latest data from the private SVN repo. I don't think the error I'm getting is related to your binaries because I have the same problem with the ones I built on my system. I'm still having trouble diagnosing the problem, but I know it has something to do with the camera. One time I was able to see the map in Atlas but I couldn't edit anything in it. I'm not sure why it worked that one time. Quote Link to comment Share on other sites More sharing options...
feneur Posted December 29, 2011 Report Share Posted December 29, 2011 We just got an email about 0 A.D. for Mac being added in the Softpedia software library: http://mac.softpedia.com/get/Games/0-A-D.shtml , has anyone tested that? Quote Link to comment Share on other sites More sharing options...
Chakakhan Posted December 29, 2011 Report Share Posted December 29, 2011 How many of you guys can be on IRC during our regularly scheduled meeting this Saturday (1/31) at 16:30 GMT? That would be a good time for all of us to get together and discuss the best packaging solution for Mac. Quote Link to comment Share on other sites More sharing options...
Yves Posted December 29, 2011 Report Share Posted December 29, 2011 How many of you guys can be on IRC during our regularly scheduled meeting this Saturday (1/31) at 16:30 GMT?I think I can be there... even though it's New Year's Eve. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted December 29, 2011 Report Share Posted December 29, 2011 How many of you guys can be on IRC during our regularly scheduled meeting this Saturday (1/31) at 16:30 GMT? That would be a good time for all of us to get together and discuss the best packaging solution for Mac.You mean 12/31 I probably won't be there. Quote Link to comment Share on other sites More sharing options...
Kimball Posted December 29, 2011 Report Share Posted December 29, 2011 We just got an email about 0 A.D. for Mac being added in the Softpedia software library: http://mac.softpedia.com/get/Games/0-A-D.shtml , has anyone tested that?About 560 people apparently. But it's split into three files (binary, source and data), so I'm guessing it's from this thread. Quote Link to comment Share on other sites More sharing options...
atopuzov Posted December 29, 2011 Report Share Posted December 29, 2011 About 560 people apparently. But it's split into three files (binary, source and data), so I'm guessing it's from this thread.Hi,There is a 0.7 version from your main site http://releases.wildfiregames.com/thirdparty/0ad-r10288-alpha-mac.dmg and the 0.8 are only source & data no binaries.Best regardsAleksandar Quote Link to comment Share on other sites More sharing options...
feneur Posted December 29, 2011 Report Share Posted December 29, 2011 Hi,There is a 0.7 version from your main site http://releases.wildfiregames.com/thirdparty/0ad-r10288-alpha-mac.dmg and the 0.8 are only source & data no binaries.Best regardsAleksandarAha, I just wondered whether they might have gotten things to work on their own or something =) But alas no I hope you all will be able to get things working together though Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.