morris / vstools

Toolset for Vagrant Story (2000, Square), written in JavaScript with Three.js
https://morris.github.io/vstools/
MIT License
97 stars 9 forks source link

Error when trying to export #12

Open ixmaelos opened 3 years ago

ixmaelos commented 3 years ago

The viewer works perfectly, but when i try to export any model it opens a new tab that shows the following:

image

Maybe its because im not a programmer or i missed something, but i cant find the way to do it properly.

Anyways, thank you for this tool, it helped me a lot to understand how the game was made.

korobetski commented 3 years ago

I think you need to copy paste this and into an .obj file. https://en.wikipedia.org/wiki/Wavefront_.obj_file If that doesn't work and if you know Blender, I made a plugin to open Vagrant Story formats, so you can export it in several 3D formats (FBX, COLLADA, OBJ, ...). https://github.com/korobetski/blender-vagrant-story

ixmaelos commented 3 years ago

I think you need to copy paste this and into an .obj file. https://en.wikipedia.org/wiki/Wavefront_.obj_file If that doesn't work and if you know Blender, I made a plugin to open Vagrant Story formats, so you can export it in several 3D formats (FBX, COLLADA, OBJ, ...). https://github.com/korobetski/blender-vagrant-story

Ty! im trying your addon and looks good!

hayd commented 1 year ago

It seems like the animation file is required to render the shp (character files), without it you get a weird block... and this is the thing that is outputted to obj ("Exports the geometry as is, without skeleton and animations."). Maybe? Given it renders so well in the browser it feels so close to something useable! Opened #23 to ask about it specifically...

I tried @korobetski 's blender add-on but that seems to crash on character (shp) files that vstools handles.