Comments (8)
why didn't you open a pull request?
from the-powder-toy.
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.
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.
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.
Welcome to tech, where technical debt is cumulative and mistakes made 10 years ago affect you today :)
from the-powder-toy.
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.
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.
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)
- how do you open the game do HOT 3
- Can someone put together a working MS Visual Studio project for TPT? HOT 1
- Add new elements HOT 6
- The border offset of the Textbox component in Lua is incorrect in the latest submission. HOT 2
- Request : update iOS app HOT 1
- (macOS) HTTP Error 600: Internal Client Error HOT 1
- add exe HOT 3
- .apk on f droid HOT 2
- custom android icon theming HOT 1
- FIGH health can go negative HOT 1
- I want to make multi-gpu accelerated parallel TPT HOT 3
- stamp error HOT 4
- Why Lithium does not conduct electricity? HOT 2
- E Clone HOT 2
- curl with mbedtls not working in my project,want some help ^_^ HOT 11
- Glue HOT 1
- Adding a link to the contribution guide on the github page HOT 4
- Nvm this accidental wrong place HOT 1
- PSP 3000 powdersandbox version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-powder-toy.