althonos / flips.rs Goto Github PK
View Code? Open in Web Editor NEWRust bindings to Flips, the Floating IPS patcher.
Home Page: https://crates.io/crates/flips
License: GNU General Public License v3.0
Rust bindings to Flips, the Floating IPS patcher.
Home Page: https://crates.io/crates/flips
License: GNU General Public License v3.0
First off, I'm very new to Rust, so I'm sure I could just be doing things wrong. Also this is really cool that this package exists.
I'm having trouble figuring out how to output a bps patch to disk. This is what I have so far:
let dest = std::fs::read("final.sfc").unwrap();
let src = std::fs::read("input.sfc").unwrap();
let patch = flips::BpsLinearBuilder::new()
.source(src)
.target(dest)
.build()
.expect("could not create patch");
//println!("{:?}", patch);
// this does not work :(
//std::fs::write("out.bps", patch).unwrap();
any help would be super appreciated.
Hello!
With the latest Rust 1.68, whenever I use Flips, it crashes at runtime. I simply have to add this line in my code:
use flips;
And the app crashes first thing.
The crash point is a bit cryptic though:
The callstack seems to point out to a GDK issue:
But my app works well until I simply add use flips;
to my code (and just this line).
I'm fairly new to Rust, so it's I still don't understand everything. That said, this package not having been updated for 3 years is a good candidate as to why it doesn't work with the latest Rust compiler/runtime...
What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.