siegeengineers / genie-rs Goto Github PK
View Code? Open in Web Editor NEWRust libraries for reading/writing various Age of Empires I/II files.
Home Page: https://docs.rs/genie
License: GNU General Public License v3.0
Rust libraries for reading/writing various Age of Empires I/II files.
Home Page: https://docs.rs/genie
License: GNU General Public License v3.0
Is there any work underway to support the record game format from AoE 2 DE? When trying to open one I got the following output:
[crates/genie-scx/src/format.rs:181] victory_conquest = true
[crates/genie-scx/src/format.rs:187] _timeline_count = 0
[crates/genie-scx/src/format.rs:187] _timeline_available = 0
[crates/genie-scx/src/format.rs:187] _old_time = 0.0
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
thread 'tests::aoe2_de_rec' panicked at 'unsupported command type 0x29', crates/genie-rec/src/actions.rs:1443:19
So I guess the file format is kind of support, just not all the commands?
AoE DE appears to use a ,
instead of whitespace to separate key/value pairs.
1107,"Saving game..."
1108,"Waiting for other players...\nPlease wait while we establish your connection quality..."
1150,"Victory!"
https://crates.io/crates/structopt is in maintenance mode due to clap having adapted the feature set. Genie-rs should be migrated to clap.
I'm trying to convert a Rise of Rome scenario to a The Conquerors scenario. I've succesfully created a .scx file with genie-rs. When I tried to load the scenario in The Conquerors, it crashes. Trigger Studio is unable to load it. Agescx is unable to load it. So I'm kind of lost here. What could it be?
Issue on GitLab: https://gitlab.com/spearman/sorted-vec/-/issues/10
Need to figure out the format
What’s the status of this crate?
Need to figure out the format
Apparently this isn't implemented yet! Pretty important for the scx conversion. It should basically do the inverse of TriggerSystem::from()
.
After #7 merges, there will be a StringID type in genie_support
. It should instead use StringKey::Num, so yuo can use the values you get from genie_scx
and genie_dat
with genie_lang
directly.
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.