Error upon starting up Compressed game.

So I'm finally getting ready to release my demo when I come into a problem. Upon seeing if it would load up, I get:

Script 'Cache' line 106: RGSSError Occurred.

Error occurred, check the debug console for more information.
Now before starting this thread I did google this but typically people would say their error included mention of a bitmap, whereas mine does not. I don't think I can check the debug console either since I'm not booting it up in RPG Maker. 

Edit: I'm an idiot. You know what it was? I had .PDN files in my graphics folder. It was messing with the game.
Does the game boot up successfully in RPGMaker when you playtest?
Does the game boot up successfully in RPGMaker when you playtest?
Correct. It only gets this error when loading up the compressed version.
A file might have been corrupted or something. Try recompressing and if you have a friend, make him try to load up your game.


PS: You can actually use a snippet to open to open the console even when the game is played outside of the maker.
The error message in your original post means that you have one of the backtracker scripts installed, that usually give a better error list on the console.


However, the game itself has no console active - so please remove the backtracker script before compression and encryption, so that you get a better output - not as good as the backtracker, but it might help solve the problem.


And then give us a screenshot of the error message - retyping it always runs the risc of a typo at the wrong place (happened before)
The error message in your original post means that you have one of the backtracker scripts installed, that usually give a better error list on the console.

However, the game itself has no console active - so please remove the backtracker script before compression and encryption, so that you get a better output - not as good as the backtracker, but it might help solve the problem.

And then give us a screenshot of the error message - retyping it always runs the risc of a typo at the wrong place (happened before)
A backtracker script? I may but I'm unsure what is considered a backtracker.
The original error message only states the final line where the engine crashes on the error, it doesn't mention which scripts were on the stack when the error happens.


And especially in the case of interpretor errors, everything go to the same line - the interpreter processing command, which won't help in finding the error.


To solve this problem, there are two or three backtracker scripts that print the entire error stack to the console window, allowing you to read the names and lines of all scripts being processed when the error happens.


And this part:

Error occurred, check the debug console for more information.
Is NOT part of the original error messages, but a line placed in the regular error message by one of the backtracker scripts to remind the user to check the full error message in the console when playtesting.
Even if you don't remember it, sometime in the past you placed that backtracer script in your project.
The original error message only states the final line where the engine crashes on the error, it doesn't mention which scripts were on the stack when the error happens.

And especially in the case of interpretor errors, everything go to the same line - the interpreter processing command, which won't help in finding the error.

To solve this problem, there are two or three backtracker scripts that print the entire error stack to the console window, allowing you to read the names and lines of all scripts being processed when the error happens.

And this part:

Is NOT part of the original error messages, but a line placed in the regular error message by one of the backtracker scripts to remind the user to check the full error message in the console when playtesting.

Even if you don't remember it, sometime in the past you placed that backtracer script in your project.
I found it! So yeah, I checked my "main" script and replaced it with a new game main script. Though still getting the error but not the same as before.

Now it is: 

[IMG]http://i.picpar.com/XM2b.png[/IMG]

I imagine this means something is corrupted? If so, how do I figure that out? Cause when I go into my files, nothing seems to be corrupted. But I just may not know how to tell.
one of the pictures could not be loaded or processed.


I know there is another script that checks all pictures for problems - can you search for the cache error message and see if you find it?
one of the pictures could not be loaded or processed.

I know there is another script that checks all pictures for problems - can you search for the cache error message and see if you find it?
Can't seem to find it. 🙁 Is there no way to manually check?
Are you including the RTP when you compress the game? That message indicates that it's not able to find a graphic that it's looking for (or that it's corrupt).


I think you can get the console if you run the exe with a 'test' argument. If you can do that, go to the Cache script, and insert a new line before 106:

Code:
p path
If you can do that and get it to crash again, the last line on the console will tell you what image it was trying to load.
Are you including the RTP when you compress the game? That message indicates that it's not able to find a graphic that it's looking for (or that it's corrupt).

I think you can get the console if you run the exe with a 'test' argument. If you can do that, go to the Cache script, and insert a new line before 106:

p pathIf you can do that and get it to crash again, the last line on the console will tell you what image it was trying to load.
Well it should be noted it crashes due to encrypted archive. If I don't encrypt anything, then it loads just fine.

(Also I tried what you just told me and the console didn't load up on the compressed game. 🙁 )
Hello? 🙁 Any ideas?
Korten12, please do not bump your topic unless it has been 72 hours later since your last post. You can review our forum rules here. Thank you.
Well I made a new project and put in all of my graphics into it to test if it came out to the same issue.

Despite having none of the same scripts, the game got a bitmap error. Which means it does in fact, have a corrupted image. I just need to find out what it is...

Edit: Just tried another game that shared scripts but no any graphics and got the same error... Now I'm more confused than before. Could a file in the RPG Maker engine itself be what is corrupted?

You would be surprised at how little there is on this error on google.

Original thread: https://forums.rpgmakerweb.com/threads/error-upon-starting-up-compressed-game.43377/