1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-19 17:36:50 +00:00

Remove accidental main.rs commit, add to .gitignore

This commit is contained in:
Joshua Goins 2024-06-28 06:12:30 -04:00
parent 2e6b4d3264
commit a53a7e728c
2 changed files with 1 additions and 14 deletions

1
.gitignore vendored
View file

@ -5,6 +5,7 @@
# will have compiled files and executables
debug/
target/
src/bin/
# These are backup files generated by rustfmt
**/*.rs.bk

View file

@ -1,14 +0,0 @@
use std::fs::write;
use physis::common::Platform;
use physis::gamedata::GameData;
use physis::mtrl::Material;
fn main() {
let game_data = GameData::from_existing(Platform::Win32, "/home/josh/.local/share/astra/game/{2bdefc9d-3382-45d6-952f-ae9b918c4764}/game");
let p = "bg/ffxiv/fst_f1/fld/f1f3/material/f1f3_w1_mizu4a.mtrl";
let m_data = game_data.unwrap().extract(p).unwrap();
write("/home/josh/test.mtrl", &m_data);
let m = Material::from_existing(&m_data);
println!("{:#?}", m);
}