Sorry! An error has ocurred while running Stepmania

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ScylaX
    urararararararara
    FFR Music Producer
    • Dec 2007
    • 1044

    #1

    Sorry! An error has ocurred while running Stepmania

    And I can't understand what is going exactly. I was making a "new" theme like I always did before (I don't plan on releasing it though, they are really redundant) but trying to play it by picking the beginner mode makes me get to this error :
    "Invalid Screen class name 'ScreenBranc8SelectSongOrCourse'"

    What the **** is happening exactly ? I didn't touched to the metrics or anything, it's totally about music and graphic files modification. The ONLY thing I changed concerning the text files that determines the parameters of the theme are some redir text files in the music folder for the theme and the name that is displayed in the windows, nothing more.

    For some reason, it works if I pick light, standard or heavy, but not beginner.
    Suimega is my present username!!! (b-but feel free to call me scylaax anyway) | https://suimega.bandcamp.com/
  • Oni-Paranoia
    No fucks
    • Dec 2006
    • 2440

    #2
    Re: Sorry! An error has ocurred while running Stepmania

    There's more to it that you changed. I put my life on it. Take a screenshot of the error... That's actually a random class name for a problem by the way...

    Comment

    • AsphyxZero
      Banned
      • Oct 2010
      • 1823

      #3
      Re: Sorry! An error has ocurred while running Stepmania

      Sorry, an error has occured in stepmania. You're in france.

      Comment

      • qqwref
        stepmania archaeologist
        FFR Simfile Author
        • Aug 2005
        • 4092

        #4
        Re: Sorry! An error has ocurred while running Stepmania

        There's a "ScreenBranc8SelectSongOrCourse" somewhere that should be "ScreenBranchSelectSongOrCourse". Maybe it's in the name of a folder/file. Maybe it's in one of the .ini files somewhere. But you gotta find it, and fix it.
        Best AAA: Policy In The Sky [Oni] (81)
        Best SDG: PANTS (86)
        Best FC: Future Invasion (93)

        Comment

        • aj187
          FFR Player
          • Dec 2002
          • 74

          #5
          Re: Sorry! An error has ocurred while running Stepmania

          it's likely a problem in the metrics somewhere, even though you say you didn't change them

          either that or a redir

          @ssc_kki on Twitter
          StepMania 5 Themes available from spinal shark collective. Might also want to check the SM5 Theme Update.

          Comment

          • ELRayford
            Custom User Title
            • May 2004
            • 1547

            #6
            Re: Sorry! An error has ocurred while running Stepmania

            Here are all of the instances of "ScreenBranch..." within metrics.ini version 3 is assumed. It is probably what was mentioned before "you have an 8 in one of these " Good luck I am pretty sure that the screen branch is how SM routes to the next screen. You can change it to w/e you want. The issue you are having is a "class" isnt named correctly. It could be in the ".en" file of your theme folder. You either need to go add in the ScreenBranc8SelectSongOrCourse'" or just change the 8 to h. If you want to post your metrics i can find it for you... you could also just find it with CTRL F


            Code:
            [ScreenGameplay]
            ShowEvaluationOnFail=0
            StaticBGY=240
            StaticBGX=320
            PrevScreen=ScreenBranchSelectSongOrCourse
            NextScreen=ScreenBranchEvaluation
            Code:
            [ScreenBranchSelectSongOrCourse]
            Class=ScreenBranch
            Choices=1,2,3,4
            Condition1=PlayModeName() == "Nonstop"
            Condition2=PlayModeName() == "Oni"
            Condition3=PlayModeName() == "Endless"
            Condition4=true
            NextScreen1=screen,ScreenSelectCourseNonstop
            NextScreen2=screen,ScreenSelectCourseOni
            NextScreen3=screen,ScreenSelectCourseEndless
            NextScreen4=screen,ScreenSelectBranchForNet
            Code:
            [ScreenPlayerOptions]
            Fallback=ScreenOptions
            PrevScreen=ScreenBranchSelectSongOrCourse
            NextScreen=ScreenSongOptions
            TimerSeconds=30
            StyleIcon=0
            MemoryCardIcons=0
            
            PrevScreen=ScreenBranchSelectSongOrCourse
            NextScreen=ScreenSongOptions
            CapitalizeAllOptionNames=0
            Code:
            [ScreenSelectCharacter]
            Fallback=ScreenWithMenuElements
            TitleP1OnCommand=x,140;y,80;addx,-400;bounceend,0.5;addx,400
            TitleP1OffCommand=sleep,0.2;bouncebegin,0.5;addx,-400
            TitleP2OnCommand=x,500;y,80;addx,400;bounceend,0.5;addx,-400
            TitleP2OffCommand=sleep,0.2;bouncebegin,0.5;addx,400
            CardP1OnCommand=x,140;y,180;addx,-400;bounceend,0.5;addx,400
            CardP1OffCommand=sleep,0.2;bouncebegin,0.5;addx,-400
            CardP2OnCommand=x,500;y,180;addx,400;bounceend,0.5;addx,-400
            CardP2OffCommand=sleep,0.2;bouncebegin,0.5;addx,400
            CardArrowsP1OnCommand=x,140;y,180;diffusealpha,0;linear,0.3;diffusealpha,1
            CardArrowsP1OffCommand=linear,0.3;diffusealpha,0
            CardArrowsP2OnCommand=x,500;y,180;diffusealpha,0;linear,0.3;diffusealpha,1
            CardArrowsP2OffCommand=linear,0.3;diffusealpha,0
            ExplanationOnCommand=x,320;y,140;diffusealpha,0;linear,0.3;diffusealpha,1
            ExplanationOffCommand=linear,0.3;diffusealpha,0
            AttackFrameP1OnCommand=x,140;y,380;addx,-400;bounceend,0.5;addx,400
            AttackFrameP1OffCommand=sleep,0.2;bouncebegin,0.5;addx,-400
            AttackFrameP2OnCommand=x,500;y,380;addx,400;bounceend,0.5;addx,-400
            AttackFrameP2OffCommand=sleep,0.2;bouncebegin,0.5;addx,400
            AttackIconWidth=40
            AttackIconHeight=40
            AttackIconsP1StartX=128
            AttackIconsP1StartY=356
            AttackIconsP2StartX=488
            AttackIconsP2StartY=356
            AttackIconsSpacingX=42
            AttackIconsSpacingY=32
            # DO NOT set absolute X or Y coords in these tweens. they are set based on
            # the above 6 metrics. you can use addx and addy still.
            AttackIconsP1OnCommand=addx,-400;bounceend,0.5;addx,400
            AttackIconsP1OffCommand=sleep,0.2;bouncebegin,0.5;addx,-400
            AttackIconsP2OnCommand=addx,400;bounceend,0.5;addx,-400
            AttackIconsP2OffCommand=sleep,0.2;bouncebegin,0.5;addx,400
            IconWidth=40
            IconHeight=40
            IconsP1OnCommand=addx,-400;bounceend,0.5;addx,400
            IconsP1OffCommand=sleep,0.2;bouncebegin,0.5;addx,-400
            IconsP2OnCommand=addx,400;bounceend,0.5;addx,-400
            IconsP2OffCommand=sleep,0.2;bouncebegin,0.5;addx,400
            SleepAfterTweenOffSeconds=0.8
            TimerSeconds=40
            StyleIcon=1
            MemoryCardIcons=1
            PrevScreen=ScreenTitleMenu
            NextScreen=ScreenBranchSelectSongOrCourse
            Last edited by ELRayford; 05-5-2011, 07:12 PM.

            Comment

            Working...