AllPoland / ArcViewer

Open source, overengineered 3D Beat Saber map previewer and replay viewer
https://allpoland.github.io/ArcViewer/
GNU General Public License v3.0
60 stars 15 forks source link

Unable to parse .dat #30

Closed Elecast2 closed 1 year ago

Elecast2 commented 1 year ago

https://beatsaver.com/maps/34a3d

Not sure why I get this error with the map, didn't find errors in the json

AllPoland commented 1 year ago

You have two instances of "_color": 1 in the _customData of lighting events. ArcViewer expects these to be valid color objects. Unfortunately fixing this for every possible case would require a full refactor of Json processing which isn't feasible right now. Scratch that, I'm looking into ways I can avoid breaking the entire parsing for one error, cause that is pretty stupid

AllPoland commented 1 year ago

Just made a fix on dev so at least entire map loading won't break, will be fixed with the next version release.

Elecast2 commented 1 year ago

Sure, and thanks for pointing out the errors in the json, I couldn't find them