Giter Site home page Giter Site logo

Comments (12)

OliBomby avatar OliBomby commented on August 27, 2024

From what I see in the screenshot, the length doesn't seem to be the only issue. All the objects have an absurd coordinate and time value and some sliders have 0 length.

Hitsound Copier and Metadata Manager also don't touch hitobjects all that much, so I think there's something wrong with the beatmap IO.

from mapping_tools.

OliBomby avatar OliBomby commented on August 27, 2024

You say this only happens when you have the editor open with the beatmap you are copying to? It works completely fine when you don't have the editor open?

from mapping_tools.

Ryuusei-Aika avatar Ryuusei-Aika commented on August 27, 2024

Yes, But this seems quite random (for some maps, both the hitsound copier and metadata manager work fine even with a certain diff in the set opening in the editor)
So I'm doubting if that is caused by the file name of the map itself (because the map in question was created by me, so the file name just inherited the name of my .mp3 file instead of having a set number at its beginning)

from mapping_tools.

OliBomby avatar OliBomby commented on August 27, 2024

I can't recreate the bug on my laptop, so I'm gonna assume it's a problem with editor reader. Next update will have an option to disable editor reader if it doesn't work on your pc for some reason. I might also add some sanity checks to see if what editor reader does makes sense.

from mapping_tools.

Karoo13 avatar Karoo13 commented on August 27, 2024

Which diff is open in the editor, the one you are copying from or copying to?

from mapping_tools.

Ryuusei-Aika avatar Ryuusei-Aika commented on August 27, 2024

The one I'm copying to.

from mapping_tools.

Karoo13 avatar Karoo13 commented on August 27, 2024

It sounds like an issue with the memory reading (which I am responsible for), where the game is taking a while to dispose of an older editor instance.

It should be a rare random occurrence when opening and closing the editor more than once, but if you are able to get this behavior consistently, please explain in detail what steps you are doing.

Otherwise, I will look into a fast way to detect multiple editor instances, it is currently not detected because it would take a few seconds every time the map is read.

from mapping_tools.

Ryuusei-Aika avatar Ryuusei-Aika commented on August 27, 2024

Well, I can't recreate that bug? anymore, but hours ago when I was trying to copy a complex timing to all diffs without open any of them, one of the .osu file becomes 10+ Mb again:
image
So yes, maybe that is just an I/O problem or something...

from mapping_tools.

OliBomby avatar OliBomby commented on August 27, 2024

I dont know if it will be possible to fix this issue if it's this inconsistent and I can't reproduce it. I can't see all the internal values that could give a hint to where the problem could be.

The only option I see would be to log absolutely everything to some debug file so you can find the relevant information afterwards.

from mapping_tools.

Karoo13 avatar Karoo13 commented on August 27, 2024

I think what you said confirms my previous comment, I will have to find a way to distinguish partially disposed editors from the active one.

from mapping_tools.

Lehepuhur avatar Lehepuhur commented on August 27, 2024

I also got the same issue with the Slider Completionator.
Eventually got an Out Of Memory exception after a few minutes of getting large file sizes repeatedly.
mapping tools are you ok

from mapping_tools.

OliBomby avatar OliBomby commented on August 27, 2024

Yo i think i fixed this with the latest commit. There might still be a tiny chance it does weird stuff, but at least it shouldn't create huge files anymore.
Coming in the next update.

from mapping_tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.