Crate rgmk [−] [src]
Library for manipulating Game Maker Studio's "data.win" (GEN8) data files.
Typical usage consists of reading GameData from a file, doing stuff with it, then writing it back to a file.
Example:
let mut game_data = rgmk::GameData::from_file("data.win") .expect("Failed to open data.win"); game_data.strings.strings[0] = "NYEH HEH HEH!".into(); game_data.save_to_file("data.win").expect("Failed to save data.win");
Structs
Audio |
A collection of audio data. |
AudioData |
Raw audio data. |
AudioGroups |
Collection of audio groups. Not present in all games. |
Backgrounds |
A collection of backgrounds. |
Code |
Something to do with code. Maybe code of scripts? |
Dafl |
Purpose unknown. |
Extn |
Purpose unknown. |
Font |
A font. |
Fonts |
A collection of fonts. |
Function |
A game maker function. |
Functions |
A collection of functions. |
GameData |
The data of a Game Maker Studio game. |
MetaData |
Contains various metadata, for example, the window width/height/title. |
Objects |
A collection of objects. |
Options |
Game Maker project Options |
Paths |
A collection of paths. |
Rooms |
A collection of rooms. |
Script |
A game maker script. |
Scripts |
A collection of scripts. |
Shaders |
A collection of shaders. |
Sound |
A game maker sound. |
Sounds |
A collection of sounds. |
Sprite |
A game maker sprite. |
Sprites |
A collection of sprites. |
Strings |
A collection of strings. |
Texture |
A texture. |
Textures |
A collection of textures. |
Timelines |
A collection of timelines. |
Tpag |
Purpose unknown. |
Variable |
A game maker variable. |
Variables |
A collection of variables. |
Enums
ReadError |
Error when reading GameData from a reader. |
StringReadError |
Error when reading a string from the string table. |
Traits
GameDataRead |
A reader that satisfies the requirements for reading a GameData. |
GameDataWrite |
A writer that satisfies the requirements for writing a GameData. |