arves100 / Granny2-research

RAD's Granny 2 file format tools & utilities
3 stars 1 forks source link

Can you help? #1

Open MrAntares opened 2 years ago

MrAntares commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Seems a good way to go nice findings and good job on your research.

On Wed, 2 Mar 2022, 6:46 am Arves100, @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/arves100/Granny2-research/issues/1#issuecomment-1055696685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPAP3IERBRQHBJUFXYUC4DU5ZJYTANCNFSM5PTUK77Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

arves100 commented 2 years ago

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.