Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Petra, AndrewAMD, Quad, VoroneTZ, 1 invisible), 488 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
"standard.wad" file not opening #449031
02/28/15 08:42
02/28/15 08:42
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
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.

Last edited by Ruben; 02/28/15 09:33.
Re: "standard.wad" file not opening [Re: Ruben] #449037
02/28/15 22:58
02/28/15 22:58
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
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.

Last edited by Ruben; 02/28/15 23:00.
Re: "standard.wad" file not opening [Re: Ruben] #449038
03/01/15 04:04
03/01/15 04:04
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
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.

Re: "standard.wad" file not opening [Re: Ruben] #449039
03/01/15 04:16
03/01/15 04:16
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
Can a script file compile and run successfully (without publishing it), but crash when you publish it and try to run the .exe file?

Re: "standard.wad" file not opening [Re: Ruben] #449040
03/01/15 07:34
03/01/15 07:34
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
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 .


Compulsive compiler
Re: "standard.wad" file not opening [Re: Wjbender] #449389
03/18/15 08:05
03/18/15 08:05
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
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.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1