Giter Site home page Giter Site logo

Comments (8)

git4rker avatar git4rker commented on June 17, 2024

why didn't you open a pull request?

from the-powder-toy.

tigercat2000 avatar tigercat2000 commented on June 17, 2024

why didn't you open a pull request?

I'm not sure how to version this correctly in this codebase, it's a breaking change

from the-powder-toy.

LBPHacker avatar LBPHacker commented on June 17, 2024

This has been known for a long time and we've decided that because there's nothing we need to be interoperable with, it's a non-issue.

As a fix of the bureaucratic variety, we would accept a PR that renames BSON.cpp/h to PowderON.cpp/h.

from the-powder-toy.

tigercat2000 avatar tigercat2000 commented on June 17, 2024

I mean I'm working on a simulator that takes in OPS savefiles in Rust, so that's one thing that it's a problem for lol

from the-powder-toy.

LBPHacker avatar LBPHacker commented on June 17, 2024

Welcome to tech, where technical debt is cumulative and mistakes made 10 years ago affect you today :)

from the-powder-toy.

LBPHacker avatar LBPHacker commented on June 17, 2024

To be clear, I'm being depressing about this for more than just the fun of it. I see no economic way to fix this. We do try to maintain compatibility with old clients at least to the point of having them be able to render a partial thumbnail of new saves, and fixing this problem would make that impossible. In light of the interoperability requirements we have that I explained above (none), this would not be economical.

from the-powder-toy.

jacob1 avatar jacob1 commented on June 17, 2024

I manage to parse it in python, because the library I use doesn't care about all the keys I don't use. If you don't fetch palette info, are you able to parse the save data?

from the-powder-toy.

simtr avatar simtr commented on June 17, 2024

Changing this to use BSON_OBJECT should still be reasonably backwards compatible. Palette data is optional-ish as the game will fall back to the compiled element map and should still be able to render thumbnails most of the time.
But at the same time, the save format wasn't intended for interoperability, though the binary format of array and object are the same so patching \x04palette\x00 sequence to \x03palette\x00 should work if you need to parse using another library.

from the-powder-toy.

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.