SakeTami
joiplay
joiplay

patreon


Temporary workaround for Pokémon Essentials based games

Hi everyone, as you know there some bugs on Pokemon Essentials based games. Probably the most common one is tilemap rendering issues. I want to give some detail about this issue.
Tilemap rendering issue usually occurs when a map uses tileset that bigger than OpenGL texture limit and unfortunately a lot of games do that. RPG Maker Plugin is based on MKXP which is an open source project. MKXP uses SDL_Surface struct to create mega surfaces which used for tileset bitmap as workaround but mega surfaces don't support operations except blitting to regular bitmap. Pokemon Essentials uses a custom tilemap class. This class uses unsupported operations to resize and blit tiles so some tiles aren't rendered as intended.
I'm working on this issue and I created a postload script to temporarily fix black tile bug on some Pokemon Essentials based games. This script overrides PokemonMapFactory class to disable seamless map transition and changes mapviewmode to original. I tested it on Pokémon Clockwork and it seems working. You can copy the script to game folder to try it. This script will be executed after loading game scripts. Also you can create a script named preload.rb if you want to execute a script before loading other scripts.
I will add it to next build as an option and setbyte/getbyte functions will be fixed. If you have other issues, you can use comments.

Download Script

Edit: Link updated with correct script

Comments

Okay, thank you for replying.

Mattie Bowermaster

Script only helps on some games and probably won't work on most. I'm working on a proper fix but it probably will take a lot time.

JoiPlay

Hello! Thank you so much for this app, this is amazing! I'm trying to play pokemon Reborn on my galaxy A20, and I'm experiencing the black tile set issue. I copied the script to the game folder and still have the issue. Was I supposed to copy it into a certain folder or just the main Reborn one? I had the same problem with rejuvenation. Thank you so much for making this app!

Mattie Bowermaster


More Creators