• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.
     
    Could you give us the file pokemonforms.txt in the PBS folder?
    That would make it easier for us to figure the error out...
     
    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