Diablo II: How To Deal With Unhandled Exception: Access Violation (C0000005)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Diablo II

How to deal with


Unhandled Exception: Access Violation (C0000005)
By Karakaz

+ First up: What is it? What does it mean?

From a Systems Analyst at Microsoft:

“A C0000005 Error is a Windows System error. It is an Exception


Error that occurs when a process (application, driver, etc.) tries
to execute a processor command that references memory outside the
space allocated to that process by the Operating System.

There are many possible causes ranging from corrupt data tables, to
a bad network connection, ActiveX controls, or Printer or Video
driver errors. WIthout knowing what type of error you are seeing,
it is impossible to guess what the cause may be.”

As we can see by reading the description, the cause is unknown and


can really be from anywhere. Although it is usually related with
the graphics or audio, I've also heard it spawns when one is trying
to connect with battle.net.

+ Things to consider before trying the solutions

• make sure that your antivirus software / firewall is not


preventing diablo II from running or communicating.

• Make sure that you have patch 1.13c of diablo II installed

PC
http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_113c.exe

MAC
http://ftp.blizzard.com/pub/diablo2exp/patches/Mac/Diablo_II_LOD_1.13c.zip

MAC Carbon
http://ftp.blizzard.com/pub/diablo2exp/patches/Mac/Diablo_II_LOD_1.13c_(Carbon
).zip

• Make sure that your video drivers are up to date

• Consider reinstalling diablo II, files might be damaged

• Run Windows update to make sure you have the latest service
pack and updates

• Consider Reinstalling directX, it might be damaged


+ Methods which can solve the problem:

• Running as admin

This should be enabled at all times.

If this didn't solve it and you are running windows 8 I recommend


the solution on page 5, that is the one I'm using
and it should work for you too
• Compatability mode

Check “Run this program


in campatibility mode”

See if it worked, if not,


it might work in a
combination with one or
more of the blue arrows

• Running with
parameters:

Only one at a time

-opengl

Will use opengl


instead of directx

-w

windowed mode
(if this works but
you want to play
fullscreen, go to
page 7 to make that
happen)

-ns

disables sound
• Allowing diablo II to run even more freely by adding
an exception for it in the OS's DEP list

When you “add...”, locate


the diablo II.exe and add it
• Using a Glide To opengl wrapper (recommended solution)

In this solution we'll be using third party software made


exclusively for Diablo II to solve issues related with it's graphics,
it is called 'Glide-To-opengl-wrapper' and is made by the kind
gentleman Sven Labusch.

main page
http://www.svenswrapper.de/english/index.html

Download the latest version from


http://www.svenswrapper.de/english/downloads.html

Once you have downloaded and extracted the files,


do the following:

1. Put glide3x.dll in your diablo II folder

2. Run D2VidTest.exe as admin


3. Select the third option: 3dfx Glide

Finished!

If you want to stretch diablo to fill the screen, do the following


• Playing in fullscreen windowed mode
(only works if the parameter -w worked)

This method uses third party software to allow you to play in


windowed mode without the ugly windows borders. It can also
resize the window so you can play fullscreen :)

The software needed:


Windowed Borderless Gaming, by Hellstrong

Description
http://forums.steampowered.com/forums/showthread.php?p=30525996

Download (Go to description if this link is broken)


http://westechsolutions.net/sites/WindowedBorderlessGaming/download

(Alternatively the version I used when making this guide)


https://dl.dropboxusercontent.com/u/14640170/windowedborderlessgaming.zip

Ok, we're ready to begin!

The windows borders should now disappear

continues on next page


Next we want to resize the window to make it fullscreen

Rightclick the software's tray icon and click “open game settings”

Fill out with your monitor's


resolution or whichever you
prefer. Enjoy.

+ Last notes

This concludes the guide for error c0000005, if you are still
experiencing this error. I feel sorry for you, I really do. But if you
still are determined to fix this, I can only come up with one last
resort. That is, running a virtual machine with windows XP for
example and play it that way. Fortunately there are many guides
on the internet for how to set up virtual machines, so I won't be
going through that process in this guide. But I wish you good luck
and I hope to see you in-game. That is, On slashdiablo's server where
all your diablo 2 needs are met.

+ Additional Links

All parameter options for diablo II:


http://diablo2.diablowiki.net/Game_commands

Best diablo II LOD server, no bots and ladder reset every 6 months
http://www.reddit.com/r/slashdiablo/

http://www.reddit.com/r/slashdiablo/comments/lpgtw/slashdiablo_server_faq/

Page with more useful links:


http://www.reddit.com/r/slashdiablo/comments/pgzzr/slashdiablo_index_of_guides_a
nd_resources/

You might also like