After many, many years of trying to get the unlock system to work like it used to in 3.9, I've worked out how to implement it simply into all our themes. It involves 2 easy steps:, Program to write an Unlocks.dat file for StepMania 3.9 to set song unlock criteria. - Ryochan7/StepMania-Unlock-Code-Generator., There isn't a function called GetNumStagesPassedByGrade. The closest would be Profile:GetTotalStepsWithTopGrade(st, d, g). "Returns the number of steps with the specified StepsType and Difficulty that you've scored a certain Grade g on." I tried in the Etterna Discord but this still gives an Error. This was the Error:, Does anyone know how to set up the unlock system? I'm trying to make an arcade cabinet and i would really like to find out how one sets this feature up., In StepMania, all game modes are unlocked at the start. If you want game modes to be locked until the player plays a number of songs, you can write code in the theme that will do that., So I understand that SM 5 has an unlock system, where you can set certain songs, charts, etc. as "locked" until a set of requirements are met (requirements of your choosing)..