Fatal Error on Startup

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
McSkivv
Posts: 30
Joined: Wed Sep 12, 2012 12:46 am

Fatal Error on Startup

Post by McSkivv »

Hello, Grimrock Community and Developers,

Today I joyously opted in to the Grimrock Dungeon Editor Beta. After a short download, I started the game only to have the game crash.

Code: Select all

[string "Grimrock.lua"]:0: attempt to index global 'party' (a nil value)
stack traceback:
	[string "Grimrock.lua"]: in function 'init'
	[string "Grimrock.lua"]: in main chunk
	[C]: in function 'require'
	init.lua: in main chunk

OS Version 6.0

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

Total memory: 3033 MB
Free memory: 1322 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: Mobile Intel(R) 4 Series Express Chipset Family
  State flags: 00000005

Display device 1:
  Device name: \\.\DISPLAY2
  Device string: Mobile Intel(R) 4 Series Express Chipset Family
  State flags: 00000000

Display device 2:
  Device name: \\.\DISPLAYV1
  Device string: RDPDD Chained DD
  State flags: 00000008

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

I am quite disappointed that I could not be building a dungeon as we speak, but this is what Beta testing is for. Is there any additional information that you need?

~An Eager Tester
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Fatal Error on Startup

Post by petri »

Thank you for the bug report!

I tracked down and reproduced the issue. There seems to be a problem with 4:3 aspect ratios. This will be fixed in the next beta build.

To workaround the issue you can do the following:

1) open Documents\Almost Human\Legend of Grimrock\grimrock.cfg in a text editor
2) locate the following line: resolution = "XXX x YYY" and change the resolution to something that is not 4:3, e.g. "1280 x 720"
3) if your monitor does not support 16:9 aspect ratios make sure that the game runs in windowed mode by changing "displayMode" field to value 2.
4) restart the game
McSkivv
Posts: 30
Joined: Wed Sep 12, 2012 12:46 am

Re: Fatal Error on Startup

Post by McSkivv »

That was remarkably fast, and the solution worked.

Thanks for your time,
~A Relieved Tester
User avatar
Sol_HSA
Posts: 681
Joined: Fri Mar 02, 2012 3:10 pm
Location: Nowhere whenever
Contact:

Re: Fatal Error on Startup

Post by Sol_HSA »

McSkivv wrote:That was remarkably fast, and the solution worked.
I was an active tester on the original grimrock beta, and man these guys are frustrating - every time I reported a bug, it was already fixed. =)
Reminder: moderators (green names) don't work for almost human. | http://iki.fi/sol/ - My schtuphh..
TheStranger
Posts: 5
Joined: Mon Aug 27, 2012 9:12 pm

Re: Fatal Error on Startup

Post by TheStranger »

Hi, I have the same crash to desktop when I click in the menu on the Dungeon Editor. The weird thing is I don't have a 4:3 spect ratio - playing on 1920x1080 - my monitor's native resolution. So apart from the windowed mode I see nothing I can do here.

Code: Select all

[string "Grimrock.lua"]:0: D3DError - Present() failed: D3DERR_INVALIDCALL
stack traceback:
	[C]: in function 'endRender'
	[string "Grimrock.lua"]: in function 'init'
	[string "Grimrock.lua"]: in main chunk
	[C]: in function 'require'
	init.lua: in main chunk

OS Version 6.1

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

Total memory: 8190 MB
Free memory: 5725 MB

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

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

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

Display device 3:
  Device name: \\.\DISPLAYV1
  Device string: RDPDD Chained DD
  State flags: 00000008

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

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

User avatar
ShadowTigerZC
Posts: 5
Joined: Thu Sep 13, 2012 12:45 am

Re: Fatal Error on Startup

Post by ShadowTigerZC »

I too have received the infamous fatal crash error on startup, with the proposed work-around not functioning, sadly. I have attempted a 16x9 and a 4:3 resolution. Neither function. The first two lines of the grimrock.cfg file are currently as such:
resolution = "600 X 480"
displayMode = 2
The above is a 5:4 ratio I believe, not 4:3.

My native desktop resolution is 1152 x 864.


Code: Select all

[string "Grimrock.lua"]:0: attempt to perform arithmetic on field 'width' (a nil value)
stack traceback:
	[string "Grimrock.lua"]: in function 'init'
	[string "Grimrock.lua"]: in main chunk
	[C]: in function 'require'
	init.lua: in main chunk

OS Version 5.1
... aaaand the rest of the log:

Code: Select all

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

Total memory: 2047 MB
Free memory: 909 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: NVIDIA GeForce 9800 GT  
  State flags: 08000005

Display device 1:
  Device name: \\.\DISPLAYV1
  Device string: NetMeeting driver
  State flags: 00000008

Display device 2:
  Device name: \\.\DISPLAYV2
  Device string: RDPDD Chained DD
  State flags: 00000008
WinXP, service pack 3, 2 GB RAM, NVIDIA GeForce 9800GT with latest drivers. Grimrock ran perfectly before this.
TheStranger
Posts: 5
Joined: Mon Aug 27, 2012 9:12 pm

Re: Fatal Error on Startup

Post by TheStranger »

My config says:

resolution = "1920 x 1080"
displayMode = 1

which is 16:9 and still I have the crash.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Fatal Error on Startup

Post by petri »

TheStranger wrote:My config says:

resolution = "1920 x 1080"
displayMode = 1

which is 16:9 and still I have the crash.
Your crash report says it's a different bug. Something related to how the editor renders in windowed mode and seems to be an isolated incident so far. I don't have time to investigate the issue right now but it's on the list. Thanks for the report!
TheStranger
Posts: 5
Joined: Mon Aug 27, 2012 9:12 pm

Re: Fatal Error on Startup

Post by TheStranger »

Ok It isn't a big problem for my anyway, just wanted to take a glance at the editor. ;)
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Fatal Error on Startup

Post by petri »

TheStranger wrote:Ok It isn't a big problem for my anyway, just wanted to take a glance at the editor. ;)
Yes but it's still important to fix this problem. May I harass you a little bit later by PM to get help with debugging the problem?
Post Reply