Troubleshooting/Blam: Difference between revisions

m
Line 7: Line 7:
===Blam at startup===
===Blam at startup===
That one is due to the overflow of a very particular text buffer ; the one that lists the OpenGL extensions in the '''startup.txt''' file.
That one is due to the overflow of a very particular text buffer ; the one that lists the OpenGL extensions in the '''startup.txt''' file.
If your version of Oni just crashed, take a look at that file (it's in your [[Installation#Installation folder|Oni folder]]). At the end, there should be a rather big list entitled GL extensions. That list is broken, meaning that startup collapsed during its writing...
If your version of Oni just crashed on startup, take a look at that file (it's in your [[Installation#Installation folder|Oni folder]]). At the end, there should be a rather big list entitled GL extensions. That list is broken, meaning that startup collapsed during its writing...


Problem is : that list is ''too long''; that's what makes Oni crash. Bungie folks made Oni dump that list to '''startup.txt''' with a small list size in mind, but recent GFX cards (more specifically their WinXP drivers) tell Oni to write more than what Bungie expected.
Problem is : that list is ''too long''; that's what makes Oni crash. Bungie folks made Oni dump that list to '''startup.txt''' with a small list size in mind, but recent GFX cards (more specifically their WinXP drivers) tell Oni to write more than what Bungie expected.
Line 13: Line 13:
;Solution
;Solution
:One has to either make the GL extension buffer larger, or to disable the dumping of GL extensions to '''startup.txt''' altogether.
:One has to either make the GL extension buffer larger, or to disable the dumping of GL extensions to '''startup.txt''' altogether.
===Other text buffers===
===Other text buffers===
There are other occasions when Oni dumps large amounts of text, and in the case the dumped text is larger than the buffer Bungie set up for it, you'll have an overflow, and Oni will crash.
There are other occasions when Oni dumps large amounts of text, and in the case the dumped text is larger than the buffer Bungie set up for it, you'll have an overflow, and Oni will crash.