Yami's Overlay Mapping - Weird issue..

Hi all you lovely people!

Script in question: Here

So I have used Yamis overlay script for a while now, and Its just the bomb! I can spice up my maps a lot, without too much of a hassle and it works really nice!

However...

I stumbled upon a really strange issue.. something that I havn't experienced with any other script ever.. Since I usually playtest the game from the project I didn't find this out until I watched an LP of my game.

So the problem is that the script and the overlays works perfectly when I playtest. But once I compress the game and start playing it, the script is freaking out and the overlay doesn't display properly.

Let me demonstrate:

During Playtest and before Compress:

(As you can see the script and the overlay is being displayed correctly)

After Compress and played from Windows:

(Now the overlay is being displayed in a very weird fashion, and some overlays doesn't appear at all in the game, even though they will when I testplay)

Anyone that might have an idea about this? I find this insanely weird since the script works fine when I playtest, and then for some reason it will mess up.

Would be insanely happy if this could be resolved, since I have put down a lot of work with the overlays.. and I really want and need this script.

Best wishes

~Dark.
Are you sure it's working properly during playtest and before compress? What's that black tile in the top left next to the door, in your first (before compress) screenshot?


Could it be that the parallax graphic is not being included in the compressing process? If you go to your 'final version' game (the one that's having the issues), add the necessary Graphics subfolder, and the parallax images, does the problem go away?
Are you sure it's working properly during playtest and before compress? What's that black tile in the top left next to the door, in your first (before compress) screenshot?

Could it be that the parallax graphic is not being included in the compressing process? If you go to your 'final version' game (the one that's having the issues), add the necessary Graphics subfolder, and the parallax images, does the problem go away?
Yes I'm 100% sure. I have tried with different overlays at different parts of the game, and they all display as they should (as the town in my screenshot). No problem whatsoever when I playtest the game (the reason why I discovered it from a LP since all the overlays freaked out).

The black tile that you are talking about is just a minor issue with a frame in the overlay. It's  just a black tile that prevents the player to pass through the overlay. I have just missed to add that 1 frame of wall for the overlay, so It's easy to fix xD

It might be, I havn't tried to put in the folder after compression though. Will try and add the parallaxes in a folder and see if it solves it 🙂

Thanks for the fast reply!

Edit: Just found something from Yami.

Yami

April 16, 2012 @ 11:55 am

Update 2012.04.16:

- Reworked with Encrypted Game.

Seems like he has released a new update that has something to do with Encrypted games, might be a fix for the issue I experience.. Will download the new version and see.

Edit again:

Yes, that solved it! Seems like the script didn't include the files when Encrypted but the new version seems to have fixed that! Can't believe I tried to fix it for an hour, posted a support thread and then solve the problem 5 minutes after... sigh.

Anyway. thanks a lot for your answer Shaz, and I'm sure that your method would have worked just as fine.

Thread can be closed.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yamis-overlay-mapping-weird-issue.20951/