• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Error] I try to play test my game and it says "Expected a section at the begging of the file."

Hey! It looks like your error is complaining about the "pokemon.txt" file, but you linked the contents of the "items.txt" file, which looks fine. Could you show us the pokemon.txt?
 
Hey! That looks like a different error than before, but here's what I think.

The problem is with the egg groups (Compatibility section) for your later gen pokemon, starting with Rowlet. In the previous gens, you have a numeric value to represent the egg group which seems to be what it's expecting, instead of "Flying", for example.

I am not completely sure, but taking Bulbasaur as an example, it looks like they probably correspond like this:

[PokeCommunity.com] I try to play test my game and it says "Expected a section at the begging of the file."


So, for Rowlet/Dartrix/Decidueye, instead of "Compatibility=Flying" change it to "Compatibility=4" (I think 4 is flying, according to the list.) You'll have to do that for all your gen VII pokemon, most likely - I think they are formatted for a different version of Essentials or something.

Note: just based on some other entries, it's possible you might need to double up if the pokemon has only 1 egg group, e.g. "Compatibility=4,4" but not sure if that's required.
 
Back
Top