A site run by veteran gamers with the aim of sharing discussions and content exclusively related to the development of Helbreath and its gameplay.
 
HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistRulesRegisterLog in
 

 [CODE] FPS Improvement

Go down 
3 posters
AuthorMessage
sleeq

sleeq


Posts : 22
Since : 2019-09-24

[CODE] FPS Improvement Empty
PostSubject: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/9/2020, 12:12 pm

Creates DDraw in emulation mode (Forces HEL)

DXC_ddraw.cpp (Client)

Find in DXC_ddraw::bInit(HWND hWnd)
Code:
ddVal = DirectDrawCreateEx(NULL, (VOID**)&m_lpDD4, IID_IDirectDraw7, NULL);

Replace with this
Code:
ddVal = DirectDrawCreateEx((GUID*)DDCREATE_EMULATIONONLY, (VOID**)&m_lpDD4, IID_IDirectDraw7, NULL); // sleeq - creates ddraw in emulation mode (forces HEL)



This has proven to improve fps on Windows 7 and 10.
Back to top Go down
LifeX
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
LifeX


Posts : 269
Since : 2014-11-16

[CODE] FPS Improvement Empty
PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/9/2020, 4:33 pm

Thank you brother for sharing. Guess Centuu already implement on the sources.


LifeX
Back to top Go down
sleeq

sleeq


Posts : 22
Since : 2019-09-24

[CODE] FPS Improvement Empty
PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/10/2020, 1:48 am

You're welcome mate. Stay tune for a few more fps tweaks I am working on. There is not much to do in ddraw.cpp.
Back to top Go down
melvin93

melvin93


Posts : 1
Since : 2020-12-01

[CODE] FPS Improvement Empty
PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 9991012/1/2020, 4:56 am

how is this procedure ?
Back to top Go down
 
[CODE] FPS Improvement
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Server Development :: C++-
Jump to: