Author Topic: Launch error for steam bought copy  (Read 1780 times)

Offline Lorloc435

  • Newbie
  • *
  • Posts: 3
Launch error for steam bought copy
« on: August 31, 2010, 06:59:48 pm »
I am not really sure what is going on here, but i am sure someone on here does

thanks for the help, this is the error message that was in my game file







8/31/2010 4:25:28 PM (3.1.2.0Trial)
-----------------------------------Application_ThreadException-----------------------------------System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files\steam\Sounds'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 137
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Launch error for steam bought copy
« Reply #1 on: August 31, 2010, 07:13:50 pm »
Looks like it's thinking the game is being run from the "'c:\program files\steam\" directory when it's actually supposed to be run from "'c:\program files\Steam\steamapps\common\ai war fleet command\".

It's very strange that it would do that; if you navigate to c:\program files\Steam\steamapps\common\ai war fleet command\ in windows explorer (not internet explorer) and run AIWar.exe, what happens?
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Lorloc435

  • Newbie
  • *
  • Posts: 3
Re: Launch error for steam bought copy
« Reply #2 on: August 31, 2010, 07:34:23 pm »
My computer freaked out about 3 months ago and i now have a prompt every time i open anything for open with, and i have had to find it in a browse list in that function, i probably just need to wipe my computer and start over, its old anyway. Anyways, when i go to that location in windows explorer and open aiwars.exe it does that same prompt routine and i have to find aiwars.exe in the folder in that browse function, and then launch it that way, the same thing happens. I'm sure it is my screwed up computer, do you have any other ideas, or whats goin on with my laptop? sorry for being complicated and i hope at least some of that makes sense   

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Launch error for steam bought copy
« Reply #3 on: August 31, 2010, 08:02:06 pm »
Ouch, yea, that sounds like a heavily hosed computer.  At least it explains the problem you're having, and why I wasn't used to seeing it.

When you say "now have a prompt every time i open anything for open with" do you mean that it prompts you for the program to open the game with?  And you pick Steam, I'm guessing?  And the error message is exactly the same as running it from within steam?  How do you open steam, anyhow? ;)

If so, you can theoretically "fix" the problem by copying the contents of "c:\program files\Steam\steamapps\common\ai war fleet command\" into "c:\program files\steam\" and run it the same way you are now.  But that sounds like a rather bad idea in terms of dirtying up your steam directory.

But a much better thing is to fix your computer's problem of not knowing how to open an exe file.  Here's a couple links I found by googling "double clicking exe brings up open with dialog" :

http://www.winhelponline.com/articles/105/1/File-association-fixes-for-Windows-Vista.html (this one actually has a program to fix the problem, and it was recommended on another site so is likely legit; but I don't konw that for sure)

http://www.askvg.com/solution-exe-files-always-open-with-notepad-or-other-applications/ (this describes the actual registry fixes that the above-mentioned program actually does).

http://en.kioskea.net/forum/affich-41261-can-t-open-exe-applications (more of the same, mentions boot sector virus as possible cause)


I imagine those would fix the open with problem.  But you may want to check for viruses (HijackThis is good for getting info, and there are various forums where people will look at HT logs and tell you if/what is wrong).  If you are infected it's probably best to rebuild the machine from bare metal if that's feasible.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Lorloc435

  • Newbie
  • *
  • Posts: 3
Re: Launch error for steam bought copy
« Reply #4 on: September 01, 2010, 06:08:52 pm »
Hey thanks for the information! it helped out and everything is runnin beautifully now, loving the game

thanks again

Offline Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,704
  • And he sayeth to sea worm, thou shalt wriggle
Re: Launch error for steam bought copy
« Reply #5 on: September 01, 2010, 09:21:41 pm »
(If I could give karma on this forum, I would Keith.  :))

Enjoy the game, Lorloc!
I'd take a sea worm any time over a hundred emotionless spinning carriers.
irc.appliedirc.com / #aiwar
AI War Facebook
AI War Steam Group

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Launch error for steam bought copy
« Reply #6 on: September 01, 2010, 09:24:49 pm »
Hey thanks for the information! it helped out and everything is runnin beautifully now, loving the game

thanks again
Glad it worked out, and very glad you like the game :)

Keep an eye on that machine, it might get increasingly cantankerous.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!