| View previous topic :: View next topic |
| Author |
Message |
Al Heeley
Joined: 06 Oct 2007 Posts: 7
|
Posted: Sat Oct 06, 2007 8:33 am Post subject: |
|
|
I get the following error message when trying to start FreeTrain on Vista home premium.
The type initializer for 'freetrain.framework.MainWindow' threw an exception.
at freetrain.framework.MainWindow..ctor(String[] args, Boolean constructionMode)
at Driver.Driver.run(String[] args) in c:\dev\freetrain\trunk\FreeTrain\tools\Driver\Driver.cs:line 38
at Driver.Driver.Main(String[] args) in c:\dev\freetrain\trunk\FreeTrain\tools\Driver\Driver.cs:line 26
The type initializer for 'freetrain.framework.ResourceUtil' threw an exception.
at freetrain.framework.ResourceUtil.loadSystemPicture(String name)
at freetrain.framework.MainWindow..cctor() in c:\dev\freetrain\trunk\FreeTrain\core\framework\MainWindow.cs:line 119
Retrieving the COM class factory for component with CLSID {E1211353-8E94-11D1-8808-00C04FC2C602} failed due to the following error: 80040154.
at org.kohsuke.directdraw.DirectDraw..ctor() in c:\dev\freetrain\trunk\FreeTrain\lib\DirectDraw.net\DirectDraw.cs:line 47
at freetrain.framework.ResourceUtil..cctor() in c:\dev\freetrain\trunk\FreeTrain\core\framework\ResourceUtil.cs:line93
I would love to get this game up and running, a big fan of the originals. Any solution for Vista?
|
|
| Back to top |
|
 |
steven_h Developer
Joined: 01 May 2007 Posts: 62 Location: Canberra, Australia
|
Posted: Sun Oct 07, 2007 12:06 am Post subject: |
|
|
Do you have the resources in the directory? "loadSystemPicture" is looking for items in the ./plugins/system directory and without this plugin your game wont run...
How did you Download/Obtain?
Mods... can we push this to a new thread?
|
|
| Back to top |
|
 |
himasaram Developer
Joined: 01 May 2007 Posts: 79
|
Posted: Sun Oct 07, 2007 6:22 am Post subject: |
|
|
| steven_h wrote: | | Mods... can we push this to a new thread? |
Done!
|
|
| Back to top |
|
 |
Al Heeley
Joined: 06 Oct 2007 Posts: 7
|
Posted: Sun Oct 07, 2007 8:40 am Post subject: |
|
|
steven-H: I downloaded from the sourceforge.net site: http://sourceforge.net/project/showfiles.php?group_id=188623
Extracted the zip to a folder on my desktop as there seemed to be no installer program. Did i miss something?
The system folder seems to be in the right place, but theres no c:\dev folder or \trunk folder.
I also added in all the extra plugins from the folder on sourceforge, but it still kicks up the same error.
|
|
| Back to top |
|
 |
Al Heeley
Joined: 06 Oct 2007 Posts: 7
|
Posted: Wed Oct 10, 2007 4:47 pm Post subject: |
|
|
Has anyone else managed to run the game successfully on Vista (32bit)? 
|
|
| Back to top |
|
 |
Al Heeley
Joined: 06 Oct 2007 Posts: 7
|
Posted: Wed Oct 10, 2007 9:04 pm Post subject: |
|
|
| himasaram wrote: | First the standard questions:
Do you have the correct version of .NET Framework (2.0 redistributable) installed?
Are you logged in as administrator? |
Is this of any relevance to Vista? Can anyone give some more details about what the .net framework is, if you need it, where to get it and where to install it?
|
|
| Back to top |
|
 |
himasaram Developer
Joined: 01 May 2007 Posts: 79
|
Posted: Wed Oct 10, 2007 11:35 pm Post subject: |
|
|
Dunno if the .NET runtime has to be installed on Vista, but you can try. clicky.
|
|
| Back to top |
|
 |
Al Heeley
Joined: 06 Oct 2007 Posts: 7
|
Posted: Thu Oct 11, 2007 6:42 pm Post subject: |
|
|
Thanks - I did the clicky thing, it says "This product is already installed as part of the operating system. Still no joy. 
|
|
| Back to top |
|
 |
questron
Joined: 12 Dec 2007 Posts: 1 Location: Mayen, Germany
|
Posted: Wed Dec 12, 2007 10:09 pm Post subject: |
|
|
Maybe the problem is here:
| Quote: | | Retrieving the COM class factory for component with CLSID {E1211353-8E94-11D1-8808-00C04FC2C602} failed due to the following error: 80040154 |
As far as I know, this error code means something like the com-class can't be found.
And there is actually no COM-class with this CLSID installed on my Vista-System, but there is on a fresh WinXP-Installation. It's identified with DirectX6 in the registry. So the error code seems to make sense.
I checked out the latest sources from the svn and I wasn't able to compile them on vista, 45 errors were thrown. All related to something DirectX-like, it's missing the DxVBLibA for example. I guess these problems are also related to the missing DirectX6 on Vista.
|
|
| Back to top |
|
 |
charlieg Site Admin
Joined: 29 Apr 2007 Posts: 80
|
Posted: Sat Dec 15, 2007 2:27 am Post subject: |
|
|
Yay for legacy DirectX. Argh! I thought DirectX was backwards compatable? How did they mess that up in .NET? _________________ Want Free Games?
Free Gamer - open source games blog and information
|
|
| Back to top |
|
 |
Stormbringer
Joined: 22 Jan 2008 Posts: 1
|
|
| Back to top |
|
 |
sskchan
Joined: 07 Feb 2008 Posts: 1
|
|
| Back to top |
|
 |
|