Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Can you help? #1

Open
MrAntares opened this issue Mar 1, 2022 · 3 comments
Open

Can you help? #1

MrAntares opened this issue Mar 1, 2022 · 3 comments

Comments

@MrAntares
Copy link

Hi! I am developing a game client in JavaScript that in small part uses GR2 models. We have been struggling with this issue ever since the original project started ~10 years ago and none could create a working GR2 module so far. @LiamKarlMitchell got the furthest, but unfortunately he got stuck as well. I am writing to ask if you could help us with the project? Is there the slight possibility that you could translate your awesome code to JavaScript or help us in any other way? We could start digging into your code and wiki which both are hugely helpful, but since you are way ahead of us and de facto en axpert on this subject, we could absolutely use any help you can lend us :)

The game client is:
https://github.com/MrAntares/Ragna.roBrowser

Much appreciated,
Antares

@arves100
Copy link
Owner

arves100 commented Mar 1, 2022

https://github.com/arves100/opengr2 I would suggest you looking here as there is a working gr2 parser (writer is WIP atm).
if you do want to make your own I could update that repo containing the complete documentation, this repository contains outdated information so it might get removed or archived in the future.
I don't know javascript so I can't make a native version, feel free to wrap what you want.
I would suggest you writing on discord if you require extra assistance, github issues are ment relative to the code or the documentation itself.

@LiamKarlMitchell
Copy link

LiamKarlMitchell commented Mar 1, 2022 via email

@arves100
Copy link
Owner

arves100 commented Mar 1, 2022

I've wrote up a page that should explain a bit the operation of the file, which is what it was also contained in the header files of the library, which you might find usefull https://github.com/arves100/opengr2/wiki/File-Format-documentation.
I am not sure what type of GR2 types Ragnarock online (I never played or modded it before) uses, the library does currently work with File Format 6 32-bit files (the target game files which was tested the library was Metin2).
If your game does use Granny2 File Format 6 or 7 32-bit Little Endian, there is a high change the low level library would parse it properly, the high level library does not currently exist. I am aware .grn files, and Formats before 6 like Sacred 2 does exist, but I don't have any information for them, anyway good luck in your project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants