rakaly / ck3save Goto Github PK
View Code? Open in Web Editor NEWErgonomically work with CK3 saves (regular and ironman)
License: MIT License
Ergonomically work with CK3 saves (regular and ironman)
License: MIT License
Hi Nick,
I'm new to rust, but I don't know where else to turn to solve this issue I'm having. This isn't an issue with the code, I just don't know what I'm doing and can't dm you. With that said:
When I run rustc main.rs, I get this error:
error[E0432]: unresolved import ck3save
--> main.rs:3:5
|
3 | use ck3save::{Ck3Extractor, Encoding};
| ^^^^^^^ maybe a missing crate ck3save
?
When I run cargo install --list I get this:
ck3save v0.2.10:
debug_save.exe
fmt.exe
melt.exe
This is probably something to do with my rust environment but I thought I'd ask, sorry for raising this as an issue.
Thanks.
The last 8 characters of the save id line is the metadata length. In the conversion from binary to text this length changes, so etiquette says that we should update the new metadata length as it has been reported that the CK3 menu uses this value to quickly parse the files for display and that incorrect values have the potential to cause the game to crash
Do you have an example of how to save the gamestate to a new file? I'm new to rust so reading the melter is only getting me so far
Not being familiar with Jomni, is it possible to expand the AliveData
model to include the remaining fields one would expect (i.e. traits)? Is this just done by adding to the model definition? If so I think I can attempt a PR to do so
When extracting an autosave file, I'm getting this error: "An errror occurred while extracting the save file: Ck3Error(Deserialize { part: None, err: Error(InvalidSyntax { msg: "unexpected scalar value", offset: 4 }) })".
I've uploaded the save file here: https://drive.google.com/file/d/1Dm6CEYX4s3fCWfG7SB30HGqGqMHKL-xv/view?usp=sharing
Any idea what scalar value was unexpected? Could this be related to rakaly/jomini#96?
I'm attempting to upload a 34493 KB ck3 file (zip file type) but the extraction is failing due to the file size limit. Can this limit be removed? Or at least made into an option?
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.