Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Granny 3D models #51

Open
MrAntares opened this issue Feb 15, 2022 · 12 comments
Open

Granny 3D models #51

MrAntares opened this issue Feb 15, 2022 · 12 comments
Labels
Hard SFX Has visual/animation relevance that is originally hardcoded into the client Needs More Information PZ HALP!!!

Comments

@MrAntares
Copy link
Owner

are missing.

Added a Granny module for later use in:
53f151c

@MrAntares MrAntares added the Hard SFX Has visual/animation relevance that is originally hardcoded into the client label Feb 15, 2022
@issid
Copy link
Contributor

issid commented Feb 27, 2022

how it use? i want set flag pronera before fountain.. and need set 3d model for guardians

@MrAntares
Copy link
Owner Author

Hi, as of now, I only added the module. It is not my development, I merged it from another fork, so I have no idea yet how it works, but I will try to figure it out some time soon. It was a work in progress when I merged it, so it might not even work.

@MrAntares
Copy link
Owner Author

Added support to GRF Viewer in c576ab5
BUT The Granny module is not finished, so it is not working and it is now disabled.

@LiamKarlMitchell I hope you can help us finishing. That would be a miracle! :)

@issid
Copy link
Contributor

issid commented Feb 28, 2022

this https://github.com/MrAntares/Ragna.roBrowser/blob/master/src/Renderer/Entity/EntityView.js#L172 set default sprite poring instead of gr2. maybe here need enabled shows gr2 ?

@issid
Copy link
Contributor

issid commented Feb 28, 2022

this https://github.com/MrAntares/Ragna.roBrowser/blob/master/src/Renderer/Entity/EntityView.js#L172 set default sprite poring instead of gr2. maybe here need enabled shows gr2 ?

oh it's just a bug. you can just write return;

in grf view mode error BinaryReader.js and GrannyModel.js as if it is trying to load empty data a second time

@LiamKarlMitchell
Copy link

LiamKarlMitchell commented Feb 28, 2022

I never figured it out fully :( but it is possible to use games dll to load them, then perhaps go through the struct and dump it to something else, which doesn't fall in line with the rest of the behaviour of this ROBrowser client, can't remember who figured that out.

Guild flags and WOE Guardians (Possibly guild chests? can't recall) are 3D models.
You could replace them with sprites sure that'd probably be best tbh they always did look kinda janky imo.

The Granny format has a proprietary encryption/storage routine, there was a Granny 3D Viewer utility from their SDK Xentax or Noesis might be useful if someone already made a script since I looked. https://richwhitehouse.com/index.php?content=inc_projects.php

@issid
Copy link
Contributor

issid commented Feb 28, 2022

it turns out the only option is to import gr2 into another format that supports webgl js

@MrAntares
Copy link
Owner Author

I thought of replacing Granny models with sprites, but that would only be a temporary solution.
Flags, Sword+Archer Guardians, Chests, Emperium, and maybe Traps I believe is what uses the granny models.

@LiamKarlMitchell
Copy link

LiamKarlMitchell commented Mar 1, 2022 via email

@issid
Copy link
Contributor

issid commented Mar 18, 2022

@MrAntares see what I found https://github.com/herenow/gr2-web

@MrAntares
Copy link
Owner Author

@MrAntares see what I found https://github.com/herenow/gr2-web

Looks really promising!

@herenow Are you around these days? Are you interested in tinkering with us? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hard SFX Has visual/animation relevance that is originally hardcoded into the client Needs More Information PZ HALP!!!
Projects
None yet
Development

No branches or pull requests

3 participants