Frostshake / WMVx

WoW model viewer fork / re-write.
GNU General Public License v3.0
24 stars 6 forks source link

Feature request: Character import via JSON / XML #57

Open Dedrich opened 3 weeks ago

Dedrich commented 3 weeks ago

Hello,

First, thank you so much!

Reviving WoW Model Viewer is a monumental task, and I truly applaud your efforts. ❤️

Would it be possible to add a feature for importing characters using JSON or XML data?

Currently, WMV allows character import via a .chr file, as shown below. I'd love to see support for a similar feature.

I work on hobby projects, including a World of Warcraft film, and being tied to a broken WMV was quite a challenge.

I've developed scripts to export character customization data from Wowhead into WMV's XML format for quick processing, but WMV is limited to version 9.2 and explodes very frequently.

It would be a dream to pass a JSON or XML file via command line and specify an FBX output—though even an in-app import with manual FBX export would be fantastic.

Also, please let me know if there's a way to support this project, perhaps through Patreon?

Frostshake commented 3 weeks ago

There is already an option to load/save a wmvx scene (json file), however I wouldnt recommend creating it using external tooling:

That said, I can't see why it couldnt be updated to a better structure (likely changing the 'character' section to something less janky).

Realistically I dont think command line options will be a thing.

IMO the need for .chr files previously was from the old app crashing frequently, and loosing all your work - wmvx should be reliable enough that its less of a concern.

Currently no patreon or similiar, but maybe in the future.

Seeing as this is essentially an alternative workflow to achieve whats already possible via the gui, its unlikely to be added in the near future.

Dedrich commented 3 weeks ago

I did try loading a scene but it always resulted in a white character with all geosets enabled. If it was working I could use that for sure. Thanks for looking at it though.

On Tue, Oct 29, 2024, 7:21 a.m. Frostshake @.***> wrote:

There is already an option to load/save a wmvx scene (json file), however I wouldnt recommend creating it using external tooling:

  • format is wow version (and possibly wmvx version) specific
  • Liable to change without notice
  • looks to be broken in recent build 😅

That said, I can't see why it couldnt be updated to a better structure (likely changing the 'character' section to something less janky).

Realistically I dont think command line options will be a thing.

IMO the need for .chr files previously was from the old app crashing frequently, and loosing all your work - wmvx should be reliable enough that its less of a concern.

Currently no patreon or similiar, but maybe in the future.

Seeing as this is essentially an alternative workflow to achieve whats already possible via the gui, its unlikely to be added in the near future.

— Reply to this email directly, view it on GitHub https://github.com/Frostshake/WMVx/issues/57#issuecomment-2443940275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHR4VREJ75VT4FIP2VACZSDZ55VUVAVCNFSM6AAAAABQYMJTSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBTHE2DAMRXGU . You are receiving this because you authored the thread.Message ID: @.***>

Frostshake commented 2 weeks ago

I've been looking at fixing the scene import/export, and have made a couple of changes to simplify the json format.

Example files: v2_example_minimal.wmvx.json v2_example_full.wmvx.json

Changes will be included in the next release.

Dedrich commented 2 weeks ago

That minimal setup looks really nice, thank you so much for this - honestly there is so much that we do that relies on WMV and I thank you eternally for bringing this project back to life.

As I said before if you ever do setup some kind of patreon or something I'd like to donate.

On Thu, Nov 7, 2024 at 5:58 PM Frostshake @.***> wrote:

I've been looking at fixing the scene import/export, and have made a couple of changes to simplify the json format.

  • removed awkward attachment/merged fields
  • some fields optional
  • removed client version restrictions

Example files: v2_example_minimal.wmvx.json https://github.com/user-attachments/files/17670381/v2_example_minimal.wmvx.json v2_example_full.wmvx.json https://github.com/user-attachments/files/17670382/v2_example_full.wmvx.json

Changes will be included in the next release.

— Reply to this email directly, view it on GitHub https://github.com/Frostshake/WMVx/issues/57#issuecomment-2463390518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHR4VRBPQBO7TV74MUIHZI3Z7PWDBAVCNFSM6AAAAABQYMJTSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTGM4TANJRHA . You are receiving this because you authored the thread.Message ID: @.***>

Frostshake commented 1 week ago

Changes in new release - https://github.com/Frostshake/WMVx/releases/tag/v0.4.3

Dedrich commented 1 week ago

Amazing, thank you! Can't wait to try this. Working on a project currently that requires crowd characters so this came at the perfect time! 😀

On Sun, Nov 10, 2024, 1:08 p.m. Frostshake @.***> wrote:

Changes in new release - https://github.com/Frostshake/WMVx/releases/tag/v0.4.3

— Reply to this email directly, view it on GitHub https://github.com/Frostshake/WMVx/issues/57#issuecomment-2466830885, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHR4VREQPMC2YYL4DM6N3U3Z76OIBAVCNFSM6AAAAABQYMJTSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWHAZTAOBYGU . You are receiving this because you authored the thread.Message ID: @.***>

omantn commented 1 week ago

I have been waiting soooo long for this to be done, thank you thank you thank you. Now being a newb, is there a simple way to export my characters?

omantn commented 1 week ago

meaning export them to json, or do I have to manually build it all?

omantn commented 1 week ago

NM, I figured it out, its not toooo hard to do it manually. My problem is when I export it and load it into blender, the helmet is on the "floor". Is there a better tool to use? Im trying to export to STL so I can 3d print my characters :)