Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

initialiseAllResourceGroups #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
when the application run "initialiseAllResourceGroups" can happen error???

Original issue reported on code.google.com by freexlei...@gmail.com on 31 May 2012 at 3:52

GoogleCodeExporter commented 8 years ago
It is possible on older GPUs that it will crash there, when compiling shaders 
that are too much for your GPU.

Original comment by Cry...@gmail.com on 31 May 2012 at 7:19

GoogleCodeExporter commented 8 years ago
so,how to solve this problem?This application both version1.6 and version1.5 
are take the same error! when I am not bulid version1.6 ,the version1.5 can run 
very beautiful!

Original comment by freexlei...@gmail.com on 31 May 2012 at 7:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
you could finally include the logs here (everyone has to), i'm not a prophet to 
say what's wrong on your machine
so 1.5 runs and 1.6 not, strange

Original comment by Cry...@gmail.com on 31 May 2012 at 8:06

GoogleCodeExporter commented 8 years ago
sorry,I debug the application and find the problem ! the problem is 
initialiseResourceGroup("General") failed! when I modify the file  
"resources.cfg"
As follows:
[Loading]
Zip = hud/Loading.zip
FileSystem = loading

[General]
FileSystem = fonts
FileSystem = gui
#FileSystem = hud

FileSystem = materials
FileSystem = skies
FileSystem = terrain
FileSystem = terrain2
FileSystem = trees
FileSystem = particles
FileSystem = objects

FileSystem = tracks/_previews
FileSystem = cars/_previews

when I kill "#FileSystem = hud" this sentence,the "initialiseAllResourceGroups" 
is nomal. so I think the problem is happen in there! but ,I don't know how to 
solve this problem.

Original comment by freexlei...@gmail.com on 1 Jun 2012 at 12:58

GoogleCodeExporter commented 8 years ago
Man, include the ogre.log !
I need to know what gpu do you have, and which shaders are supported there.
Tell us also which OS is it, if that's not a freaking secret :]

I think this means some shaders from data/hud can't compile - which should be 
written in ogre.log if you included it ! Or some resources can't load from hud 
? would be strange, there is nothing special in hud dir, also could be in 
ogre.log.
There you have how to find it:
http://code.google.com/p/vdrift-ogre/wiki/Paths

Original comment by Cry...@gmail.com on 1 Jun 2012 at 6:43

GoogleCodeExporter commented 8 years ago
Hi,man! Maybe my computer is not support the Directx9!

Original comment by freexlei...@gmail.com on 3 Jun 2012 at 10:07

Attachments:

GoogleCodeExporter commented 8 years ago
hmm looks like a decent laptop
you're on windows so you have DX9 always

but you can try OpenGL
edit game.cfg to have this under [ video ]
rendersystem = OpenGL Rendering Subsystem

Original comment by Cry...@gmail.com on 3 Jun 2012 at 2:45

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 11 Jun 2012 at 4:13