In addition, this thread is not a support desk, and should not be treated as such. Please do not post bug reports on this thread. You should instead create a new thread in the bug reports forum detailing your problem. Always remember to provide as much information as possible when writing bug reports!
What is a Memory Access Violation?
For the most part, a Memory Access Violation (or MAV for short) is an error which often occurs when the game fails to load an asset due to either a coding bug or something else on your PC which is interfering with the game's ability to read assets from its folders.
------------------------
How do I get rid of a Memory Access Violation?
Resolving an MAV is tricky, mainly because why, where, and when they happen can vary with each version and computer. This thread is gonna focus primarily on MAVs which occur the second the game boots up, but some of these solutions may also work for in-game ones.
MAVs which occur upon simply opening the game are usually a problem on your end rather than a problem with the game itself (usually). After searching through several threads on both the CB and Blitz forums regarding this topic, I've created a list of possible fixes. I cannot guarantee though that these will get rid of the MAV altogether. As I said before, the reasons for them occurring can vary.
Anyway, here's the list:
- Right click the .exe file, select 'Run as Administrator'.
- Right click the game's folder, select 'Properties', untick 'Read Only', click Apply, then try running it.
- Right click on the .exe, select 'Properties', go to the 'Compatibility' tab, set compatibility to XP Service Pack 3.
- Disable the UAC (User Account Controls).
- Disable visual themes.
- Disable desktop composition.
- Disable display scaling on high DPI settings.
- Kill "taskhost.exe" process in your task manager.
- Occasionally your download may just be corrupted, try re-downloading the game and see if you encounter the same bug.
- The same thing can also happen to save files, try starting a new game with the same seed to see if you encounter the same bug at the same moment. If you don't then the save is most likely corrupted.
- On Windows 7/8 your Data Execution Prevention may think that the game is a harmful program and thus prevent it from running correctly. To disable the DEP open the Cmd.exe as an administrator and paste this:
Restart your computer then try running the game.
Code: Select all
bcdedit.exe /set {current} nx AlwaysOff
If you want to turn the DEP back on then re-open the Cmd.exe and paste this:Code: Select all
bcdedit.exe /set {current} nx AlwaysOn
Spoiler
------------------------I've tried everything above and it still won't run!
Well then at this point there's two possible reasons as to why you're encountering an MAV. Your computer is incapable of playing any Blitz Max/3D/Plus games or it's a bug with the game itself.
First off, let's test to see if it's just a problem with every Blitz3D game. Try downloading and running this executable made by MonocleBios: http://www.mediafire.com/?7yej99ydliqnrbo
If you still get an MAV, then it means that something on your computer is interfering with its ability to run B3D games. At this point you should just troubleshoot on the Blitz3D forums.