Custom Dungeon Error

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
Post Reply
Reaver
Posts: 4
Joined: Sat Mar 30, 2013 2:26 am

Custom Dungeon Error

Post by Reaver »

I own the Steam copy of this game, and am trying to play "The Mine of Malan Vael" custom dungeon, (and 2nd most popular in the lists right now) and every time I do it crashes with a bug I can't seam to find in Google searches. I'll throw the bug into a spoiler tag so it can be looked at. I've played a couple other dungeons just fine, and no-one else seams to be getting this error. What can I do? It kicks in right after the opening cut-scene.
SpoilerShow

Code: Select all

[string "Grimrock.lua"]:0: not enough room in the output buffer (Z_BUF_ERROR)
stack traceback:
	[C]: in function 'load'
	[string "Grimrock.lua"]: in function 'defineMaterial'
	mod_assets/scripts/materials.lua:188: in main chunk
	[string "Dungeon.lua"]: in function 'import'
	mod_assets/scripts/init.lua:13: in main chunk
	[string "Dungeon.lua"]: in function 'loadInitFile'
	[string "GameMode.lua"]: in function 'loadDungeon'
	[string "GameMode.lua"]: in function 'newGame'
	[string "GameMode.lua"]: in function 'completionFunc'
	[string "CinematicMode.lua"]: in function 'update'
	[string "Grimrock.lua"]: in function 'display'
	[string "Grimrock.lua"]: in main chunk

OS Version 6.1

OEM ID: 0
Number of processors: 8
Page size: 4096
Processor type: 586

Total memory: 8173 MB
Free memory: 5661 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000005

Display device 1:
  Device name: \\.\DISPLAY2
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 2:
  Device name: \\.\DISPLAY3
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 3:
  Device name: \\.\DISPLAY4
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 4:
  Device name: \\.\DISPLAY5
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 5:
  Device name: \\.\DISPLAY6
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 6:
  Device name: \\.\DISPLAYV1
  Device string: RDPDD Chained DD
  State flags: 00200008

Display device 7:
  Device name: \\.\DISPLAYV2
  Device string: RDP Encoder Mirror Driver
  State flags: 00200008

Display device 8:
  Device name: \\.\DISPLAYV3
  Device string: RDP Reflector Display Driver
  State flags: 00200008
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Custom Dungeon Error

Post by Komag »

Never seen that one. Have you tried lowering the texture res? Play on low rendering, at least to start? Might be worth a try.

And after you've played that one (which deserves to be in first place in my opinion, especially when first place is completely unfinished and hasn't been updated in many months), maybe you'll try out the third most popular custom dungeon ;)
Finished Dungeons - complete mods to play
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: Custom Dungeon Error

Post by Dr.Disaster »

The error message "[string "Grimrock.lua"]:0: not enough room in the output buffer (Z_BUF_ERROR)" hints at a problem with the zlib compressing library LoG uses to uncompress data files. This should not happen because the Steam version of LoG should be up to date by default (version 1.3.7) thus my first guess would be a corrupted installation of either LoG or the Mine's modul file. Try un- and reinstalling both.
Reaver
Posts: 4
Joined: Sat Mar 30, 2013 2:26 am

Re: Custom Dungeon Error

Post by Reaver »

@ Komag
I thought of that, but it seams that it happens with any settings I can adjust.

@ Dr.Disaster
Well, I reinstalled the mod before, to no avail. Turns out the second time I got a new menu for trying to play it before it was done downloading, something to assist with that would be fantastic. Guessing when it's done isn't any fun.
Secondly, I delayed my reply to try reinstalling the game itself, and that didn't solve it either. I am right back where I started.

Incidentally, both of your first suggestion naturally occurred to me, followed by asking Google. I hadn't thought of reinstalling the game, though. Instead I did the 'check file integrity' option Steam has. Thank you for your suggestions, but I'm still lost. My next best guess is reinstalling the mod a third time and leaving it running several hours to make sure it downloads. If it was that I should get the 'corrupt file' error I had from retrying the mod earlier instead, however. I really enjoy this game, I thought I'd like to try the best 'finished' mod of all time in the Steam Workshop lists... but I'm not doing so well on that front.

EDIT: Any fantastic well-built dungeons designed with imported characters in mind? 'The One Room Dungeon" is fantastic, but rather built for new characters. This dungeon working implies that my error isn't because of a new tile-set.

EDIT 2: In unrelated news, I found an interesting looking mod up there in the list, "The Lost Continent Book 2", which CTDs before an intro cut-scene can kick in, without leaving an error message. Don't think that makes any difference as to the problem, but says a lot about my problems. Why can't I ever join the cool kids?
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Custom Dungeon Error

Post by Komag »

Just for kicks, you could try downloading from Nexus instead

(and Master Quest definitely has imported parties in mind!)
Finished Dungeons - complete mods to play
Reaver
Posts: 4
Joined: Sat Mar 30, 2013 2:26 am

Re: Custom Dungeon Error

Post by Reaver »

I haven't used the NMM sense... 0.41! I will certainly give it a try.

As far as Master Quest, I want a HIGH level party. Like, 20+ I wanted to do other custom dungeons to level them up to that point. XD

Tried it out, got a completely new error for the mines.
SpoilerShow

Code: Select all

[string "Grimrock.lua"]:0: corrupted or incomplete data (Z_DATA_ERROR)
stack traceback:
	[C]: in function 'load'
	[string "Grimrock.lua"]: in function 'defineMaterial'
	mod_assets/scripts/materials.lua:90: in main chunk
	[string "Dungeon.lua"]: in function 'import'
	mod_assets/scripts/init.lua:13: in main chunk
	[string "Dungeon.lua"]: in function 'loadInitFile'
	[string "GameMode.lua"]: in function 'loadDungeon'
	[string "GameMode.lua"]: in function 'newGame'
	[string "GameMode.lua"]: in function 'completionFunc'
	[string "CinematicMode.lua"]: in function 'update'
	[string "Grimrock.lua"]: in function 'display'
	[string "Grimrock.lua"]: in main chunk

OS Version 6.1

OEM ID: 0
Number of processors: 8
Page size: 4096
Processor type: 586

Total memory: 8173 MB
Free memory: 5089 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000005

Display device 1:
  Device name: \\.\DISPLAY2
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 2:
  Device name: \\.\DISPLAY3
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 3:
  Device name: \\.\DISPLAY4
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 4:
  Device name: \\.\DISPLAY5
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 5:
  Device name: \\.\DISPLAY6
  Device string: AMD Radeon HD 6900 Series
  State flags: 08000000

Display device 6:
  Device name: \\.\DISPLAYV1
  Device string: RDPDD Chained DD
  State flags: 00200008

Display device 7:
  Device name: \\.\DISPLAYV2
  Device string: RDP Encoder Mirror Driver
  State flags: 00200008

Display device 8:
  Device name: \\.\DISPLAYV3
  Device string: RDP Reflector Display Driver
  State flags: 00200008

Now, I'm not super smart, but I'm rather sure I can tell when a download says it's done. I've used the NMM before and it has been reliable. I suppose I'll try downloading and installing it manually from the Nexus.

AND it finally worked. At least, it got past the intro and into the game, so I'm assuming the rest of it works. That was a lot of kicking. I suppose it's moot to add in the pointless error message above, but all the same it's there. NMM has failed me, I wonder why?

EDIT: Also, thank you for your advice and assistance. I don't mean to belittle your involvement in getting that mod to work. I'll be sure to add 'try the nexus' to my list of steps from this point forward.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: Custom Dungeon Error

Post by Dr.Disaster »

The first line "[string "Grimrock.lua"]:0: corrupted or incomplete data (Z_DATA_ERROR)" hints at a problem with the mod file, assuming the zlib library inside LoG is working correct. Seems something either has corrupted your LoG installation or is corrupting your downloads.

I would verify file size and data integrity with i.e. a MD5 checksum.
From my installation:

LoG 1.3.7 (from Steam)
"FreeImage.dll"
File size: 2,420,736 bytes
MD5 hash: 5167e215a75753eae72e7834943bae75

"grimrock.dat"
File size: 681,096,294 bytes
MD5 hash: 75b60e8ac8b4ca73a1d532a9c5dd9056

"grimrock.exe"
File size: 1,804,800 bytes
MD5 hash: c964c6b3743bec93621d241b534532e9

"steam_api.dll"
File size: 105,808 bytes
MD5 hash: e5578450156d19260fc06e2a72856595


The Mine of Malan Vael mod (from Steam)
File name: "23fef0bc-8b13-4a85-8665-39588d182fb0.dat"
File size: 79,237,092 bytes.
MD5 hash: fdb1ba85c5159eb91537af03bffcfd7f


EDIT
I assume both the DirectX installer and Visual C++ Redistributable delivered with LoG have been executed.

EDIT 2
Playing MQ is not like playing any other mod due to it's scaling effect. Even a fresh party experiences monsters getting stronger and tougher pretty quick, starting at character level 4 if i'm correct. A high level starting party (20+) will face some pretty beefy killer snails/mushrooms/skeletons right from the start so expecting any advantage from a high level party is a false hope. In fact i've experienced my first one-hit-kills in LoG by regular monsters :shock: due to a high-level party.

Also leveling a party to i.e. 20 is nowhere done faster then in MQ. My fresh-made loot party for the release version reached 17 in the end while one can be happy reaching 12+ in the original dungeon.
Reaver
Posts: 4
Joined: Sat Mar 30, 2013 2:26 am

Re: Custom Dungeon Error

Post by Reaver »

Most of the files check out on file size, with one exception.

The Mine of Malan Vael
79,237,120 instead of *,092

As far as DirectX and C++, decided to redo those just to be sure. Turns out, that fixed it. Thank you for your assistance.

"The Lost Continent Book 2" still crashes horribly, but one problem solved. This crash doesn't even leave an error message, and appears to be the mod itself in this case. It goes right to my desktop with no messaging whatsoever. It's description was epic, though.

Thank you again.

On the note of difficulty, perhaps the challenge is part of the fun? Sometimes, I like hurting myself digitally. I even managed to beat Ninja Gaiden 1 and 3 for NES... once each. (The second has bested me yet.) Other times, I play LEGO games. I really enjoy those, too. Difficulty is relative, however, as Grimrock has many loopholes to assist me in detailing difficulty in a variety of ways. (Ice magic, Master Assassin, strafing, AI limits...) I in fact enjoy cheating with one party, and playing perfectly fair with another. Lately, however, the fair party has been a lot more fun. So, YEAH! LEVEL UP! I'm sure I'll play it with a new party as well, just for fun. The mod jumped to the top of the charts in nothing flat, it's obviously as good as advertised... I'm sure I'll enjoy it well enough to play two or three times.
User avatar
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

Re: Custom Dungeon Error

Post by Halluinoid »

Komag wrote:Never seen that one. Have you tried lowering the texture res? Play on low rendering, at least to start? Might be worth a try.

And after you've played that one (which deserves to be in first place in my opinion, especially when first place is completely unfinished and hasn't been updated in many months), maybe you'll try out the third most popular custom dungeon ;)
is completely unfinished ? I am baffled why an unfinished game is even in the list, sounds nuts to me. Finished games only, surely.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Custom Dungeon Error

Post by Komag »

Well it IS Steam "workshop", and so is a place to work on stuff and test it out publicly and the like, but I vastly prefer finished myself as well, I don't touch "in the works" stuff, don't have time for that.

I think as far as Eye of the Beholder is concerned, I believe many many people love the IDEA of it, and think they would love a finished version of it, not that they all love those couple levels that are currently there. So they're voting as a sort of "support" for the concept and encouragement to the maker, but not really for the thing that is presently in the workshop.
Finished Dungeons - complete mods to play
Post Reply