export-ffxiv-macros

Crates.ioexport-ffxiv-macros
lib.rsexport-ffxiv-macros
version0.1.0
sourcesrc
created_at2021-07-15 01:17:03.568312
updated_at2021-07-15 01:17:03.568312
descriptionA CLI utility for exporting Final Fantasy XIV macros to TOML.
homepagehttps://github.com/carriejv/export-ffxiv-macros
repositoryhttps://github.com/carriejv/export-ffxiv-macros
max_upload_size
id422958
size27,179
Carrie J V (carriejv)

documentation

README

Crates.io Apache-2.0 Build Status

Export FFXIV Macros

A simple tool that leverages libxivdat to dump Final Fantasy XIV macros to TOML.

Libxivdat could theoretically support writing back to MACRO.DAT files. I might support that at some point.

Usage

export-ffxiv-macros -> Exports all character-specific and system-wide macros located in the usual places. ($HOME/Documents/My Games/Final Fantasy XIV - A Realm Reborn/)

export-ffxiv-macros path/to/MACRO.DAT path/to/out.toml -> Exports a specific file.

Mac / Linux Caveats

This will search your actual home directory when run without args. If you sandbox your wine user directories, you'll need to run the windows app in wine or manually point the native app at the correct files.

Output Sample

[[macro]]
title = 'Low Spell Fx'
icon = 'Number0'
lines = [
    '/bfx party simple',
    '/bfx other off',
    '/soundeffectsparty 50',
    '/soundeffectsother 20',
    '/ambientsounds 20',
]
text = '/bfx party simple /bfx other off /soundeffectsparty 50 /soundeffectsother 20 /ambientsounds 20'

Contributing

Contributions are always welcomed. Please ensure code passes cargo test , cargo clippy, and rustfmt -v --check **/*.rs before making pull requests.

Commit count: 4

cargo fmt