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:
parent
2e6b4d3264
commit
a53a7e728c
2 changed files with 1 additions and 14 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,6 +5,7 @@
|
||||||
# will have compiled files and executables
|
# will have compiled files and executables
|
||||||
debug/
|
debug/
|
||||||
target/
|
target/
|
||||||
|
src/bin/
|
||||||
|
|
||||||
# These are backup files generated by rustfmt
|
# These are backup files generated by rustfmt
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue