Printable Version of Topic

Click here to view this topic in its original format

TiberiumWeb.org Community Forums _ Progress _ Tiberian Sun :: Disruptor Crash Fix

Posted by: CCHyper Aug 13 2009, 02:14 AM

Howdy! biggrin.gif

Attached to this post is a "quick fix" for the Disruptor Beam internal error that a majority of Tiberian Sun players experience. Nothing else has been changed on this executable, other than the code that directly handles to Disruptors Beam. The executable has also been compressed to allow easy file transfer if people pass this around. smile.gif

NOTE:
This patch does NOT fix the Ion Cannon and Laser internal errors, i am still working on a solid fix for these crashes, in the mean time you can just put the Visual Details level to Medium or Low ingame.

Have fun, i hope this helps you out!

Lots of feedback is appreciated here, as i have had trouble getting a hold of testers. if people still experience errors with this patch, please upload your EXCEPT.TXT into this topic.


Download: http://www.ts-recoil.ppmsite.com/hyperpatch/disruptor_beam_fix.rar


Cheers,

-Hyper

Posted by: Lin Kuei Ominae Aug 13 2009, 10:15 AM

This is awesome.

Unfortunately doesn't the exe work for me. It says "Initialisierung fehlgeschlagen. Bitte installieren Sie das Spiel neu.", which means in english
"Initialization failed. Please reinstall the game."
The game doesn't start and doesn't even show the first loading screen.

Does this exe work for TFD only?
Also to mention is, that my TS has no registry entries, thus it isn't installed in the way Windaft understands it. While the original exe works anyway, maybe yours searches for this useless registry crap which all win programs use to litter up. (this rant is pointed towards windaft only. Your patch and your work is outstanding and beyond any criticism biggrin.gif )


btw, i wanted to compare your exe with the original and noticed that yours is much smaller than the original game.exe. Is this due to the compression?

Posted by: Bittah Commander Aug 13 2009, 12:26 PM

WSOCK32.DLL is to blame; You'll have to remove or rename it (meaning no more UDP LAN games)... sad.gif

Posted by: ^Rampastein Aug 13 2009, 12:47 PM

QUOTE (Bittah Commander @ Aug 13 2009, 03:26 PM) *
WSOCK32.DLL is to blame; You'll have to remove or rename it (meaning no more UDP LAN games)... sad.gif

Rename Game.exe to something other and then rename DisruptorBeamFix.exe to Game.exe.

Posted by: Lin Kuei Ominae Aug 13 2009, 12:53 PM

@Bittah: I don't have and never had a WSOCK32.dll in my TS folder, because i never played TS online on this computer. wink1.gif

@Rampastein: I tried that already but it didn't work. In addition should it also work without renaming the exe.

Posted by: ^Rampastein Aug 13 2009, 12:57 PM

Well, if you have the wsock32.dll in the TS directory, you have to rename the exe, since the wsock32.dll has been coded to load only to executables named game.exe and gamemd.exe.

Btw, the fix is working great wink1.gif The beams still cause black pixels when going outside of the view, but the game doesn't crash anymore (at least on this PC, haven't tested it on the other yet).

EDIT: Videos/FMVs (including the intro video when I click on the firestorm icon) aren't showing for some reason. Is this compatible with TFD?

Also, is this multiplayer-compatible with the normal Game.exe?

Posted by: Bittah Commander Aug 13 2009, 02:10 PM

@^Rampastein: Actually WSOCK32.DLL causes TS with the WCE fix to crash even if you rename it to Game.exe because it's compressed somehow and WSOCK32.DLL seems to be incompatible with it (this was the case when I tested it anyway). And according to TS/CCHyper it should be perfectly compatible with the normal exe when playing online. TFD also uses the same Game.exe file as TS, so it'll naturally also be compatible with TFD.

@LKO:
Try copying the following files from your TS discs your TS install dir and see if it works then:


Posted by: Lin Kuei Ominae Aug 13 2009, 03:19 PM

yep that worked.
with the files movies01.mix and maps01.mix it started. (the others you've listed weren't necessary)

It seems that the exe can't find the CD drive, as this one doesn't even starts to read when starting the exe.

\EDIT
I removed the ddraw.dll and tested the disruptor. It works, it really works. No waveclass error by this one anymore. dance.gif

The Laserbeam and Ioncannon however still crash the game. I had the slight hope that at least the ion cannon wave effect is fixed this way too, due to the same drawing technique.

Posted by: Deathrider1991 Aug 13 2009, 08:59 PM

I'm sorry for being a little off topic. Am I missing something here though? My game never crashed from the disrupter or lasers. Though I do have a thai version of the game.

Posted by: Lin Kuei Ominae Aug 13 2009, 10:48 PM

Waveclass errors are caused on some, mostly newer systems by Sonicbeams, laserglow effect and ion cannon ripple effect when moving the bottom screen border over them.
http://www.tiberiumweb.com/forums/index.php?showtopic=2987&hl=waveclass and http://www.tiberiumweb.com/forums/index.php?showtopic=2638&st=35 and http://www.ppmsite.com/forum/viewtopic.php?t=19543

Posted by: CCHyper Aug 24 2009, 10:49 PM

Im currently working on a updated version of this patch, it seems some people have experience some problems. Stay tuned.

Posted by: Devastator Nov 15 2010, 08:22 PM

I keep forgeting to download this like ^Rampastein says. The link doesn't work, it says HTTP 404 Not Found
Could you try reuploading this? Or should I try it from PPM itself?

Posted by: ^Rampastein Nov 15 2010, 09:35 PM

Apparently Hyper has renamed some of the folders on the server, here's a working link:

http://www.ts-recoil.ppmsite.com/hyper_fixes/TS_WaveClass_Fix_v2_TFD.rar

Posted by: Devastator Nov 15 2010, 09:57 PM

Thank you ^Rampastein.

Posted by: CCHyper Nov 18 2010, 12:29 PM

Hosting issues, and for some reason the file dissapeared too, so yea, that should be there for some time.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)