Page 2 of 2

Re: Got error when start EHM 07?

Posted: Sun Oct 27, 2013 1:21 am
by geckon
B. Stinson wrote:
Sebban95 wrote:Hi! I got problem to run EHM 07 it says runtime error and unable to load the fonts what is i need to do so it work? i got it on my new computer (Windows Vista) Print Screen here : http://img51.imageshack.us/img51/7968/errorih.jpg
Do you have EHM set to run in windowed mode, or full screen? It looks like you have a 1280x768 resolution, which means you have to run the game in full screen.

I think you might have it set to windowed, and it's crashing because it can't run a window on your resolution.

Sorry for opening such an old topic but I found a possible solution for this (after a long time this was bothering me).

Disclaimer:
I don't play the game in Windows but in Linux using Wine. This solution is only useful for:
- Linux and Wine users like me
- Windows users who are able to do the same as I do in Linux (it may be possible but not being a Windows user myself I don't know how to do that - but someone else may know)

Steps to solve the issue on Linux:

1) scale your display to fake a bigger resolution by this command: xrandr --output LVDS-0 --scale 1x1.1
2) run the EHM
3) scale your display back to your resolution by this command: xrandr --output LVDS-0 --scale 1x1

NOTES:
- The "LVDS-0" is your output (how your display is connected). On laptop it will very probably be "LVDS-0" or "LVDS", you can also see e.g. "VGA-0", "HDMI-0" etc for external displays
- The "1x1.1" says that you want to have the same width and 1.1-times your height. You may need to adjust these values if your display resolution is different from mine or you have different panels on your screen etc. E.g. for the same width and 150% height you would use 1x1.5 - I hope you see the pattern.
- After you run EHM and set the display back, EHM should keep running (at least it doesn't crash on my laptop) and you should be able to play it. It will probably not fit your screen well (that's the original problem). You can deal with it by:
- moving the window so only some not needed part of it is not visible (out of the screen)
- switching the game to fullscreen mode that should work even on smaller screens
- omit the third step and play the game on the scaled screen - this has the disadvantage that everything will probably be blurred a little

I hope this helps to someone, I'm personally happy I found this solution :)

Re: Runtime Error has stolen EHM!

Posted: Mon Jan 20, 2014 5:47 am
by jesterx7769
I am having this problem on my work laptop. I think I found a thread a long time ago where if you had a line of text to one of the files it fixes it but I can't remember. Some people say they cleared their registries but I don't know how to do that :( the game booted up fine the first time but now it wont

Re: Runtime Error has stolen EHM!

Posted: Mon Jan 20, 2014 9:01 pm
by archibalduk
jesterx7769 wrote:I am having this problem on my work laptop. I think I found a thread a long time ago where if you had a line of text to one of the files it fixes it but I can't remember. Some people say they cleared their registries but I don't know how to do that :( the game booted up fine the first time but now it wont
Did you make any changes in between it working the first time and when it started not working? E.g. installing patches, skins, DBs, etc?

Re: Runtime Error has stolen EHM!

Posted: Tue Jan 21, 2014 4:21 am
by jesterx7769
The first time I launched it from this laptop it was connected to a dock so it opened on a normal sized monitor. Now, it is just the laptop without docking or monitor. I have been reading some people saying the screen resolution messes with it but I am trying to find a solution as changing the screen resolution did not help nor did launching the game in full screen or window mode make a difference.

Re: Runtime Error has stolen EHM!

Posted: Tue Jan 21, 2014 7:47 pm
by archibalduk
jesterx7769 wrote:The first time I launched it from this laptop it was connected to a dock so it opened on a normal sized monitor. Now, it is just the laptop without docking or monitor. I have been reading some people saying the screen resolution messes with it but I am trying to find a solution as changing the screen resolution did not help nor did launching the game in full screen or window mode make a difference.
You could try forcing windowed mode by editing your EHM shortcut so that it looks like this: http://www.ehmtheblueline.com/forums/vi ... 711#p21711

Re: Runtime Error has stolen EHM!

Posted: Wed Jan 22, 2014 12:28 am
by jesterx7769
Ty I tried that but it didn't work. Howeveer I did read in that thread where under 800 pixels causes the problem which I am having. Guess no EHM for my week long work trip like I intended :(

Re: Runtime Error has stolen EHM!

Posted: Wed Jan 22, 2014 8:50 pm
by archibalduk
Yeah, having less than about 800 pixels is likely to cause an issue I'm afraid. Forcing the small_screen command is pretty much the only solution - and I'm not sure whether it really works.