• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[PBS Question] Mega Evolution pokemonforms.txt causes my game to crash, help!

  • 8
    Posts
    5
    Years
    • Seen Apr 6, 2020
    I'm trying to make mega evolutions work. I watched Thundaga's video and followed all the steps. Once I had the mega ring and stone ready. It didn't work. So I did more research and found that the Pokemonforms.txt file needed to be updated, but when I updated it correctly. I got this error:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17]

    Exception: RuntimeError

    Message: Expected a section at the beginning of the file. This error may also occur if the file was not saved in UTF-8.

    File PBS/pokemonforms.txt, line 1

    #-------------------------------





    Compiler:178:in `pbEachFileSectionEx'

    Compiler:165:in `each_line'

    Compiler:165:in `pbEachFileSectionEx'

    Compiler:203:in `pbEachFileRGSS2Compatibility'

    Compiler:2005:in `pbCompilePokemonForms'

    Compiler:2003:in `open'

    Compiler:2003:in `pbCompilePokemonForms'

    Compiler:4398:in `pbCompileAllData'

    Compiler:4515
    _________________________________

    What do I do?
     
    What does the first line of your pokemonforms.txt look like? I think the compiler is expecting something different to what you have (best guesses: you've made a typo, you've saved as UTF-8 with a BOM, or you've not saved as UTF-8 at all).
     
    I don't know what UTF-8 means, so that probably is the problem. The first line is

    #-------------------------------
     
    Last edited:
    UTF-8 is a way of storing the text on your computer. If you're editing your file in Notepad or something, I think you'll be able to choose to use UTF-8 (not UTF-8 with BOM) in the "Save As" dialog.
     
    It worked! Changing it to UTF-8 instead of UTF- 8 with BOM made it run. Now I'm running into a different problem. It lets me mega evolve, and as I do, it plays the animation: After the glowy ball segment, the screen flashes white and I get a pop-up saying
    "Image located at 'Graphics/Pictures/impact' was not found!"
    I'll probably be able to figure this one out on my own as it's a graphical thing, but just wanted to put it out there in case it's a well known issue that's hard to solve.

    Thanks for the help!
     
    Back
    Top