RUNNING WITH RIFLES http://www.runningwithrifles.com/phpBB3/ |
|
OGRE EXCEPTION 2 http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=5&t=1156 |
Page 1 of 1 |
Author: | thebestnoobcake [ Fri Apr 26, 2013 10:33 am ] |
Post subject: | OGRE EXCEPTION 2 |
Hi guys, I've been lurking for a while, but google search (site: rwr forums), and the forum search aren't helping me. I'm getting OGRE EXCEPTION 2. The named parameters one. I can't find anyone else who got this. I can see plenty of the number 3, 6, and 7, but no 2. Is there a solution? OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1423) |
Author: | pasik [ Fri Apr 26, 2013 10:47 am ] |
Post subject: | Re: OGRE EXCEPTION 2 |
Sounds like it could be a shader issue. Can you post your rwr_game.log? It's at C:\ProgramData\Running with rifles\. |
Author: | thebestnoobcake [ Fri Apr 26, 2013 11:52 am ] |
Post subject: | Re: OGRE EXCEPTION 2 |
20:26:51: Creating resource group General 20:26:51: Creating resource group Internal 20:26:51: Creating resource group Autodetect 20:26:51: SceneManagerFactory for type 'DefaultSceneManager' registered. 20:26:51: Registering ResourceManager for type Material 20:26:51: Registering ResourceManager for type Mesh 20:26:51: Registering ResourceManager for type Skeleton 20:26:51: MovableObjectFactory for type 'ParticleSystem' registered. 20:26:51: OverlayElementFactory for type Panel registered. 20:26:51: OverlayElementFactory for type BorderPanel registered. 20:26:51: OverlayElementFactory for type TextArea registered. 20:26:51: Registering ResourceManager for type Font 20:26:51: ArchiveFactory for archive type FileSystem registered. 20:26:51: ArchiveFactory for archive type Zip registered. 20:26:51: DDS codec registering 20:26:51: FreeImage version: 3.13.1 20:26:51: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 20:26:51: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz 20:26:51: Registering ResourceManager for type HighLevelGpuProgram 20:26:51: Registering ResourceManager for type Compositor 20:26:51: MovableObjectFactory for type 'Entity' registered. 20:26:51: MovableObjectFactory for type 'Light' registered. 20:26:51: MovableObjectFactory for type 'BillboardSet' registered. 20:26:51: MovableObjectFactory for type 'ManualObject' registered. 20:26:51: MovableObjectFactory for type 'BillboardChain' registered. 20:26:51: MovableObjectFactory for type 'RibbonTrail' registered. 20:26:51: *-*-* OGRE Initialising 20:26:51: *-*-* Version 1.7.2 (Cthugha) 20:26:51: : initializing graphics 20:26:51: : loading plugins 20:26:51: Loading library RenderSystem_Direct3D9 20:26:51: Installing plugin: D3D9 RenderSystem 20:26:51: D3D9 : Direct3D9 Rendering Subsystem created. 20:26:51: D3D9: Driver Detection Starts 20:26:51: D3D9: Driver Detection Ends 20:26:51: Plugin successfully installed 20:26:51: Loading library Plugin_CgProgramManager 20:26:51: Installing plugin: Cg Program Manager 20:26:51: Plugin successfully installed 20:26:51: Loading library Plugin_OctreeSceneManager 20:26:51: Installing plugin: Octree & Terrain Scene Manager 20:26:51: Plugin successfully installed 20:26:51: Loading library Plugin_ParticleFX 20:26:51: Installing plugin: ParticleFX 20:26:51: Particle Emitter Type 'Point' registered 20:26:51: Particle Emitter Type 'Box' registered 20:26:51: Particle Emitter Type 'Ellipsoid' registered 20:26:51: Particle Emitter Type 'Cylinder' registered 20:26:51: Particle Emitter Type 'Ring' registered 20:26:51: Particle Emitter Type 'HollowEllipsoid' registered 20:26:51: Particle Affector Type 'LinearForce' registered 20:26:51: Particle Affector Type 'ColourFader' registered 20:26:51: Particle Affector Type 'ColourFader2' registered 20:26:51: Particle Affector Type 'ColourImage' registered 20:26:51: Particle Affector Type 'ColourInterpolator' registered 20:26:51: Particle Affector Type 'Scaler' registered 20:26:51: Particle Affector Type 'Rotator' registered 20:26:51: Particle Affector Type 'DirectionRandomiser' registered 20:26:51: Particle Affector Type 'DeflectorPlane' registered 20:26:51: Plugin successfully installed 20:26:51: : initializing render system 20:26:51: : antialias=0 20:26:51: D3D9 : RenderSystem Option: Allow NVPerfHUD = No 20:26:51: D3D9 : RenderSystem Option: Floating-point mode = Fastest 20:26:51: D3D9 : RenderSystem Option: VSync Interval = 1 20:26:51: D3D9 : RenderSystem Option: FSAA = 0 20:26:51: D3D9 : RenderSystem Option: Full Screen = No 20:26:51: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No 20:26:51: D3D9 : RenderSystem Option: VSync = Yes 20:26:51: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour 20:26:51: : initializing render window 20:26:51: CPU Identifier & Features 20:26:51: ------------------------- 20:26:51: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz 20:26:51: * SSE: yes 20:26:51: * SSE2: yes 20:26:51: * SSE3: yes 20:26:51: * MMX: yes 20:26:51: * MMXEXT: yes 20:26:51: * 3DNOW: no 20:26:51: * 3DNOWEXT: no 20:26:51: * CMOV: yes 20:26:51: * TSC: yes 20:26:51: * FPU: yes 20:26:51: * PRO: yes 20:26:51: * HT: no 20:26:51: ------------------------- 20:26:51: D3D9 : Subsystem Initialising 20:26:51: Registering ResourceManager for type Texture 20:26:51: Registering ResourceManager for type GpuProgram 20:26:51: D3D9RenderSystem::_createRenderWindow "RUNNING WITH RIFLES (c) Modulaatio Games 2013", 1024x768 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=true vsyncInterval=1 20:26:51: D3D9 : Created D3D9 Rendering Window 'RUNNING WITH RIFLES (c) Modulaatio Games 2013' : 1008x700, 32bpp 20:26:51: RenderSystem capabilities 20:26:51: ------------------------- 20:26:51: RenderSystem Name: Direct3D9 Rendering Subsystem 20:26:51: GPU Vendor: intel 20:26:51: Device Name: Monitor-1-Mobile Intel(R) 945 Express Chipset Family 20:26:51: Driver Version: 8.14.10.1930 20:26:51: * Fixed function pipeline: yes 20:26:51: * Hardware generation of mipmaps: yes 20:26:51: * Texture blending: yes 20:26:51: * Anisotropic texture filtering: yes 20:26:51: * Dot product texture operation: yes 20:26:51: * Cube mapping: yes 20:26:51: * Hardware stencil buffer: yes 20:26:51: - Stencil depth: 8 20:26:51: - Two sided stencil support: yes 20:26:51: - Wrap stencil values: yes 20:26:51: * Hardware vertex / index buffers: yes 20:26:51: * Vertex programs: no 20:26:51: * Number of floating-point constants for vertex programs: 15 20:26:51: * Number of integer constants for vertex programs: 0 20:26:51: * Number of boolean constants for vertex programs: 0 20:26:51: * Fragment programs: yes 20:26:51: * Number of floating-point constants for fragment programs: 32 20:26:51: * Number of integer constants for fragment programs: 16 20:26:51: * Number of boolean constants for fragment programs: 16 20:26:51: * Geometry programs: no 20:26:51: * Number of floating-point constants for geometry programs: 0 20:26:51: * Number of integer constants for geometry programs: 0 20:26:51: * Number of boolean constants for geometry programs: 0 20:26:51: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 20:26:51: * Texture Compression: yes 20:26:51: - DXT: yes 20:26:51: - VTC: no 20:26:51: - PVRTC: no 20:26:51: * Scissor Rectangle: yes 20:26:51: * Hardware Occlusion Query: no 20:26:51: * User clip planes: no 20:26:51: * VET_UBYTE4 vertex element type: no 20:26:51: * Infinite far plane projection: no 20:26:51: * Hardware render-to-texture: yes 20:26:51: * Floating point textures: no 20:26:51: * Non-power-of-two textures: yes (limited) 20:26:51: * Volume textures: yes 20:26:51: * Multiple Render Targets: 1 20:26:51: - With different bit depths: no 20:26:51: * Point Sprites: yes 20:26:51: * Extended point parameters: yes 20:26:51: * Max Point Size: 10 20:26:51: * Vertex texture fetch: no 20:26:51: * Number of world matrices: 0 20:26:51: * Number of texture units: 8 20:26:51: * Stencil buffer depth: 8 20:26:51: * Number of vertex blend matrices: 0 20:26:51: * Render to Vertex Buffer : no 20:26:51: * DirectX per stage constants: yes 20:26:51: *************************************** 20:26:51: *** D3D9 : Subsystem Initialised OK *** 20:26:51: *************************************** 20:26:51: DefaultWorkQueue('Root') initialising on thread 003E2690. 20:26:51: Particle Renderer Type 'billboard' registered 20:26:51: SceneManagerFactory for type 'OctreeSceneManager' registered. 20:26:51: SceneManagerFactory for type 'TerrainSceneManager' registered. 20:26:51: DefaultWorkQueue('Root')::WorkerFunc - thread 003F5B00 starting. 20:26:51: Added resource location 'media' of type 'FileSystem' to resource group 'General' 20:26:51: Added resource location 'media/textures_splash' of type 'FileSystem' to resource group 'General' 20:26:51: DefaultWorkQueue('Root')::WorkerFunc - thread 003F5B30 starting. 20:26:51: Added resource location 'media/packages/vanilla/fonts' of type 'FileSystem' to resource group 'General' 20:26:51: Added resource location 'media/data3.pak' of type 'Zip' to resource group 'General' 20:26:51: Added resource location 'media/data2.pak' of type 'Zip' to resource group 'General' 20:26:51: Parsing scripts for resource group Autodetect 20:26:51: Finished parsing scripts for resource group Autodetect 20:26:51: Parsing scripts for resource group General 20:26:51: Parsing script ShadowCaster.program 20:26:51: Parsing script AmbientOcclusion.program 20:26:51: Parsing script StdQuad_vp.program 20:26:51: Parsing script Intro.material 20:26:51: Parsing script ShadowCaster.material 20:26:51: Parsing script AmbientOcclusion.material 20:26:51: Parsing script AmbientOcclusion.compositor 20:26:51: Parsing script basic_font.fontdef 20:26:51: Parsing script basic_font_italic.fontdef 20:26:51: Parsing script basic_font_outline.fontdef 20:26:51: Finished parsing scripts for resource group General 20:26:51: Parsing scripts for resource group Internal 20:26:51: Finished parsing scripts for resource group Internal 20:26:51: : initializing scene manager 20:26:51: TerrainSceneManager: Registered a new PageSource for type Heightmap 20:26:51: WARNING: material AmbientOcclusion has no supportable Techniques and will be blank. Explanation: Pass 0: Vertex program Ogre/Compositor/StdQuad_Tex2a_vp cannot be used - not supported. Pass 0: Vertex program Ogre/Compositor/StdQuad_Tex2a_vp cannot be used - not supported. 20:26:51: WARNING: material AmbientOcclusion has no supportable Techniques and will be blank. Explanation: Pass 0: Vertex program Ogre/Compositor/StdQuad_Tex2a_vp cannot be used - not supported. Pass 0: Vertex program Ogre/Compositor/StdQuad_Tex2a_vp cannot be used - not supported. 20:26:51: CompositorChain: Compositor AmbientOcclusion has no supported techniques. 20:26:51: : initializing fonts 20:26:51: : initializing audio 20:26:51: : audio devices found: 1 20:26:51: : audio enabled 20:26:51: : 0: Generic Software 20:26:51: : using device 0 20:26:51: : initializing input 20:26:51: : using metagame: in=\\.\pipe\rwr_server_in, out=\\.\pipe\rwr_server_out 20:26:51: : RUNNING WITH RIFLES, version beta 0.861 20:26:51: : Map resource location set as media/packages/vanilla/maps/map2 20:26:51: : Using application folder C:\ProgramData/Running with rifles/ 20:26:51: : Using save subfolder map2 20:26:51: : Using save path C:\ProgramData/Running with rifles/savegames/map2/ 20:26:51: Texture: black.png: Loading 1 faces(PF_R8G8B8,64x64x1) with 0 generated mipmaps from Image. Internal format is PF_X8R8G8B8,64x64x1. 20:26:51: Texture: splash.png: Loading 1 faces(PF_A8R8G8B8,700x91x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,700x91x1. 20:26:52: : latest available version: beta 0.861 20:26:52: : application start done 20:26:52: : run simulation 20:26:52: : rendering the first frame 20:26:52: Texture: basic_font_outline.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1. 20:26:52: : first frame rendered ok 20:26:52: : adding frame listener 20:26:52: : starting rendering loop 20:26:53: : game init start 20:26:53: Creating resource group sessionResourceGroup 20:26:53: : adding package resource location media/packages/vanilla/ 20:26:53: Added resource location 'media/packages/vanilla/factions' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/fonts' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/models' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/names' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/particles' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/sounds' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/textures' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/weapons' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/vehicles' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/items' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/packages/vanilla/maps/map2' of type 'FileSystem' to resource group 'sessionResourceGroup' 20:26:53: Added resource location 'media/data1.pak' of type 'Zip' to resource group 'sessionResourceGroup' 20:26:53: Initialising resource group sessionResourceGroup 20:26:53: Parsing scripts for resource group sessionResourceGroup 20:26:53: Parsing script Building.program 20:26:53: Parsing script NormalAndDepth.program 20:26:53: Parsing script soldieroutline.program 20:26:53: Parsing script soldierskin.program 20:26:53: Parsing script StdQuad_vp.program 20:26:53: Parsing script terrain.program 20:26:53: Parsing script tools.program 20:26:53: Parsing script WaterArea.program 20:26:53: Parsing script material.material 20:26:53: Parsing script flash.material 20:26:53: Parsing script BackContour.material 20:26:53: Parsing script Blood.material 20:26:53: Parsing script Branch.material 20:26:53: Parsing script Building.material 20:26:53: Parsing script Bullet.material 20:26:53: Parsing script BulletTrail.material 20:26:53: Parsing script BushPlant.material 20:26:53: Parsing script ChatBubble.material 20:26:53: Parsing script Cord.material 20:26:53: Parsing script Crate.material 20:26:53: Parsing script Crosshair.material 20:26:53: Parsing script Dust.material 20:26:53: Parsing script Explosion.material 20:26:53: Parsing script Flame.material 20:26:53: Parsing script Foam.material 20:26:53: Parsing script GenericColoredMesh.material 20:26:53: Parsing script GenericDecal.material 20:26:53: Parsing script GenericMesh.material 20:26:53: Parsing script GenericVehicle.material 20:26:53: Parsing script GrenadeCrate.material 20:26:53: Parsing script Hud.material 20:26:53: Parsing script InventoryView.material 20:26:53: Parsing script lines.material 20:26:53: Parsing script MapView.material 20:26:53: Parsing script MenuSystem.material 20:26:53: Parsing script MiniRank.material 20:26:53: Parsing script NormalAndDepth.material 20:26:53: Parsing script Piece.material 20:26:53: Parsing script Plant.material 20:26:53: Parsing script Platform.material 20:26:53: Parsing script PlayerFarMarker.material 20:26:53: Parsing script PlayerMarker.material 20:26:53: Parsing script ShadowPixel.material 20:26:53: Parsing script ShadowPlant.material 20:26:53: Parsing script ShoePrint.material 20:26:53: Parsing script Sign.material 20:26:53: Parsing script Soldier3dPixel.material 20:26:53: Parsing script TreeGroundBase.material 20:26:53: Parsing script TrophyView.material 20:26:53: Parsing script Wall.material 20:26:53: Parsing script WaterArea.material 20:26:53: Parsing script Weapon3dPixel.material 20:26:53: Parsing script Weave.material 20:26:53: Parsing script big_muzzle.particle 20:26:53: Parsing script burst_repeat.particle 20:26:53: Parsing script flash.particle 20:26:53: Parsing script law_muzzle.particle 20:26:53: Parsing script propulsion.particle 20:26:53: Parsing script shield_burst.particle 20:26:53: Parsing script Burst.particle 20:26:53: Parsing script Dust.particle 20:26:53: Parsing script Explosion.particle 20:26:53: Parsing script Foam.particle 20:26:53: Parsing script MinorExplosion.particle 20:26:53: Parsing script Muzzle.particle 20:26:53: Parsing script basic_font.fontdef 20:26:53: Parsing script basic_font_italic.fontdef 20:26:53: Parsing script basic_font_outline.fontdef 20:26:53: Finished parsing scripts for resource group sessionResourceGroup 20:26:53: : r=12582 20:26:53: : loading factions in media/packages/vanilla/maps/map2/map_config.xml 20:26:53: : loading faction in media/packages/vanilla/factions/green.xml 20:26:53: : loading names in media/packages/vanilla/names/goodies_firstnames.txt 20:26:53: : loading names in media/packages/vanilla/names/goodies_lastnames.txt 20:26:53: : loading faction in media/packages/vanilla/factions/grey.xml 20:26:53: : loading names in media/packages/vanilla/names/baddies_firstnames.txt 20:26:53: : loading names in media/packages/vanilla/names/baddies_lastnames.txt 20:26:53: : map config factions loaded 20:26:53: : common sounds loaded 20:26:53: : loading terrain layers 20:26:53: : initializing terrain 20:26:53: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1423) |
Author: | thebestnoobcake [ Fri Apr 26, 2013 11:53 am ] |
Post subject: | Re: OGRE EXCEPTION 2 |
Welp. That's the entire log. You mentioned shader issues? Do I need to have pixel shader? Because this current machine has an integrated card without any pixel/vertex shader. |
Author: | JackMayol [ Fri Apr 26, 2013 12:15 pm ] |
Post subject: | Re: OGRE EXCEPTION 2 |
You gpu (Intel 945) supports only shader model 2.0. Most shaders in RWR use SM 2.x. But even IF it would support it, I am not sure you'd be able to run the game with a decent framerate anyway ![]() |
Author: | thebestnoobcake [ Fri Apr 26, 2013 3:39 pm ] |
Post subject: | Re: OGRE EXCEPTION 2 |
Butts. Looks like a new laptop is in order... ;_; |
Author: | thebestnoobcake [ Fri Apr 26, 2013 3:40 pm ] |
Post subject: | Re: OGRE EXCEPTION 2 |
And many thank yous for replying so quickly! |
Author: | pasik [ Fri Apr 26, 2013 4:40 pm ] |
Post subject: | Re: OGRE EXCEPTION 2 |
Basically, RWR should be at least runnable without shaders, but truth to be told, this isn't frequently tested. Your GPU supports certain pixel shaders but not vertex shaders, I think Rendered used to have a similar GPU a while back and while RWR was working back then it was indeed working just barely, visuals being rather wrong and poor framerate. As it seems to fail especially at the postprocessing shader, you could try running RWR with "safemode" command line parameter to forcibly disable it. Another option is to try running it with "opengl" parameter. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |