Pages: [1]
  Print  
Author Topic: Binary for old Windows versions  (Read 9453 times)
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« on: September 07, 2008, 03:35:59 PM »

I have found some of my old source and patches and produced a Windows exe without IPv6 stuff. It uses the 0.7.7 mouse unless you change an environment variable. It can host servers too.

http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/oa080-windows-old.zip

It may or may not work. I have only tested it on Vista and it is not a fair test as Vista supports IPv6.
Logged

There are nothing offending in my posts.
epicgoo
Member


Cakes 5
Posts: 203


« Reply #1 on: September 07, 2008, 04:38:46 PM »

tested on vista? o_O well at least it runs on some crappy windows
someone should test it on win95(well wth...), win98 and win2k
or dunno try compat mode Tongue
Logged
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3775


Trickster God.


« Reply #2 on: September 07, 2008, 04:52:27 PM »

I had a PC with Win98SE, I will test it.
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
gemy
Nub


Cakes 0
Posts: 5


« Reply #3 on: September 08, 2008, 01:25:40 PM »

GREAT WORK SARGO

It displays now server for me again. Can u also patch the 0.8 with the old mouse from 0.7 ? That would be very cool. in_mouse - 1 or in_mouse 1 dont works for me. The 0.8 mouse really sucks.

Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #4 on: September 08, 2008, 02:19:22 PM »

I cannot patch the old mouse input back: the change is to big. I cannot use an older ioquake3 base either as they have some unknown limits (unknown in the sense that I can't remove them). The best I can do is upgrade to a newer version there you can select the directx driver again.
Currently that requires an environment variable set: SDL_VIDEODRIVER must be set to "directx" this might cause problems on some laptops and 64 bit systems in other SDL programs. I don't remember how to set it in Windows.
Logged

There are nothing offending in my posts.
andrewj
Member


Cakes 24
Posts: 584



« Reply #5 on: September 08, 2008, 09:48:03 PM »

Currently that requires an environment variable set: SDL_VIDEODRIVER must be set to "directx" this might cause problems on some laptops and 64 bit systems in other SDL programs. I don't remember how to set it in Windows.

Perhaps like this (from a classic Doom port) :

Code:
void I_StartupGraphics(void)
{
        if (M_CheckParm("-directx"))
                force_directx = true;

        if (M_CheckParm("-gdi") || M_CheckParm("-nodirectx"))
                force_directx = false;

        const char *driver = M_GetParm("-videodriver");

        if (! driver)
                driver = SDL_getenv("SDL_VIDEODRIVER");

        if (! driver)
        {
                driver = "default";
#ifdef WIN32
                if (force_directx)
                        driver = "directx";
#endif
        }

        if (stricmp(driver, "default") != 0)
        {
                char buffer[200];
                snprintf(buffer, sizeof(buffer), "SDL_VIDEODRIVER=%s", driver);
                SDL_putenv(buffer);
        }

        I_Printf("SDL_Video_Driver: %s\n", driver);

        if (SDL_InitSubSystem(SDL_INIT_VIDEO) != 0)
                I_Error("Couldn't init SDL VIDEO!\n%s\n", SDL_GetError());

        etc........
Logged
damocles
Bigger member


Cakes 0
Posts: 158


May cause drowsiness


« Reply #6 on: September 08, 2008, 11:42:24 PM »

Not able to test these at the moment.  AFAIK (I might be wrong about this) setting to "directx" seemed to break OpenGL detection on NT 4 and stock Windows 2000 (i.e. refused to start).  Setting to "windib" (in_mouse -1) worked.
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #7 on: September 08, 2008, 11:43:36 PM »

Perhaps like this (from a classic Doom port) :
That is how newer versions of ioquake3 sets it too but you can set it in Windows too if you can't program or don't want to wait.
Logged

There are nothing offending in my posts.
batracio
Ok i've posted twice!


Cakes 0
Posts: 2



« Reply #8 on: October 04, 2008, 07:51:19 PM »

Quote from: sago007
I have found some of my old source and patches and produced a Windows exe without IPv6 stuff. It uses the 0.7.7 mouse unless you change an environment variable. It can host servers too.

http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/oa080-windows-old.zip

It may or may not work. I have only tested it on Vista and it is not a fair test as Vista supports IPv6.

Thank you very much, this release is the only way I can use OA 0.80 server browser, before it I was stuck with 0.77 version. By the way, what's that IPv6 stuff that the standard binary uses, and what is it for? I'm using Windows 2000 SP4, and I've already installed the IPv6 stack and enabled it on my ethernet NIC, but it doesn't seem to work properly. With standard OA 0.80 binary, I still don't receive the servers list from the master server, but if I enter a server IP address manually, I can connect and play.
Logged
Pages: [1]
  Print  
 
Jump to: