Bug Reports / Runtime error 3002 when executing standalone game

Author
Message
brco900033
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 22nd Jul 2014
Location: Belgium
Posted: 17th Mar 2016 20:29 Edited at: 17th Mar 2016 20:30
I created my own menu and launcher for my game, so I need to launch the standalone EXE file from my menu. My code for launching the game is the following (vb.net):



First I thought it had something to do with the focus (because I sometimes had problems when going out of a running executable game, and that would give me an error), but I am quite sure that the standalone I launch instantly gets focus when using the process.Start() method, so I don't think that is the problem. I also tried launching the executable using cmd:
start "" "path_to_file"
But that also gives me the same error (Runtime error 3002, no more information is supplied in the messagebox).


Has anyone else encountered this problem? Or does anyone know how I can fix this, or work around the problem?
PM
brco900033
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 22nd Jul 2014
Location: Belgium
Posted: 17th Mar 2016 21:54
I forgot to mention that when I just run it from Explorer it works perfectly fine...
PM
synchromesh
Forum Support
11
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 20th Mar 2016 02:34 Edited at: 20th Mar 2016 02:38
Runtime error 3002 is a sound or music loading failure ..
If your using custom sounds or music check they have copied to your standalone folder ?
If they haven't then manually copy them across and see if that cures it
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
brco900033
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 22nd Jul 2014
Location: Belgium
Posted: 31st Mar 2016 21:48
Thanks for the reply!

I did remove some unused audio files from the standalone folder, so I placed them back into the folder. I have no custom audio files for this standalone game so that could not be the problem.

After placing the audio files back into the folder I did not receive the runtime error anymore. Now the game just crashes (I get the standard Windows crash dialog, so no detailed error message...).
PM

Login to post a reply

Server time is: 2025-05-07 05:57:58
Your offset time is: 2025-05-07 05:57:58