Runtime Error has stolen EHM!

Having difficulty installing or running EHM? Having trouble purchasing the game through Steam? Unable to get an addon or patch to work correctly? This is the place to ask for help! Please note that this is purely unofficial support offered by the TBL community.
Forum rules
Data Editing Forum: Editing the game, databases or saved games. Home of the EHM Editor and the EHM Assistant.

Game Add-ons Forum: Database projects, graphics and sounds. Any discussion which does not relate to editing databases or saved games.

Game Knowledge Discussion: Attributes, coaching, drafting, scouting, tactics and training/practice.

Rosters Forum: Discussion relating to all database and roster projects for Eastside Hockey Manager.

Technical Support: Difficulties, crashes and errors when installing or running the game (and nothing else). Any issues relating to the TBL Rosters must be posted in the TBL Rosters forum. Questions about how to install add-ons must be posted in the Game Add-ons Forum.

General EHM Chat: Anything relating to Eastside Hockey Manager 2004 / 2005 / 2007 / 1 which does not fall within any of the other forums.

Please carry out a forum search before you start a new thread.
geckon
Prospect
Posts: 96
Joined: Tue Dec 04, 2012 10:30 pm

Re: Got error when start EHM 07?

Post 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 :)
User avatar
jesterx7769
Challenge Moderator
Posts: 485
Joined: Sun Apr 24, 2011 10:30 pm

Re: Runtime Error has stolen EHM!

Post 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
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Runtime Error has stolen EHM!

Post 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?
User avatar
jesterx7769
Challenge Moderator
Posts: 485
Joined: Sun Apr 24, 2011 10:30 pm

Re: Runtime Error has stolen EHM!

Post 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.
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Runtime Error has stolen EHM!

Post 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
User avatar
jesterx7769
Challenge Moderator
Posts: 485
Joined: Sun Apr 24, 2011 10:30 pm

Re: Runtime Error has stolen EHM!

Post 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 :(
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Runtime Error has stolen EHM!

Post 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.
Post Reply