hanakyouji Posted September 8, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 09/08/23 Last Seen: Yesterday at 04:14 PM Share Posted September 8, 2023 Hello Just downloaded the GRP editor and I have this error(Lzma.dll), running on WIN10 and install various vc++, hoping getting some help thanks. Quote Link to comment Share on other sites More sharing options...
munkrej Posted September 15, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 17 Reputation: 12 Joined: 06/22/20 Last Seen: 21 hours ago Share Posted September 15, 2023 Hello @Tokei, would you ever add a possibility to create encrypted thor-files via GrfCL? Quote Link to comment Share on other sites More sharing options...
Serboy Posted September 20, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 06/16/23 Last Seen: July 11, 2024 Share Posted September 20, 2023 On 9/8/2023 at 10:26 PM, hanakyouji said: Hello Just downloaded the GRP editor and I have this error(Lzma.dll), running on WIN10 and install various vc++, hoping getting some help thanks. i got same error i cant drag and drop on my grf editor somebody help? Quote Link to comment Share on other sites More sharing options...
Willi Posted September 21, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 03/28/21 Last Seen: September 21, 2023 Share Posted September 21, 2023 Hi @Tokei, hi all, I got a problem at Win10 with GRF Editor. In any GRF I open following error happen, while clicking on a BMP. Seems like it's an error decompressing but I got no clue where to search for the error. It's a very fresh Win10 install after it happened already on an old install. -------------- Message -------------- Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. -------------- Stack trace -------------- bei GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel) bei GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel) bei GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry) bei GRFEditor.WPF.PreviewTabs.FilePreviewTab.<Update>b__2() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() -------------- Exception -------------- System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei GRF.Core.GrfCompression.CustomCompression.Decompress(Byte[] compressed, Int64 uncompressedLength) bei GRF.Core.FileEntry._getDecompressedData() bei GRF.ContainerFormat.ContainerEntry.GetDecompressedData() bei GRFEditor.WPF.PreviewTabs.PreviewImage._load(FileEntry entry) bei GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry) Quote Link to comment Share on other sites More sharing options...
Tokei Posted September 21, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 22 hours ago Author Share Posted September 21, 2023 8 hours ago, Willi said: Hi @Tokei, hi all, I got a problem at Win10 with GRF Editor. In any GRF I open following error happen, while clicking on a BMP. Seems like it's an error decompressing but I got no clue where to search for the error. It's a very fresh Win10 install after it happened already on an old install. -------------- Message -------------- Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. -------------- Stack trace -------------- bei GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel) bei GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel) bei GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry) bei GRFEditor.WPF.PreviewTabs.FilePreviewTab.<Update>b__2() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() -------------- Exception -------------- System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei GRF.Core.GrfCompression.CustomCompression.Decompress(Byte[] compressed, Int64 uncompressedLength) bei GRF.Core.FileEntry._getDecompressedData() bei GRF.ContainerFormat.ContainerEntry.GetDecompressedData() bei GRFEditor.WPF.PreviewTabs.PreviewImage._load(FileEntry entry) bei GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry) Well, it seems there's a problem with the custom decompression library you're using...? Not sure what's up there, but you'll probably want to change it to the default compression library. If you have issues loading the default compression library, you'll need to install some VC++ libraries: For Gravity Official Zlib Library (cps.dll), you'll have to install VC++ 2010 (x86). For LZMA Library (by Curiosity, lzma.dll), you'll have to install VC++ 2005 (x86). On 9/8/2023 at 10:26 AM, hanakyouji said: Hello Just downloaded the GRP editor and I have this error(Lzma.dll), running on WIN10 and install various vc++, hoping getting some help thanks. Same issue as above (most likely). lzma.dll requires VC++ 2005 (x86). You only appear to have x64, which is not compatible. Quote Link to comment Share on other sites More sharing options...
Tokei Posted September 21, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 22 hours ago Author Share Posted September 21, 2023 On 9/15/2023 at 11:06 AM, munkrej said: Hello @Tokei, would you ever add a possibility to create encrypted thor-files via GrfCL? I added the encryption commands (setKey, encrypt, decrypt) to it in 1.8.5.1. Here's an example: -open test.thor -setKey mykey.grfkey -encrypt -save Where the mykey.grfkey is the file version of your password. You can generate this file via Tool > GRF Encryption: Quote Link to comment Share on other sites More sharing options...
Willi Posted September 21, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 03/28/21 Last Seen: September 21, 2023 Share Posted September 21, 2023 1 hour ago, Tokei said: For Gravity Official Zlib Library (cps.dll), you'll have to install VC++ 2010 (x86) That worked, thank you very much Quote Link to comment Share on other sites More sharing options...
munkrej Posted September 22, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 17 Reputation: 12 Joined: 06/22/20 Last Seen: 21 hours ago Share Posted September 22, 2023 (edited) 18 hours ago, Tokei said: I added the encryption commands (setKey, encrypt, decrypt) to it in 1.8.5.1. Here's an example: -open test.thor -setKey mykey.grfkey -encrypt -save Where the mykey.grfkey is the file version of your password. You can generate this file via Tool > GRF Encryption: Thanks for adding these. But somehow I seem to have an issue with the new version of GrfCL to even create a file. It looks like it terminates after the first command somehow. I've attached the log output of current and an older version using an example script and a simple open / save command. The older one doing what is expected. Old Version New Version Another example of one command at a time is fine, but not more than one Edited September 22, 2023 by munkrej Quote Link to comment Share on other sites More sharing options...
Tokei Posted September 22, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 22 hours ago Author Share Posted September 22, 2023 2 hours ago, munkrej said: Thanks for adding these. But somehow I seem to have an issue with the new version of GrfCL to even create a file. It looks like it terminates after the first command somehow. This should be fixed now, sorry about that: 1.8.5.3 2 Quote Link to comment Share on other sites More sharing options...
hanakyouji Posted September 24, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 09/08/23 Last Seen: Yesterday at 04:14 PM Share Posted September 24, 2023 On 9/22/2023 at 2:31 AM, Tokei said: Same issue as above (most likely). lzma.dll requires VC++ 2005 (x86). You only appear to have x64, which is not compatible. I already download various VC++ 2005 (x86) still having that error I already have 3 version of it. Can someone can provide some link really having a hard time thanks alot. Quote Link to comment Share on other sites More sharing options...
munkrej Posted September 26, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 17 Reputation: 12 Joined: 06/22/20 Last Seen: 21 hours ago Share Posted September 26, 2023 (edited) On 9/22/2023 at 6:11 PM, Tokei said: This should be fixed now, sorry about that: 1.8.5.3 This works now, thank you a lot. I would like to ask for another thing if I'm not missing it somehow. Can we set Container Options via GrfCL (Patching mode, Target GRF)? Edited September 26, 2023 by munkrej Quote Link to comment Share on other sites More sharing options...
Serboy Posted September 28, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 06/16/23 Last Seen: July 11, 2024 Share Posted September 28, 2023 why cant i drag and drop my files to the grf editor sample .gat and .grind Quote Link to comment Share on other sites More sharing options...
Tokei Posted September 29, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 22 hours ago Author Share Posted September 29, 2023 On 9/26/2023 at 7:46 AM, munkrej said: This works now, thank you a lot. I would like to ask for another thing if I'm not missing it somehow. Can we set Container Options via GrfCL (Patching mode, Target GRF)? Added the options in 1.8.5.3 : help options options /UseGrfMerging=true /TargetGrf=test.grf On 9/27/2023 at 9:31 PM, Serboy said: why cant i drag and drop my files to the grf editor sample .gat and .grind Drag and drop is a Windows problem. Windows Explorer must have the same privilege as the program you're using for drag and drop to work. I'm assuming your Windows Explorer is running with user privileges, so that means you're running GRF Editor with admin privileges. So to fix the issue, stop running GRF Editor with admin privileges. 1 Quote Link to comment Share on other sites More sharing options...
munkrej Posted September 30, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 17 Reputation: 12 Joined: 06/22/20 Last Seen: 21 hours ago Share Posted September 30, 2023 (edited) 15 hours ago, Tokei said: help options options /UseGrfMerging=true /TargetGrf=test.grf This works great thank you. One strange prompt appears though: Even though there are files in data only (root is empty in the created file) Edited September 30, 2023 by munkrej Quote Link to comment Share on other sites More sharing options...
Tokei Posted September 30, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 22 hours ago Author Share Posted September 30, 2023 10 hours ago, munkrej said: This works great thank you. One strange prompt appears though: Even though there are files in data only (root is empty in the created file) Thor files are a bit different because you can have files outside of the "data" folder, so the pathing needs to be fixed. Therefore, when adding a file to a thor file, you need to add the "root" as the base folder: add "root\data\" "C:\whatever.txt" There are some conversions behind the scene to make a thor file compatible with a grf file, otherwise it's troublesome to display it properly in the editor. There are also no issues ignoring that warning, the "root" folder is more or less ignored when saving either way. 1 Quote Link to comment Share on other sites More sharing options...
munkrej Posted October 1, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 17 Reputation: 12 Joined: 06/22/20 Last Seen: 21 hours ago Share Posted October 1, 2023 18 hours ago, Tokei said: add "root\data\" "C:\whatever.txt" thanks Quote Link to comment Share on other sites More sharing options...
Aero_OldSchool Posted November 12, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 08/18/22 Last Seen: July 6, 2024 Share Posted November 12, 2023 Hello, Suppose I subtract 2 .grf files to compare them. If there's a .txt file inside both .grf and only in one of them it was changed, will it get flagged? Or this "subtract" function only search for new files with different file names? Quote Link to comment Share on other sites More sharing options...
Tokei Posted November 23, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 22 hours ago Author Share Posted November 23, 2023 (edited) Heya, GRF Editor has undergone some big updates in the background in its new release (1.8.5.7) : The .net framework has changed from 3.5 to 4.0. It has been compiled as x64 instead of x86. The cps/lzma libraries have also been recompiled to x64. Another VC++ library is now required: Microsoft Visual Studio C++ 2022 (x64), which can be downloaded here https://aka.ms/vs/17/release/vc_redist.x64.exe A warning will be given if the VC++ library is missing, so it shouldn't be a problem. The preview for RSM/RSM2/RSW files have been remade from scratch based on BrowEdit 3. It now uses OpenGL instead of WPF 3D. While WPF 3D had good performance, it was way too limited in its options, so this change was a must (shaders weren't even possible...). Though, the performance now is somewhat unknown. If it causes too many issues, I'll add an option to revert back to WPF 3D. The new map renderer should be much more accurate to what is shown ingame: Lightmap/shadowmap is now supported. Lub effects are visible. RSM1 animations can be previewed. Maps are animated by default. Fixed a lot of transparency issues (still not perfect, but it's a huge improvement). Many new features were added for rendering. A skymap option was added but that one is still in its early stage. While the preview is focussed, F11 can bring the renderer to fullscreen. Water is now rendered I usually don't write an update post, but I did this time because I'm wary of potential issues. I'll leave here some previews: Spoiler Edited November 23, 2023 by Tokei 3 3 Quote Link to comment Share on other sites More sharing options...
LearningRO Posted November 24, 2023 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 72 Joined: 02/10/12 Last Seen: Yesterday at 08:29 AM Share Posted November 24, 2023 Hope in the future can play .bik file too in GRF editor Quote Link to comment Share on other sites More sharing options...
Gidz Cross Posted November 24, 2023 Group: Members Topic Count: 133 Topics Per Day: 0.03 Content Count: 682 Reputation: 89 Joined: 04/07/14 Last Seen: 1 hour ago Share Posted November 24, 2023 Wow. Thank you for keeping this tool alive! Quote Link to comment Share on other sites More sharing options...
botka4aet Posted January 18, 2024 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 211 Reputation: 17 Joined: 12/23/11 Last Seen: June 11, 2024 Share Posted January 18, 2024 1.8.5.7 version - any model or map file System.NullReferenceException: in GRFEditor.OpenGL.WPF.OpenGLViewport._primary_Resize(Object sender, EventArgs e) in GRFEditor.OpenGL.WPF.OpenGLViewport._render() Quote Link to comment Share on other sites More sharing options...
Rynbef Posted January 18, 2024 Group: Forum Moderator Topic Count: 47 Topics Per Day: 0.01 Content Count: 937 Reputation: 124 Joined: 05/23/12 Last Seen: Thursday at 01:31 PM Share Posted January 18, 2024 Du u have installed OpenGL Driver? On why system u run GRF Editor? Which os? Rynbef~ 1 Quote Link to comment Share on other sites More sharing options...
Rynbef Posted January 18, 2024 Group: Forum Moderator Topic Count: 47 Topics Per Day: 0.01 Content Count: 937 Reputation: 124 Joined: 05/23/12 Last Seen: Thursday at 01:31 PM Share Posted January 18, 2024 (edited) I want to say that's GRF Editor have better rendering like RO. The most Maps looks better than ingame It's very very the time to create a very own client. @Tokeiis very good in files, @Borfand @Olrox is very good in rendering etc. @Functor and @Normynator is good in security and add-ons, I'm good in networking and ui/ux. But there are much more member with talents. We need some one who organize it and everyone need to have time for. So maybe a crowdfunding. What's about that @Akkarin? An own rAthena Ragnarok Client. We could add features to 2013 and add than like the timeline new features from timelines up to 2024. And if we get a good 2013 client it should be a very good project goal we've reached. And it's realistic. Rynbef~ Edited January 18, 2024 by Rynbef Quote Link to comment Share on other sites More sharing options...
botka4aet Posted January 19, 2024 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 211 Reputation: 17 Joined: 12/23/11 Last Seen: June 11, 2024 Share Posted January 19, 2024 (edited) 12 hours ago, Rynbef said: Du u have installed OpenGL Driver? On why system u run GRF Editor? Which os? Rynbef~ Sup Windows Server 2022 Amd Ryzen 4650ge with Vega - driver installed Open GL version according OpenGL Extensions Viewer - 1.1.0 Okay, after installing 3rd party OpenGL dll all works fine. Sorry to bother you Edited January 19, 2024 by botka4aet fixed Quote Link to comment Share on other sites More sharing options...
Westin Posted February 14, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 11 Reputation: 2 Joined: 10/25/12 Last Seen: April 23, 2024 Share Posted February 14, 2024 I've already tried everything in this topic, nothing worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.