r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: [R1Q2 win95] Does R1Q2 work under windows 95 ?
Pages: [1] 2  All
Print
Author Topic: [R1Q2 win95] Does R1Q2 work under windows 95 ?  (Read 10164 times)
JD
Guest
« on: February 28, 2006, 09:24:49 am »

Does R1Q2 work under windows 95 ?
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #1 on: February 28, 2006, 05:07:26 pm »

Probably not, but I really doubt there are many people left on Win95 on the net.
Logged
JD
Guest
« Reply #2 on: March 01, 2006, 03:16:12 am »

Im asking this because I get a "kernel32.dll:GetFileAttributesExa" error after I doubleklik on the R1Q2 exe. As far as I know there is no "GetFileAttributesExa" instruction in Windows 95. Is there maybe a workaround or something ?
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #3 on: March 01, 2006, 03:57:47 am »

I doubt it, that's a pretty basic API R1Q2 uses. It's supported in Windows 98 and I really don't want to add hacks to support an OS older than Q2 itself Smiley.
Logged
Bossman
Member

Posts: 486


« Reply #4 on: March 01, 2006, 08:56:24 am »

Is it a Windows 95b? If so it should be running like a  Windows 98.



If you updated everthing that is..
« Last Edit: March 01, 2006, 09:11:29 am by Bossman » Logged
JD
Guest
« Reply #5 on: March 01, 2006, 10:58:59 am »

Im getting the following information from Windows 95 :

(Rightclick on computer -> properties)
System :
Microsoft Windows 95
4.01.0970 C
IE 5 5.00.2919.6307

I have installed all the updates from windows update.

Software versions :
Direct X 8.0a
Newest Dcom (for win95) installed
Newest VB Runtime files installed
Logged
Bossman
Member

Posts: 486


« Reply #6 on: March 01, 2006, 01:48:39 pm »

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfileattributes.asp


and this one may help also

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getdiskfreespaceex.asp


I
Logged
QwazyWabbit
Member

Posts: 402


« Reply #7 on: March 02, 2006, 12:38:34 am »

The correct reference is here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfileattributesex.asp

GetFileAttributesEx() is quite different from GetFileAttributes().

It is supported in Win98 and higher only.

The GetFileAttributesEx() function is translated to GetFileAttributesExA() or GetFileAttributesExW() depending on whether it is in the ANSI or Unicode locale.

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 98 or later.
  Windows CE: Unsupported.
  Header: Declared in winbase.h.
  Import Library: Use kernel32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

Windows 95 users are out of luck I think.
Logged
Bossman
Member

Posts: 486


« Reply #8 on: March 02, 2006, 07:45:16 am »

  Sorry thought that page was the first I had up there don't know what I did but scroll down on that page where this is...

Windows NT 3.51 and earlier, and Windows 95:  Include an additional header file called NewAPIs.h to make GetFileAttributesEx available on these operating systems. The function is not implemented natively, but by a wrapper that utilizes other native functions on these systems. See the header file for details about the use of preprocessor directives that make the function available. If you do not have this header file, it can be obtained by downloading the most recent Windows SDK from the SDK Update Site

But isn't that working?

JD did quake2.exe work?
Logged
JD
Guest
« Reply #9 on: March 02, 2006, 08:19:32 am »

quake2.exe works perfect.
nocheat.exe works perfect.
(The quake 2 no cheat mod
url: bryceinc.com/index.php?main=NoCheat&sub=Downloads&type=dl )

Aprq2  gives a "R_init: Could not set resolution!" error.
(quake 2 mod url: apprime.0wns.org/q2/)

r1q2 gives the "kernel32.dll:GetFileAttributesExa" error.
Logged
Bossman
Member

Posts: 486


« Reply #10 on: March 02, 2006, 08:57:17 am »

  The easiest solution is probably upgrade if you want to use r1q2. You should be able to use 98 or even Millennium at least.
Logged
QwazyWabbit
Member

Posts: 402


« Reply #11 on: March 02, 2006, 09:42:26 am »

Good catch Bossman, I was busy looking at the compatibility support.

It looks like Win95 can be supported by simply adding #include <NewAPIs.h> in two files in R1q2 source and rebuilding.

JD, it looks like you might have to add some support for it to your system as well:

http://www.microsoft.com/downloads/details.aspx?FamilyId=73BA7BD7-ED06-4F0D-80A4-2A7EEAEE17E2&displaylang=en
« Last Edit: March 02, 2006, 09:51:04 am by QwazyWabbit » Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #12 on: March 02, 2006, 01:51:43 pm »

The problem is with NewAPIs.h it will likely require compile-time options for Win95. Thus, the whole speed benefit of using GetFileAttributesEx is lost on every other OS. Really, Win95 was EOLed such a long time ago, there is no point supporting it any more. If you can run Win95 Win98 should be just as feasible. I can't imagine Quake II running properly on a system that doesn't meet the minimum requirements for Win98.
Logged
pizzedmeoff
Member

Posts: 10


« Reply #13 on: March 05, 2006, 04:40:50 pm »

Hell id Rip my old win98 cd and give it to him with the key not like i use it no more lol
Logged
JD
Guest
« Reply #14 on: March 06, 2006, 04:27:21 am »

@everyone

Thanks for the replies. They are very usefull. The reason why im not upgrading to windows 98 is because the windows 95 pc is a pc at my work. At home R1Q2 works perfect on my XP pc. Maybe I try to get R1Q2 running on windows 95 with help from the replies, but at the moment I have solved the problem with another Q2 client called Aprq2.
Im running Aprq2 in software video driver mode. Its works perfect.

BTW The windows 95 pc is a pentium 3 500mhz with 192MB RAM
Logged
Pages: [1] 2  All
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: [R1Q2 win95] Does R1Q2 work under windows 95 ?
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines