File length is filesize divided by bitrate.
Hope that helps.
Edit:
True for both ogg and mp3.
Hope that helps.
Edit:
True for both ogg and mp3.
akrolsmir wrote:
Alright, from there I found a magical library that gets the bitrate directly for me; I might not even need song duration anymore! Also, does anyone have an mp3 file with a Variable Bit Rate and a known average to provide me for testing the bitrate that the library give me? Yay, let's use my map. http://osu.ppy.sh/s/32318 Bitrate is in the metadata (164kbps). More exactly, It is probably somewhere between 164-165.I couldn't reproduce this, could you tell me which folder you were using when this happened?blissfulyoshi wrote:
Bug: AIBat suggest there should be an epilepsy warning even if epilepsy warning is on.
As for this, I was checking http://osu.ppy.sh/s/26860, and if you look in the file, the epilepsy warning is on, but it warned me anyway. (Reminder: you can only see the visual effect of the epilepsy warning when playing standard, not through the editor)
I kind of already knew that, but thanks for your contribution. Thankfully the magical library I mentioned earlier finds both for me, directlyMaav wrote:
File length is filesize divided by bitrate.
Hope that helps.
Edit:
True for both ogg and mp3.
Cool, the check returned 164 as well. I guess that means I'll be implementing the bitrate check very soon.blissfulyoshi wrote:
Yay, let's use my map. http://osu.ppy.sh/s/32318 Bitrate is in the metadata (164kbps). More exactly, It is probably somewhere between 164-165.
Thanks for the sample map! I've caught and fixed the bug- I forgot to account for the space in between "Epilepsy Warning:" and "1".blissfulyoshi wrote:
As for this, I was checking http://osu.ppy.sh/s/26860, and if you look in the file, the epilepsy warning is on, but it warned me anyway. (Reminder: you can only see the visual effect of the epilepsy warning when playing standard, not through the editor)
About the new guidelines, it seems there needs to be a fair amount of discussion before those are finished and in addition AIMod is fairly low on the priority list, so I wouldn't worry too much AIMod having duplicate functionality.akrolsmir wrote:
Anyone know if peppy is planning on updating AIMod to reflect these new guidelines? If so, I might drop AIBat or rework it to include less overlap. It's not that I mind working on it, I just don't want to waste my effort on duplicating functionality.
Hm... could you provide a sample folder for me to look at? Thanks!Equivalent wrote:
Minor bug:
Hitcircle.png not reported missing even if none in beatmap as the other elements of hitcirles are there.
Ah, okay. I'll primarily be focusing on adding checks in the next iteration, since I've already implemented most of the features I wanted to. I guess I can start looking through the suggested new guidelines and putting checks for those as well. Thanks for the update!blissfulyoshi wrote:
About the new guidelines, it seems there needs to be a fair amount of discussion before those are finished and in addition AIMod is fairly low on the priority list, so I wouldn't worry too much AIMod having duplicate functionality.
Pereira006 wrote:
Hello
I have question here
I just feeling problem aibat or i wrong
Aibat is working my pc ok but sometime i click folder will not show nothing
I just test aibat and i click folder from my map but still not show and i remove diff insane, normal now Aibat is working and show all. So i put again normal and insane and remove hard now aibat is not working again
I just test another folder map is same problem
I can't understand very well what problem Aibat...
Sometime Aibat is not working somehere diff...
or I wrong?
i use Windows XP SP3
and sorry my bad english
Yes, that would be very helpful, since it sounds like AIBat is only breaking on certain maps, not everything (Like it does for CnF)Sakura Hana wrote:
Probably you should include a link to the beatmap/osz in question so he can work it out and see what's the problem so he can fix it
That's true, and hasn't really been fixed yet, so it's possibly the cause. I should probably make AIBat throw out a notice about that if it ever happens.lolcubes wrote:
From what I remember in earlier testing, you can't check mapsets which have empty maps. So for example, if you have a normal diff which is completely empty without a note, you won't be able to open the mapset at all. I haven't tested the latest version yet though.
Im pretty much guessing Bliss mean inherited time and unherited time on the same spot. It is rarely oocurs, if it only 1 offset maybe it easier to check without this app, but what if it got like 20 redlines? A good features I sayblissfulyoshi wrote:
Feature Request xD:
Check to make sure there are no timing sections at the same point in time, unless the timing section is there to change the slider speed. (If you are lazy, you can just check to see if there are timing sections with the same offset xD)
Well sometimes ppl put 2 uninherited sections at the same time (usually by accident....), so I want to avoid that from happening. Besides, of couse I want to prevent silly things like 2 inherited sections at the same time too.Equivalent wrote:
Im pretty much guessing Bliss mean inherited time and unherited time on the same spot. It is rarely oocurs, if it only 1 offset maybe it easier to check without this app, but what if it got like 20 redlines? A good features I sayblissfulyoshi wrote:
Feature Request xD:
Check to make sure there are no timing sections at the same point in time, unless the timing section is there to change the slider speed. (If you are lazy, you can just check to see if there are timing sections with the same offset xD)
package javaapplication4;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
/**
*
* @author Alex
*/
public class WebRetrieve {
public static void main(String[] args) {
try {
URL url = new URL("http://osu.ppy.sh/p/beatmaplist");
BufferedReader br = new BufferedReader(new InputStreamReader(url.openConnection().getInputStream()));
String thisline = "";
while((thisline = br.readLine()) != null) {
System.out.println(thisline);
}
br.close();
} catch (Exception ex) {
System.err.println(ex);
}
}
}
It'd probably be relatively easy to configure this as checking for any two sections that are within, say, 5 ms of each other. Good idea, I'll work on it!blissfulyoshi wrote:
Well sometimes ppl put 2 uninherited sections at the same time (usually by accident....), so I want to avoid that from happening. Besides, of couse I want to prevent silly things like 2 inherited sections at the same time too.Equivalent wrote:
Im pretty much guessing Bliss mean inherited time and unherited time on the same spot. It is rarely oocurs, if it only 1 offset maybe it easier to check without this app, but what if it got like 20 redlines? A good features I say
Released, and thanks for this code! (I had no idea reading online stuff was that easy o.O) Don't know if I'll update beatmap url formatter yet, since I think AIBat has a lot more utility and potential as of right now. Also, if someone can find something really useful to do by reading the source code of osu! pages, I'd be glad to try and implement it.Zhanger wrote:
just wondering-- could you release the source for beatmap url formatter and the osudistancechecker as well? Just curious P:
also --
This would allow you to read the page source for your beatmap url formatter therefore speeding up the process :3
Thanks! These are good suggestions, and I really appreciate feedback about the layout and how to improve usage- I find that I spend as much time on that as getting the program to work in the first place.ziin wrote:
a few suggestions:
I'm starting to include an AIBat post in my mods. If possible could you do this stuff:
*Stuff*
And as for coding this in java, I don't think there's a problem I rather like having separate programs from osu since you can't have 2 osu windows open.
Glad it's being used! Development is slowing down since it's implemented most of the interesting-to-code features I wanted (e.g. searching), and putting in checks isn't as fun, not to mention working full-time hours for the first time everSakura Hana wrote:
This is becoming a quite helpful tool, it helps me save a lot of time, keep it up!
[Storyboard]It would be nice if you put them in alphabetical/numerical order.
Unused Image Files:
comboburst-1.png
comboburst-5.png
comboburst-3.png
comboburst-0.png
comboburst-2.png
comboburst-4.png
package javaapplication4;
import javax.script.*;
import java.io.*;
/**
*
* @author Alex
*/
public class scripttest {
static ScriptEngineManager mgr = new ScriptEngineManager();
public static void main(String[] args) {
try {
scriptexec();
} catch (ScriptException ex) {
ex.printStackTrace();
}
}
static void scriptexec() throws ScriptException {
ScriptEngine se = mgr.getEngineByName("javascript");
se.eval("println('hello world');");
}
}
Lol. That's what I always think "SB" stands for. I guess I play too much Magic: the Gathering...Sakura Hana wrote:
Also some spelling correction "A sideboard has been detected" -> "A Storyboard has been detected"
Thanks for the feedback!Lucy-Kaede wrote:
Nice app!
One minor thing I noticed though, when checking my combo colours against a guest difficulty it listed them like this:SPOILER(AIBat) - (Osu! Editor)
Combo 1 - Combo 2
Combo 2 - Combo 3
Combo 3 - Combo 4
Combo 4 - Combo 1
Reading files is easier than writing them, and both are easier than editing them. That said, I do like a challenge, so I'll consider it. Though, regarding its functionality: Mapping the hitsounds of circles, the ends/repeats of sliders, and the ends of spinners to a counterpart at a same time in a different diff is intuitive. If the hitobject has no counterpart I guess I'll just leave out the sound. What do I do with hitsounds for the entire slider, though?ziin wrote:
Since you managed to get hitsounds out of a map easily, would it be that difficult to put them back in? As in copy hitsounds in [insane] to [hard].
Yes, and yes. Do it.akrolsmir wrote:
Is this something worth attempting? Would people use it?
[Colours][Colours]then I get
- [Easy] :, but if my code is like
olours]
[Colours]then I get
[Colours]
- [Easy] :
[Colours]
56713,-100,4,1,1,75,0,1then the it will be read as
83947,-100,4,1,1,75,0,0
Kiai #1: Starts on 00:56:713, until the end
When i open folder with map, nothing happens.ziin wrote:
In these situations it's best to describe the problem fully.
You said AIBat doesn't work, now you're saying it works with all folders?
What happens when you open a folder?
Sakura Hana wrote:
You're supposed to find the path to where the .osu files are supposed to be (a.k.a the song folder) after that just hit the enter button (or press the enter key)
Hm. I tried it, but nothing happened. Now I try to open some songs' folders, and it works.ziin wrote:
you're supposed to open a folder, not a file, so the folders will be empty. Just open the folder.
It's because the offset has a decimal on it:blissfulyoshi wrote:
When popping http://osu.ppy.sh/s/31343 into AIBat, I got a whole bunch of snapping errors as the output, but I didn't actually find snapping errors in the map. Will try to out reason later when I am not as sleepy.
well as I said, it's the decimal on the offset. AIBat is trying to say that 2135.114342485549 is the right snap, but osu can't do that.blissfulyoshi wrote:
Thanks ziin, changing the offset worked, now I just need to know what caused it (I think I can guess though)
This shouldn't come up very often now that the editor imposes a limit, but I'll try to put in a check for it.Breeze wrote:
May I have a tiny request, that is add a 0% volume timing section check function
Should be doable, and it seems like maps get unranked for this kind of stuff so it's probably important.Sakura Hana wrote:
Also forgot if i already asked for this but, it would be nice if you added a check for spinners and post-spinner notes to check and warn if they dont have a new combo marker
And when is that coming out?akrolsmir wrote:
Thanks, Breeze! That was an oversight on my part, it's been fixed for the next release.
I'll look into it, but in any case, I'd recommend using the search function instead (shortcut is ctrl+f) to quickly locate and open beatmaps without having to navigate through the folder dialog.Miya wrote:
Oh yes, i feel anoyed when i open beatmap folder, the dialog keep revert to default state. I like detailed view, but the AI Bat open beatmap folder dialog always revert my change to normal state. Could you fix this?
That's a great suggestion! Do you have any ideas on how it ought to look?Breeze wrote:
oh hi akrolsmir, may I ask for a function added?
How about add a function that display the difficulty set of all difficulties (HP, note size, AR, OD, SV)
So that I think it's useful to compare the difficulties spread intuitively
Maybe like a fromakrolsmir wrote:
That's a great suggestion! Do you have any ideas on how it ought to look?
HP drain rate circle size OA OD SV
Easy x x x x x
Normal x x x x x
Hard x x x x x
Insan x x x x x
Those test folder is success when i try to open that in AIbat. Oh yes. you're welcome. I'm happy to help :3akrolsmir wrote:
Looking at those maps and those errors, I'm thinking it might have to do with the presence of a decimal in the BPMish number in the file. (Those maps all work fine for me btw.) To test that, try opening this updated test file in 0.7.1b: http://puu.sh/aeoW
:3 Was looking forward to this!akrolsmir wrote:
and the new search
Using search for searching a map?Breeze wrote:
In fact, I don't know how to use search until now