Weird GLBasic problem

Previous topic - Next topic

makis

I'm running the latest version of GLBasic.

Desktop PC No1
Intel Core 2 Duo 6600
Nvidia 8800GTX 768MB ram

Desktop PC No2
Intel Pentium 4 3.0Ghz
Nvidia 7100GS

Laptop
Intel Atom 1.6Ghz
Intel 945 Express integrated.

I don't think it's a hardware issue. Maybe something is wrong with the C++ redistributable ?
I've also downloaded and installed net framework 2. I'm thinking of installing Service Pack 3.

MrTAToad

#31
It wont be the redistributable - that is only a problem if your running the 64-bit version of Vista.

The other possibility is to turn off threading support for the nVidia machines.

Certainly worth installing Service Pack 3

makis

how do i turn off threading support ?? In Nvidia's control panel there is no option for messing up with opengl. Blitzmax, purebasic, darkbasic pro, gamemaker run fine on my PC. Why GLBasic is so stubborn?

MrTAToad

#33
nVidia Control Panel -> 3D Settings -> Threaded Optimisation.

As for why your set of computers wont run GLBasic properly - I've no idea.  Everything is fine here (mixture of nVidia and ATI machines), not that its much help for you - its certainly something specific to you.

My XP OpenGL (OpenGL32.DLL) version is 5.1.2600.5512
You also need to make sure that DirectInput and DirectSound is working fine.


Kitty Hello

The threaded optimization bug (it was for Cel Shading only?) should have been fixed, already.

Is the program crashing, then you should get a notification message. If you don't get a message, the program seems to end nicely.
Post the errorlog.txt here.

Also, try this:

Code (glbasic) Select

WHILE TRUE
   DRAWRECT 0,0,320,320,RGB(255,0,0)
   SHOWSCREEN
WEND


If this is not working as well, there's something really, really bad.
Then it would be good to see a demo video of exaclty what you do. Maybe if helps finding the quirk then. It's very strange, since it's on 3 PCs I assume it's a user error, means you do something as it's not meant to be done. Would be good to see what, so I can yield an info message next time.

makis

I've managed to run some examples on my laptop. The same examples though don't run on my desktop PC.   

Kitty Hello here is the link with the video you asked for.
http://www.mediafire.com/?yer2dcotzdn

Thanks

MrTAToad

#36
Is that in debug or release mode ? 

makis

in release mode..

Kitty Hello

OK, the program loads up, and displays "Loading...". Thus, your OpenGL driver is OK.
But it immediately quits. What path name do you use for the project? Does it contain greek characters? Can you try copying it to C:\Temp and tra again?

Please post the Errorlog.txt. You can get with by typing into a console window:
Code (glbasic) Select

Notepad.exe "%TEMP%\ErrorLog.txt"


makis

Problem solved!! Gracias Kitty Hello =D. The path name i used to store the projects conatined greek characters! Sorry for waisting your time. This is a trully helpfull forum. One more thing , are there any plans for new tutorials?
I'm thinking of creating from scratch Pharaoh's Tomb again using GLBasic, however i can't find any tutorials for platform games..

FutureCow

How about adding that to a FAQ?

Hatonastick

Yay!  Great to hear!  If it is the Pharoah's Tomb I'm thinking of, wouldn't mind playing another version of that. :)

makis

Is it against the forum rules to post a link for Pharaoh's Tomb? I don't want to get banned so soon =D

MrTAToad

The only tutorials I know of for platform games are by JNR (http://jnrdev.72dpiarmy.com/en/jnrdev1/).  Its all in C, but should be easy enough to convert.

As for the Greek characters - it might be worth starting the conversion to unicode :)

Kitty Hello

Can you please upload a zip file with a folder that has this greek character in the file name?