Jump to content

GRF: GRF Editor


Tokei

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

49 minutes ago, Westin said:

I've already tried everything in this topic, nothing worked.

Sem título.png

Open %AppData%\Roaming\GRF Editor\config.txt

Change lines:

[Application - Log any exceptions]=True
[Application - Warning level]=0

And send log file after another error

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  10/25/12
  • Last Seen:  




--------------    02/14/2024 07:39:42    --------------
        Loaded assemblies : 
            mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            GRF Editor, Version=1.5.3.3063, Culture=neutral, PublicKeyToken=null
            PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            Utilities, Version=1.2.8774.26610, Culture=neutral, PublicKeyToken=null
            TokeiLibrary, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
            GrfToWpfBridge, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null
            ErrorManager, Version=1.2.5494.34248, Culture=neutral, PublicKeyToken=null
            System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
            System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            OpenTK, Version=3.3.3.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4
            GRF, Version=1.2.8774.26611, Culture=neutral, PublicKeyToken=null
            mscorlib.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089
            PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            PresentationCore.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=31bf3856ad364e35
            System.Xaml.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089

--------------          Message          --------------
A invocação do construtor no tipo 'GRFEditor.EditorMainWindow' que corresponde às restrições de associação especificadas iniciou uma exceção.
--------------         Exception         --------------
System.Windows.Markup.XamlParseException: A invocação do construtor no tipo 'GRFEditor.EditorMainWindow' que corresponde às restrições de associação especificadas iniciou uma exceção. ---> System.OverflowException: Os dados da imagem geraram um estouro durante o processamento. ---> System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em GrfToWpfBridge.Application.DefaultImageConverter._readAsCommonFormat(GrfImage image)
   em GrfToWpfBridge.Application.DefaultImageConverter.ConvertToSelf(GrfImage image)
   em GRF.Image.GrfImage.SelfAny()
   em GRFEditor.EditorMainWindow..ctor()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   em System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   em System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   em System.Windows.Application.DoStartup()
   em System.Windows.Application.<.ctor>b__1_0(Object unused)
   em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
--------------          Message          --------------
Os dados da imagem geraram um estouro durante o processamento.
--------------      Inner exception      --------------
System.OverflowException: Os dados da imagem geraram um estouro durante o processamento. ---> System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em GrfToWpfBridge.Application.DefaultImageConverter._readAsCommonFormat(GrfImage image)
   em GrfToWpfBridge.Application.DefaultImageConverter.ConvertToSelf(GrfImage image)
   em GRF.Image.GrfImage.SelfAny()
   em GRFEditor.EditorMainWindow..ctor()
--------------          Message          --------------
Estouro ou estouro negativo na operação aritmética.
--------------      Inner exception      --------------
System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.



--------------    02/14/2024 17:38:41    --------------
        Loaded assemblies : 
            mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            GRF Editor, Version=1.5.3.3063, Culture=neutral, PublicKeyToken=null
            PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            Utilities, Version=1.2.8774.26610, Culture=neutral, PublicKeyToken=null
            TokeiLibrary, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
            GrfToWpfBridge, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null
            ErrorManager, Version=1.2.5494.34248, Culture=neutral, PublicKeyToken=null
            System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
            System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            OpenTK, Version=3.3.3.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4
            GRF, Version=1.2.8774.26611, Culture=neutral, PublicKeyToken=null
            PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            mscorlib.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089
            PresentationCore.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=31bf3856ad364e35
            System.Xaml.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089

--------------          Message          --------------
A invocação do construtor no tipo 'GRFEditor.EditorMainWindow' que corresponde às restrições de associação especificadas iniciou uma exceção.
--------------         Exception         --------------
System.Windows.Markup.XamlParseException: A invocação do construtor no tipo 'GRFEditor.EditorMainWindow' que corresponde às restrições de associação especificadas iniciou uma exceção. ---> System.OverflowException: Os dados da imagem geraram um estouro durante o processamento. ---> System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em GrfToWpfBridge.Application.DefaultImageConverter._readAsCommonFormat(GrfImage image)
   em GrfToWpfBridge.Application.DefaultImageConverter.ConvertToSelf(GrfImage image)
   em GRF.Image.GrfImage.SelfAny()
   em GRFEditor.EditorMainWindow..ctor()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   em System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   em System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   em System.Windows.Application.DoStartup()
   em System.Windows.Application.<.ctor>b__1_0(Object unused)
   em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
--------------          Message          --------------
Os dados da imagem geraram um estouro durante o processamento.
--------------      Inner exception      --------------
System.OverflowException: Os dados da imagem geraram um estouro durante o processamento. ---> System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em GrfToWpfBridge.Application.DefaultImageConverter._readAsCommonFormat(GrfImage image)
   em GrfToWpfBridge.Application.DefaultImageConverter.ConvertToSelf(GrfImage image)
   em GRF.Image.GrfImage.SelfAny()
   em GRFEditor.EditorMainWindow..ctor()
--------------          Message          --------------
Estouro ou estouro negativo na operação aritmética.
--------------      Inner exception      --------------
System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.



--------------    02/14/2024 17:40:05    --------------
        Loaded assemblies : 
            mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            GRF Editor, Version=1.5.3.3063, Culture=neutral, PublicKeyToken=null
            PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            Utilities, Version=1.2.8774.26610, Culture=neutral, PublicKeyToken=null
            TokeiLibrary, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
            GrfToWpfBridge, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null
            ErrorManager, Version=1.2.5494.34248, Culture=neutral, PublicKeyToken=null
            System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
            System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
            OpenTK, Version=3.3.3.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4
            GRF, Version=1.2.8774.26611, Culture=neutral, PublicKeyToken=null
            PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            mscorlib.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089
            PresentationCore.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=31bf3856ad364e35
            System.Xaml.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089

--------------          Message          --------------
A invocação do construtor no tipo 'GRFEditor.EditorMainWindow' que corresponde às restrições de associação especificadas iniciou uma exceção.
--------------         Exception         --------------
System.Windows.Markup.XamlParseException: A invocação do construtor no tipo 'GRFEditor.EditorMainWindow' que corresponde às restrições de associação especificadas iniciou uma exceção. ---> System.OverflowException: Os dados da imagem geraram um estouro durante o processamento. ---> System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em GrfToWpfBridge.Application.DefaultImageConverter._readAsCommonFormat(GrfImage image)
   em GrfToWpfBridge.Application.DefaultImageConverter.ConvertToSelf(GrfImage image)
   em GRF.Image.GrfImage.SelfAny()
   em GRFEditor.EditorMainWindow..ctor()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   em System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   em System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   em System.Windows.Application.DoStartup()
   em System.Windows.Application.<.ctor>b__1_0(Object unused)
   em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
--------------          Message          --------------
Os dados da imagem geraram um estouro durante o processamento.
--------------      Inner exception      --------------
System.OverflowException: Os dados da imagem geraram um estouro durante o processamento. ---> System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em GrfToWpfBridge.Application.DefaultImageConverter._readAsCommonFormat(GrfImage image)
   em GrfToWpfBridge.Application.DefaultImageConverter.ConvertToSelf(GrfImage image)
   em GRF.Image.GrfImage.SelfAny()
   em GRFEditor.EditorMainWindow..ctor()
--------------          Message          --------------
Estouro ou estouro negativo na operação aritmética.
--------------      Inner exception      --------------
System.ArithmeticException: Estouro ou estouro negativo na operação aritmética.

Here.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

11 hours ago, Westin said:

I've already tried everything in this topic, nothing worked.

Sem título.png

Well that's a bit of a vague error, but usually that means either one of these two:

  • You do not have the .net 3.5 and .net 4.0 properly installed.
  • Or you have conflicting dlls in your folder where GRF Editor is running from (doesn't seem likely though?).

So for starter, I'd recommend reinstalling .net 4.0, then .net 3.5, and go from there I suppose.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  10/25/12
  • Last Seen:  

Honestly, if you're going to copy and paste what you've already typed over the years here in this topic, it's better not to respond, I'll use another program, thank you very much.

Edited by Westin
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   13
  • Joined:  11/21/11
  • Last Seen:  

@Westin More respect for Tokei, one of the greats, you always have the option of using another program if you did not like this one, but it is not appropriate to demand something from someone knowing that you did not contribute anything to that project.

  • Love 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

On 2/15/2024 at 7:20 AM, williamII said:

@Westin More respect for Tokei, one of the greats, you always have the option of using another program if you did not like this one, but it is not appropriate to demand something from someone knowing that you did not contribute anything to that project.

Im completely agree with you. Tokei does it for free just for the community. Have a bit more respect! And he thankful!

 

Rynbef~

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

Posted (edited)

Updated to 1.8.6.6, this update mostly targets the map rendering:

  • Added/fixed the RSM2 to RSM1 option when right-clicking a RSM2 file.
    image.png.6733ed3860f1e1763d9b579e14ec3704.png
    The "anim" option will keep the rotation key frames, but it is not a perfect conversion; the scale/texture/offset key frames cannot be converted. The "flat" option will remove any kind of animation but will always be a perfect match with the original.
    I know this feature isn't that useful anymore since most clients support RSM2 files just fine, but I still hear people wanting to downgrade RSM2 files. You'll need to set the scale to (-1,1,1) in BrowEdit if you want to keep original model direction.
  • Added the "Downgrade" option when right-clicking a RSW file. This will set the version of the RSW to 0x201 and GND to 0x107. All RSM2 files inside the RSW file will be converted to RSM1 and added to your GRF. The RSM2 models are also placed in their correct positions after conversion.
  • Fixed the FPS counter.
  • Added a "minimap" option to create minimaps:
    image.png.fc65e6cbd46955b4d25bd688a43022cd.png
  • Added a face culling option to reflect the client's behavior more accurately.
  • Added a copy/paste feature meant for BrowEdit 3 by using shift-left-click:
    image.png.b604486935df05b4bd7f295a103c0ba5.png
On 2/14/2024 at 7:16 PM, Westin said:

Honestly, if you're going to copy and paste what you've already typed over the years here in this topic, it's better not to respond, I'll use another program, thank you very much.

Please keep your drama/trolling out of this thread, thank you. This forum is primarily dedicated towards developers, not players. I'd refer you to RMS, reddit or your own server forum instead.

Edited by Tokei
  • Love 1
  • MVP 4
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  355
  • Reputation:   34
  • Joined:  02/09/12
  • Last Seen:  

What a great update!

I have a small comment here,

This is not a bug or anything, but URLs are kinda unreadable

image.png.7d92b587137f8334e83ea993207ff963.png

 

As an added comment, do you think its viable to allow GRFs that are bigger than 4GB? 

The RO GRF its getting really big nowadays. Its getting really close to 4GB that im having issues when merging the GRFs but im not sure if that would be an option.

 

I wanted to add missing resources to the official GRF and it ended up at 4GB+ so I had to split them

Edited by Relzz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

16 minutes ago, Relzz said:

What a great update!

I have a small comment here,

This is not a bug or anything, but URLs are kinda unreadable

image.png.7d92b587137f8334e83ea993207ff963.png

 

As an added comment, do you think its viable to allow GRFs that are bigger than 4GB? 

The RO GRF its getting really big nowadays. Its getting really close to 4GB that im having issues when merging the GRFs but im not sure if that would be an option.

 

I wanted to add missing resources to the official GRF and it ended up at 4GB+ so I had to split them

I believe that link is intended via game with RO browser. But since its msgstringtable it's not connected to GRF Tool.

As for GRF size i have made a single grf with 5gb+ in it. No problem at all. That is HD resource + HD sprites + rdata + custom palettes.. All packed in single grf.

But this is not good. I personally like the split type.

1 maindata
2 translation data
3 palettes
4 rdata
5 data

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

@TokeiI love ur work. It's really great and very thank u what u do for the community.

 

Rynbef~

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

1 hour ago, Relzz said:

What a great update!

I have a small comment here,

This is not a bug or anything, but URLs are kinda unreadable

image.png.7d92b587137f8334e83ea993207ff963.png

 

As an added comment, do you think its viable to allow GRFs that are bigger than 4GB? 

The RO GRF its getting really big nowadays. Its getting really close to 4GB that im having issues when merging the GRFs but im not sure if that would be an option.

 

I wanted to add missing resources to the official GRF and it ended up at 4GB+ so I had to split them

I fixed the hyperlink color, along with the brush selection and the search brush (same download link as before).

As for the 4 GB limit, that's a structural limit with GRF files and there's nothing that can be done about it unless Gravity updates their file format. For more context, the file table offset is defined as an unsigned integer and the entries within the file table are also defined as unsigned integers. Four bytes of data cannot go beyond 4294967295; if they do, they'll wrap back to 0 and starts corrupting data in your GRF.

1 hour ago, Gidz Cross said:

As for GRF size i have made a single grf with 5gb+ in it. No problem at all. That is HD resource + HD sprites + rdata + custom palettes.. All packed in single grf.

I'm afraid this is technically impossible. If your GRF reached 5+ GB in size, then it means you've lost data within your GRF without you knowing about it. As I mentioned above, if you go past 4 GB with your file offsets, the data wraps back to 0. The fact that your GRF loads means that the file table offset was indeed beyond the limit and is probably written right in the middle of your GRF instead of at the end of it. The file table has overwritten some of your files within your GRF and some indexes are linking to invalid data (and not by a small amount, about 1/5th of your GRF is unreadable). When that happens, the client won't be able to decompress the data as it won't be a valid zlib entry, and it will attempt to read from the next GRF listed.

  • Upvote 1
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

27 minutes ago, Tokei said:

I'm afraid this is technically impossible. If your GRF reached 5+ GB in size, then it means you've lost data within your GRF without you knowing about it. As I mentioned above, if you go past 4 GB with your file offsets, the data wraps back to 0. The fact that your GRF loads means that the file table offset was indeed beyond the limit and is probably written right in the middle of your GRF instead of at the end of it. The file table has overwritten some of your files within your GRF and some indexes are linking to invalid data (and not by a small amount, about 1/5th of your GRF is unreadable). When that happens, the client won't be able to decompress the data as it won't be a valid zlib entry, and it will attempt to read from the next GRF listed.

Probably. But hey it works. But i saw the flaw of it like when adding palettes and some files (well a lot actually) are being not encrypted. So I reverted to the `old setup` which is split grf's.

But anyways, As usual thank you for keeping this project a live! I can't imagine RO without grf tool! ❤️ Thanks @Tokei!

Edited by Gidz Cross
Typos
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   10
  • Joined:  06/22/20
  • Last Seen:  

Hi there ~

I seem to have another issue with the GrfCL. I'm trying to use imageConvert.

One thing I noticed was I have to input the target format in lowercase (help lists them in camel case) or I'd get the error 

#Exception : Couldn't find the target format.

After that though I'm still unable to run it successfully.
Here's the output:
Current assembly version : 1.0.2.1373
Current assembly file version : 1.0.2.1373

Commands> imageConvert "convicon" "imgicon\*.bmp" "pngbgr32"
#Warning : File conversion failed : C:\Users\schmu\Downloads\makedat\imgicon\61280.bmp
#Error : An exception has been thrown
#Error : Given command line : imageConvert "convicon" "imgicon\*.bmp" "pngbgr32"
#Error : Command being executed : imageConvert  <convicon> <imgicon\*.bmp> <pngbgr32>
#Exception : Path cannot be the empty string or all whitespace.

I've tried many variations (with and without quotes, aboslute path, relative path, moveing the exe) already but I'm always getting that error.

Maybe there is an issue or am I really doing it just wrong?
 

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   19
  • Joined:  04/21/13
  • Last Seen:  

Hi, the new minimap option/feature is awesome, thank you for improving GRF Editor still.

Edited by eleriaqueen
  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

How can I retrieve files when using Encrypt File Table?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

Can you please rephrase your question, because I don't understand exactly what you want?

 

Rynbef~

 @Bringer

Edited by Rynbef
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

3 hours ago, Rynbef said:

Can you please rephrase your question, because I don't understand exactly what you want?

 

Rynbef~

 @Bringer

Make new grf then save advance choose File Encrypt File Table and try to open the grf 100% blank

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

18 hours ago, Bringer said:

How can I retrieve files when using Encrypt File Table?

The purpose of encrypting the file table is to not be able to see the files anymore. While possible, retrieving the file listing would be... quite counter productive? Perhaps this feature is something you don't want to use as it doesn't seem to fit what your needs.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

4 hours ago, Tokei said:

The purpose of encrypting the file table is to not be able to see the files anymore. While possible, retrieving the file listing would be... quite counter productive? Perhaps this feature is something you don't want to use as it doesn't seem to fit what your needs.

i still want to give it a try and retrieve it , even if it will not be productive, is it possible because i want to know what its got so i can add as back up

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  24
  • Reputation:   6
  • Joined:  03/17/21
  • Last Seen:  

15 hours ago, Tokei said:

The purpose of encrypting the file table is to not be able to see the files anymore. While possible, retrieving the file listing would be... quite counter productive? Perhaps this feature is something you don't want to use as it doesn't seem to fit what your needs.

By chance on making something Paid type of GRF Tool? many this days can bypass this Encryption Security, al·go·rithm is completely broken.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

If u mean u can make it better: just do it 😉

 

Rynbef~

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   10
  • Joined:  06/22/20
  • Last Seen:  

We've just realized that flat map making feature seems to be broken with current version 1.8.6.9, it was fine with 1.8.6.7.

 

Test-Map bl_depth2

Preview in 1.8.6.7:

image.thumb.png.cf868969f45cfcb94e3e163bacd804d0.png

Preview in 1.8.6.9:
image.png.c25f3bebc6a4bb24b9d729cab23199c6.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

13 hours ago, munkrej said:

We've just realized that flat map making feature seems to be broken with current version 1.8.6.9, it was fine with 1.8.6.7.

Fixed in 1.8.7.1. There was an issue with UV texture coordinates being all set to 0 on new tiles.

 

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...