Saturday, 2011-06-25

*** tpb has joined #freeorion00:00
*** STalKer-X has quit IRC03:19
*** STalKer-X has joined #freeorion03:21
*** StrangerDanger has joined #freeorion06:31
*** theTroy has joined #freeorion14:00
*** StrangerDanger has quit IRC14:51
*** neuro8 has joined #freeorion15:02
neuro8yaaay15:03
*** StrangerDanger has joined #freeorion15:27
GeofftheMedio?18:49
*** _Maru_ has joined #freeorion19:06
neuro8Any thought on why Combat won't work on the mac?19:17
GeofftheMedionope...  i have no way to investigate it.19:25
GeofftheMediodoes it work with v0.3.15 for you?19:25
neuro8You mean latest from svn?19:30
neuro8Or prior to the updates?19:30
GeofftheMediothe release labelled v0.3.15 on sourceforge, from the installer.19:31
neuro8Ah gotcha, I can try that good, call19:32
neuro8Of course, you don't have a mac I'm assuming so couldn't debug or even see what the issue might be19:33
GeofftheMedioyes; hence the above "i have no way to investigate it"19:33
neuro8lol19:35
neuro8Didn't know if you had heard from anyone else about it. I suppose I should just post on the forums about it19:36
neuro8It's not a big issue though.19:36
GeofftheMedioas far as I know, the tech demo works on macs in v0.3.1519:37
GeofftheMediobut i'm not very sure of that19:37
neuro8Gotcha19:38
neuro8Might be related to this http://www.ogre3d.org/forums/viewtopic.php?f=2&t=5793819:38
tpb<http://ln-s.net/8wfF> (at www.ogre3d.org)19:38
GeofftheMediowhat errors do you get in ogre.log?19:40
neuro8I 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)" but19:43
neuro8Oh one sec19:43
neuro8Ok, found it19:48
neuro8It's a bit. Should I post it on the forums?19:48
GeofftheMediosure19:49
neuro8http://www.freeorion.org/forum/viewtopic.php?f=25&t=5010&p=46539#p4653919:55
tpb<http://ln-s.net/8wfT> (at www.freeorion.org)19:55
GeofftheMediois that with v0.3.15 or the latest svn?19:58
neuro8latest svn19:59
neuro8i'm downloadin' the 3.1519:59
GeofftheMedioshould probably update whatever provides the version number on macs... still says v0.3.1419:59
GeofftheMediosome of the errors suggest you might just have insufficient opengl support20:03
*** theTroy1 has joined #freeorion20:03
GeofftheMedioeg. the vector of floats constructor error20:03
*** theTroy1 has quit IRC20:03
neuro8oh good call20:04
neuro8hmmm20:04
*** theTroy1 has joined #freeorion20:04
*** theTroy has quit IRC20:04
*** theTroy1 has quit IRC20:05
*** theTroy has joined #freeorion20:05
GeofftheMediocan you find what file contains the text "FreeOrion v0.3.14 [Rev 3571]" that's used to set the osx window title?20:06
neuro8Yes, one sec20:06
neuro8Version.cpp -     static const std::string retval = "v0.3.14 [Rev 3571]";20:06
neuro8I believe20:07
neuro8That's in the root of the XCode folder20:08
GeofftheMediodoesn't seem to be in SVN20:08
GeofftheMediomust come with the OSX SDK?20:08
GeofftheMediocan 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 problem20:11
neuro8Hm, I think so20:12
neuro8Do you want me to send you the Version.cpp file or commit it or something?20:12
neuro8I'll look into video drivers20:12
neuro8There'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
neuro8I'm using an NVIDIA GeForce 9400M apparently.20:16
GeofftheMediodo you have commit access?20:16
GeofftheMedioif so, it can be added, in the location that XCode expects it20:16
GeofftheMedioas long as that's within the xcode directory20:16
neuro8I don't know. I'll check20:17
neuro8Authentication realm: <https://freeorion.svn.sourceforge.net:443> SourceForge Subversion area20:26
neuro8Password for 'dominictancredi':20:26
neuro8Authentication realm: <https://freeorion.svn.sourceforge.net:443> SourceForge Subversion area20:26
neuro8Username: svn: Commit failed (details follow):20:26
neuro8svn: 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
tpbTitle: 400 Bad Request (at freeorion.svn.sourceforge.net:443)20:26
tpbTitle: 400 Bad Request (at freeorion.svn.sourceforge.net:443)20:26
tpbTitle: SourceForge.net Repository - [freeorion] Index of /SourceForge.net Repository - freeorion Index of / (at freeorion.svn.sourceforge.net)20:26
GeofftheMedioguess not20:28
neuro8Well, you know the file I guess. So... you could always commit whenever?20:44
neuro8Or wait you don't have the files20:44
GeofftheMedioI assume it's the same as the one in /msvc2010/src/20:57
neuro8Lemme check there20:59
neuro8It's close. That one says "    static const std::string retval = "post-v0.3.15 [SVN 4005] MSVC 2010";"21:00
neuro8Um21:00
neuro8This is what the XCode version is :21:00
GeofftheMediowhat's in the quotes isn't important21:01
GeofftheMediothe rest of the files are the same, though?21:01
neuro8#include "../util/Version.h"21:01
neuro8const 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
neuro8Yes. But the "include" is one level deep, not two21:01
GeofftheMediowhat's above the include?21:01
neuro8And 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
neuro8That's the entire file.21:01
neuro8I just copy-pasted it in here21:01
neuro8So 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 IRC21:04
neuro8FreeOrion.icns - it's an Apple Icon image used by XCode to give the app an icon21:04
GeofftheMediowhy do I need this?21:04
neuro8Anyone building on XCode would see an icon for the app. It's a 128x128 image and nice for Apps developed using XCode21:04
neuro8I don't know. Are you committing things to support XCode developers?21:05
GeofftheMedioI was just going to add Version.cpp ... is there a need to add other stuff?21:05
neuro8I'd add in that FreeOrion.icns file. It's nice and professional for mac devs to have21:09
GeofftheMedioit's already in the SDK, isn't it?21:11
CIA-19FreeOrion: geoffthemedio * r4009 /trunk/FreeOrion/ (7 files in 5 dirs):21:11
CIA-19FreeOrion: -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-19FreeOrion: -Added an XCode Version.cpp to SVN, which is reportedly in the correct place for the OSX SDK.21:11
CIA-19FreeOrion: -Removed unnecessary explicit on SpeciesSelector constructor and added it to EmpireColorSelector.21:11
GeofftheMedioI suppose the windows icon is in SVN.  Can you send / post the file?  I don't want to download the whole SDK21:11
neuro8FreeOrion.icns21:13
neuro8How...do I send it?21:13
GeofftheMediopost on forums?21:13
GeofftheMedioor pm on forums21:14
neuro8ok21:17
neuro8Weird, can't add a file in a pm21:19
neuro8Ok, pm'd21:42
neuro8Also, there are two ogre_plugins.cfg 's... one in the FreeOrion root folder, and another within the XCode project. That's kinda odd21:43
GeofftheMediohow are they different?21:44
neuro8This is the one in the FreeOrion root21:45
neuro8# Ogre 3D engine plugins to load21:45
neuro8# Plugin folder21:45
neuro8PluginFolder=.21:45
GeofftheMedionm they're in SVN21:45
neuro8# Plugins21:45
neuro8Plugin=RenderSystem_GL21:45
neuro8Plugin=Plugin_ParticleFX21:45
neuro8Plugin=Plugin_OctreeSceneManager21:45
neuro8Right21:45
neuro8You can see them both21:46
GeofftheMediothe cgprogrammanager stuff shouldn't be necessary21:46
GeofftheMediolooks like there's a different plugin directory specified, which is why there's a different version for XCodew21:46
GeofftheMedio-w21:46
GeofftheMedioactually, try removing the cgprogrammanager line21:46
GeofftheMedioand re-running21:46
neuro8Curious, ok21:47
GeofftheMedioprobly won't fix your shader crash, but shouldnt' be necessary regardless21:48
neuro8Cool, will do. I'm testing hiding or removing the planet.material21:48
neuro8Looks like21:48
neuro8this might be referencing that issue : http://openradar.appspot.com/612161521:48
tpbTitle: rdar://6121615: GLSL version 1.20 errors on float array constructors (at openradar.appspot.com)21:48
GeofftheMedioyou can probably get it to run by greatly simplifying the shader program21:50
GeofftheMedioremoving files might be more complicated since it might expect them to be there21:50
neuro8I'm not even sure where to simplify the shader program21:53
GeofftheMedioedit /default/data/art/combat/planets/meshes/planet_atmosphere.frag21:54
GeofftheMedioreplace everything in the {} with just gl_FragColor = vec4(1.0, 1.0, 1.0, 0.0);21:55
neuro8Gotcha found it21:56
neuro8k, did that and removed Plugin=Plugin_CgProgramManager21:57
neuro8Same error... weird. Maybe I need to do a "clean" on this21:58
GeofftheMediosame error, or similar error in a different file?21:59
GeofftheMediothere's probably more than one shader using arrays21:59
neuro8same and same22:02
neuro8Sorry I mean, same error, same... file22:02
neuro8planet.material22:02
neuro8Cleaned success. Now re-buildin' compiling22:02
GeofftheMediocompiling will make no difference22:02
GeofftheMediothe shaders are compiled at runtime by the graphics card22:02
GeofftheMediooh...22:03
GeofftheMediotry removing the array declaration line in the shader file22:03
GeofftheMedioprobly the most important part22:03
neuro8lol22:05
neuro8.frag and not .vert?22:05
neuro8delete these22:06
neuro8uniform sampler2D day_texture, night_texture, normal_texture, lights_texture;22:06
neuro8uniform int lights_channel;22:06
neuro8varying float diffuse;22:06
neuro8varying vec2 tex_coord;22:06
neuro8varying vec3 light_vec;22:06
neuro8const float TERMINATOR = 0.3;22:06
GeofftheMedio.frag causes the error, so edit .frag22:09
GeofftheMediojust delete the array line with the []22:09
neuro8There is no array line with []22:13
GeofftheMediooh, sorry.  edit atmosphereless_planet.frag not planet_atmosphere.frag22:15
GeofftheMedio.icns file goes in the root XCode directory?22:20
neuro8Yes22:28
neuro8There's also a .nib file now that I look at this that you should add...22:30
neuro8I can ftp that as well22:30
neuro8I tried deleting the reference... also an error :22:30
neuro82011-06-25 18:28:42.902 FreeOrion[21350:903] Unable to load nib file: main, exiting22:30
neuro818:36:50: Parsing script planet.material22:53
neuro818:36:50: Cannot compile GLSL high-level shader : atmosphereless_planet_frag ERROR: 0:27: 'array of float' : constructor not supported for type22:53
neuro8Ugh, this makes no sense. Why is it still showing up if I've edited this file...22:53
GeofftheMediois the wrong resource directory specified in config.xml ?22:54
neuro8Where is config.xml..22:55
GeofftheMediohttp://freeorion.org/index.php/Config.xml22:55
tpbTitle: 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
GeofftheMediois that where you edited files?22:59
neuro8This is a generated file / folder23:00
neuro8The hell...these files aren't changed at all!23:01
neuro8Guess it copied them up there and never re-copied23:03
neuro8Wow, it worked23:08
neuro8Though I have no ships23:08
neuro8And uh... can't do anything when I hit "done except zoom in and out23:09
GeofftheMedioit's not supposed to be working23:11
neuro8LoL ok, well it runs!23:12
neuro8So that's cool.23:12
neuro8If I get into a fight with a Mark 1, would it list the ship?23:12
neuro8This is really cool, zooming in and out focuses on my cursor. And wow, does it look great.23:12
GeofftheMediodunno23:13
CIA-19FreeOrion: geoffthemedio * r4010 /trunk/FreeOrion/ (4 files in 3 dirs):23:35
CIA-19FreeOrion: -Tweaked layout of some controls / removed unnecessary scroll bars23:35
CIA-19FreeOrion: -Removed cg plugin from XCode ogre_plugins.cfg23:35
CIA-19FreeOrion: -Tweaked NEW_FLEET strings to just be "Fleet Whatever" instead of "New Fleet Whatever" since the "New" is rather pointless...23:35
neuro8Cool23:38
neuro8You ever talk to tzlaine about v.4?23:43
GeofftheMediodefine ever23:48

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!