HelpMania Autoconversion

Posts 1–3 of 3 · Page 1 of 1
Mania Autoconversion
Hi, I'm thinking about coding an osu mania bot for myself. I'm in the process of planning the beatmap parser. Currently what I noticed about mania-specific beatmaps is that they all have the same y value. Does this mean that I can disregard this value while parsing? Also, the wiki only has the formula for 300, 100 and 50 hit window calculations. If so, how is the timing window of a 320 calculated?

Also, I would also like to have the ability to play autoconverts in this program. May I ask how osu! handles autoconverts from standard to mania?

Thanks in advance
Quote Originally Posted by gutgutgut View Post
Currently what I noticed about mania-specific beatmaps is that they all have the same y value. Does this mean that I can disregard this value -snip-
yes.

Quote Originally Posted by gutgutgut View Post
If so, how is the timing window of a 320 calculated? -snip-
 
topsecret

Code:
 
 private int VariablesCalcu(double val)
        {
            if (ModManager.CheckActive(ActiveMods, Mods.HardRock))
                val /= 1.4;
            else if (ModManager.CheckActive(ActiveMods, Mods.Easy))
                val *= 1.4;
            /*
                DT changes the audio rate and therefore shortens the hitwindow
                at a system time level. But in mania, we don't want this side effect
                so we multiply a corressponding value to val to keep the hitwindow the same
                in system time level.
             */
            if (ModManager.CheckActive(ActiveMods, Mods.DoubleTime))
                val *= 1.5;
            else if (ModManager.CheckActive(ActiveMods, Mods.HalfTime))
                val *= 0.75;

            return (int)val;
        }

float od = Math.Min(10.0f, Math.Max(0, 10.0f - Beatmap.DifficultyOverall));
HitWindow300g = VariablesCalcu(16);
HitWindow300 = VariablesCalcu(34 + 3 * od);
HitWindow200 = VariablesCalcu(67 + 3 * od);
HitWindow100 = VariablesCalcu(97 + 3 * od);
HitWindow50 = VariablesCalcu(121 + 3 * od);


on the autoconvert i can't say much, i'd recommend setting up camp and trying to read them from memory, it's fairly simple.
alright, thanks for your help, i'll try to figure this out now.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us