
Is it correct that you added the F10 key event to the Console input handler instead of the regular one? This will only react if the console is turned on.
svenskmand {l Wrote}:I have now added support for the My Documents\Open Dungeons folder to save userconfig files, screenshots, replays, etc. in. The path to the place to put these files is now stored in a single line in user_files.cfg in the root OD directory. The same file is also used on Linux, here I make it point to ~/.opendungeons in the deb-package and finally in the tarball releases user_files.cfg should just contain "." to indicate that files will be save in the root OD directory. If people compiling from source wants them stored somewhere else they can edit the file themself.
So now you just need to take this file user_files.cfg into account in the game.
19:24:03: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program 1552867684_FS: The compile returned an error.
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
in CgProgram::loadFromSource at ../../../../../../PlugIns/CgProgramManager/src/OgreCgProgramManagerDll.cpp (line 67)
19:24:03: High-level program 1552867684_FS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program 1552867684_FS: The compile returned an error.
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
(0) : error C6007: Constant register limit exceeded; more than 32 constant registers needed to compiled program
in CgProgram::loadFromSource at ../../../../../../PlugIns/CgProgramManager/src/OgreCgProgramManagerDll.cpp (line 67)
19:24:03: OGRE EXCEPTION(2:InvalidParametersException): Could not create gpu programs from render state in ProgramManager::acquireGpuPrograms at ../../../../../../Components/RTShaderSystem/src/OgreShaderProgramManager.cpp (line 102)
19:24:03: Ogre exception:
OGRE EXCEPTION(2:InvalidParametersException): Could not create gpu programs from render state in ProgramManager::acquireGpuPrograms at ../../../../../../Components/RTShaderSystem/src/OgreShaderProgramManager.cpp (line 102)
oln {l Wrote}:The game has code for locating the home folder in both windows and linux and is in use (I think on linux "." is used if the environment variable that points to the data folder is not specified.). Though, being able to manually specify a location is probably useful as well.
void getProgramHomePath(string &out) {
#if defined WINDOWS
out = getenv("PROGRAMFILES");
#elif defined LINUX
out = getenv("HOME");
#elif defined OTHER_OS_YOU_SUPPORT
// code here
#else
#error Unkown platform!
#endif
}
StefanP.MUC {l Wrote}:I have an ATI Mobility Radeon 2600 HD with 512 MB VRAM with the latest drivers (from two days ago). It's DirectX 10 compatible and OpenGL 3.3. According to the Ogre forums this error could be if the graphics card doesn't support so much instructions. But my card is not 10 years old, it can run most current commercial games on medium to high graphics settings.
The DirectX renderer works perfectly, only the OpenGL one doesn't.
Maybe you have to set the minimum OpenGL or GLSL version in the code? My card/driver can handle OpenGL shader model 4.0, but not 5.0. Maybe there is the problem.
oln {l Wrote}:http://msdn.microsoft.com/en-us/library/bb762280%28v=vs.85%29.aspx
So in c:/users/<username> or similar it seems.
SHGetFolderPathA(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, user_path)
oln {l Wrote}:(Oh the joy of the windows API...)
Users browsing this forum: No registered users and 1 guest