|
|
apprentice
|
apprentice
Joined: Jun 2014
|
Maybe a mac variation of this? Old OpenGL games
Some old OpenGL games (approx. ten years or older) may crash during start-up because of an extension string buffer-overflow problem.
The problem is a modern OpenGL driver will return a very long string for the glGetString(GL_EXTENSIONS) query and if the application naively copies the string into a fixed-size buffer it can overflow the buffer and crash the application.
The work-around is to set the MESA_EXTENSION_MAX_YEAR environment variable to the approximate release year of the game. This will cause the glGetString(GL_EXTENSIONS) query to only report extensions older than the given year.
For example, if the game was released in 2001, do
export MESA_EXTENSION_MAX_YEAR=2001
before running the game. Obviously the solution is junk for a new game, and the game iteself may need to be adjusted, but the fact it crashed on a function that operates on strings in gl makes me suspect a similar 'naive' handingling.
Last edited by i30817; 11/07/14 08:16 PM.
|
|
|
Entire Thread
|
After v1.0.63 patch, unable to launch game, CTD
|
employeremployee
|
10/07/14 11:29 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
MetaMoose
|
11/07/14 12:08 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
employeremployee
|
11/07/14 12:15 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Raze
|
11/07/14 02:10 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
employeremployee
|
11/07/14 02:26 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Raze
|
11/07/14 02:50 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
employeremployee
|
11/07/14 02:54 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Stauff1138
|
11/07/14 06:17 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
hossa
|
11/07/14 08:17 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
john carmack
|
11/07/14 09:18 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Stauff1138
|
11/07/14 11:55 AM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Stauff1138
|
11/07/14 03:45 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
hisoka33
|
11/07/14 04:05 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
hossa
|
11/07/14 04:32 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
hisoka33
|
11/07/14 04:52 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
employeremployee
|
11/07/14 04:35 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Stauff1138
|
11/07/14 04:57 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
employeremployee
|
11/07/14 05:05 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
i30817
|
11/07/14 08:14 PM
|
Re: After v1.0.63 patch, unable to launch game, CTD
|
Graub
|
12/07/14 03:12 AM
|
|
|
|
|