r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Error when trying to open R1Q2.
Pages: [1]
Print
Author Topic: Error when trying to open R1Q2.  (Read 2008 times)
help me
Guest
« on: January 25, 2007, 08:52:07 pm »

Hiho, i want to know how to fix this error ( bug ), look at the screenshot:



How do i fix that?
Thanks for the help.
Bye.
Logged
QwazyWabbit
Member

Posts: 402


« Reply #1 on: January 25, 2007, 09:07:28 pm »

The path to your quake2 program and subdirectories must be less than 64 characters. The default installation is "c:\quake2\"

If you do something like: "c:\Program Files\idSoftware\Quake II 3.21\binary\" you are in danger of exceeding that limit on startup.

You should make sure your quake2 installation is on a short path. D:\quake2 or similar.


P.S. R1ch: Perhaps it's time to make MAX_OSPATH = _MAX_PATH per stdlib.h instead of a hard 128?
« Last Edit: January 25, 2007, 09:28:01 pm by QwazyWabbit » Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #2 on: January 26, 2007, 02:40:19 am »

Perhaps, but existing mods may already have the hard coded 128 char limit in them, and if they try to determine the absolute path, will run out of space. I have no problems extending it for R1Q2, I'm just concerned about mod compatibility.
Logged
Pages: [1]
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Error when trying to open R1Q2.
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines