diff --git a/.gitignore b/.gitignore index d9910e3..57b9329 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ dist node_modules -public/blob/textures/* -!public/blob/textures/.gitkeep +public/blob/texture/* +!public/blob/texture/.gitkeep public/blob/meshes.json \ No newline at end of file diff --git a/README.md b/README.md index 3a70184..baca7f0 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,15 @@ A project that takes morrowind's player heads and shows it on a webpage - [see i ## Requirements - pyFFI +- PIL / Pillow - yarn / npm # Setup ```bash cd [project] - -# Copy textures -cp [morrowind]/Data\ Files/Textures/TX_B_N_* ./public/blob/textures # Generate JSON meshes -./script/export_nif.py [morrowind]/Data\ Files/Meshes/b > ./public/blob/meshes.json +./script/export_nif.py [morrowind]/Data\ Files/Meshes/b [morrowind]/Data\ Files/Textures public/blob # Pack JS yarn yarn webpack diff --git a/public/blob/textures/.gitkeep b/public/blob/texture/.gitkeep similarity index 100% rename from public/blob/textures/.gitkeep rename to public/blob/texture/.gitkeep diff --git a/public/index.html b/public/index.html index f32da9e..5d1cf8e 100644 --- a/public/index.html +++ b/public/index.html @@ -3,6 +3,7 @@ + Morrowind's Heads