Jump to content


Photo

DDraw Fix (For Slowdowns/Stuttering)


  • Please log in to reply
117 replies to this topic

#21 aqrit

aqrit
  • Member
  • 132 posts

Posted 20 June 2011 - 04:45 AM

ported to WeiDU (see OP) so it can be included more easily with other patches (should anyone wish to do so)

#22 ghostdog

ghostdog
  • Modder
  • 556 posts

Posted 20 June 2011 - 08:11 AM

Nicely done, the weidu version is helpful if only to keep track of all the mods via the weidu log. You may also want to inform thunderpeel about the new fix, to update his guide : http://thunderpeel20...lly-modded.html

#23 ThunderPeel2001

ThunderPeel2001
  • Member
  • 74 posts

Posted 21 June 2011 - 11:03 AM

Nicely done, the weidu version is helpful if only to keep track of all the mods via the weidu log. You may also want to inform thunderpeel about the new fix, to update his guide : http://thunderpeel20...lly-modded.html


Awesome stuff! Some anonymous poster just alerted me to this. Great job, aqrit!

#24 aqrit

aqrit
  • Member
  • 132 posts

Posted 21 June 2011 - 04:27 PM

I updated the WeiDU script again
It now uses the regex functions for signature scanning
So now it finds the offsets in a half-second instead of a half-hour =)

#25 Media

Media
  • Member
  • 1 posts

Posted 22 June 2011 - 10:56 PM

I just had to say thank you. This worked perfectly.

Been quite a struggle trying to get the spell effect bugs to disappear. I was having either crippling slow down and spell effect artifacts, or mouse trails after forcing DDraw Emulation in the Compatibility Administrator.

Had given up on ever playing through this game months ago and then just stumbled across this.

You solved my issues. The game runs perfectly now.

Win7 64bit, Nvidia card.
4 CD version modded using Thunderpeel's guide.

I *really* appreciate it. Thank you.

#26 pyromaniac

pyromaniac
  • Member
  • 2 posts

Posted 23 June 2011 - 04:34 AM

Greetings,

Both of the mods in the first post make the game run pitch black.

Any suggestions?

Installed Mods
A Gibberlings Three Mod
GhostDog's-PST-UI

Computer Specs
8800GT (Nvidia)
Windows Vista 32 bit

Thank you in advance.

Edited by pyromaniac, 23 June 2011 - 04:35 AM.


#27 pyromaniac

pyromaniac
  • Member
  • 2 posts

Posted 23 June 2011 - 04:37 AM

Greetings,

Both of the mods in the first post make the game run pitch black.

Any suggestions?


I may have found the solution to this.
Use the second mod.
When on the installation screen, make sure Cursor Trail is set to "No Action".

#28 aqrit

aqrit
  • Member
  • 132 posts

Posted 23 June 2011 - 02:18 PM

Both of the mods in the first post make the game run pitch black.


thanks for report pyromaniac,

Unfortunately I'm having trouble determining why that happens.
Will you please reinstall PST then apply ONLY my patch and see if it works?
What version of the widescreen mod did you install? (as shown in the widescreen readme)

You'd really be helping me out alot.

#29 i30817

i30817
  • Member
  • 611 posts

Posted 23 June 2011 - 04:35 PM

Hey aqrit, i tested your "sleep" fix for linux and found something strange (it appears to work - at least in the tomb if you escape from the mortuary that way - if you use the rest button, doesn't if you initiate rest from a dialog, like mcbeth (sp) or from innkeepers).

#30 aqrit

aqrit
  • Member
  • 132 posts

Posted 25 June 2011 - 07:44 AM

the mods in the first post make the game run pitch black.

the mod is incompatible with the 'SoftBlt' option
that option is now automatically disabled when the mod installs

===

this mod is known to work with widescreen mod v2.1 and above

#31 OTIX

OTIX
  • Member
  • 1 posts

Posted 03 July 2011 - 02:52 PM

Thanks for the mod, works great. The only problem I'm having is that scrolling becomes less smooth. It looks a bit like having vsync off, I think there's some slight tearing. Strangely this does not happen when using D3DWindower.

I'm using widescreen mod v3.05 at 1280x800 and Ghostdogs UI, fix/tweak/UB.

#32 aqrit

aqrit
  • Member
  • 132 posts

Posted 03 July 2011 - 10:42 PM

vsync is turned off
Calls to WaitForVerticalBlank fail for the emulated device

Currently I recommend that you adjust the frame rate option in Torment.ini

I suppose a second DirectDraw object could be created then used to monitor for vertical blank on the default display device.... ( Fail )

Edited by aqrit, 16 July 2011 - 08:33 AM.


#33 -DanOfEarth-

-DanOfEarth-
  • Guest

Posted 17 July 2011 - 02:08 PM

Strange, I'm trying patch to fix cursor trail but can't open zip file...says file is corrupt. Thoughts?

#34 aqrit

aqrit
  • Member
  • 132 posts

Posted 17 July 2011 - 10:14 PM

You must of had a bad transfer. Try to download it again.

MD-5: 4C7062B9C59B2E40BD6A45D5DD35CFF8

#35 -DanOfEarth-

-DanOfEarth-
  • Guest

Posted 18 July 2011 - 03:57 AM

You must of had a bad transfer. Try to download it again.

MD-5: 4C7062B9C59B2E40BD6A45D5DD35CFF8


Tried downloading it four times...same thing. Using Winrar...wonder if it's it. Says:

! C:\Documents and Settings\Dan\Desktop\PlanetTormentFix\pst-drawfix_weidu.zip: The archive is either in unknown format or damaged

Still working:

#36 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 18 July 2011 - 04:35 AM

I cannot download the file... it stops around the 32.1kb, could some one upload the file to mediafire for example, or just attach it to a post.

Deactivated account. The user today is known as The Imp.


#37 aqrit

aqrit
  • Member
  • 132 posts

Posted 18 July 2011 - 08:15 AM

attached to opening post.

#38 -DanOfEarth-

-DanOfEarth-
  • Guest

Posted 20 July 2011 - 07:56 AM

attached to opening post.


That did it! Awesome!

#39 aqrit

aqrit
  • Member
  • 132 posts

Posted 23 July 2011 - 11:20 PM

Release v2.0 (see OP for download)

This version has vsync.

The hardware emulation layer doesn't know what the real hardware is doing. Thus no vsync.
To get vsync I had to go around ddraw and call some Direct3d kernel-mode-accessing function.

It should be ok for everyone to install the vsync component but vsync will only work on Windows Vista or later.

Vsync will reduce the number of frames drawn per second because the game spends time waiting around for vertical blank. This behavior doesn't matter if your rendering more fps than can be displayed by your monitor. Obviously if your not rendering enough fps then vsync makes matters worst.

I seriously can't see a difference between vsync on or off... but maybe someone will :P

Does anyone know why the Max fps for torment is recommend at 40?
One would think you'd set the max fps way high then let vsync cap it your refresh rate (~60-75)

#40 wooder

wooder
  • Member
  • 2 posts

Posted 24 July 2011 - 01:44 AM

Does anyone know why the Max fps for torment is recommend at 40?
One would think you'd set the max fps way high then let vsync cap it your refresh rate (~60-75)

Because the fps determining the speed of the game. Default fps is 30, this give us gamespeed (i.e. speed of walking, running, fighting and all other animations) x1, max available fps is 60, this give us gamespeed x2. Imho, best speed is 45 fps, i.e. x1,5.

P.S. Sorry for bad english.