Jump to content

Advanced GR2 Tool


Recommended Posts

  • VIP

M2 Download Center

Download Here ( Internal )

Hey guys,

 

Last night I was kinda playing with granny a bit and this tool was born.

I hope it will be useful for most of you!

 

Optimize, change textures, convert to fbx or 3ds, etc...

 

Downloadhttps://distraught.hu/download/m2dev/GR2Tool_by_Distraught.exe

Usage: Just drag and drop a gr2 file on the exe and choose what you would like the program to do.

 

Spoiler

080801gr2-tool-by-distraught-preview.jpg

 

P.S.: Don't be surprised if the new gr2 file becomes bigger than it was, it is because this tool saves them without compression for better performance.

  • Love 9
  • Party 1

AxgtRfG.png
C++ programmer at Gameloft

Link to post

Good idea, Thanks for the tool.

 

I don't know how that sounds to others but to me sounds weird -> 

 

Last night I was kinda playing with granny a bit and this tool was born.

  • Lmao 3
Link to post
  • VIP
56 minutes ago, HITRON said:

Good idea, Thanks for the tool.

 

I don't know how that sounds to others but to me sounds weird -> 

 

Last night I was kinda playing with granny a bit and this tool was born.

 

haha that was intentional :P 

  • Lmao 1

AxgtRfG.png
C++ programmer at Gameloft

Link to post
  • VIP

It writes that out if you do that.

But here it is:

Optimizing mesh indices...
Optimizing vertexes for CPU cache...
Cleaning unreferenced materials...

 

  • Love 1

AxgtRfG.png
C++ programmer at Gameloft

Link to post
  • VIP
Posted (edited)

Theoretically en bloc it gives some performance gain. For example converting meshes to 16bit indices even tho sounds strange because modern cpus work faster with their native word size but the less cache miss because of the size optimization can turn the balance to the other way around.

Edited by Distraught (see edit history)
  • Love 1

AxgtRfG.png
C++ programmer at Gameloft

Link to post
  • 1 month later...
  • VIP

As the posts of the updates were lost, now I put them in this reply.

 

UPDATE V1.2

  • fixed fbx conversion in case of several meshes
  • added option to specify flags as arguments

Download: https://distraught.hu/download/m2dev/GR2Tool_by_Distraught_granny211_v12.exe

 

 

UPDATE V1.3

  • fixed material texture binding
  • changed Y-up to Z-up

Download: https://distraught.hu/download/m2dev/GR2Tool_by_Distraught_granny211_v13.exe

 

  • Love 1
  • Ghost 1

AxgtRfG.png
C++ programmer at Gameloft

Link to post
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.