Jump to content

GRF: GRF Editor


Tokei

Recommended Posts


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

Thanks @Tokei. Successful update to latest version :D

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

This is what happens when I try to use GrfCL -help
xF0m7aT.png
Does anybody else have this same issue?

Link to comment
Share on other sites

  • 1 month later...

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

On 21/01/2017 at 2:11 PM, n0tttt said:

This is what happens when I try to use GrfCL -help
xF0m7aT.png
Does anybody else have this same issue?

Same error here on Windows 10. I also tried to run inside a clean VM with all the dependencies installed and Windows 8.1

@Tokei thanks for this amazing tool! By far the best GRF editor.

Link to comment
Share on other sites


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

woulde be nice to have a text edit mode where you can edit anything you want from a map, basically something like the "File info" tab but editable

Edited by qwiojhqwoid
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

I encountered this error after encrypting the my files.

When I run my client this error shows up

GRF Encryption - File not found
Couldn't locate the client executable.
Error code: 0x01

I already use the encrypted grf, dll, and client.

BTW i'm using ROCred as a launcher. It wouldn't be a problem right? I've been using it before with encrypted files and got no problem. But just now this error shows up.

 

Edited by Technoken
Fixed it. I was renaming the client file that's why it's showing the error. XD
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  10/07/13
  • Last Seen:  

My player is having this error while playing the game and when he visits some map that is encrypted the game closes.

Quote

GRF Encryption - File not found: The client executable is invalid. Encryption feature will be disabled. Error code: 0x02.

I use GRF encrypted by GRF Editor, with me and with most of my players it works normally, but with this particular player this error occurs.

Information I got about the player

1- Uses Windows XP
2- Does not use Anti-Virus
3- You have already reinstalled the Patch
4- All files are correct in Patch
5- Have already run as administrator
6- Have already used the compatibility mode

Nothing solved his problem yet.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  10/07/13
  • Last Seen:  

On 12/03/2017 at 6:09 AM, Technoken said:

 

 

Link to comment
Share on other sites


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

1 hour ago, Pedrooo said:

My player is having this error while playing the game and when he visits some map that is encrypted the game closes.

I use GRF encrypted by GRF Editor, with me and with most of my players it works normally, but with this particular player this error occurs.

Information I got about the player

1- Uses Windows XP
2- Does not use Anti-Virus
3- You have already reinstalled the Patch
4- All files are correct in Patch
5- Have already run as administrator
6- Have already used the compatibility mode

Nothing solved his problem yet.

As it says in the instructions, you cannot rename the executable file name once you encrypt it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  10/07/13
  • Last Seen:  

5 minutes ago, Tokei said:

As it says in the instructions, you cannot rename the executable file name once you encrypt it.

 

The player said he never renamed the executable. It runs the game directly from the executable.

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

@Tokei 1.8.2, random problem with .tga image rotation in interface. Please check screenshot below:

Problem #1 (.tga rotation in GRF Editor Iterface)

Spoiler


ee2IAdx.png

 

How it must be? 

If i extract image to desktop and view it with my file manager, it looks like below:

k7kwkeg.png

As you see .tga displayed not correctly. Please fix. 


 

Problem #2 when going to settings error

Spoiler

 

6yCjun4.png

Debug log (ctrl+c when see the error): https://paste.ee/p/l1NH8

 

 

Grf Version:

 ntb79wP.png

 

 

Link to comment
Share on other sites


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

@Anacondaqq

I'd need the image you're using for tarot (it seems to be custom and not made by Gravity). The TGA image type 2 flips the image horizontally and that is intended. I wasn't aware Gravity supported other TGA formats (all their TGA files use the same image type).

As for the settings issue, I'm guessing Windows 10 changed the way they associate files. I'll simply move the exception for now.

Updated: 1.8.2.1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

1 minute ago, Tokei said:

@Anacondaqq

I'd need the image you're using for tarot (it seems to be custom and not made by Gravity). The TGA image type 2 flips the image horizontally and that is intended. I wasn't aware Gravity supported other TGA formats (all their TGA files use the same image type).

As for the settings issue, I'm guessing Windows 10 changed the way they associate files. I'll simply move the exception for now.

Updated: 1.8.2.1

This is very strange issue. Because if i open Gravity data.grf, i see all images in normal rotation. But if i open different grfs, i have different rotation (it's happened randomly, and very strange problem). Here is grf with light effects https://mega.nz/#!rIQExSAB!UpsT5hPTT8QLkm2B1VlntdNVyvYlbmVtRxxTJItT-Bk

Link to comment
Share on other sites


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

11 hours ago, Anacondaqq said:

This is very strange issue. Because if i open Gravity data.grf, i see all images in normal rotation. But if i open different grfs, i have different rotation (it's happened randomly, and very strange problem). Here is grf with light effects https://mega.nz/#!rIQExSAB!UpsT5hPTT8QLkm2B1VlntdNVyvYlbmVtRxxTJItT-Bk

Annnnd fixed! The TGA files were using the image type 10; they should be showing up fine now: 1.8.2.2

Also, I fixed GrfCL's issues. Thanks for the sample GRF @Anacondaqq!

  • Upvote 1
Link to comment
Share on other sites


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

On 1/21/2017 at 11:11 AM, n0tttt said:

This is what happens when I try to use GrfCL -help
xF0m7aT.png
Does anybody else have this same issue?

 

On 2/23/2017 at 11:11 AM, qwiojhqwoid said:

Same error here on Windows 10. I also tried to run inside a clean VM with all the dependencies installed and Windows 8.1

@Tokei thanks for this amazing tool! By far the best GRF editor.

Should be working fine now, using 1.8.2.2.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

Anyway to make this work with linux?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

1 hour ago, randell1993 said:

Anyway to make this work with linux?

it's works with linux (tested 1+ year ago). Install wine & other required by GRF Editor software. Or try to run it with mono. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

Mono doesn't work, I use 64bit wine thus hindering installation of. NET framework. 

Just made a windows VM just for this

Link to comment
Share on other sites


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

I doubt mono will work, you can give it a try but the application is meant for Windows.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  04/18/13
  • Last Seen:  

I made a quick hack to make GrfCL work on wine/mono with decompiled code from dnSpy. No more PresentationFramework needed :-)

Binary: https://mega.nz/#!xgQlkIZb!K5CBDmmvZbQblNyzyR__4d8KGJLfXKOrqUb8Q4x2HC0
Source: https://mega.nz/#!o9QwTZ6b!DboN5ciZ0byztBRT3Y8yCCsdKjIS57TNwKzr2ACKW3A
 

 

Edited by uyjulian
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  03/11/17
  • Last Seen:  

I get an error saying "could not find a part of the path flatmapmaker\outputmaps\maps.grf grf editor" when generating map from flat map maker

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

When attempting to create a new Thor file, (file -> new -> new thor) i get an unhandled exception error after right clicking on "data" and selecting "Add...":

--------------          Message          --------------
Object reference not set to an instance of an object.
--------------        Stack trace        --------------
   at GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
   at GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
   at GRFEditor.EditorMainWindow._menuItemAdd_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at GRFEditor.GRFEditorMain.Main(String[] args)

--------------         Exception         --------------
System.NullReferenceException: Object reference not set to an instance of an object.
   at GRFEditor.WPF.AddFileDialog._treeView_SelectedItemChanged(Object sender, RoutedPropertyChangedEventArgs`1 e)
   at GRFEditor.WPF.AddFileDialog..ctor(TreeView treeView, String grfPath)
   at GRFEditor.EditorMainWindow._menuItemAdd_Click(Object sender, RoutedEventArgs e)

I'm using v1.8.2.2 (asmv1.5.3.3063)

Link to comment
Share on other sites


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

2 hours ago, Akkarin said:

When attempting to create a new Thor file, (file -> new -> new thor) i get an unhandled exception error after right clicking on "data" and selecting "Add...":

I'm using v1.8.2.2 (asmv1.5.3.3063)

The "Add..." feature is deprecated and should have been removed a while ago. I left it there if people were having trouble with drag & drop, but drag and dropping is still preferred. I'll go see what's wrong with the thor format and the "Add..." feature though, thanks ~!

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

26 minutes ago, Tokei said:

The "Add..." feature is deprecated and should have been removed a while ago. I left it there if people were having trouble with drag & drop, but drag and dropping is still preferred. I'll go see what's wrong with the thor format and the "Add..." feature though, thanks ~!

drag and drop do not work in very many cases under simple user at windows. If you are an admin with admin privileges drag N drop feature works fine. (I want to say this is permission problem, maybe UAC). 

If you are not admin drag N drop stop working in the very weird case.

But if you close GRF Editor and will run it with Admin Privileges (right click) -> drag N drop will work fine.

I think it's somehow related to a path where stored files on win10.

Except this, GRF Editor has issues with using shell integration checkboxes.

kr2lStT.pngzkJIMVc.png

 

 

About add button, please do not remove this option... 

Edited by Anacondaqq
Link to comment
Share on other sites


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

2 minutes ago, Anacondaqq said:

drag and drop do not work in very many cases under simple user at windows. If you are an admin with admin privileges drag N drop feature works fine.

If you are not admin drag N drop stop working in the very weird case.

But if you close GRF Editor and will run it with Admin Privileges (right click) -> drag N drop will work fine.

I think it's somehow related to a path where stored files on win10.

Except this, GRF Editor has issues with using shell integration checkboxes.

About add button, please do not remove this option... 

The drag and drop feature has issues when two processes have different access privileges. Since explorer.exe is not started with admin rights (even if you're an administrator), GRF Editor won't be able to receive messages from explorer. I've seen many posts regarding this issue (it applies well beyong GRF Editor) but there are no apparent solutions to resolve this other than fully disabling UAC from the registry. So if you want to drag and drop, you should not start GRFE as an admin, simply open it normally and it should work fine.

The file extension feature will require access to the registry and therefore will need admin privileges, which, as you can guess, is a problem. I do not have a copy of Windows 10 yet, so I'm not sure if the file extension even works. I presume it doesn't since Windows always changes how shortcuts work in every update.

(Updated the mediafire link to fix the "Add..." box with thor files.)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   189
  • Joined:  11/27/11
  • Last Seen:  

v1.8.0 :

@Tokei Bro, you are a Ragnarok God. Really thanks for this.

Btw pleae install a donation button for your work, I'm sure a lot of server admins will be happy to support you. :)

Edited by Vykimo
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...