3D Mark 99 Max & 2001 SE Startup Hang Patch

Getting old Windows games working.

3D Mark 99 Max & 2001 SE Startup Hang Patch

Postby UCyborg » 2017-1-02 @ 22:20

Same story as with Max Payne games: viewtopic.php?f=8&t=51579
Attachments
3DMarkStartupHangPatchv1.01.zip
(525.02 KiB) Downloaded 110 times
Last edited by UCyborg on 2017-1-23 @ 09:44, edited 2 times in total.
UCyborg
Member
 
Posts: 134
Joined: 2015-9-04 @ 11:10

Re: 3D Mark 2001 SE Startup Hang Patch

Postby lowenz » 2017-1-02 @ 23:12

Normal maps error with Nature using dgVoodoo2.
lowenz
Oldbie
 
Posts: 820
Joined: 2014-12-20 @ 01:30

Re: 3D Mark 2001 SE Startup Hang Patch

Postby lowenz » 2017-1-02 @ 23:20

Partial results:

D3D8
Image

Crosire D3D9 wrapper
Image

Dege D3D11 wrapper (1024 MB VRAM)
Image

Interesting behaviour in the High Detail Car Chase, where D3D11 wrapper generates the highest frame rate.
lowenz
Oldbie
 
Posts: 820
Joined: 2014-12-20 @ 01:30

Re: 3D Mark 99 Max & 2001 SE Startup Hang Patch

Postby UCyborg » 2017-1-16 @ 04:00

Added the same patch for 3D Mark 99 Max.
UCyborg
Member
 
Posts: 134
Joined: 2015-9-04 @ 11:10

Re: 3D Mark 99 Max & 2001 SE Startup Hang Patch

Postby Interl@ce » 2017-8-13 @ 09:24

I've got a 4GB windows 98 DosBox-VM full of d3d and 3dfx nostalgia from that era, now I'm trying to get benchmarks going, pushing it to it's limits.. Final Reality and 3DMark99 work great, but 3DMark2000 fails to start with an MMX-requirement. Is it possible (for debugging/sh*ts'n'giggles) to remove that check or have it pass anyway? cpytype pentium_mmx is crippled in the dosbox-build I need and it seems if anyone can do it, it's you :D

PS: For anyone interested in this little project LINK REMOVED download link in description. Only demos included, but a huge bunch of 'em :) if you wanna try 3dmark99 disable KernelEx in the shortcut's properties.
User avatar
Interl@ce
Newbie
 
Posts: 2
Joined: 2004-11-07 @ 09:59

Re: 3D Mark 99 Max & 2001 SE Startup Hang Patch

Postby teleguy » 2017-8-14 @ 02:33

Interl@ce wrote:I've got a 4GB windows 98 DosBox-VM full of d3d and 3dfx nostalgia from that era, now I'm trying to get benchmarks going, pushing it to it's limits.. Final Reality and 3DMark99 work great, but 3DMark2000 fails to start with an MMX-requirement. Is it possible (for debugging/sh*ts'n'giggles) to remove that check or have it pass anyway? cpytype pentium_mmx is crippled in the dosbox-build I need and it seems if anyone can do it, it's you :D

PS: For anyone interested in this little project LINK REMOVED download link in description. Only demos included, but a huge bunch of 'em :) if you wanna try 3dmark99 disable KernelEx in the shortcut's properties.


Do you only want the check removed or is the goal to successfully run the benchmark? Because with just the check removed it will probably crash at a certain point (or right at the start). I don't think it's possible to make the benchmark compatible with non-MMX cpus without access to the sourcecode (or maybe using some kind of wrapper).

The attached file contains two exes, one that will always fail the check I used for testing since I don't have a cpu without mmx support, and one (untested) that should alway pass.
Attachments
3DMark2000mmxcheckswitch.zip
(1.08 MiB) Downloaded 37 times
teleguy
Member
 
Posts: 354
Joined: 2004-2-28 @ 18:54

Re: 3D Mark 99 Max & 2001 SE Startup Hang Patch

Postby UCyborg » 2017-9-23 @ 22:19

Looks like that MMX error is redundant, the benchmark is programmed to handle absence of MMX just fine. Excluding 3 DLLs in e2driver that utilize extra instructions depending on selection made in CPU Optimization drop-down list, there are just 2 small blocks of code in rlmfc.dll using MMX plus a check that jumps to code that uses FPU rather than MM registers if MMX is not available.

If that wasn't the case, I guess the only way to make it work would be studying MMX instructions and replace them with standard ones. Which might be PITA to implement unless you're ASM guru. Trying to execute MMX instructions will indeed crash it on old CPUs, which is one way to locate them with debugger, another option is searching the executable file for EMMS instruction.
UCyborg
Member
 
Posts: 134
Joined: 2015-9-04 @ 11:10


Return to Windows

Who is online

Users browsing this forum: No registered users and 3 guests