*** tpb has joined #freeorion | 00:00 | |
*** STalKer-X has quit IRC | 03:19 | |
*** STalKer-X has joined #freeorion | 03:21 | |
*** StrangerDanger has joined #freeorion | 06:31 | |
*** theTroy has joined #freeorion | 14:00 | |
*** StrangerDanger has quit IRC | 14:51 | |
*** neuro8 has joined #freeorion | 15:02 | |
neuro8 | yaaay | 15:03 |
---|---|---|
*** StrangerDanger has joined #freeorion | 15:27 | |
GeofftheMedio | ? | 18:49 |
*** _Maru_ has joined #freeorion | 19:06 | |
neuro8 | Any thought on why Combat won't work on the mac? | 19:17 |
GeofftheMedio | nope... i have no way to investigate it. | 19:25 |
GeofftheMedio | does it work with v0.3.15 for you? | 19:25 |
neuro8 | You mean latest from svn? | 19:30 |
neuro8 | Or prior to the updates? | 19:30 |
GeofftheMedio | the release labelled v0.3.15 on sourceforge, from the installer. | 19:31 |
neuro8 | Ah gotcha, I can try that good, call | 19:32 |
neuro8 | Of course, you don't have a mac I'm assuming so couldn't debug or even see what the issue might be | 19:33 |
GeofftheMedio | yes; hence the above "i have no way to investigate it" | 19:33 |
neuro8 | lol | 19:35 |
neuro8 | Didn't know if you had heard from anyone else about it. I suppose I should just post on the forums about it | 19:36 |
neuro8 | It's not a big issue though. | 19:36 |
GeofftheMedio | as far as I know, the tech demo works on macs in v0.3.15 | 19:37 |
GeofftheMedio | but i'm not very sure of that | 19:37 |
neuro8 | Gotcha | 19:38 |
neuro8 | Might be related to this http://www.ogre3d.org/forums/viewtopic.php?f=2&t=57938 | 19:38 |
tpb | <http://ln-s.net/8wfF> (at www.ogre3d.org) | 19:38 |
GeofftheMedio | what errors do you get in ogre.log? | 19:40 |
neuro8 | I compiled and build it with the argument for making ship combat available, and it still crashed with the previous "main() caught exception(std::exception): OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at /Users/jsiwek/src/ogre-1.7.0/OgreMain/src/OgreGpuProgramParams.cpp (line 1423)" but | 19:43 |
neuro8 | Oh one sec | 19:43 |
neuro8 | Ok, found it | 19:48 |
neuro8 | It's a bit. Should I post it on the forums? | 19:48 |
GeofftheMedio | sure | 19:49 |
neuro8 | http://www.freeorion.org/forum/viewtopic.php?f=25&t=5010&p=46539#p46539 | 19:55 |
tpb | <http://ln-s.net/8wfT> (at www.freeorion.org) | 19:55 |
GeofftheMedio | is that with v0.3.15 or the latest svn? | 19:58 |
neuro8 | latest svn | 19:59 |
neuro8 | i'm downloadin' the 3.15 | 19:59 |
GeofftheMedio | should probably update whatever provides the version number on macs... still says v0.3.14 | 19:59 |
GeofftheMedio | some of the errors suggest you might just have insufficient opengl support | 20:03 |
*** theTroy1 has joined #freeorion | 20:03 | |
GeofftheMedio | eg. the vector of floats constructor error | 20:03 |
*** theTroy1 has quit IRC | 20:03 | |
neuro8 | oh good call | 20:04 |
neuro8 | hmmm | 20:04 |
*** theTroy1 has joined #freeorion | 20:04 | |
*** theTroy has quit IRC | 20:04 | |
*** theTroy1 has quit IRC | 20:05 | |
*** theTroy has joined #freeorion | 20:05 | |
GeofftheMedio | can you find what file contains the text "FreeOrion v0.3.14 [Rev 3571]" that's used to set the osx window title? | 20:06 |
neuro8 | Yes, one sec | 20:06 |
neuro8 | Version.cpp - static const std::string retval = "v0.3.14 [Rev 3571]"; | 20:06 |
neuro8 | I believe | 20:07 |
neuro8 | That's in the root of the XCode folder | 20:08 |
GeofftheMedio | doesn't seem to be in SVN | 20:08 |
GeofftheMedio | must come with the OSX SDK? | 20:08 |
GeofftheMedio | can you try updating your video drivers? opengl 2.1, which you have, should support shader language 1.2 which should support float arrays, which is causing the problem | 20:11 |
neuro8 | Hm, I think so | 20:12 |
neuro8 | Do you want me to send you the Version.cpp file or commit it or something? | 20:12 |
neuro8 | I'll look into video drivers | 20:12 |
neuro8 | There's a few files that aren't "added". main.nib, a "bug" text file, FreeOrion.icns, and the "dep" folder that contains all dependencies. Probably best not to add / commit that though. Oh, and the "build" folder. | 20:13 |
neuro8 | I'm using an NVIDIA GeForce 9400M apparently. | 20:16 |
GeofftheMedio | do you have commit access? | 20:16 |
GeofftheMedio | if so, it can be added, in the location that XCode expects it | 20:16 |
GeofftheMedio | as long as that's within the xcode directory | 20:16 |
neuro8 | I don't know. I'll check | 20:17 |
neuro8 | Authentication realm: <https://freeorion.svn.sourceforge.net:443> SourceForge Subversion area | 20:26 |
neuro8 | Password for 'dominictancredi': | 20:26 |
neuro8 | Authentication realm: <https://freeorion.svn.sourceforge.net:443> SourceForge Subversion area | 20:26 |
neuro8 | Username: svn: Commit failed (details follow): | 20:26 |
neuro8 | svn: MKACTIVITY of '/svnroot/freeorion/!svn/act/37955784-acf7-4da4-a1f5-94fa1c58b330': authorization failed: Could not authenticate to server: rejected Basic challenge (https://freeorion.svn.sourceforge.net) | 20:26 |
neuro8 | :( | 20:26 |
tpb | Title: 400 Bad Request (at freeorion.svn.sourceforge.net:443) | 20:26 |
tpb | Title: 400 Bad Request (at freeorion.svn.sourceforge.net:443) | 20:26 |
tpb | Title: SourceForge.net Repository - [freeorion] Index of /SourceForge.net Repository - freeorion Index of / (at freeorion.svn.sourceforge.net) | 20:26 |
GeofftheMedio | guess not | 20:28 |
neuro8 | Well, you know the file I guess. So... you could always commit whenever? | 20:44 |
neuro8 | Or wait you don't have the files | 20:44 |
GeofftheMedio | I assume it's the same as the one in /msvc2010/src/ | 20:57 |
neuro8 | Lemme check there | 20:59 |
neuro8 | It's close. That one says " static const std::string retval = "post-v0.3.15 [SVN 4005] MSVC 2010";" | 21:00 |
neuro8 | Um | 21:00 |
neuro8 | This is what the XCode version is : | 21:00 |
GeofftheMedio | what's in the quotes isn't important | 21:01 |
GeofftheMedio | the rest of the files are the same, though? | 21:01 |
neuro8 | #include "../util/Version.h" | 21:01 |
neuro8 | const std::string& FreeOrionVersionString() | 21:01 |
neuro8 | { | 21:01 |
neuro8 | static const std::string retval = "v0.3.14 [Rev 3571]"; | 21:01 |
neuro8 | return retval; | 21:01 |
neuro8 | } | 21:01 |
neuro8 | Yes. But the "include" is one level deep, not two | 21:01 |
GeofftheMedio | what's above the include? | 21:01 |
neuro8 | And the definition of the string is within the file. Yeah I guess you could replace it, but you'd have to remove one of the ../ | 21:01 |
neuro8 | That's the entire file. | 21:01 |
neuro8 | I just copy-pasted it in here | 21:01 |
neuro8 | So if you create a "Version.cpp" and commit it up there, that's it. OR I could just post it on the forums I guess, or whatever file sharing thing. Or you download the mac Leopard project and you'll see it in there, along with the .icns file you'll need etc. | 21:02 |
GeofftheMedio | .icns file? | 21:03 |
*** theTroy has quit IRC | 21:04 | |
neuro8 | FreeOrion.icns - it's an Apple Icon image used by XCode to give the app an icon | 21:04 |
GeofftheMedio | why do I need this? | 21:04 |
neuro8 | Anyone building on XCode would see an icon for the app. It's a 128x128 image and nice for Apps developed using XCode | 21:04 |
neuro8 | I don't know. Are you committing things to support XCode developers? | 21:05 |
GeofftheMedio | I was just going to add Version.cpp ... is there a need to add other stuff? | 21:05 |
neuro8 | I'd add in that FreeOrion.icns file. It's nice and professional for mac devs to have | 21:09 |
GeofftheMedio | it's already in the SDK, isn't it? | 21:11 |
CIA-19 | FreeOrion: geoffthemedio * r4009 /trunk/FreeOrion/ (7 files in 5 dirs): | 21:11 |
CIA-19 | FreeOrion: -Incomplete changes to allow specifying different player types (player, observer) or adding AIs to multiplayer games. Partly added a droplist to select from various options for this on the setup screen. | 21:11 |
CIA-19 | FreeOrion: -Added an XCode Version.cpp to SVN, which is reportedly in the correct place for the OSX SDK. | 21:11 |
CIA-19 | FreeOrion: -Removed unnecessary explicit on SpeciesSelector constructor and added it to EmpireColorSelector. | 21:11 |
GeofftheMedio | I suppose the windows icon is in SVN. Can you send / post the file? I don't want to download the whole SDK | 21:11 |
neuro8 | FreeOrion.icns | 21:13 |
neuro8 | How...do I send it? | 21:13 |
GeofftheMedio | post on forums? | 21:13 |
GeofftheMedio | or pm on forums | 21:14 |
neuro8 | ok | 21:17 |
neuro8 | Weird, can't add a file in a pm | 21:19 |
neuro8 | Ok, pm'd | 21:42 |
neuro8 | Also, there are two ogre_plugins.cfg 's... one in the FreeOrion root folder, and another within the XCode project. That's kinda odd | 21:43 |
GeofftheMedio | how are they different? | 21:44 |
neuro8 | This is the one in the FreeOrion root | 21:45 |
neuro8 | # Ogre 3D engine plugins to load | 21:45 |
neuro8 | # Plugin folder | 21:45 |
neuro8 | PluginFolder=. | 21:45 |
GeofftheMedio | nm they're in SVN | 21:45 |
neuro8 | # Plugins | 21:45 |
neuro8 | Plugin=RenderSystem_GL | 21:45 |
neuro8 | Plugin=Plugin_ParticleFX | 21:45 |
neuro8 | Plugin=Plugin_OctreeSceneManager | 21:45 |
neuro8 | Right | 21:45 |
neuro8 | You can see them both | 21:46 |
GeofftheMedio | the cgprogrammanager stuff shouldn't be necessary | 21:46 |
GeofftheMedio | looks like there's a different plugin directory specified, which is why there's a different version for XCodew | 21:46 |
GeofftheMedio | -w | 21:46 |
GeofftheMedio | actually, try removing the cgprogrammanager line | 21:46 |
GeofftheMedio | and re-running | 21:46 |
neuro8 | Curious, ok | 21:47 |
GeofftheMedio | probly won't fix your shader crash, but shouldnt' be necessary regardless | 21:48 |
neuro8 | Cool, will do. I'm testing hiding or removing the planet.material | 21:48 |
neuro8 | Looks like | 21:48 |
neuro8 | this might be referencing that issue : http://openradar.appspot.com/6121615 | 21:48 |
tpb | Title: rdar://6121615: GLSL version 1.20 errors on float array constructors (at openradar.appspot.com) | 21:48 |
GeofftheMedio | you can probably get it to run by greatly simplifying the shader program | 21:50 |
GeofftheMedio | removing files might be more complicated since it might expect them to be there | 21:50 |
neuro8 | I'm not even sure where to simplify the shader program | 21:53 |
GeofftheMedio | edit /default/data/art/combat/planets/meshes/planet_atmosphere.frag | 21:54 |
GeofftheMedio | replace everything in the {} with just gl_FragColor = vec4(1.0, 1.0, 1.0, 0.0); | 21:55 |
neuro8 | Gotcha found it | 21:56 |
neuro8 | k, did that and removed Plugin=Plugin_CgProgramManager | 21:57 |
neuro8 | Same error... weird. Maybe I need to do a "clean" on this | 21:58 |
GeofftheMedio | same error, or similar error in a different file? | 21:59 |
GeofftheMedio | there's probably more than one shader using arrays | 21:59 |
neuro8 | same and same | 22:02 |
neuro8 | Sorry I mean, same error, same... file | 22:02 |
neuro8 | planet.material | 22:02 |
neuro8 | Cleaned success. Now re-buildin' compiling | 22:02 |
GeofftheMedio | compiling will make no difference | 22:02 |
GeofftheMedio | the shaders are compiled at runtime by the graphics card | 22:02 |
GeofftheMedio | oh... | 22:03 |
GeofftheMedio | try removing the array declaration line in the shader file | 22:03 |
GeofftheMedio | probly the most important part | 22:03 |
neuro8 | lol | 22:05 |
neuro8 | .frag and not .vert? | 22:05 |
neuro8 | delete these | 22:06 |
neuro8 | uniform sampler2D day_texture, night_texture, normal_texture, lights_texture; | 22:06 |
neuro8 | uniform int lights_channel; | 22:06 |
neuro8 | varying float diffuse; | 22:06 |
neuro8 | varying vec2 tex_coord; | 22:06 |
neuro8 | varying vec3 light_vec; | 22:06 |
neuro8 | const float TERMINATOR = 0.3; | 22:06 |
GeofftheMedio | .frag causes the error, so edit .frag | 22:09 |
GeofftheMedio | just delete the array line with the [] | 22:09 |
neuro8 | There is no array line with [] | 22:13 |
GeofftheMedio | oh, sorry. edit atmosphereless_planet.frag not planet_atmosphere.frag | 22:15 |
GeofftheMedio | .icns file goes in the root XCode directory? | 22:20 |
neuro8 | Yes | 22:28 |
neuro8 | There's also a .nib file now that I look at this that you should add... | 22:30 |
neuro8 | I can ftp that as well | 22:30 |
neuro8 | I tried deleting the reference... also an error : | 22:30 |
neuro8 | 2011-06-25 18:28:42.902 FreeOrion[21350:903] Unable to load nib file: main, exiting | 22:30 |
neuro8 | 18:36:50: Parsing script planet.material | 22:53 |
neuro8 | 18:36:50: Cannot compile GLSL high-level shader : atmosphereless_planet_frag ERROR: 0:27: 'array of float' : constructor not supported for type | 22:53 |
neuro8 | Ugh, this makes no sense. Why is it still showing up if I've edited this file... | 22:53 |
GeofftheMedio | is the wrong resource directory specified in config.xml ? | 22:54 |
neuro8 | Where is config.xml.. | 22:55 |
GeofftheMedio | http://freeorion.org/index.php/Config.xml | 22:55 |
tpb | Title: Config.xml - FreeOrionWiki (at freeorion.org) | 22:55 |
neuro8 | <resource-dir>/Users/dominictancredi/Library/Developer/Xcode/DerivedData/FreeOrion-bakjrwhkugakymavqbqvvwodfxcz/Build/Products/Debug/FreeOrion.app/Contents/Resources/default</resource-dir> | 22:58 |
GeofftheMedio | is that where you edited files? | 22:59 |
neuro8 | This is a generated file / folder | 23:00 |
neuro8 | The hell...these files aren't changed at all! | 23:01 |
neuro8 | Guess it copied them up there and never re-copied | 23:03 |
neuro8 | Wow, it worked | 23:08 |
neuro8 | Though I have no ships | 23:08 |
neuro8 | And uh... can't do anything when I hit "done except zoom in and out | 23:09 |
GeofftheMedio | it's not supposed to be working | 23:11 |
neuro8 | LoL ok, well it runs! | 23:12 |
neuro8 | So that's cool. | 23:12 |
neuro8 | If I get into a fight with a Mark 1, would it list the ship? | 23:12 |
neuro8 | This is really cool, zooming in and out focuses on my cursor. And wow, does it look great. | 23:12 |
GeofftheMedio | dunno | 23:13 |
CIA-19 | FreeOrion: geoffthemedio * r4010 /trunk/FreeOrion/ (4 files in 3 dirs): | 23:35 |
CIA-19 | FreeOrion: -Tweaked layout of some controls / removed unnecessary scroll bars | 23:35 |
CIA-19 | FreeOrion: -Removed cg plugin from XCode ogre_plugins.cfg | 23:35 |
CIA-19 | FreeOrion: -Tweaked NEW_FLEET strings to just be "Fleet Whatever" instead of "New Fleet Whatever" since the "New" is rather pointless... | 23:35 |
neuro8 | Cool | 23:38 |
neuro8 | You ever talk to tzlaine about v.4? | 23:43 |
GeofftheMedio | define ever | 23:48 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!