• 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.

"filename is nil" error for a Pokémon sprite

2
Posts
9
Years
    • Seen Aug 26, 2020
    Um hi, this error has stopped me from being able to play test. I'm using v16, and I have made custom sprites, and maps.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    Message: filename is nil
    SpriteWindow:218:in `initialize'
    Pokemon_Sprites:188:in `new'
    Pokemon_Sprites:188:in `pokemon='
    Pokemon_Sprites:174:in `initialize'
    PScreen_Load:172:in `new'
    PScreen_Load:172:in `pbSetParty'
    PScreen_Load:171:in `each'
    PScreen_Load:171:in `pbSetParty'
    PScreen_Load:323:in `pbStartLoadScreen'
    Main:6:in `main'
    ---------------------------
     

    Telemetius

    Tele*
    267
    Posts
    9
    Years
  • Um hi, this error has stopped me from being able to play test. I'm using v16, and I have made custom sprites, and maps.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    Message: filename is nil
    SpriteWindow:218:in `initialize'
    Pokemon_Sprites:188:in `new'
    Pokemon_Sprites:188:in `pokemon='
    Pokemon_Sprites:174:in `initialize'
    PScreen_Load:172:in `new'
    PScreen_Load:172:in `pbSetParty'
    PScreen_Load:171:in `each'
    PScreen_Load:171:in `pbSetParty'
    PScreen_Load:323:in `pbStartLoadScreen'
    Main:6:in `main'
    ---------------------------

    You really should be more detailed about what you did. Making new maps can in no way break your game, nor can adding new sprites. Did you remove or edit something?
     
    Last edited:
    19
    Posts
    5
    Years
    • Seen May 11, 2020
    Maruna sir please help me...
    everytime it shows filename.nil
    then i rename it and play my game a little and then save it.
    after it when again i run my game to play from where i saved it again shows filename is nil.
    the process repeats again and again. please help
     
    1,682
    Posts
    8
    Years
    • Seen May 16, 2024
    Maruna sir please help me...
    everytime it shows filename.nil
    then i rename it and play my game a little and then save it.
    after it when again i run my game to play from where i saved it again shows filename is nil.
    the process repeats again and again. please help

    When you get the filename is nil error on the load screen, you have a missing icon for a pokemon in your party, usually from a save with a different project. You can separate the save file by renaming the project in RMXP (Game>Change Title...), or by going to your Saved Games folder and deleting Game.rxdata from the folder that has the name of your project.
     
    19
    Posts
    5
    Years
    • Seen May 11, 2020
    Thankyou Vendily, I wanted a reply frm u only.
    though there's a problem...everytime i save my game everytime the error comes. and then everytime i have to rename my project
     
    Back
    Top