"standard.wad" file not opening

Posted By: Ruben

"standard.wad" file not opening - 02/28/15 08:42

I finally upgraded my GS 8, so that I can publish my game file, and make it into an executable file (.exe).

When I try publishing the main script, I keep getting an error that states:
Code:
Can't open file:  'standard.wad'


When I open the WED file that is getting loaded in the main() function, which is being loaded in the main script file, I see textures being used in the WED blocks that are using textures taken from standard.wad, and they are being shown correctly, but for some reason I am getting this error.

Also, when I try and run my executable .exe file, it sounds like the music for my game will start playing for about a second, but then Gamestudio will crash every time, and a message box pops up stating this message:

Code:
gameFile.exe has stopped working
Windows is checking for a solution to the problem.


After checking for a solution, the message box changes to:
Code:
gameFile.exe has stopped working
A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available.



I managed to make another executable for a different script file work just fine, and the textures loaded okay, and the executable loaded just fine, although this script file does not use the standard.wad file.

Also, when I compile and run my game file without publishing it, it runs just fine. I do not understand why standard.wad does not give me a problem when I compile and run my game file without publishing it, but does give me a problem when I do publish it.

I am assuming I cannot run the executable because there is something wrong with the standard.wad file. Does anyone know what I might be able to do to fix the standard.wad file, or is it doomed? It came out of the "wads folder" in the Gamestudio program folder.
Posted By: Ruben

Re: "standard.wad" file not opening - 02/28/15 22:58

I commented out a call to "standard.wad" in my declarations file, and I am getting no mentioned errors when I try to publish my main script file again, but I am getting the same end result, in that the .exe file will play the music in my game for a second, and then crash again as I mentioned before, giving the same crash message.

If I am missing a file call in my main script, wouldn't an error message tell me that? Because I am getting no errors when the publish compiles, but the program still crashes in the end.
Posted By: Ruben

Re: "standard.wad" file not opening - 03/01/15 04:04

I noticed in the publish compile message box under "autobind", it stated that it skipped acknex.wdf. I therefore found out where this file was located in my computer, and copy/pasted it in the same folder as my script file, and published it again. It did not state that it skipped it this time. However, the application is still crashing when I run it.
Posted By: Ruben

Re: "standard.wad" file not opening - 03/01/15 04:16

Can a script file compile and run successfully (without publishing it), but crash when you publish it and try to run the .exe file?
Posted By: Wjbender

Re: "standard.wad" file not opening - 03/01/15 07:34

without the complete project ,trying to help you
is like a guessing game at this stage ,imo.

can you reproduce the project problems in a small example project, and upload it for others to take a peek at ?

I have had some bad experiences with projects too ,but not like how this sounds .
Posted By: Ruben

Re: "standard.wad" file not opening - 03/18/15 08:05

I got it fixed. I just had to debug some of the errors I received in the script editor. Once those bugs were gotten rid of, the executable works fine.
© 2024 lite-C Forums