VOGONS

Common searches


Search results

Display options

Re: Openglide on MacOS X

I don't know what the map file is supposed to be, but try to replace that getch with some sleep or scanf or something (it is there just to make sure the program does not exit immediately). You could also add something like int i = some_really_big number; while(i--); 😀

Re: Openglide on MacOS X

Yeah, I've been thinking about this for a week too :) Those functions should not be failing, unless opengl failed to initialize properly. But if that were the case, SDL_SetVideoMode() should fail. The InitialiseOpenGLWindow() should probably be rewritten to return false if open window was …

Re: Openglide on MacOS X

Hm. Really strange... I've checked out 1.2.14, I don't see any differences that should be of concern. And as I understand, 1.2.14 is required for 10.6.1. Can you try to confirm it is the glGetString that is crashing. Perhaps you can put: GlideMsg( "Vendor : %s\n", glGetString( GL_VENDOR ) ); …

Re: Openglide on MacOS X

Can you post the contents of your modified grSstWinOpen() so that I can see exactly where this prints? These warnings can possibly be fixed by adding const to prototype of void GLErro( char *Funcao ). Change it to: Copy code to clipboard 1 void GLErro( const char *Funcao ) in GLutil.cpp and GlOgl …

Re: Openglide on MacOS X

It crashes after these lines? Then it must be InitWindow. Perhaps you can add some msg lines in InitWindow()? Also just below the InitialiseOpenGLWindow() in Glide.cpp (line 79), you can add: if(glGetString( GL_RENDERER ) == NULL) { GlideMsg( "glGetString( GL_RENDERER ) returned NULL!"); return …

Re: Glide patch

Ok, first let's try to copy the existing GlideMsg( "grSstWinOpen( %d, %d, %d, %d, %d, %d, %d )\n", hwnd, res, ref, cformat, org_loc, num_buffers, num_aux_buffers ); to the top of the function (line 249) so that we can see what parameters get passed. I still don't see where the code could crash with …

Re: Glide patch

Just add a couple of those GlideMsg() calls. It behaves just like printf and the message should end in openglid.log. You can add messages like: GlideMsg("Here"); ... GlideMsg("Still here"); ... and try to figure out where exactly it crashes :happyhappy: Since there is no grSstWinOpen message, I …

Re: Glide patch

It seems to crash in openglide again. Perhaps you can activate the logging (uncomment #define OGL_ALL in GlOgl.h, recompile and then post the contents of Openglid.log). Maybe add some more logging in grSstWinOpen() to see exactly where it crashes. I'm afraid grSstWinOpen + 181 doesn't tell me too …

Re: Glide patch

That means it is loading the original 3dfx glide2x.ovl not the dosbox modified one. Put the dosbox glide2x.ovl in the game directory. Make sure it matches the version of the patch (if you got the patch from this thread, take the ovl as well)

Page 26 of 74