Simple, cross-platform GameMaker lib for getting file metadata

Overview

File Metadata

Tiny baby library for getting file metadata. Originally written to work for a GameMaker game a friend is creating.

Table of Contents

Installation

  1. Download the .yymps file from the latest release.
  2. That's it! You can now import the package into your project by dragging it into your GameMaker window.

Alternative Installation

You can also use the dynamic library itself by extracting the .yymps file as a zip file, and adding the .dll/.dylib/.so file found within to your project manually by following this guide (skip the bits about Visual Studio and such).

GameMaker Usage Documentation

General Notes

  • If a function encounters an error, it will return -1.0 and log to stderr.
  • Timestamps are in seconds, not milliseconds.
  • Internally, functions are prefixed with file_ rather than filemeta_, so if you are using the alternative installation method, the mapping is filemeta_creation_date -> file_creation_date, etc.

filemeta_creation_date(path)

Returns the creation date of the file at path as a UNIX timestamp in seconds.

filemeta_modification_date(path)

Returns the modification date of the file at path as a UNIX timestamp in seconds.

filemeta_access_date(path)

Returns the access date of the file at path as a UNIX timestamp in seconds.

filemeta_size(path)

Returns the size of the file at path in bytes.

filemeta_exists(path)

Returns true (1) if the file at path exists, false (0) otherwise.

filemeta_is_directory(path)

Returns true (1) if the file at path is a directory, false (0) otherwise.

You might also like...
subscript metadata to mpeg-ts

tssubscript 元データの MPEG-TS に重畳された メタデータ を エンコード済みの MPEG-TS に張り付けるツールです。 使用方法 tssubscript -i 入力TSファイル -m 貼り付け元メタデータTSファイル -o 出力TSファイル また、パイプを使ってエン

Simple macros to write colored and formatted text to a terminal. Based on `termcolor`, thus also cross-platform.
Simple macros to write colored and formatted text to a terminal. Based on `termcolor`, thus also cross-platform.

Bunt: simple macro-based terminal colors and styles bunt offers macros to easily print colored and formatted text to a terminal. It is just a convenie

🐎 Just a simple cross-platform neofetch for all the bronies out there.

⚠️ (WIP) This project is not ready for any serious use right now. A cross-platform command-line interface (CLI) tool written in Rust to display system

A simple yet convenient cross-platform ARP spoofer

ruuf - A simple yet convenient cross-platform ARP spoofer Poison the ARP cache of the given victim, thereby redirecting the traffic to the target ther

A simple cross-platform easy to use STL Viewer with GUI and CLI options
A simple cross-platform easy to use STL Viewer with GUI and CLI options

Stlvi STL viewer written in Rust. This project is still in development. It is available in both CLI and GUI mode. Supported OS Linux Windows Mac Scree

A small unix and windows lib to search for executables in PATH folders.

A small unix and windows lib to search for executables in path folders.

Nerf is (yet another) rust GUI lib

NERF Nerf is (yet another) rust GUI lib. It is heavily inspired by Flutter, and is designed to build apps that could run on any plateforms, such as wi

A mirror of lib.rs/main

Lib.rs (Crates.rs) Lib.rs is a fast, lightweight index of Rust libraries and applications. Crates published to crates.io will automatically show up on

Speech-to-text lib for Melba Toast

Melba-stt A rust discord bot that joins a voice channel and transcribes spoken audio from each user. Running Install the rust toolchain With CUDA and

Owner
SpikeHD
College student
SpikeHD
dovi_meta is a CLI tool for creating Dolby Vision XML metadata from an encoded deliverable with binary metadata.

dovi_meta dovi_meta is a CLI tool for creating Dolby Vision XML metadata from an encoded deliverable with binary metadata. Building Toolchain The mini

Rainbaby 12 Dec 14, 2022
A simple and efficient terminal UI implementation with ratatui.rs for getting quick insights from csv files right on the terminal

CSV-GREP csv-grep is an intuitive TUI application writting with ratatui.rs for reading, viewing and quickly analysing csv files right on the terminal.

Anthony Ezeabasili 16 Mar 10, 2024
A cross-platform file sorting program

Cabinet Cross-platform file sorting system that sorts files based on their attributes, such as file type, file name and date modified. Disclaimer: Not

Ray 2 Jul 12, 2022
Cross-platform file sharig application for desktop and mobile devices

Skylite Description Getting Started Dependencies Installing Executing program License Acknowledgments Description Cross platform file sharing applicat

Adeoye Adefemi 5 Nov 16, 2023
A CLI tool for getting screenshots of URLs using headless chrome

rustywitness ?? ?? ?? Web screenshot utility A CLI tool for getting screenshots of URLs using headless chrome Built with ❤︎ by swanandx and contributo

Swanand Mulay 16 Jan 3, 2023
MollySocket allows getting signal notifications via UnifiedPush.

MollySocket This software is still in alpha. MollySocket allows getting signal notifications via UnifiedPush. It works like a linked device, which doe

null 6 Dec 31, 2022
Reading Getting Friendly With CPU Caches

Getting Friendly With CPU Caches Reading Getting Friendly With CPU Caches, by Miki Tebeka and William Kennedy, inspired me to look at some Rust equiva

Herbert 6 Jul 25, 2023
niwl - a prototype system for open, decentralized, metadata resistant communication

niwl - a prototype system for open, decentralized, metadata resistant communication niwl (/nɪu̯l/) - fog, mist or haze (Welsh). niwl is an experimenta

George Tankersley 5 Feb 4, 2022
A server software designed for fetching Minecraft and Minecraft-related metadata

Minecraft Metadata Server A server software designed for fetching Minecraft and Minecraft-related metadata (such as Forge, Fabric, Quilt and Liteloade

Prism Launcher 11 Jan 19, 2023
Tooling and library for generation, validation and verification of supply chain metadata documents and frameworks

Spector Spector is both tooling and a library for the generation, validation and verification of supply chain metadata documents and frameworks. Many

Kusari 13 May 4, 2023