:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sat May 30, 2020 7:59 am
All times are UTC + 0
 Forum index » Modding Central » Tiberian Sun Editing Forum
Repeated game crashes - ddraw.dll influence?
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
Author Message
Askhati
AA Infantry


Joined: 22 Dec 2009

PostPosted: Mon Apr 20, 2020 6:42 am    Post subject:  Repeated game crashes - ddraw.dll influence?
Subject description: Possibly linked to Laser weapons?
Reply with quote

As the title says: I am getting semi-regular crashes now whenever I have units firing lasers. I vaguely recall reading (years ago) that there are patches available for this?

I recently added the ddraw.dll file to the game folder, and while the game will now no longer crash and kick me back to the desktop, the battlefield view will become completely disrupted instead BUT THE GAME KEEPS GOING! Sidebar, minimap and menu windows all still work, only the battlefield view goes crazy.

Running an older version of Windows XP as OS, for reference (old laptop for old games, go figure - it's like a little time capsule of 2010).
_________________
Adapt or die

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Apr 20, 2020 6:48 am    Post subject: Reply with quote

Askhati wrote:
crashes now whenever I have units firing lasers.

upload the except.txt

Askhati wrote:
I recently added the ddraw.dll file to the game folder

which one? From where do you got it?
By now there are several different versions of the ddraw.dll

Askhati wrote:
only the battlefield view goes crazy.

screenshot or more detailed description than that?

Askhati wrote:
Running an older version of Windows XP as OS, for reference (old laptop for old games, go figure - it's like a little time capsule of 2010).

Which game version do you run?
Vanilla TS
TS Client
CnCNet TS
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Askhati
AA Infantry


Joined: 22 Dec 2009

PostPosted: Mon Apr 20, 2020 7:52 am    Post subject: Reply with quote

Have attached the ddraw and except files. No screenshot of the battlefield crash though. Just to clarify:

- without this ddraw file, the game will crash back to desktop, and create the except file
- WITH this ddraw, it keeps running, but the battlefield visuals go crazy


ddraw.dll.txt
 Description:
This is actually a .dll file - just delete the .txt at the end (did this to get around the forum upload limits)

Download
 Filename:  ddraw.dll.txt
 Filesize:  40 KB
 Downloaded:  0 Time(s)


except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  20.75 KB
 Downloaded:  1 Time(s)


_________________
Adapt or die

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Mon Apr 20, 2020 8:48 am    Post subject: Reply with quote

Eip:006717CB is the waveclass error for lasers.

Use TSClient, it is fixed there. Still there is support for XP through XNA Framework - https://www.microsoft.com/en-us/download/details.aspx?id=27598

At ModEnc - https://www.modenc.renegadeprojects.com/Internal_Error

Otherwise have to use HyperPatch or patch the game.exe from here - https://github.com/CnCNet/ts-patches/blob/master/src/fix_wce_errors.asm

Back to top
View user's profile Send private message
Askhati
AA Infantry


Joined: 22 Dec 2009

PostPosted: Mon Apr 20, 2020 9:16 am    Post subject: Reply with quote

Thanks E1. I am not familiar with the TSClient, so please advise: once this is installed, will I be able to  continue working on my own mod...?
_________________
Adapt or die

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Mon Apr 20, 2020 9:21 am    Post subject: Reply with quote

You will have to port you mod files to TSClient. INI contents would need merging and mix files can be added, takes a little time but you are better off with TSClient if it runs on your laptop. TSClient comes with plenty of bug fixes and comes with a set of ddraw.dll choices etc..

Back to top
View user's profile Send private message
Askhati
AA Infantry


Joined: 22 Dec 2009

PostPosted: Mon Apr 20, 2020 10:04 am    Post subject: Reply with quote

At risk of sounding difficult (not my intention at all, promise!): could I not solve the laser issue with an updated ddraw.dll file alone?
_________________
Adapt or die

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Mon Apr 20, 2020 11:13 am    Post subject: Reply with quote

Check ModEnc internal error link for the mentioned EIP.

ModExe can also apply the patch to game.exe to get thin lasers.

Back to top
View user's profile Send private message
Askhati
AA Infantry


Joined: 22 Dec 2009

PostPosted: Mon Apr 20, 2020 7:30 pm    Post subject: Reply with quote

E1 Elite wrote:
Check ModEnc internal error link for the mentioned EIP.

ModExe can also apply the patch to game.exe to get thin lasers.


- installed ModExe and linked the .exe and .ini files to it
- removed the ddraw.dll file
- used ModExe to activate the hack for the Lasers (forces them to detail setting 1)
- still get errors - please see attached

On a side note: I also activated the ModExe hack that fixes the Orca Transport functionality (cloned the unit so as to not break the original one), and now it works fine - no more of the weird landing dances. So the ModExe effects are definitely "live" in the game.


except - 2020.04.20.txt
 Description:

Download
 Filename:  except - 2020.04.20.txt
 Filesize:  20.75 KB
 Downloaded:  2 Time(s)


_________________
Adapt or die

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Tue Apr 21, 2020 2:09 am    Post subject: Reply with quote

ModEnc: Eip:0046C7E2 - Fog of War was enabled and crashed the game.

TSClient has a patch to continue the game without crashing in this case.

Back to top
View user's profile Send private message
Askhati
AA Infantry


Joined: 22 Dec 2009

PostPosted: Tue Apr 21, 2020 7:30 am    Post subject: Reply with quote

Fog of War can crash the game...? Wot...

Your argument in favour of TSClient is becoming more and more appealing right now, I won't lie XD
_________________
Adapt or die

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Tiberian Sun Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1323s ][ Queries: 12 (0.0038s) ][ Debug on ]