Page 1 of 1

Crashes on load

PostPosted: Wed Aug 10, 2011 17:13
by Richard
Hi! :)

I'm running Windows XP SP3 and haven't yet got into the game. I downloaded it from your site so it's a good source.

When I run the EXE I get the following in the cmd window:
INFO: Settings: Setting not found: "help"
INFO: Settings: Setting not found: "dstream-on-stderr"
Using relative paths <RUN_IN_PLACE>
path_data = C:\Documents and Settings\Richard\Desktop\minetest-0.2.20110731_3-win32\bin/..data/
path_userdata = C:\Documents and Settings\Richard\Desktop\minetest-0.2.20110731_3_win32\bin/../
Irrlicht Engine version 1.7.2
Microsoft Windows XP Professional Service Pack 3 <Build 2600>
Using renderer: OpenGL 2.1.0
Mobile Intel(R) 4 Series Express Chipset Family: Intel
OpenGL driver version is 1.2 or better
GLSL version: 1.2
Unsupported texture format

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


I'm assuming it was caused by whatever the unsupported texture format error is.

Can anyone explain what this is please? :)


EDIT-
I haven't got any other texture packs other than what came with the download :)

PostPosted: Wed Aug 10, 2011 18:05
by Calinou
You probably need to update your graphic drivers.

PostPosted: Wed Aug 10, 2011 19:17
by Richard
I didn't even think of that! No idea why...
I'm having trouble installing it at the moment (even though it says it's installed in Device Manager) as it's saying it's not the correct hardware.. I'll work on it if that's all it could be :)

Thanks! :)

EDIT-
I've reinstalled the driver, it's definitely the latest driver. - However I'm still getting the same problem :/ Any other ideas?

EDIT 2-
Just thought I'd give a little more information. I opened up debug.txt and here's the end of the file:
In trans_func.
Access violation at 02308177 write?=0 address=0

20:46:28: ERROR: An unhandled exception occurred: Access violation

In thread 10bc:
z:\softat\minetest-hg\src\main.cpp:1681: main: Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 10bc:
#0 main

PostPosted: Wed Aug 10, 2011 22:20
by No-Half-Measures
Well that says an Entire If statement is Failing due to an Access Violation.

Are you using the most recent Build?
http://celeron.55.lt/~celeron55/minetest/download.php

If you are then are you an Administrator on that PC?
- If not you should make yourself one.

If you are, then make sure you have full access to all files and folder were you've stored the game. You can do this by going into properties on the folder all the game files and data is stored. Its been a while since i used XP so i'm a little rusty on say were things are ^^

Edit:

Ok after searching i found

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if(u == EXCEPTION_ACCESS_VIOLATION)
    {
        PEXCEPTION_RECORD r = pExp->ExceptionRecord;
        dstream<<"Access violation at "<<r->ExceptionAddress
                <<" write?="<<r->ExceptionInformation[0]
                <<" address="<<r->ExceptionInformation[1]
                <<std::endl;
        throw FatalSystemException
        ("Access violation");
    }


That probably makes no sense to you doesn't much sense to me but as far as i can gather it is a folder/file access issue, now on Vista and 7 this is easy to get past as you can run as Admin but im not so sure you can on XP, like i said been a while since i used XP but making sure you have Full access to all Files and Folders inside were the Data, bin, world folders are stored and all the files inside them should solve this, if not then i'm not sure what the issue is.

Edit:

Also reading you snippet from your Debug.txt there write?=0 which in most cases 0 = no and 1 = yes so assuming that in this situation it would appear you don't have full access to the files and folder were they are stored. I may be wrong though so do check.

PostPosted: Thu Aug 11, 2011 10:12
by celeron55
Access violation is the Windows counterpart of segmentation fault.

But that is not the original problem, it is just caused by bad error handling - the actual problem is "Unsupported texture format", but I can't really say much about that.

It's probably some problem either caused by OpenGL on your computer not accepting some dynamic textures made by the game or Irrlicht being somehow incompatible with your OpenGL.

I suggest trying to use direct3d9 as the graphics backend, by appending "video_driver = direct3d9" to the configuration file minetest.conf.

See http://celeron.55.lt/~celeron55/minetest/wiki/doku.php?id=configuration_file

PostPosted: Thu Aug 11, 2011 10:15
by No-Half-Measures
celeron55 wrote:Access violation is the Windows counterpart of segmentation fault.

But that is not the original problem, it is just caused by bad error handling - the actual problem is "Unsupported texture format", but I can't really say much about that.

It's probably some problem either caused by OpenGL on your computer not accepting some dynamic textures made by the game or Irrlicht being somehow incompatible with your OpenGL.

I suggest trying to use direct3d9 as the graphics backend, by appending "video_driver = direct3d9" to the configuration file minetest.conf.

See http://celeron.55.lt/~celeron55/minetest/wiki/doku.php?id=configuration_file


Ah my bad on my Misleading post in which case. Like I said doesn't much sense to me XD

PostPosted: Wed Aug 17, 2011 12:13
by Richard
Sorry for not getting back to my own thread.
Thanks celeron55 :) It worked! I remember now, I had a problem with OpenGL on some other game, reckon my graphics just doesn't like it, or isn't capable of it.

Thanks, No-Half-Measures, for your input! :) Muchly appreciated!